Commit Graph

664 Commits

Author SHA1 Message Date
Uwe Stöhr
457466bb18 lyx_2_0.py: fix comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34948 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 19:29:13 +00:00
Richard Heck
9eaefc1eb6 Uwe's use_makebox conversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34947 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 18:10:37 +00:00
Uwe Stöhr
72292b98a6 support for formal math script
- fileformat change
- fixes #2340

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 15:51:11 +00:00
Uwe Stöhr
f06e7dcedf lyx_2_0.py: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34939 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 15:23:21 +00:00
Richard Heck
7d4c560f87 Remove Nameref support. Too many issues involving translation, quotes,
etc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34920 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 15:19:04 +00:00
Richard Heck
af93776127 Slight improvement and a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34892 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 21:10:26 +00:00
Richard Heck
92f1fe3f1f Fix the nameref reversion routine per a suggestion of Uwe's: We just
revert to ERT.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 21:07:26 +00:00
Richard Heck
f27ea2457d These didn't get committed with r34884 because I forgot to "svn
resolved" them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 14:02:57 +00:00
Uwe Stöhr
e2e63b4b1b support for the ISO C-series paper formats; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 01:06:20 +00:00
Uwe Stöhr
af6de17818 lyx_2_0.py: fix reversion routine for \makebox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34807 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 02:24:13 +00:00
Enrico Forestieri
63511e17f8 Improve the lyx2latex function.
- Avoid processing lines of a note inset, as we are going to discard them
- Translate the horizontal space inset
- Correct translation of \backslash
- Correct translation of ^ (\^ is an accent in latex)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34799 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 10:16:53 +00:00
Uwe Stöhr
bcd8b9a1f1 lyx_2_0.py: coding style fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 23:56:47 +00:00
Enrico Forestieri
7fd69c63a7 Fix reversion of IEEEtran layout documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34789 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 19:20:19 +00:00
Richard Heck
1a3629d720 Don't rely upon there being a certain number of argumnets to the box inset.
Some later LyX version might omit defaults without lyx2lyx to replace them.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34787 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 14:50:59 +00:00
Richard Heck
673e65cc15 Off by one here. Left an extra \begin_layout line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 14:38:10 +00:00
Richard Heck
87a93a35e6 Fix up the put_cmd_in_ert routine so that it accepts either a list
or a string as input, and does the right thing either way. Previously,
when it saw a string "test" it would convert it to "t\ne\ns\nt", since
it was quite happy to call join() on the string.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34785 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 14:24:17 +00:00
Richard Heck
8d18af0309 More elses after returns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 14:00:30 +00:00
Richard Heck
2909e6450b Return here unless the doc class is correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34783 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 13:50:23 +00:00
Richard Heck
9defda7c32 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34782 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 13:38:27 +00:00
Richard Heck
ec6ae81572 No else after return.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34781 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 13:36:33 +00:00
Uwe Stöhr
27f9f5b0c3 lyx_2_0.py: revert unwanted changes from r34773
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34776 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 03:30:35 +00:00
Uwe Stöhr
887343ca05 lyx2lyx/lyx_2_0.py:
- add routine to revert command environments specified in layout files
- finish routine for the new IEEEtran layout file (part 2/2)
  (very nasty but the only working solution)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34774 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 03:22:36 +00:00
Uwe Stöhr
6fd3bfd092 lyx_2_0.py:
- fix a bug
 - some coding style fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34773 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 03:16:49 +00:00
Richard Heck
d250f9a7c2 Don't need else after return.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-05 22:30:54 +00:00
Richard Heck
9211fe72c1 Fix spacing problem and thereby fix 6802.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34771 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-05 22:22:48 +00:00
Uwe Stöhr
8cc770423d lyx2lyx/lyx_2_0.py:
- add routine to revert character styles
- revert character styles to TeX code instead of deleting them - fixes #6803

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34754 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-05 03:19:54 +00:00
Uwe Stöhr
8adb1e690a lyx2lyx/lyx_2_0.py:
- add routine to revert flex insets to TeX code
- add routine for the new IEEEtran layout file (part 1/2)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34753 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-05 02:01:10 +00:00
Uwe Stöhr
ebcef496a5 - new support for makebox; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34748 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-03 13:14:15 +00:00
Uwe Stöhr
b77c2213cb lyx2lyx/lyx_2_0.py: correct LateX units - there are no units named \pagexxxx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-03 13:05:24 +00:00
Richard Heck
0345bef67b Renaming: \\begin_inset OptArg to \\begin_inset Argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34619 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:58:27 +00:00
Richard Heck
c43de0dd4b This was missing from a previous commit: Didn't go because I'd forgotten
to `svn resolve' it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34617 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:29:31 +00:00
Edwin Leuven
0ebe0ff37e add support for decimal alignment in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 07:44:44 +00:00
Pavel Sanda
245e58fe13 Finish the leftover spotted by Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34547 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 09:07:03 +00:00
Uwe Stöhr
468f219f77 lyx_2_0.py: add missing lxy2lyx routine after r34498
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34545 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-31 00:50:43 +00:00
Pavel Sanda
9f9104d9c4 Introduce output_sync ui for forward/reverse search
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:00 +00:00
Richard Heck
b174e5616e Simplify storage of html_latex_* info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34491 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 19:34:43 +00:00
Uwe Stöhr
b4e99d6396 lyx_2_0.py: fix paper size conversion routine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34448 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-22 01:42:14 +00:00
Uwe Stöhr
d4d073c667 lyx_2_0.py: fix Python error due to uninitialized variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34447 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-22 01:15:50 +00:00
Uwe Stöhr
700447301c support for all page sizes that are supported by the geometry package; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34427 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-18 01:22:08 +00:00
Richard Heck
5678dc566f New XHTML math options. Format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34250 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 15:18:25 +00:00
Richard Heck
f608e878f3 Just do the best we can here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34211 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 22:24:14 +00:00
Richard Heck
4dd12f4dc6 Something weird is happening here, as reported by Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34198 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 00:57:57 +00:00
Richard Heck
49945d3fac LyX version info for InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34186 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 13:04:41 +00:00
Uwe Stöhr
84a2af2edb fileformat change: support to specify the background color of shaded boxes
- new buffer parameter \boxbgcolor

(I'm still working on the remaining issue #6626 as this affect not only this feature.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34083 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 00:14:08 +00:00
Uwe Stöhr
4e2cd30657 fileformat change: support to specify a document-wide font color
- new buffer parameter \fontcolor
- the default color is internally black because we have to set a color
- the font color is only used when the user explicitly specified a color

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34042 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:39:36 +00:00
Uwe Stöhr
879ed8e2ed fileformat change:
- support for Turkmen

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 00:40:19 +00:00
Uwe Stöhr
33978c0b1b fileformat change:
- support to change the greyed-out note font color (fixes #3865)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 00:46:50 +00:00
Richard Heck
3cc5a2e800 Use the new put_cmd_in_ert routine in the xymatrix reversion routine.
Vincent, can you check (again) that I didn't break this wiht an off by
one error or something?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:05:21 +00:00
Richard Heck
205feb0704 Introduce a proper form of the put_cmd_in_ert function.
Even if this doesn't get used in 2.0, we'll at least have it for later.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:01:41 +00:00
Richard Heck
9f3253a34e Rename a routine. The new one comes next.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33914 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:37:30 +00:00