Richard Heck
a678ee4bdf
Renaming.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36031 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:11:26 +00:00
Richard Heck
b98dcee860
Minor cleanup for additional index reversion routines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36027 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 01:07:42 +00:00
Richard Heck
3bb4bbd8b8
Clean up split index reversion routine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36026 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 01:04:39 +00:00
Richard Heck
ab80a57edd
One more minor thing....
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36025 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 23:35:40 +00:00
Richard Heck
ce7c1afc34
Simplify revert_backgroundcolor.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36024 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 23:34:45 +00:00
Richard Heck
dfad3972db
Clean up other phantom reversions, too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36023 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 23:14:32 +00:00
Richard Heck
e3a577ba15
Clean up the revert_phantom routine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36022 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 23:11:01 +00:00
Richard Heck
838adc69aa
Try to fix revert_tabularvalign.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36021 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 22:53:15 +00:00
Richard Heck
40ad4b4d63
Just a restructuring, with early continue.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36020 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 22:22:00 +00:00
Richard Heck
7dad1e1c5d
Fix typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36019 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 22:19:09 +00:00
Richard Heck
c5fb71f2c1
Fix comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36018 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 22:18:17 +00:00
Richard Heck
488a07752f
Simplify a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36017 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 22:16:01 +00:00
Richard Heck
5a83d1444f
Comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36016 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 22:14:36 +00:00
Richard Heck
04024c1265
Clarify convert_rule routine. A bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36015 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 22:06:43 +00:00
Richard Heck
b6a6520118
Clean up revert_rule routine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36014 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 22:01:30 +00:00
Richard Heck
48ffa78c9a
Fix another thinko of mine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 15:37:53 +00:00
Richard Heck
580a984e2c
Fix lyx2lyx problem related to bug #1881 .
...
It is dangerous (i.e., foolish) to rely upon assumptions about exactly
how many lines there will be between one structure and another structure
in a LyX file. No such things should be hardcoded into lyx2lyx. You must
ALWAYS search for what you want, e.g., the beginning of the layout in
which some particular inset is contained.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35998 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 15:24:49 +00:00
Richard Heck
e37525b0ba
Fix typo/thinko here. It's the match result we want to check, of course.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35994 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 14:47:28 +00:00
Uwe Stöhr
76a76635aa
lyx_2_0.py: correct comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35935 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-30 19:11:46 +00:00
Uwe Stöhr
e7f16c2a3b
lyx2lyx/lyx_2_0.py: remove another unused debug warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35644 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 01:36:15 +00:00
Richard Heck
01013c0785
Refstyle support. The user can now choose between prettyref and restyle
...
for formatted references. Fixes #2295 , in so far as it makes it possible
to translate formatted references.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Uwe Stöhr
cde054cc6b
lyx_2_0.py: remove a debug warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35619 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 02:29:00 +00:00
Richard Heck
d4634167cc
Get rid of "CharStyle:", "Custom:", and "Element:" prefixes, per a
...
suggestion of JMarc's. Docs to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 14:46:17 +00:00
Uwe Stöhr
e8a1fed47c
InsetBibtex.cpp:
...
- fix #1881 , fileformat change
- fix #6470
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35590 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-11 01:05:20 +00:00
Richard Heck
7192937ab5
Revert the beamer changes from a while ago. They work with some documents,
...
but not with all. There's a general problem here that will take more work.
I've got most of it licked, but the lyx2lyx issue is difficult.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 22:34:52 +00:00
Uwe Stöhr
4580296b8f
lyx2lyx/lyx_2_0.py:
...
- fix mathdots conversion routine
- fix typo in feyn reversion routine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35462 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 02:24:03 +00:00
Uwe Stöhr
1787e837e7
lyx2lyx/lyx_2_0.py: fix bug in the feyn reversion routine
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35461 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 01:55:34 +00:00
Pavel Sanda
65962da47b
Add support for feyn package and Diagram inset.
...
Patch from Ronen Abravanel.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg161952.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35455 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 22:12:06 +00:00
Uwe Stöhr
0e7ab29f49
InsetLine: support for the LaTeX command \rule; kick out the hardcoded \lyxline; fileformat change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35299 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 00:41:00 +00:00
Uwe Stöhr
35846ee63a
lyx_2_0.py: fixes for the mathdots conversion/reversion routines
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35287 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-06 00:31:45 +00:00
Uwe Stöhr
c1a97abe37
lyx_2_0.py:
...
- add missing conversion routine for latest fileformat change
- fix reversion of latest fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35249 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 23:31:32 +00:00
Uwe Stöhr
1712e4f35e
support to load the mathdots package via the document settings; fixes #5373 ; fileformat change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35241 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 02:04:46 +00:00
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