Commit Graph

4825 Commits

Author SHA1 Message Date
Richard Heck
fd62002d1b Let latex_length return a tuple. Saves splitting, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 13:05:19 +00:00
Richard Heck
5d6f9b620d Fix up hspace reversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36045 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:59:44 +00:00
Richard Heck
53f88eea18 Simplify vspace reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36044 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:51:57 +00:00
Richard Heck
d423df4366 Forgot these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36043 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:47:18 +00:00
Richard Heck
fbfdef21f1 Reduce indentation. Also, it is probably not a good idea to use "string"
as a variable name here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36042 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:46:38 +00:00
Richard Heck
dcc164407a Slightly simplify revert_percent_skip_lengths.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36041 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:43:19 +00:00
Richard Heck
4a1558855c Simplify revert_paragraph_indentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36040 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:38:56 +00:00
Richard Heck
bd11f5a78c Fix up revert_longtable_align routine. Also, fix a couple thinkos in an
earlier tabular routine.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:32:09 +00:00
Richard Heck
c2a9361960 Slight simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36037 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:24:33 +00:00
Richard Heck
248bd19a72 Add warning, save cycles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36036 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:23:36 +00:00
Richard Heck
18a30566cb Save a few cycles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36035 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:20:55 +00:00
Richard Heck
155b339d84 Don't return yet! We need to check the other one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36034 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:20:03 +00:00
Richard Heck
3ac94820db Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36033 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:19:14 +00:00
Richard Heck
03efa930c6 Remove unnecessary argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36032 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 12:15:49 +00:00
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
1876f87bbb Add John Perry. Update me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36010 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 01:25:43 +00:00
Pavel Sanda
bda8ae6a8c * examples/lilypond.lyx
Patch by Julien Rioux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36008 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-03 00:11:33 +00:00
Richard Heck
189bad70ac Add module for named theorems. Thanks to John Perry. Fixes bug #6279.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36004 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 20:17:07 +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
4d2b6ffc78 Fix another infinite loop.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35997 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 15:22:16 +00:00
Richard Heck
d7c31dfff3 Prevent infinite loop.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35996 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 14:55:33 +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
90eb28d85a Math.lyx: multirow package is not used -> remove it from preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35991 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 05:25:52 +00:00
Uwe Stöhr
b62ff6a6c8 - German EmbeddedObjects.lyx: remove wrong info
- EmbeddedObjects.lyx: remove sentence that is more confusing than informative (after I got user complaints)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35989 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 23:35:29 +00:00
Pavel Sanda
66b29321e7 Regenerate LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35987 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 23:25:33 +00:00
Richard Heck
94acc0aaf6 There is no way of handling alternate class file names in layout files.
This can be restored if someone wants to introduce one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35982 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 21:42:39 +00:00
Pavel Sanda
c393abbe12 Fix lilypond support, patch from Julien Rioux, bug #6940.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35978 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 21:01:48 +00:00
Richard Heck
fb38c83abc Add new file to installed scripts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35972 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 20:22:33 +00:00
Richard Heck
76ffbd136a Add script that writes the bbl file in place of the bibliography.
Part of #4624.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35971 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 20:21:02 +00:00
Uwe Stöhr
dd47d55f27 German Tutorial.lyx: rename Zitat -> Literaturverweis according to the menu and dialog name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35959 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 04:43:46 +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
Vincent van Ravesteijn
8e0ebf12f3 Typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 23:10:11 +00:00
Stephan Witt
90daf8e6e0 add some documentation for CVS usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-29 18:39:58 +00:00
Richard Heck
b942b87e7d Fix #3934. Patch from Guenter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-25 12:05:37 +00:00
Uwe Stöhr
5071c5b008 Tutorial.lyx: fix some quotation marks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35810 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-24 22:18:36 +00:00