Stephan Witt
78ded48a22
make a second try for misspelled words to catch abbreviations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35427 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 17:39:18 +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
Pavel Sanda
814e16daef
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35423 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 10:25:33 +00:00
Pavel Sanda
e2f1a17dd8
* RELEASE-NOTES
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35422 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 09:55:24 +00:00
Uwe Stöhr
5a7328b0bb
GuiDocument.cpp: the local layout can be treated as layout file snippet like a module - therefore group it with the module panel in the document settings dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35421 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 01:46:45 +00:00
Uwe Stöhr
6faa1b3713
GuiLine: honor Abdel as author
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35420 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 01:32:23 +00:00
Uwe Stöhr
625806d359
de.po: translations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35419 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 01:30:39 +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
Uwe Stöhr
92c8604313
InsetLine:
...
- honor Abdel as author
- reintroduce the /// spacers in the header file because it makes it better readable and we do this in all other inset header files
GuiLine: honor Abdel as author
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35417 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 01:28:08 +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
Stephan Witt
e6dd339234
force dictionary deployment for explicit enabled aspell/hunspell checkers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 15:13:25 +00:00
Abdelrazak Younes
17ab5f5a38
InsetLine: Fix vertical positioning, offset is really an offset from the
...
text baseline, not from the middle of the line.
We are now getting much closer to LateX drawing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35413 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 10:40:19 +00:00
Abdelrazak Younes
3b512d5915
header cleanup and doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35412 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 10:14:46 +00:00
Abdelrazak Younes
31c75d260e
Remove uneeded hack.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35411 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 09:49:43 +00:00
Pavel Sanda
014134cb99
Back to trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35410 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 08:53:19 +00:00
Stephan Witt
dcf5272d05
don't copy internal state of spell checker in copy constructor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35408 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 07:42:08 +00:00
Abdelrazak Younes
08453ceba4
Fix InsetLine painting for exotic offset and heigth.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35407 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 07:36:20 +00:00
Pavel Sanda
d441aeba3c
Alpha6
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35405 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 21:17:53 +00:00
Pavel Sanda
0e6ef2a617
Remerge strings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35404 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 21:15:11 +00:00
Pavel Sanda
c7435ccc71
Gettext screems, most probably typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35403 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 21:09:34 +00:00
Pavel Sanda
eaf1e371c7
Revert 35400 for the time being, crashes here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35402 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 20:32:58 +00:00
Richard Heck
c4b7ef0bd0
Automatic CSS for left and right margins, too. Fixes indentation problem
...
with LyXCode environment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35401 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 17:44:52 +00:00
Richard Heck
c4c210cc6e
Minor simplification.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35400 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 17:33:15 +00:00
Richard Heck
ca9ff9e430
Allow alignment customization in environments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35399 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 17:32:05 +00:00
Richard Heck
3c08472b0c
Allow alignment customization in environments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35398 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 17:29:51 +00:00
Richard Heck
64241a6d6d
Add XHTMLStream::operator<<(char). Failure to have it was causing things
...
like:
xs << ' ';
to send an int.
32, Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35397 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 17:19:29 +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
a5e4f310fe
Add alignment to default CSS.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35392 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 14:06:36 +00:00
Richard Heck
36765b8e21
comments and whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35391 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:54:56 +00:00
Kornel Benko
d7da77e1ca
Complete cmake-files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35390 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:52:19 +00:00
Richard Heck
fbc092639c
Part of #6893 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35389 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:51:06 +00:00
Richard Heck
b5d2e9d285
Fix output of HTML tags in bibliography info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35388 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:50:17 +00:00
Pavel Sanda
269969db0d
Fix broken automake
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35387 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:41:03 +00:00
Richard Heck
7f0b1d1cbb
Fix i18n for InsetBibtex.
...
It would be better to get the paragraph language here. How to do that?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35386 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:28:55 +00:00
Richard Heck
89738020e0
Add topsep and bottomsep handling to the default CSS we generate.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35385 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:02:45 +00:00
Abdelrazak Younes
c01de9fd41
* add InsetLine::dimension() to avoid calling InsetCommand::dimension()
...
* InsetLine::draw() bit of code shuffling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35384 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:43:07 +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
fc9cfc5d67
Whoops.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35382 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:20:14 +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
4528307de6
Fix HTMLLabelFirst handling in non-list environments. Simplify code,
...
while we're at it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35380 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:08:00 +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
Kornel Benko
17d1ef55aa
* sk.po
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35378 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 11:41:24 +00:00
Abdelrazak Younes
15679c3e82
revert r35374 and further improve the metrics and drawing code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35377 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 11:19:29 +00:00
Richard Heck
14015ec434
Void functions don't return things. ;-)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35376 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 01:03:13 +00:00
Uwe Stöhr
573abee2b5
InsetLine.cpp: correct coding style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35375 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-14 23:35:12 +00:00