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