]>
git.lyx.org Git - features.git/log
Richard Heck [Fri, 5 Nov 2010 17:39:21 +0000 (17:39 +0000)]
insert_to_preamble likes lists of lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36132
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:35:53 +0000 (17:35 +0000)]
These commands should just take some lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36131
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:27:28 +0000 (17:27 +0000)]
Some documentation for lyx2lyx_tools.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36130
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:09:43 +0000 (17:09 +0000)]
So I now understand why find_token_exact is called what it is, but it
does not do what it is supposed to do, in general. Still, I guess it is
best left as it is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36129
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:02:26 +0000 (17:02 +0000)]
At least rename this argument to something that makes sense.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36128
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:59:27 +0000 (16:59 +0000)]
More documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36127
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 5 Nov 2010 16:51:09 +0000 (16:51 +0000)]
Add a static assert to prevent compilation on platforms where int/usigned int are not 32-bits/4-bytes.
This is added to be sure that the to-be-added author hash is always 32-bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36126
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:43:30 +0000 (16:43 +0000)]
Just a bit of safety here.
This 0 default for end is wrong. You should be able to do:
find_token(lines, token, 0, 0)
and have that return -1. As it is, this is equivalent to:
find_token(lines, token, 0, len(lines))
But I am afraid to change the default, in case something in lyx_1.2.py
relies upon it somehow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36125
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:33:29 +0000 (16:33 +0000)]
Use del_token where it makes sense to do so.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36124
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:22:26 +0000 (16:22 +0000)]
This is the del_token that would be helpful.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36123
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:20:32 +0000 (16:20 +0000)]
Move del_token into the files where it is used. We could use such a
thing, but not one that returns what this does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36122
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:18:20 +0000 (16:18 +0000)]
Begin a bunch of comments on the parser tools. You can look through the
file, but it is more helpful to have them summarized here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36121
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:04:17 +0000 (16:04 +0000)]
Add two new routines to parser_tools. Somewhere along the way, I wished
I had these. I'm not going to go back and change more code, but these
will be worth having later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36120
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:48:45 +0000 (15:48 +0000)]
Remove FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36119
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:18:47 +0000 (15:18 +0000)]
Rename and restructure get_containing_inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36117
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:13:42 +0000 (15:13 +0000)]
Simplify this complicated routine of mine now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36116
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 5 Nov 2010 15:12:04 +0000 (15:12 +0000)]
Fix bug #7016: Cannot read theorems-ams-bytype.inc.
The old format tag was never deleted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36115
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:11:46 +0000 (15:11 +0000)]
Use get_quoted_value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36114
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:11:37 +0000 (15:11 +0000)]
New routine: get_quoted_value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36113
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:07:32 +0000 (15:07 +0000)]
Move get_value_string to lyx_1_6, since it is only used there. A more
suitable replacement is forthcoming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36112
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:01:42 +0000 (15:01 +0000)]
Use str2bool.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36111
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:59:11 +0000 (14:59 +0000)]
Improve the add_to_preamble routine. Now we really check all the lines.
This is crucial, because people often do put the same sort of comment as
the first line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36110
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:58:32 +0000 (14:58 +0000)]
Minor fixups for revert_splitindex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36109
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:50:27 +0000 (14:50 +0000)]
I forgot that the single line case is really OK.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36108
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:48:45 +0000 (14:48 +0000)]
Reminders.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36107
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:44:19 +0000 (14:44 +0000)]
Clean up revert_xetex. So that wasn't the last one.
Minor changes after this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36106
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:39:58 +0000 (14:39 +0000)]
Fix up convert_bibtex_clearpage. The last one!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36105
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:27:30 +0000 (14:27 +0000)]
New str2bool() utility. Python's own bool() returns True for any but an
empty string....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36104
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:26:14 +0000 (14:26 +0000)]
Simplify the get_value routines a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36103
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 5 Nov 2010 03:15:34 +0000 (03:15 +0000)]
update SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36102
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 01:24:38 +0000 (01:24 +0000)]
Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36100
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 01:20:50 +0000 (01:20 +0000)]
This routine simply does not do what it claims to do in the comment. And
I cannot see why one would want to do what it actually does. The way it
is used in the code assumes it behaves as it now does, so far as I can
see. In particular, if we find:
option "some string"
with the call:
get_value(document.body, "option", i)
then this will return '"some'.
Someone please tell me if I am wrong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36099
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 01:06:08 +0000 (01:06 +0000)]
Simplify revert_diagram routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36098
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 01:03:46 +0000 (01:03 +0000)]
Fix up revert_rule routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36097
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 01:03:30 +0000 (01:03 +0000)]
Make sure we don't go beyond the end of the lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36096
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 00:55:52 +0000 (00:55 +0000)]
Re-write convert_rule. Existing version failed in several cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36095
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 21:47:47 +0000 (21:47 +0000)]
Fix mchem routine: Typo.
Fix dots routine: Get value, then delete.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36094
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 21:42:24 +0000 (21:42 +0000)]
Minor structural improvement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36093
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 21:40:01 +0000 (21:40 +0000)]
Typos? Thinkos?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36092
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 21:38:32 +0000 (21:38 +0000)]
Fix up the revert_mathdots routine. I think this is right, but I could
not really follow the logic of the original routine and don't know why
we would load mathdots for \ddots when we do not load it in 2.0 for the
same command.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36091
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 21:32:11 +0000 (21:32 +0000)]
Improve hex2ratio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36090
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 20:54:58 +0000 (20:54 +0000)]
Fix revert_align_decimal routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36089
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 19:42:03 +0000 (19:42 +0000)]
Simplify convert_mathdots.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36088
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 19:07:30 +0000 (19:07 +0000)]
Forgot to svn add these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36087
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 17:48:53 +0000 (17:48 +0000)]
Make revert_flexnames more pythonic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36086
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 17:42:47 +0000 (17:42 +0000)]
Make this routine more pythonic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36085
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 17:39:36 +0000 (17:39 +0000)]
Factor out some common code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36084
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 17:31:24 +0000 (17:31 +0000)]
Improve the nameref reversion routine. We don't need Nameref anymore,
since that was removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36083
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 17:19:19 +0000 (17:19 +0000)]
Minor improvements to prettyref routines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36082
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 17:16:23 +0000 (17:16 +0000)]
Minor cleanup for IEEETran reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36081
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 17:13:44 +0000 (17:13 +0000)]
Fix up convert_makebox routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36080
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 17:08:35 +0000 (17:08 +0000)]
Fix up revert_makebox routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36079
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:36:46 +0000 (16:36 +0000)]
Hmm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36078
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:31:18 +0000 (16:31 +0000)]
Whoops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36077
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:30:17 +0000 (16:30 +0000)]
These routines are no longer used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36076
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:29:24 +0000 (16:29 +0000)]
I forgot to take this out in r35495.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36075
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:25:26 +0000 (16:25 +0000)]
Little things in some of my routines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36074
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:20:30 +0000 (16:20 +0000)]
Another mistake of mine, though it in fact had no effect.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36073
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:15:46 +0000 (16:15 +0000)]
Simplify and pythonize.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36072
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:14:17 +0000 (16:14 +0000)]
Shaded boxes reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36071
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:09:35 +0000 (16:09 +0000)]
Fix up fontcolor reversion, and also fix a problem with the note color
reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36070
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:01:47 +0000 (16:01 +0000)]
Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36069
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 16:00:33 +0000 (16:00 +0000)]
My thinko, this time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36068
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 15:59:38 +0000 (15:59 +0000)]
Move generally useful routines out of lyx_2_0.py and into modules. We
keep copying these from one file to another each new release.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36067
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 15:45:51 +0000 (15:45 +0000)]
Update header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36066
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 15:44:32 +0000 (15:44 +0000)]
Move generally useful parser routines to parser_tools.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36065
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 15:42:28 +0000 (15:42 +0000)]
Clean up remove_option routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36064
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 15:39:32 +0000 (15:39 +0000)]
Clean up greyed out notes reversion.
Also, fix up the insert_to_preamble routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36063
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 4 Nov 2010 15:35:12 +0000 (15:35 +0000)]
typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36062
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 15:33:19 +0000 (15:33 +0000)]
OK, so that version of revert_inset_preview wasn't so good. Restore the
complicated code, but note its issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36061
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 15:05:42 +0000 (15:05 +0000)]
Minor fixups to xymatrix reversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36060
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 14:53:55 +0000 (14:53 +0000)]
Clean up revert_inset_preview, and disable some of the more complex
code. As noted in the comment, it does not work as intended.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36059
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 4 Nov 2010 14:28:33 +0000 (14:28 +0000)]
Fix part of bug #5561: Issues with image pasting
Now the path to the pasted graphics is saved as a relative path if possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36058
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 14:23:47 +0000 (14:23 +0000)]
Fix earlier mistake.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36057
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 14:20:10 +0000 (14:20 +0000)]
Fix multirow reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36056
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 14:00:56 +0000 (14:00 +0000)]
Add warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36055
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 13:56:46 +0000 (13:56 +0000)]
Fix revert_mhchem routine.
Please remember that find_token only looks at the beginning of the line!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36054
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 4 Nov 2010 13:52:58 +0000 (13:52 +0000)]
Seeing the list of thinkos in lyx2lyx we should issue some warning in ANNOUNCE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36053
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 4 Nov 2010 13:45:19 +0000 (13:45 +0000)]
fr.po: updates from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36052
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 13:43:33 +0000 (13:43 +0000)]
Simplify revert_suppress_date.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36051
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 13:42:19 +0000 (13:42 +0000)]
Clean up author id reversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36050
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 13:34:56 +0000 (13:34 +0000)]
Clean up author id conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36049
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 13:22:00 +0000 (13:22 +0000)]
Fix up revert_hspace_glue_lengths.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36048
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 13:06:16 +0000 (13:06 +0000)]
Remove comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36047
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 13:05:19 +0000 (13:05 +0000)]
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
Richard Heck [Thu, 4 Nov 2010 12:59:44 +0000 (12:59 +0000)]
Fix up hspace reversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36045
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:51:57 +0000 (12:51 +0000)]
Simplify vspace reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36044
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:47:18 +0000 (12:47 +0000)]
Forgot these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36043
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:46:38 +0000 (12:46 +0000)]
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
Richard Heck [Thu, 4 Nov 2010 12:43:19 +0000 (12:43 +0000)]
Slightly simplify revert_percent_skip_lengths.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36041
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:38:56 +0000 (12:38 +0000)]
Simplify revert_paragraph_indentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36040
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:32:09 +0000 (12:32 +0000)]
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
Richard Heck [Thu, 4 Nov 2010 12:24:33 +0000 (12:24 +0000)]
Slight simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36037
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:23:36 +0000 (12:23 +0000)]
Add warning, save cycles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36036
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:20:55 +0000 (12:20 +0000)]
Save a few cycles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36035
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:20:03 +0000 (12:20 +0000)]
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
Richard Heck [Thu, 4 Nov 2010 12:19:14 +0000 (12:19 +0000)]
Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36033
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:15:49 +0000 (12:15 +0000)]
Remove unnecessary argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36032
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:11:26 +0000 (12:11 +0000)]
Renaming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36031
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 4 Nov 2010 12:08:01 +0000 (12:08 +0000)]
LyX does \makeat for us.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36030
a592a061 -630c-0410-9148-
cb99ea01b6c8