Commit Graph

26644 Commits

Author SHA1 Message Date
Abdelrazak Younes
67e782190a Split TeXEnvironment() in three functions. The real optimisation is yet to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36896 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 23:39:38 +00:00
Abdelrazak Younes
1ff5754a1b get rid of TeXDeeper: this was hiding the recursiveness of TeXEnvironment without any real benefits. This will allow further simplification of the code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 21:48:00 +00:00
Abdelrazak Younes
811335b50c a microptimisation and a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36894 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 21:11:12 +00:00
Abdelrazak Younes
fbcbeb5130 latex export optimisation step 1: There is no need for TeXOnePar to return a par iterator and to depend on that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 20:51:25 +00:00
Kornel Benko
40e705e699 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36892 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 19:10:20 +00:00
Richard Heck
78f84fe020 The letter class supports quote, quotation, and verse, and surely the ---Separator--- might be wanted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 15:30:25 +00:00
Stephan Witt
ad76c66e33 #7120 the painter expects a float as line_thickness_, simplify initial computation of line_thickness_ and line_offset_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 07:12:42 +00:00
Richard Heck
832d6cd7e1 Begin undoing the tocString() mess by renaming that routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36889 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 01:34:04 +00:00
Richard Heck
de1655f92b Use the layout defined label for the TOC, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:50:50 +00:00
Richard Heck
7bc133b0a2 Abdel thinks we should just get rid of this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:43:45 +00:00
Pavel Sanda
e8b75409ff * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:26:41 +00:00
Richard Heck
807fc94597 Trivial cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36885 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:18:48 +00:00
Richard Heck
d1e0a0e4ed Allow customization of label string for note insets. We actually had
strings in the layout file, but they were not used.

Question: Should we just remove InsetNote::setButtonLabel() now? The
only purpose it is serving is to provide a backup in case no label is
defined.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:16:19 +00:00
Pavel Sanda
f659c8f420 Math.lyx - add small chapter about computer algebra systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 19:17:03 +00:00
Pavel Sanda
e1636b9f24 Report disabled BREAK_PARAGRAPH in MathHull getStatus so we can use command-alternatives.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36882 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 17:33:38 +00:00
Pavel Sanda
b7bca67010 Missing packages for configure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 17:23:47 +00:00
Pavel Sanda
d38d4d2937 Leftovers for spreadsheet support.
Patch from Helge Hafting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36880 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 16:59:14 +00:00
Richard Heck
4c415f1150 Update XHTML info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 15:03:52 +00:00
Kornel Benko
83ba9d8518 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36878 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 10:31:53 +00:00
Kornel Benko
c6b561e847 remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36877 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 10:31:27 +00:00
Uwe Stöhr
3c2103a828 id.po: update from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36876 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 02:37:06 +00:00
Uwe Stöhr
b298430090 de.po: fix compile error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 00:12:23 +00:00
Enrico Forestieri
116c20a203 Trying to be too smart by reducing the number of regenerated previews, may
cause to miss some regeneration. So, better too much than less.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36872 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 22:20:29 +00:00
Pavel Sanda
18ede3129e * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36871 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 16:47:21 +00:00
Stephan Witt
48b071d983 #7120 adjust the line thickness to mark changes, foreign language and misspelled text to zoom factor in user preferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36869 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 16:18:37 +00:00
Jürgen Spitzmüller
7ca6110534 * de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36868 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 16:15:26 +00:00
Jürgen Spitzmüller
bb533f0765 * id.po: Update from Waluyo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36867 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 16:06:13 +00:00
Jürgen Spitzmüller
0f2cfd957e Load the package breakurl with hyperref in DVI output (fix bug 7033).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36860 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 07:58:07 +00:00
Jürgen Spitzmüller
d79902fe7d * languages: remove country code from farsi definition, since the aspell dictionary doesn't use it either (fix bug 7171).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 07:15:54 +00:00
Enrico Forestieri
f3e3655091 Really fix bug #7090.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 04:46:39 +00:00
Pavel Sanda
3998065582 Follow Vincent's advice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 00:51:30 +00:00
Pavel Sanda
3451601447 Fix #7057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36853 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 23:57:21 +00:00
Pavel Sanda
2acf331164 Forgotten shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36851 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 22:04:37 +00:00
Jean-Marc Lasgouttes
425f46bea5 * add an extra parameter to lyxsweave.py that tells the document directory
and use it to be able to read data files in there (bug #6623). It is probably possible to use sweave hooks instead of the module preamble. Moreover, I want to investigate the use of prefix.string argument of sweave to make sure that the output files end up in the tmp dir.
  * be more subtle in the way to change default encoding to handle the case where a data file that is read does not use the same encoding as the .rnw file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 21:25:57 +00:00
Jean-Marc Lasgouttes
8c6ce63595 Do not use the --vanilla option of Rscript, since it can
cause unexpected errors (like locally installed packages
not found).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36849 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 21:09:53 +00:00
Vincent van Ravesteijn
1f76d67c66 Fix bug #7164: Text in tables not painted immediately.
Fixes the regression introduces in r36630. I already fixed this, but forgot to commit apparently.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36848 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 20:56:01 +00:00
Georg Baum
5e5a078503 Increase tex2lyx output format to 277.
Nothing to do, since tex2lyx does not produce the invalid tables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36847 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 20:01:53 +00:00
Georg Baum
6f951a9821 Fix bug #6051 by applying the patch from Pelle.
I could reproduce the warnings, and comparing the man output with and without
patch verified that the quotes were completely missing in the old version
while they are OK in the new one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 19:39:21 +00:00
Georg Baum
5aedfc6b9f Increase tex2lyx output format to 276 (LyX 1.5.x).
Add support for arabic (arabi package), and two languages that are already
avaiilable in previous formats, but have been forgotten: latvian and lithuanian.
Again, the previous format was not handled correctly:
arabic (arabi) was parsed as arabic (arabtex).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36845 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 18:47:02 +00:00
Stephan Witt
1812984b42 finally ASPELL_FRAMEWORK is not used anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36844 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 18:43:02 +00:00
Georg Baum
04233bf5eb Increase tex2lyx output format to 275.
Nothing to do for 274: tex2lyx did not implement the special whitespace
handling that would have been needed for the old format.
Use the scaleBeforeRotation keyword for graphics (275).
This fixes actually a bug with the old version, that implicitly converted
all graphics to scale before rotation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 17:47:36 +00:00
Georg Baum
19c27cba66 Increase tex2lyx output format to 273.
Nothing to do, since lyx2lyx conversions are empty except for version 271,
and tex2lyx already outputs the new format for 271.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36842 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 14:55:14 +00:00
Georg Baum
c0b20c1c92 increase tex2lyx output format to 265
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36841 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 14:33:34 +00:00
Georg Baum
1b04aa7301 Do not use math commands from unicodesymbols in tex2lyx text mode,
since they are usually invalid in text mode (partial fix of bug 6797).
Also, prepare proper translation of \\slash{} and \nobreakdash.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36840 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 13:23:05 +00:00
Georg Baum
a4a7502769 textsubscript and textsuperscript for tex2lyx
(deactivated until format is recent enough)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36839 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 12:16:18 +00:00
Georg Baum
e693a60c34 Fix bug #5716.
Since separators are not allowed by the current .lyx version written by
tex2lyx, an empty note is used instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 11:45:09 +00:00
Jürgen Spitzmüller
aec686905b * Buffer.cpp (doExport): rebuild the Graph to fix a crash due to an invalid pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 10:56:55 +00:00
Jürgen Spitzmüller
04bfd58a3a * BufferParams.cpp (loadFonts):
- replace the fontspec option "mapping=text-tex" with "Ligatures=TeX" as recommended in the fontspec manual.
	  The two options are equivalent, but only the latter is recognized by LuaTeX.
	- do not use TeX ligatures with typewriter fonts (this is the same in standard LaTeX).
	- add a bit of documentation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 10:15:44 +00:00
Enrico Forestieri
573694da5f Fix bug #6538 (Figure: relative path changed to absolute on copy/paste)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 23:04:24 +00:00
Stephan Witt
937984898a #7084 provide spelling suggestions only when replacement is possible - if there is no selection or the misspelled word is selected; use the replace2string to construct the LFUN arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36834 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 19:10:44 +00:00