Commit Graph

5253 Commits

Author SHA1 Message Date
Richard Heck
86cff08734 insert_to_preamble likes lists of lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36132 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 17:39:21 +00:00
Richard Heck
f3ae1e2641 These commands should just take some lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36131 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 17:35:53 +00:00
Richard Heck
68ec955a6d Some documentation for lyx2lyx_tools.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 17:27:28 +00:00
Richard Heck
cbbc3d34e3 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
2010-11-05 17:09:43 +00:00
Richard Heck
1702cc1fa2 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
2010-11-05 17:02:26 +00:00
Richard Heck
3f47eb1883 More documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36127 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 16:59:27 +00:00
Richard Heck
6cc1d31e38 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
2010-11-05 16:43:30 +00:00
Richard Heck
f93c44791d 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
2010-11-05 16:33:29 +00:00
Richard Heck
b1c11faf7e 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
2010-11-05 16:22:26 +00:00
Richard Heck
98c80361f4 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
2010-11-05 16:20:32 +00:00
Richard Heck
fbd0436847 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
2010-11-05 16:18:20 +00:00
Richard Heck
665c9d78d5 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
2010-11-05 16:04:17 +00:00
Richard Heck
cd544b25d3 Remove FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36119 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 15:48:45 +00:00
Richard Heck
d13394a73b Rename and restructure get_containing_inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36117 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 15:18:47 +00:00
Richard Heck
5fe584cc9c Simplify this complicated routine of mine now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36116 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 15:13:42 +00:00
Vincent van Ravesteijn
6b81613f9c 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
2010-11-05 15:12:04 +00:00
Richard Heck
462c3c39bb Use get_quoted_value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36114 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 15:11:46 +00:00
Richard Heck
0e9a0224c1 New routine: get_quoted_value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 15:11:37 +00:00
Richard Heck
23499e63ba 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
2010-11-05 15:07:32 +00:00
Richard Heck
f477341474 Use str2bool.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36111 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 15:01:42 +00:00
Richard Heck
68ef5f207c 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
2010-11-05 14:59:11 +00:00
Richard Heck
2878afa5a7 Minor fixups for revert_splitindex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36109 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 14:58:32 +00:00
Richard Heck
3202c8a9f3 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
2010-11-05 14:50:27 +00:00
Richard Heck
fb46e00fd5 Reminders.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36107 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 14:48:45 +00:00
Richard Heck
183a53897a 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
2010-11-05 14:44:19 +00:00
Richard Heck
1a1f6090b1 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
2010-11-05 14:39:58 +00:00
Richard Heck
645f3f20b3 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
2010-11-05 14:27:30 +00:00
Richard Heck
cd99f162b3 Simplify the get_value routines a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36103 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 14:26:14 +00:00
Richard Heck
859468234f Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36100 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 01:24:38 +00:00
Richard Heck
6628aec30c 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
2010-11-05 01:20:50 +00:00
Richard Heck
21bad53704 Simplify revert_diagram routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36098 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 01:06:08 +00:00
Richard Heck
f86f875a8c Fix up revert_rule routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36097 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 01:03:46 +00:00
Richard Heck
e0227fa396 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
2010-11-05 01:03:30 +00:00
Richard Heck
7529918b08 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
2010-11-05 00:55:52 +00:00
Richard Heck
91e9125060 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
2010-11-04 21:47:47 +00:00
Richard Heck
ddf9ed7608 Minor structural improvement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36093 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 21:42:24 +00:00
Richard Heck
27f4623b57 Typos? Thinkos?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36092 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 21:40:01 +00:00
Richard Heck
0a7e9018e5 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
2010-11-04 21:38:32 +00:00
Richard Heck
586b5685f5 Improve hex2ratio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36090 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 21:32:11 +00:00
Richard Heck
2d7bbab89f Fix revert_align_decimal routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 20:54:58 +00:00
Richard Heck
438fc55e2c Simplify convert_mathdots.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36088 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 19:42:03 +00:00
Richard Heck
16be7a8b26 Forgot to svn add these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36087 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 19:07:30 +00:00
Richard Heck
d3fc1c21d1 Make revert_flexnames more pythonic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36086 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 17:48:53 +00:00
Richard Heck
883520c197 Make this routine more pythonic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36085 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 17:42:47 +00:00
Richard Heck
0db238a371 Factor out some common code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36084 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 17:39:36 +00:00
Richard Heck
58fa331b8b 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
2010-11-04 17:31:24 +00:00
Richard Heck
e97c5ba9da Minor improvements to prettyref routines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36082 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 17:19:19 +00:00
Richard Heck
dd0a135588 Minor cleanup for IEEETran reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36081 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 17:16:23 +00:00
Richard Heck
ac0ee09a23 Fix up convert_makebox routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36080 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 17:13:44 +00:00
Richard Heck
9d5b41e8fc Fix up revert_makebox routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36079 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 17:08:35 +00:00
Richard Heck
66808bbe7a Hmm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36078 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 16:36:46 +00:00
Richard Heck
223ad57d32 Whoops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36077 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 16:31:18 +00:00
Richard Heck
7d58b1cdf0 These routines are no longer used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36076 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 16:30:17 +00:00
Richard Heck
a81e1d8c95 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
2010-11-04 16:29:24 +00:00
Richard Heck
17175159c7 Little things in some of my routines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36074 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 16:25:26 +00:00
Richard Heck
2778d96bd2 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
2010-11-04 16:20:30 +00:00
Richard Heck
5e6173b7e2 Simplify and pythonize.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36072 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 16:15:46 +00:00
Richard Heck
890b4b419a Shaded boxes reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36071 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 16:14:17 +00:00
Richard Heck
fecc3b8305 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
2010-11-04 16:09:35 +00:00
Richard Heck
2287446d04 Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 16:01:47 +00:00
Richard Heck
b04159cf21 My thinko, this time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36068 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 16:00:33 +00:00
Richard Heck
540802f717 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
2010-11-04 15:59:38 +00:00
Richard Heck
f4190c9e23 Update header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36066 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 15:45:51 +00:00
Richard Heck
5e4493d97b 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
2010-11-04 15:44:32 +00:00
Richard Heck
5d0a284ea9 Clean up remove_option routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36064 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 15:42:28 +00:00
Richard Heck
3fae2dee95 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
2010-11-04 15:39:32 +00:00
Richard Heck
f9f0c57da2 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
2010-11-04 15:33:19 +00:00
Richard Heck
49a2a04963 Minor fixups to xymatrix reversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36060 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 15:05:42 +00:00
Richard Heck
69cd79b7e7 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
2010-11-04 14:53:55 +00:00
Richard Heck
adedac675b Fix earlier mistake.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36057 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 14:23:47 +00:00
Richard Heck
2ad71f22ce Fix multirow reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36056 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 14:20:10 +00:00
Richard Heck
4091078fb4 Add warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 14:00:56 +00:00
Richard Heck
3215a451dd 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
2010-11-04 13:56:46 +00:00
Richard Heck
bbacb7c5be Simplify revert_suppress_date.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36051 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 13:43:33 +00:00
Richard Heck
1bc5f3cb2b Clean up author id reversion routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36050 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 13:42:19 +00:00
Richard Heck
e49676094d Clean up author id conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36049 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 13:34:56 +00:00
Richard Heck
4f04086c97 Fix up revert_hspace_glue_lengths.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36048 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 13:22:00 +00:00
Richard Heck
04157a2820 Remove comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36047 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-04 13:06:16 +00:00
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
Pavel Sanda
445436e078 Manual synchro with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 18:47:23 +00:00
Pavel Sanda
c497d0efe2 Also to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35783 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 18:05:07 +00:00
Jean-Marc Lasgouttes
9ebd4405cf Make sweave process files with the correct encoding (#6625).
The required the introduction of the new converter token $$e, that holds
the iconv name of the latex file encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 07:51:39 +00:00
Pavel Sanda
b072429261 doc synchro with trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35771 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 00:22:08 +00:00
Uwe Stöhr
b8ca0e7fd3 - lyxsweave.R: set missing SVN EOL style and add missing makefile entry
- lib/Makefile.am: add missing scripts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35769 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 00:10:18 +00:00
Pavel Sanda
71651db282 (no log message)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35767 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 23:34:22 +00:00
Jean-Marc Lasgouttes
be8cf7c98c Introduce helper script for Sweave. The first benefit is that
Sweave.sty path is hardcoded if LaTeX cannot find it.

More to come.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35750 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 17:02:05 +00:00
Jürgen Spitzmüller
5b81341335 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35744 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 10:33:46 +00:00
Uwe Stöhr
1da4143b76 EmbeddedObjects.lyx: describe the new table cell alignment feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35737 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 23:56:00 +00:00
Uwe Stöhr
cf2ac0366c UserGuide.lyx: LyX supports now multirows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35725 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 01:44:13 +00:00
Uwe Stöhr
961397f89e EmbeddedObjects.lyx: describe the new multirow feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35724 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 01:19:08 +00:00
Uwe Stöhr
251da8a82a stdmenus.inc: add entry for multirow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35723 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 00:43:27 +00:00
Uwe Stöhr
0e75fecba7 EmbeddedObjects.lyx:
- update table toolbar and table settings description
- describe longtable alignment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35722 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 00:22:45 +00:00
Uwe Stöhr
b930758cf1 Spanish EmbeddedObjects.lyx: translations from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35721 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-19 20:33:58 +00:00
Uwe Stöhr
2cb7b22361 UserGuide.lyx:
- describe the new \nameref and refstyle features
- update links in bibliography

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35712 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-19 01:17:59 +00:00
Uwe Stöhr
5fa37bf6a0 EmbeddedObjects.lyx: - describe the new \nameref and refstyle features
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35711 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-19 01:17:19 +00:00
Uwe Stöhr
b806a1b176 German splash.lyx: remove version number from title
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35710 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-19 00:46:26 +00:00
Kornel Benko
9229f495eb Invalid references
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35694 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 05:25:08 +00:00
Uwe Stöhr
a45bf8217f UserGuide.lyx: fix typos and a bug spotted by JR Hudson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35692 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 03:36:15 +00:00
Uwe Stöhr
6793344ed8 - UserGuide.lyx: squash some LaTeX-warnings
- Italian UserGuide.lyx: update the document settings according to the other language versions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35690 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 02:48:58 +00:00
Uwe Stöhr
0e0f069473 Japanese EmbeddedObjects.lyx: update sec. 4.2 as for the other language versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35688 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 01:27:59 +00:00
Uwe Stöhr
6584ecbe37 Math.lyx: squash LaTeX-warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35685 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 01:11:36 +00:00
Uwe Stöhr
365bc7c3f6 EmbeddedObjects.lyx:
- describe how to use math in program listings
- squash some LaTeX warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35684 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 00:54:20 +00:00
Uwe Stöhr
5455586a93 Tutorial.lyx:
- squash some LaTeX-warnings
- update document settings of all language versions to the one of the English manual
(from now on nothing will be backported to branch for this file)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35682 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 21:25:30 +00:00
Uwe Stöhr
135081ebf5 Slovak Tutorial.lyx: save in latest fileformat and fix some settings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35681 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 21:06:08 +00:00
Uwe Stöhr
af028d4aeb Math.lyx: fix formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35676 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 20:28:28 +00:00
Uwe Stöhr
ceda7931ad Intro.lyx: fix some LaTeX warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35675 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 20:15:43 +00:00
Uwe Stöhr
2de73db948 Intro.lyx:
- correct accident renaming Additional.lyx -> Extended.lyx from last commit
- save file in latest file format (no more backporting to branch for this file)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35672 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 18:43:38 +00:00
Uwe Stöhr
5f8a1f847b Intro.lyx: some typographic issues and a typo spotted by JR Hudson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35671 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 18:25:53 +00:00
Pavel Sanda
5544800152 Fix #6885. Alt+x shortcuts should be preserved for menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35669 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 17:49:21 +00:00
Pavel Sanda
26fd6d51f1 Ten years old leftover.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35668 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 17:49:20 +00:00
Uwe Stöhr
a88e2efd53 lettre: some adjustments to overcome a limitation of the lettre document class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35645 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 01:58:49 +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
69b1ea0ecf Update layouts to format 30.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35629 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 16:54:57 +00:00
Richard Heck
23e5b3f5d8 ResetsFont docs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35628 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 16:11:31 +00:00
Richard Heck
85904c550d Add ResetsFont tag to InsetLayout, toward fixing bug #5657.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35626 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 15:54:39 +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
eaf7c6c6eb lettre: new layout and template file to write French letters, patch from Jean-Pierre Chretien
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35620 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 03:23:51 +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
6cc0eee26a InsetLayout update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35615 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:51:36 +00:00
Richard Heck
5142d1c86a Now update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35614 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:41:55 +00:00
Richard Heck
de815f594e Revert update of formats. There is more to be done first.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35612 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:11:04 +00:00
Richard Heck
b653286691 Update layouts to new format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35610 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:06:50 +00:00
Richard Heck
628971e5b5 Update InsetLayout documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35609 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:01:43 +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
91411ca2e6 Japanese Math.lyx: fix equation label; (one can see in r35605 that LyX 2 still cannot handle Japanese characters in math labels and automatically adds garbage when saving the file)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35606 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 01:27:44 +00:00
Uwe Stöhr
1878bd3663 Math.lyx: describe support for \iddots and the mathdots package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35605 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 01:19:17 +00:00
Uwe Stöhr
b4238828ce - UserGuide.lyx: update section about preventing hyphenations
- mbox.png: this image is no longer needed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35604 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 00:38:55 +00:00
Uwe Stöhr
4603edf748 - UserGuide.lyx: use new strike out feature
- German UserGuide.lyx: some Math description cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35595 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-11 02:11:47 +00:00
Uwe Stöhr
ef83796f09 ectaart.layout: fix title alignment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35593 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-11 01:29:49 +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
Uwe Stöhr
6c8c2ec2d3 revert r35565 as discussed in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg162280.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-09 16:11:41 +00:00
Pavel Sanda
c09aa51e0a Graphviz results in pdf are poor because it creates bitmap-style pdf.
However it knows correct vector eps, so lets use internal route.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35569 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-07 23:13:20 +00:00
Pavel Sanda
54ec17ae43 Revert the last part of ectaart.cls as requested by Uwe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35568 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-07 16:19:20 +00:00
Pavel Sanda
bedf55fa4a Push the rest of changes of ectaart.cls (Econometrica) from Koji.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35567 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-06 22:48:08 +00:00
Uwe Stöhr
80759f7109 ectaart: fixes from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35566 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-06 02:38:04 +00:00
Uwe Stöhr
bb56d02456 languages: fix #6932 as discussed in this thread: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg83171.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-06 00:00:24 +00:00
Pavel Sanda
b8dfb6ad26 Add to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35563 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-05 10:56:56 +00:00
Uwe Stöhr
8e63700bda EmbeddedObjects.lyx: describe the support for \makebox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35562 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-05 03:11:21 +00:00
Uwe Stöhr
df57334081 generate_contributions.py:
- update Liviu's entry
- whitespace fixes
- remove entry that is not about a contribution to LyX
(Beat me for this, but it is not fair to our other contributers to list somebody in the Credits who did absolutely nothing for LyX. If we then cannot use their image, lets use another one for our LyX 2.0 banner!)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35551 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-02 01:07:39 +00:00
Uwe Stöhr
1aa16f65f3 frletter: new layout and template file for the frletter class (for writing French letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35550 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-02 00:43:39 +00:00
Uwe Stöhr
efc2747a5c missing part from r35523
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 02:29:04 +00:00
Uwe Stöhr
edef4cb8df thesis template:
- update preamble
- use new customHeaderFooter module
- add appendix file
- use new suppress date feature

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35523 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 04:01:24 +00:00
Uwe Stöhr
6d7fe7552a customHeadersFooters.module: new module to defined header/footer lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35522 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 02:29:07 +00:00
Uwe Stöhr
f7a9b8a4ac German and French Customization.lyx: add missing local layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35520 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 01:54:00 +00:00
Richard Heck
73000814be Customization updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35519 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 12:57:12 +00:00
Uwe Stöhr
8fc1cd6bc5 Japanese EmbeddedObjects.lyx: forgot this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35518 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 03:30:48 +00:00
Uwe Stöhr
bf846fe90f Japanese EmbeddedObjects.lyx and Math.lyx: replace phantom TeX code with the new phantom insets as already done in the other language versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35516 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 03:17:22 +00:00
Uwe Stöhr
5799fd0263 documentation files: remove preamble code for the greyed-out note color that we now support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35515 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 03:15:53 +00:00
Uwe Stöhr
ea3e3a05cd UserGuide.lyx: simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35513 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 01:46:55 +00:00
Uwe Stöhr
abda49f2e7 Japanese UserGuide.lyx: update it to the state of the other language versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35512 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 00:24:15 +00:00
Uwe Stöhr
3662d088ea - documentation files: squash some LaTeX and KOMA-script warnings
- Japanese Customization.lyx: transfer new information

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35511 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 18:38:26 +00:00
Uwe Stöhr
ffb2398ae7 Customization.lyx:
- modified sec. 5.1 a bit, see latest post o the list
- adapt the other language versions accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35508 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 17:55:10 +00:00
Richard Heck
29f93c0f86 Update note for Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 14:25:59 +00:00
Richard Heck
4ca52c2f78 Updates to LaTeX package stuff re Linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35506 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 14:20:43 +00:00
Jürgen Spitzmüller
0ef2b213f1 * ectaart.layout: fix whitespace issues in label strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35505 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 13:20:33 +00:00
Uwe Stöhr
c85df45932 Customization.lyx: rewrote section how to install LaTeX-packages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35504 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 03:57:21 +00:00
Uwe Stöhr
a72a4baf59 UserGuide.lyx: accept changes and transfer them to the other language versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35503 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 03:56:40 +00:00
Uwe Stöhr
671fc0ac36 endnotes.module, foottoend.module: ERT -> TeX-code (we try to avoid to use ERT in documentation because it is a meaningless abbreviation for most of the users)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35502 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 21:23:17 +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
e81dd2aa29 UserGuide.lyx: describe horiz. line feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35488 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:26:50 +00:00
Uwe Stöhr
121ded490b Math.lyx: describe new matrix decoration feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35486 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:07:16 +00:00
Uwe Stöhr
6efb08e86f Math.lyx: describe new supported font \mathscr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35484 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 22:37:38 +00:00
Richard Heck
3b716ae11e Update all layouts to current format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35481 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 12:21:42 +00:00
Uwe Stöhr
b0c136e9d6 UserGuide.lyx:
- accept some changes and transfer them
- describe the new phantom inset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35480 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 03:47:17 +00:00
Uwe Stöhr
4bf8e5f99e EmbeddedObjects.lyx: - convert all \xxxphantom TeX code insets to the new phantom inset
This document is currently uncompilable due to bug #6907.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35479 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 02:46:16 +00:00
Uwe Stöhr
921aa36b08 Math.lyx:
- start documentation for LyX 2.0
- describe \xxxphantom and \rule usage for text
- convert all \xxxphantom TeX code insets to the new phantom inset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35478 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 02:20:24 +00:00
Uwe Stöhr
2e02eb99c2 ectaart: new layout and template file from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35476 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 00:54:07 +00:00
Pavel Sanda
38b42865e3 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35473 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-21 16:39:13 +00:00
Pavel Sanda
e7dd1bf9dd Add lilypond-book module and add support for instant preview.
Patch by Julien Rioux.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg162042.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35472 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-21 16:34:30 +00:00
Uwe Stöhr
a5776fcc64 FeynmanDiagrams: some cleanup for previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35471 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-21 02:53:03 +00:00
Uwe Stöhr
f61f5b9192 - Math.lyx: describe Feynman diagrams
- FeynmanDiagrams.lyx: new example file (specific manual)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35470 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-21 02:18:36 +00:00
Uwe Stöhr
3fe895b7b6 Math.lyx: unbold a few bold indices
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35468 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-21 00:05:01 +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
Uwe Stöhr
b9a5fda7e2 Missing things from r35455
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35460 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 01:36:48 +00:00
Uwe Stöhr
7ae2b1ede2 LaTeXConfig.lyx: sort the font entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35459 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 01:31:31 +00:00
Pavel Sanda
5a31cd06f4 Add to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35457 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 22:39:19 +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
Pavel Sanda
c1a20d3534 Add GPL statement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35454 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 22:01:56 +00:00
Uwe Stöhr
b065b96457 EmbeddedObjects.lyx: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35443 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-18 18:03:55 +00:00
Richard Heck
f3d5390d8b Conversion for tabular-feature.
I believe this completes the LFUN conversions, at least if RELEASE_NOTES
is complete in this respect.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35436 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-18 15:16:04 +00:00
Richard Heck
1e8dc000d8 Conversion for paragraph-spacing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35435 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-18 15:13:13 +00:00
Richard Heck
036aef6f26 Conversion for toc-insert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35434 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-18 14:57:59 +00:00
Richard Heck
59155540e3 Conversion for line-insert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35433 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-18 14:56:25 +00:00
Richard Heck
d8f9626fef Conversion for all-insets-toggle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35432 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-18 14:42:38 +00:00
Richard Heck
e1ed2d861e Conversions for notes-mutate and argument-insert, plus a little cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35431 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-18 14:27:12 +00:00
Edwin Leuven
d4e4868aac add regular expr to insert menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35430 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-18 08:36:09 +00:00
Richard Heck
851d01721f A go at creating a prefs2prefs framework. There's a main file, prefs2prefs.py, and two subsidiary files,
prefs2prefs_lfuns.py and prefs2prefs_prefs.py. I've organized it this way because, in many ways, these are
 the same task. It's very line-by-line, unlike lyx2lyx and layout2layout, where things can be more "global". 
So we read the file, line by line, and give a bunch of converter functions a chance to see if they want to 
modify that line.

The converter functions are all in the subsidiary files. (Only the lfun one has anything in it now.) They 
take a line as argument and return a list: (Bool, NewLine), where the Bool says if we've modified anything 
and the NewLine is the new line, if so.

The format of the existing files is format 0, and we'll introduce new format numbers as we proceed, 
just as with layout2layout. So the conversion from format 0 to format 1 will be huge; others will 
generally be simple.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35426 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 14:44:38 +00:00
Stephan Witt
d5e6b695dc #6877 remove the controversial fboxes around keystroke text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35425 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 13:34:01 +00:00
Richard Heck
d11ef5b5f6 Typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 12:26:55 +00:00
Uwe Stöhr
1a8bfe4b38 agutex.lyx: add optional code to the preamble as suggested by Evan Manson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35418 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 01:28:42 +00:00
Stephan Witt
9bea0cbb0e #6877 use font size relative fboxsep values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35416 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 15:49:58 +00:00
Stephan Witt
876393d2eb #6877 add the missing unicode symbols for Qt4 keystroke symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35415 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 15:20:47 +00:00
Richard Heck
b743c226ca Handle forced alignments, at least in ordinary paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35395 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 14:42:50 +00:00
Richard Heck
04d6290966 Label tag should default to div for "top environment" labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35394 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 14:23:32 +00:00
Richard Heck
0675c802a7 Auto-generate centering info for centered labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35393 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 14:18:19 +00:00
Richard Heck
7966756340 CSS tweak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35383 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:26:21 +00:00
Richard Heck
5a32821701 Tweak abstract rendering.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35381 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:10:39 +00:00
Richard Heck
4ba2ebda4f Improve abstract rendering under XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35379 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:07:30 +00:00
Uwe Stöhr
4e6bae46c2 agutex.lyx: remove superfluous note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35360 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-14 02:40:42 +00:00
Uwe Stöhr
119a198c68 agutex.layout: please Jürgen as discussed in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg161657.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35350 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 21:54:50 +00:00
Pavel Sanda
c29450250e * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35348 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 13:23:07 +00:00
Abdelrazak Younes
d8981b13ae * Get rid of LFUN_TOC_INSERT: we use LFUN_INSET_INSERT "toc".
* Fix usage of "inset-insert type" without CommandInset arguments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35345 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 07:56:08 +00:00
Abdelrazak Younes
a648c39b70 Get rid of LFUN_LINE_INSERT: we use LFUN_INSET_INSERT "line".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35344 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 07:01:24 +00:00
Uwe Stöhr
e4aa3431de svjour3: fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35336 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-10 02:35:40 +00:00
Stephan Witt
c89b30d620 #6877 add unicode entry for the Return key
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35335 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-09 14:08:55 +00:00
Uwe Stöhr
9112064e9a French Math.lyx: updates by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35330 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-09 01:54:47 +00:00
Pavel Sanda
fe9af07c9e Change intro in doc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35323 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 16:42:26 +00:00
Pavel Sanda
896d06896c Add doc for vcs comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35322 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 16:15:34 +00:00
Pavel Sanda
5e82a48f21 UI glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35315 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 12:52:46 +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
5140a1d0de agutex: new layout and template file template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35280 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 13:59:03 +00:00
Pavel Sanda
4db466495b Typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35271 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-03 13:18:49 +00:00
Uwe Stöhr
3addf8e692 Japanese Customization.lyx: updates for trunk by Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35261 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 01:17:17 +00:00
Uwe Stöhr
a4658d3b99 Tutorial.lyx: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35260 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 01:15:52 +00:00
Uwe Stöhr
75b021f6b9 elsarticle.layout: only whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35252 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-01 01:52:05 +00:00
Uwe Stöhr
a2c6c06908 better support for the mathdots package:
technically this package is the same as esint, only for dots instead of integrals -> therefore we can and should handle it the same as esint

-> add "use automatically" checkbox
-> load mathdots if \iddots is inserted

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35251 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 23:34:54 +00:00
Uwe Stöhr
ac52f09058 LaTeXConfig.lyx: the mathdots package is only used for \iddots (\adots is the same as \iddots but defined by the yhmath package)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35250 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 23:32:33 +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
5f15803fb5 LaTeXConfig.lyx: add entry about mathdots (entry in chkconfig.ltx already exists)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35244 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 02:41:07 +00:00
Uwe Stöhr
e5a60a098e Math.lyx: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35243 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 02:16:16 +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
Enrico Forestieri
ac33a77dac Fix bug #6873: Shell execution of \nonstopmode tried when no latex binary present
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35236 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 15:02:36 +00:00
Jürgen Spitzmüller
435067c0f1 * InsetHyperlink.{cpp,h}:
* stdcontext.inc:
	- basic implementation of inset-edit (only for file: now) (part of bug #6864)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35230 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 17:23:35 +00:00
Jürgen Spitzmüller
d427010975 * InsetHyperlink.{cpp,h}:
* stdcontext.inc:
	- basic context menu and tooltip (part of bug #6864)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35229 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 16:40:52 +00:00
Jürgen Spitzmüller
0e86070389 nitpick.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35222 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 08:17:58 +00:00
Jürgen Spitzmüller
2f7780d0f4 nitpick.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35219 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 08:10:17 +00:00
Jürgen Spitzmüller
7b8fb46bf9 fix grammar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35216 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-28 12:55:28 +00:00
Pavel Sanda
d31ddccba9 This was killed because CREDITS is a generated stuff...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35213 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-28 12:36:00 +00:00
Pavel Sanda
64e9ef29d1 Update credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35210 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-28 10:14:45 +00:00
Jürgen Spitzmüller
3b1c6f2df4 fix accelerator conflicts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35200 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-25 08:35:28 +00:00
Uwe Stöhr
3b43bcbeb0 stdmenus.inc: I guess it is more logic to first show the source then the messages in the view menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35186 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-24 01:25:46 +00:00
Jürgen Spitzmüller
0473f11add * g-brief2.layout:
- add some missing standard environments (bug #6857)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35171 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 08:33:48 +00:00
Jürgen Spitzmüller
80a881b644 CREDITS: fix Reuben Thomas' entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35167 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 08:17:07 +00:00
Enrico Forestieri
d0d7db958c Replace the deprecated os.popen3 with the subprocess module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35162 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 07:00:41 +00:00
Enrico Forestieri
87f155767a Better fix for bug #6851.
The old-style font changing macros really inherit the mode, so we have
to account for this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35156 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 17:57:06 +00:00
Uwe Stöhr
3b2dbce542 layout files: partly revert r35139: setspace is not part of all LaTeX distributions by default, sorry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35147 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 12:32:51 +00:00
Uwe Stöhr
8ea2a6985d g-brief layouts: they require the europs package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35146 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 03:00:00 +00:00
Uwe Stöhr
a4ffe5b190 g-brief2.layout: fix format and thus #6856, sorry for the noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35145 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:24:06 +00:00
Uwe Stöhr
7468d5caa0 broadway.layout: there are no styles Abstract and Date that can be deleted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35144 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:17:03 +00:00
Uwe Stöhr
9676ae6a96 g-brief2.lyout: whitespace
Note that LyX does no longer accept this layout, see #6856 )

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:13:38 +00:00
Uwe Stöhr
3b60256554 moderncv.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:41:57 +00:00
Uwe Stöhr
f5cab80e7e Customization.lyx:
- make it compilable
- clarify a statement

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35140 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:36:40 +00:00
Uwe Stöhr
25b3a8c611 layout files:
- remove dependencies of standard LaTeX-packages like article, fontenc, babel, etc.
- The class need only be specified as optional argument if the name of the LaTeX class file and the name of the layout file are different or if there are no packages to load.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:28:47 +00:00
Enrico Forestieri
61791114a1 Fix bug #6851: Wrong screen fonts with old style macros such as \bf and \rm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35136 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 00:22:04 +00:00
Uwe Stöhr
004901eef6 KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbase and typearea are already part of KOMA-script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 00:09:07 +00:00
Jürgen Spitzmüller
168dd45dec * scrclass.inc: add support for \subtitle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-13 11:32:07 +00:00
Jürgen Spitzmüller
891e858ac1 * configure.py:
- properly separate platex and latex.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35125 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 16:44:48 +00:00
Uwe Stöhr
7f072cc5d7 configure.py:
- use eLyXer not only for HTML but also for HTML (MS Word) if it is found; this is simply the same code as we are already using for HTML converter check
- fix a bug that the copier calling would be wrong if neither eLyXer nor tex4ht is found (this is already fixed in the HTML converter check

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35122 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 00:57:48 +00:00
Uwe Stöhr
8b19571edc jss.layout:
- remove a4wide because this package is obsolete since about 15 years and listed in l2tabu, one get get a correct A4 layout with the geometry package that is already fully supported by LyX
- fix web link to the JSS package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35121 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 00:43:01 +00:00
Jean-Marc Lasgouttes
0deb3d0f02 little cleanup to memoir class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35120 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 22:34:08 +00:00
Richard Heck
7d8b56a21d Improve the error reporting, or checking, in configure.py.
There doesn't seem to be any way to report an error other than by
exiting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35119 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 21:43:08 +00:00
Jean-Marc Lasgouttes
e3e2568073 Fix a syntax error in the class declaration. This created an error in
configure.py, without any good explanation. Annoying.

Thanks to Jean-Pierre for spotting it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35118 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 19:01:28 +00:00
Jean-Marc Lasgouttes
6aa26820fd Introduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 21:20:29 +00:00
Uwe Stöhr
5212330e03 Spanish EmbeddedObjects.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35071 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 02:33:51 +00:00
Uwe Stöhr
76ae182df9 EmbeddedObjects.lyx: some corrections by J.R. Hudson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35070 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 01:39:34 +00:00
Richard Heck
7c54fd51e9 Move layout i18n stuff into its own section.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35067 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-06 21:37:45 +00:00
Richard Heck
2c742b2a19 IEEEtran provides theorems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35065 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-06 20:49:15 +00:00
Richard Heck
f5e2d78792 Layout dependencies patch from Julien Rioux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35054 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:07:56 +00:00
Jürgen Spitzmüller
006d1488ea * linguistics.lyx:
* de/linguistics.lyx:
	- indicate if required packages are installed (via info inset)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35048 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-04 12:08:19 +00:00
Jürgen Spitzmüller
20238b240c * Check for float.sty, which is a required package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-04 11:53:23 +00:00
Richard Heck
fab260b2e6 Info on image scaling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35034 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:44:53 +00:00
Richard Heck
4171856dc6 New section for math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35033 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:40:48 +00:00
Richard Heck
6d630bef7a Minor updates to XHTML info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35031 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:22:25 +00:00
Richard Heck
329def52d9 Update to math info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35030 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:19:16 +00:00
Richard Heck
3002574922 Minor style stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35029 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:57:08 +00:00
Uwe Stöhr
6d474927ae port from branch:
EmbeddedObjects.lyx: Typos and grammar fixes by John Hudson, part 2/2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35017 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-26 01:40:09 +00:00
Uwe Stöhr
683e4919eb port from branch:
- EmbeddedObjects.lyx: revision of the footnote section
- English EmbeddedObjects.lyx: Typos and grammar fixes by John Hudson, part 1

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35014 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-25 19:14:38 +00:00
Stephan Witt
4f4d32da4b change key-bindings to support cmd-plus/minus text size adjust on mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35006 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 16:38:26 +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
Peter Kümmel
c09d33120d UNDO: enc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 16:09:26 +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
6f83641b8e LaTeXConfig.lyx: fix sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34940 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 15:40:40 +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
Pavel Sanda
45ab02e550 Prepare for Math Formal Script Family.
Add rsfs10.ttf generated from CTAN's rsfs fonts.
This is really beautiful script.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34938 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 15:00:12 +00:00
Peter Kümmel
56a7a67783 add first version of .lyx file encryption. It's disabled by default and could out-of-the-box only by compiled on Linux with cmake and with openssl-devel packeges.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:26:11 +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
Jürgen Spitzmüller
5ff4c8826c * configure.py: adapt desription.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-15 07:26:32 +00:00
Jürgen Spitzmüller
03c24a6ee3 * unicodesymbols: fix output of MODIFIER LETTER SMALL GAMMA
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-14 06:21:45 +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
Richard Heck
47db764ccc Nameref support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 03:23:29 +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
Richard Heck
cf90dbe2b1 Forgot the new file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34863 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 22:14:45 +00:00
Richard Heck
c2fef67f45 Reference prefixes for enumerations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:49:09 +00:00
Richard Heck
f0fc6a6a2f Don't overwrite earlier preamble stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34856 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:45:42 +00:00
Richard Heck
2a61cdbf39 Reference prefixes for theorem environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:45:21 +00:00
Richard Heck
c2a4932ce0 Small improvement to RefPrefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34854 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:36:19 +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
Pavel Sanda
4da0c94afa Support for AEA.cls (American Economic Association journals)
Patch from Koji (#6807).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34800 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 17:17:09 +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
Uwe Stöhr
fea2f32b6c also for trunk: new translated Greek splash.lyx and Intro.lyx from Ulysses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34793 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 23:47:28 +00:00
Pavel Sanda
f70d8db243 Recognize 'jbibtex' in pLaTeX . Patch from Koji, #6808.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 20:57:45 +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
Vincent van Ravesteijn
fe124c57ce Add wasysym to LateXConfig.lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34700 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-25 11:08:39 +00:00
Vincent van Ravesteijn
7e3c7bd877 * LaTeXConfig.lyx: typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34699 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-25 11:07:42 +00:00
Vincent van Ravesteijn
6b0ba53ac4 * LateXConfig.lyx: Correct font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34698 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-25 11:06:52 +00:00
Jürgen Spitzmüller
272b52a005 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34681 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-17 08:26:34 +00:00
Jürgen Spitzmüller
45f97a76f3 * tufte-book.layout: use InPreamble for titling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34680 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-16 06:06:43 +00:00
Jürgen Spitzmüller
1a312d15be * tufte-handout.layout:
- fix LabelType declarations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34677 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-15 17:13:10 +00:00
Richard Heck
c952f9a7be Fix InPreamble. I must have committed an incomplete patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34675 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-15 15:37:39 +00:00
Vincent van Ravesteijn
abcdc1a321 Fix bug #6752: Circle (bullet icon) causes error on export
We need to make sure the wasysym package is installed by adding a check to chkconfig.ltx.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34671 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-15 10:27:42 +00:00
Jürgen Spitzmüller
8757a62f88 * tufte-book.layout:
- fix LabelType declarations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34668 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-15 08:12:09 +00:00
Uwe Stöhr
9fb737d047 Basque docs: major updates by Iñaki Larrañaga Murgoitio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-08 02:49:49 +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
Richard Heck
5c0a1e5c4e Use new RequiredArgs tag to improve Beamer UI. Also includes a dummy
format bump so we can convert old Beamer files, which are otherwise
broken by the new layout.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34615 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:26:56 +00:00
Enrico Forestieri
e0a5cda787 Add GUI support for big delimiters variants without 'l', 'm' or 'r' endings.
They differ from their cousins only for the space left around them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34604 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 00:42:33 +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
Richard Heck
319ca06167 Rename LFUN_OPTIONAL_INSERT as LFUN_ARGUMENT_INSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:53:44 +00:00
Richard Heck
f9377c8bcc Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34595 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:28:21 +00:00
Richard Heck
2581036784 Documentation for RequiredArgs tag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34593 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:00:50 +00:00
Richard Heck
b0097bcddb Introduce a new "RequiredArgs" tag for layouts. This functions much as
the OptionalArgs tag does and is implemented by the now misnamed
InsetOptArgs, except that its content gets wrapped in "{}" rather than
"[]". Required arguments do not actually have to be provided, but they
are always output. 

This will allow e.g. beamer's Block environment to be implemented
without ERT.

Documentation to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34591 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 21:50:08 +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
Uwe Stöhr
311fb59467 IEEEtran.lyx: update file according to latest layout and remove doubled \emph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-28 01:53:19 +00:00
Richard Heck
8993fe96b2 Escape quotes in module descriptions. Amazingly,
this actually seems to work with no changes in the 
C++ code.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:23:25 +00:00
Richard Heck
35ee5f2040 Clarify code a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:20:21 +00:00
Richard Heck
434af7df28 Minor code reorganization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34526 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:16:23 +00:00
Enrico Forestieri
8c3f887f57 We have the magic keyword ObsoletedBy which allows renaming styles
(thanks JMarc for pointing out it)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34514 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 13:17:36 +00:00
Enrico Forestieri
9bf8fc7feb When Publisher was changed to Publication, the template was not updated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34513 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 13:01:15 +00:00
Enrico Forestieri
d8bebfa274 This should have gone in r34508
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34512 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 12:17:00 +00:00
Enrico Forestieri
35bb683a35 Preserve compatibility with old documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34508 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 09:27:23 +00:00
Uwe Stöhr
a0751f03b5 IEEEtran.layout: re-add lyxmacros.inc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 23:57:25 +00:00
Enrico Forestieri
3450dbaa49 Maybe this is more meaningful.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34504 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 21:09:52 +00:00
Pavel Sanda
507675c270 Change toolbar tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34503 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 15:14:47 +00:00
Pavel Sanda
97a4fba293 Add some info to manual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34502 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 12:22:02 +00:00
Pavel Sanda
012a1c805a Forgot on makefiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:38:40 +00:00
Pavel Sanda
053b905e08 Add output_sync icon to view/update toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:02 +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
Pavel Sanda
43939fbb65 Comment also to the trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 22:07:30 +00:00