Commit Graph

5339 Commits

Author SHA1 Message Date
Enrico Forestieri
46cb01a5e0 Fix bug #6720 (Better error handling of instant preview)
Patch from Ale revised by me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37274 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-20 23:39:08 +00:00
Richard Heck
06ee6bde14 Fix bug #7214 as best we can. The point here is that we only
want to add the \clearpage if the class has chapters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37266 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-20 16:38:41 +00:00
Richard Heck
924ac8a5a1 Fix several layout related problems revealed by -dbg tclass.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37265 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-20 16:28:42 +00:00
Georg Baum
96bcf145d9 Fix conversion of nested box insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37264 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-19 22:04:45 +00:00
Richard Heck
7e7f98532d Silly typos. Thanks, Stephan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37256 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 23:11:27 +00:00
Richard Heck
18a015081b Update prefs2prefs again. Thanks Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37255 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 19:35:54 +00:00
Richard Heck
bc176dc904 Add conversion of \language_use_babel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37254 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 16:50:43 +00:00
Richard Heck
e5b25ce78e Update all of our bind and ui files to format 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:42:27 +00:00
Richard Heck
8f207c5736 Thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37251 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:40:07 +00:00
Richard Heck
054dfe3c00 Improve the prefs2prefs scripts a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37250 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:37:20 +00:00
Richard Heck
dfb67984f2 Conversion routines for preference files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37233 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 20:28:43 +00:00
Richard Heck
f97bc9b9e7 A little more work on prefs2prefs.
More to come, Pavel!



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37225 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 03:59:43 +00:00
Pavel Sanda
aac2310ea0 Some very old spots from Ignatio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37221 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:51:20 +00:00
Pavel Sanda
a33aa0632d Make sweave example working. Patch from Liviu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37220 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:30:02 +00:00
Pavel Sanda
9d76ec23d5 Add comment to sweave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37219 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:11:02 +00:00
Richard Heck
1b98ec3e99 Don't need these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37212 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-14 18:25:00 +00:00
Richard Heck
b0676249eb Update to documentation concerning unavailable packages, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37208 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:25:10 +00:00
Richard Heck
b0eaa25e77 Doc for NoCounter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37202 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 15:52:59 +00:00
Richard Heck
874e867953 Update all layouts to format 31.
Should have done this first!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37196 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:20:07 +00:00
Richard Heck
a9411446ee Add NoCounter to layouts that need it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37195 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:19:02 +00:00
Richard Heck
d32ed4ff4e Add NoCounter lines to inc files that need them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:12:28 +00:00
Richard Heck
49436e4c2d Add NoCounter layout tag. When working on output of equation numbers, I
noticed that article, for example, still has a counter "chapter". This
surprised me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37193 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 22:53:41 +00:00
Georg Baum
acd57ccaaf Fix language handling in tex2lyx:
- Add missing babel synonyms (taken from a standard TeXLive 2010 install).
  Some synonyms might still be missing (if they are defined not by babel
  itself, but additional packages). Adding these is now simple: Only
  known_languages and known_coded_languages need to be touched.
- Translate babel language name arguments of \foreignlanguage and
  \selectlanguage to LyX names.
- Translate second argument of \foreignlanguage to LyX.
- Cleanup mixed language names in the preamble parser: Now all checks are
  done with LyX names, not a mix of babel and LyX names. This sets correct
  quotes even if the language as given as an alias.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 21:04:39 +00:00
Pavel Sanda
2e3953cb03 Update enumitem module and add documentation for it.
From Guenter Milde.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37182 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 10:12:14 +00:00
Richard Heck
47ca44e296 Record and use equation numbers. This is towards getting equation
numbering in XHTML output, but it's just as easy to fix this in the LyX
display.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37177 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-11 19:35:52 +00:00
Uwe Stöhr
c17d27e066 German Tutorial.lyx: change \overrightarrow to \vec as requested on the lyx-docs list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37153 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-08 19:15:43 +00:00
Pavel Sanda
23ac011dc8 Enumitem's "Labeling/LyX-List" should not change the original layout.
Patch from Guenter.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84689.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37150 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-07 22:18:43 +00:00
Uwe Stöhr
4cb349c468 stdmenus.inc: remove item that produced incorrect LaTeX code: a framed box can only have page breaks when there is no inner box, but this item created an framed box with a minipage as inner box _and_ allowed page breaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37142 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 23:53:32 +00:00
Uwe Stöhr
405348e416 Merge the AdvancedSearch.lyx file to the UserGuide.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37141 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 23:25:22 +00:00
Uwe Stöhr
e8d0e93a57 German EmbeddedObjects.lyx: some translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37130 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 16:29:56 +00:00
Uwe Stöhr
69463d7f13 EmbeddedObjects.lyx: description of new support for \includeonly , many thanks Jürgen!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37124 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 02:17:54 +00:00
Uwe Stöhr
7c2d216836 UserGuide.lyx: some changes by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37122 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 00:59:15 +00:00
Uwe Stöhr
bc8982e5e0 French EmbeddedObjects.lyx: updates from Siegfried
NOTE: this document is uncompilable due to #7211

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37119 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-05 23:34:32 +00:00
Georg Baum
812c27d793 Improve tex2lyx roundtrip of test-insets.tex:
- Replace special verbatim commands by standard LaTeX, since it would be
  extremely difficult to make tex2lyx understand them)
- Comment duplicated \bibliography{xampl}, since LaTeX cannot handle two
  \bibliography calls
- Fix a regression with spaces after commands, introduced in r36943
- Parse \multicolumn with space/comments between two arguments correctly
- Parse optional arguments correctly if there are space or comments between
  the command and the argument
- Remove duplicate "LyX" phrase handling (I overlooked that in r37052)
- Add new commands created with \let to the list of known commands. This is
  needed to parse the arguments correctly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37064 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-02 15:39:48 +00:00
Enrico Forestieri
36ee8cdd52 Revert r36465 and r36467. Soon to be replaced by proper code for correctly
show on screen italic uppercase greek letters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Georg Baum
225c1dbe55 partial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37056 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 12:07:58 +00:00
Jürgen Spitzmüller
0a34b1e047 fix some typos. Patch by Yuri Chornoivan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 16:57:04 +00:00
Georg Baum
3cdb7d3062 fix parsing of test document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37017 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 21:12:40 +00:00
Georg Baum
84be0a0db4 fix parsing of \let: tex2lyx must not enclose the arguments with {}.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37016 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 20:15:24 +00:00
Pavel Sanda
f068c93eff Change 3.1.2.2 section title, so we have more clear pointer in error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36998 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:28:06 +00:00
Pavel Sanda
1caa7670d2 Missing dot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36992 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-22 23:20:15 +00:00
Uwe Stöhr
696ee1157d UserGuide.lyx: describe new branches features, thanks Jürgen!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 12:41:37 +00:00
Uwe Stöhr
61eeab7405 Math.lyx: new section about CAS support
Pavel, many thanks for this addition, but please always use cange-tracking if you modify manuals.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36942 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 03:03:41 +00:00
Uwe Stöhr
4fe5321be9 Customization.lyx: fix typo reported on the lyx-docs mailing list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 19:36:35 +00:00
Uwe Stöhr
9ad8527629 French Math.lyx: translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36919 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 18:54:40 +00:00
Uwe Stöhr
7a6198b114 - French UserGuide.lyx: translation updates by Siegfried
- UserGuide.lyx: fix some issues spotted by Siegfried

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36917 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 18:33:37 +00:00
Uwe Stöhr
c3a76fc0f2 Indonesian Shortcuts.lyx: new translation by Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 18:17:39 +00:00
Jürgen Spitzmüller
84e3417caf * scrclass.inc: \addpart, \addchap and \addsec have an optional argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 08:59:22 +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
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
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
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
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
Georg Baum
7ba8c1d542 Fix bug #3333: LyX gives a stupid error message when trying to convert xfig
files to eps/pdf. With this fix, you get the usual "No information for
converting ..." message.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36831 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 18:14:16 +00:00
Jürgen Spitzmüller
33f4ea26a5 * actually record rtf and doc viewers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36825 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 14:48:52 +00:00
Uwe Stöhr
9cf4dfda3e Indonesian UserGuide.lyx: more translations from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36821 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 05:48:03 +00:00
Uwe Stöhr
6a07084315 Indonesian UserGuide.lyx: new translation from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 20:50:30 +00:00
Uwe Stöhr
00e09baca1 Math.lyx, EmbeddedObjects.lyx: fix two issues spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36819 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 19:55:09 +00:00
Uwe Stöhr
aa20f0ddba Spanish EmbeddedObjects.lyx, Math.lyx: updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36818 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 19:22:03 +00:00
Uwe Stöhr
61e19695c8 chkconfig.ltx: add hhline - was a leftover from r36786; LaTeXConfig.lyx entry still missing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36815 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 16:44:07 +00:00
Pavel Sanda
8dabf14050 Recognize the COMBINING GREEK PERISPOMENI character, part of bug #6463.
Patch from Guenter Milde.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164217.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 16:33:41 +00:00
Richard Heck
a522fc683a Leftover from r36789.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36807 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 12:46:28 +00:00
Uwe Stöhr
5f30c8be67 UserGuide.lyx: describe the new font features as well as LuaTeX and improve description of XeTeX (many thanks Jürgen!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36804 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 06:19:52 +00:00
Richard Heck
c51838d3c9 Submenu for box insertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36788 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 13:01:59 +00:00
Pavel Sanda
a978795215 After more attempts add gnumeric support.
Patch from Helge Hafting.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164180.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 01:19:13 +00:00
Jürgen Spitzmüller
be3625dceb * thesis.lyx: revert unintended changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36779 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 19:32:56 +00:00
Enrico Forestieri
68e455e7f2 Fix bug #7127 (Broken context menu for ERT insets)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36776 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 18:41:04 +00:00
Jürgen Spitzmüller
15685fe5cb do \addto\extras \AtBeginDocument, which is after polyglossia, if this package is used.
Fixes the \addto conflicts with polyglossia.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36774 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 16:24:12 +00:00
Enrico Forestieri
82643027ed Remove bogus line from lib/autocorrect. Fixes bug #6261.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36765 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 20:10:41 +00:00
Georg Baum
4736356bf9 fix remaining bits of bug #6709
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36718 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 16:43:41 +00:00
Richard Heck
6fd0260f0f MultiPar before these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36707 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:57:32 +00:00
Richard Heck
42f6c44f6b Don't use prettyref here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36705 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:43:22 +00:00
Georg Baum
d8449f5392 fix scripts in classic.ui as well
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36700 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:03:30 +00:00
Richard Heck
023db84004 Fix #7129: No multipars in phantoms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36698 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 20:21:02 +00:00
Georg Baum
cff0f635cc fix endless loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36695 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 19:27:35 +00:00
Pavel Sanda
4efd89fe83 Fix credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36692 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 18:28:35 +00:00
Pavel Sanda
1be4688617 Add ref in instant_preview.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36691 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 18:19:33 +00:00
Enrico Forestieri
4fa62dd310 Add PSTricks and TikZ example drawings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36690 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 18:08:20 +00:00
Georg Baum
ebd59dbc00 show inverted diagonal dots in math dots toolbar (was forgotten in r35251)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36686 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:42:16 +00:00
Enrico Forestieri
32ea5966c5 Allow previewing images generated through postscript specials which are
not correctly handled by dvipng. When a ps special is detected in the dvi
file, the old good legacy method is used. Patch from Ale.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36685 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:37:38 +00:00
Richard Heck
69b228f9af Update for LyXBlogger detection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36684 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:35:01 +00:00
Vincent van Ravesteijn
b20c579f5a Fix bug #6709: Inserting a numbered equation to a display equation toggles the display style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36674 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 02:55:52 +00:00
Richard Heck
ac67d37f75 Improve the XHTML display of Labeling a bit.
I don't see any reasonable way to make this look the way it does in LyX.
Anyone else have an idea? (Tables are definitely out here.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36669 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 21:42:04 +00:00
Pavel Sanda
ab8516bbb9 Regenerate lfuns.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36653 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 02:47:03 +00:00
Pavel Sanda
0a34788bba Update doc about forward search.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36650 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 01:56:45 +00:00
Enrico Forestieri
42fe3fdbc3 Use single quotes because double ones are skipped instead of being properly
escaped in po-files, thus thwarting translations. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36624 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 11:36:03 +00:00
Jürgen Spitzmüller
2be72ce058 * configure.py:
* Conerter.{cpp,h}:
	- use a backend=flavor flag format for latex instead of hardcoding format names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 09:49:28 +00:00
Pavel Sanda
aef9d84e83 Disentangle various "in"s
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:55:34 +00:00
Vincent van Ravesteijn
5cc077c571 Automatically append the InsetCollapsable context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36609 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:05:06 +00:00
Vincent van Ravesteijn
b600508ee2 Remove duplicated entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:04:38 +00:00
Pavel Sanda
4d02104d31 Regenerate credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36585 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:12 +00:00
Pavel Sanda
110b3ccf18 Add Ale to contributors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36584 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:11 +00:00
Jürgen Spitzmüller
f1b586d445 * lyx2lyx/lyx_2_0.py:
- remove wrong warning (bug 7100).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36574 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 07:09:58 +00:00
Uwe Stöhr
04e6f69a42 enumitem.module: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36570 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:24:06 +00:00
Uwe Stöhr
12de34f1fa configure.py: fix shortcut clash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36569 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:23:35 +00:00
Richard Heck
0afac5a291 Accept changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36564 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 22:51:20 +00:00
Richard Heck
a61899ffe7 Allow InPreamble to be used with Paragraph-type environments. There is
no reason not to permit this, and using it with PassThru 1 allows for a
very simple Preamble layout-type that acts as ERT for the premable. Of
course, we do have the preamble in Document>Settings, but that allows
the embedding of preamble code in branches.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36562 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 22:08:11 +00:00
Uwe Stöhr
746fb55c9b Spanish EmbeddedObjects.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36561 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 21:42:28 +00:00
Uwe Stöhr
729ba31fed EmbeddedObjects.lyx: correct description bug found by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36560 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 21:42:02 +00:00
Jürgen Spitzmüller
3d1226b4f2 * Use the package luainputenc if LuaTeX is used as output format _with_ tex fonts. With this, the UG compiles with LuaTeX if "Unse non-TeX fonts" is not selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36559 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:51:21 +00:00
Georg Baum
969529b25b 1) Add missing LuaTeX icons
2) Make pdf icons distinguishable.
   This is useful for users like me who want them directly on the toolbar
   without the indirection through the *-others popups.
3) Apply the fixes of r29715 to buffer-export_pdf2.png


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36555 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 16:40:46 +00:00
Georg Baum
b5097b13cf forgot to check for the package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36551 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 11:32:26 +00:00
Georg Baum
36698a933c Add fixltx2e module which simply loads fixltx2e.sty.
This module can be used instead of \usepackage{fixltx2e} in the preamble
to avoid duplicate definitions of \textsubscript.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36550 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 10:46:47 +00:00
Enrico Forestieri
4feb6cf62b Fix instant preview on windows when dvipng is not available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36545 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 01:22:36 +00:00
Jürgen Spitzmüller
6d67f264aa * enumitem.module: refer to mirror CTAN address, not to DANTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36534 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-27 10:43:55 +00:00
Richard Heck
7f8b868f4a Fix bug #2607.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36520 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 17:21:17 +00:00
Richard Heck
d83c9f3fe3 Minor style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36509 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 16:07:17 +00:00
Jürgen Spitzmüller
2dc2e4770b Implement GUI for LuaTeX. File format change due to the renaming of the \use_xetex buffer param.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 09:42:03 +00:00
Vincent van Ravesteijn
f7393078b2 Fix bug #7056: Context menu of table shows wrong cell alignment for multicolumns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 03:31:10 +00:00
Pavel Sanda
58805a5132 Kill literate programming strings
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163726.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 23:17:44 +00:00
Pavel Sanda
276170fd6f Synchronize naming of modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36488 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:40:28 +00:00
Uwe Stöhr
7a05148777 Math.lyx: add info about italic and upright Greek letters in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36470 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:53:18 +00:00
Pavel Sanda
43fb0e642a * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36468 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:21:34 +00:00
Pavel Sanda
a0c7b9b786 The problem with windows is that it does not discriminate case sensitivity
which breaks on other archs.
Uwe, please check it still works for you.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:07:42 +00:00
Uwe Stöhr
e16ee11f18 fix #1983 (rest of #4606): add missing \var*** characters (gig Greek math letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Uwe Stöhr
d89fc09314 modernCV.lyx: add example how to create a sub-item in a list entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36458 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 17:41:39 +00:00
Georg Baum
7edd656f21 Fix inserting subscript/superscript with nonempty selection by creating a dedicated lfun:
inset-insert simply swallows the selection, while box-insert, note-insert etc.
put the selection inside the new inset.
As a side effect the toolbar icons get better names, as requested by Uwe.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36451 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:09:08 +00:00
Jürgen Spitzmüller
2868ff7a52 add basic LuaTeX backend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36448 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 16:07:42 +00:00
Jürgen Spitzmüller
c2f90c6a79 * configure.py: resolve shortcut conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36441 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 11:14:30 +00:00
Jürgen Spitzmüller
0ac943cf13 * languages: correct Norwegian Gui strings as advised by Ingar Pareliussen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36440 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 10:52:59 +00:00
Georg Baum
f3ad535dbd Fix conversion of 1.5.x documents that conflict with mchchem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36437 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-22 21:07:20 +00:00
Vincent van Ravesteijn
66ddf9e74d Correct eol style again. Now correctly set svn:eol-style instead of eol-style. Fixes the wrong revision 36406.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36435 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-22 13:34:05 +00:00
Jürgen Spitzmüller
7cbeed2e40 * Introduce polyglossia support (bug 6576).
Please test this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36433 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-22 12:10:16 +00:00
Tommaso Cucinotta
2c0ace2cf2 Just advancing the manual to the latest document format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36428 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-22 08:31:06 +00:00
Georg Baum
dea050cb93 fix bug 3008: Add subscript/superscript inset for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 17:00:12 +00:00
Uwe Stöhr
46d4b73220 EmbeddedObjects.lyx:
- describe new table dialog behavior
- describe new table-wide vertical alignment feature

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36419 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 04:23:25 +00:00
Uwe Stöhr
64495f2500 enumitem.module: typo: we use the American English variant (with "z") in all other strings in LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36417 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 04:10:03 +00:00
Jürgen Spitzmüller
d710d3a3e1 * lettre.layout: fix from Jean-Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36410 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 14:58:23 +00:00
Vincent van Ravesteijn
1095d89442 Fix eol-style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36406 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 12:29:46 +00:00
Uwe Stöhr
b3186eafaa modernCV.lyx:
- change position of command \maketitle (the \AtBeginDocument call doesn't work anymore in recent version of modernCV)
- use vertical space inset instead of the "space" environment (that I once introduced in the modernCV layout when LyX was not able to handle all sorts of custom vertical spaces)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36394 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-19 01:39:31 +00:00
Vincent van Ravesteijn
2b26246d0d Support the new Indian Rupee currency symbol.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36390 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:30:28 +00:00
Richard Heck
d748a0a6f1 Don't need \makeat*.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36384 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 21:41:51 +00:00
Richard Heck
0c93d1150c LyX already wraps the preamble in \makeatletter and \makeatother.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36383 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 21:39:43 +00:00
Vincent van Ravesteijn
7222ce9e31 set eol-style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36379 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 19:50:29 +00:00
Uwe Stöhr
6290083dbb EmbeddedObjects.lyx: multirows:
- correct description about their alignment
- describe vertical offset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36362 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 04:23:05 +00:00
Richard Heck
2d40278670 Update to format 30.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36350 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 20:44:34 +00:00
Richard Heck
20dbfe40b3 New enumitem module, from Gunter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36349 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 20:41:31 +00:00
Enrico Forestieri
618dd35108 Fix bug #4606 (\varPhi and similar characters not known by the LyX GUI)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36348 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 19:42:36 +00:00
Pavel Sanda
2d748d4f24 Shortcut clash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36338 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 15:35:36 +00:00
Uwe Stöhr
48c64237cc Serbian Braille.lyx and splash.lyx: correct document language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36335 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 05:50:09 +00:00
Uwe Stöhr
4a4abc98ef stdtoolbars.inc: rename to be uniform with menus and documentation
@Pavel: the phantom dialog is called when using the Edit menu on an existing phantom

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36334 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 04:25:38 +00:00
Uwe Stöhr
9a36fedb18 new Serbian translation of the Braille example file by Zoran
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36333 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 04:17:42 +00:00
Pavel Sanda
bf486d1ad9 Synchro menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36322 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:43:32 +00:00
Pavel Sanda
2b962f2d56 Fix #7039
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36319 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:06:02 +00:00
Pavel Sanda
8d141f6e35 * Additional.lyx - accept/reject all changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36318 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 18:57:40 +00:00
Jürgen Spitzmüller
1aa5a0d1f1 Introduce PolyglossiaName and PolyglossiaOpts.
Not yet functional.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36312 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 11:07:43 +00:00
Uwe Stöhr
4b57b01de1 Serbian splash.lyx: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36300 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-14 23:24:32 +00:00
Jürgen Spitzmüller
5b8598b48d * languages: add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36296 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-14 13:41:38 +00:00
Jürgen Spitzmüller
cc5dd37a2a Introduce a new Language option "AsBabelOptions" that specifies whether a language requires to be passed to babel itself (instead of globally to the class).
This allows us to remove some ugly hardcoding of languages in the source.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36292 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-14 10:35:35 +00:00
Jürgen Spitzmüller
12c7e7dde3 * add PreBabelPreamble to Language definition (fixes #4786).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36291 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-14 09:54:24 +00:00
Pavel Sanda
7f3b80c30c Kill examples/es/beamer-conference-ornate20min.lyx which is already (newer) in templates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36286 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 22:24:28 +00:00
Jürgen Spitzmüller
148f2d648c The languages file rewrite.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36285 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-13 17:25:03 +00:00
Richard Heck
05df2a7cc6 Fix python 3 deprecation warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36267 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-12 15:42:50 +00:00
Jürgen Spitzmüller
8b24e160b0 * fr_beamer-conference-ornate-20min.lyx: update by Jean-Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36265 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-12 15:17:28 +00:00
Jürgen Spitzmüller
2afa7eabd0 * revert r36189, since there is no consensus for this change.
Happy Friday, everybody!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36257 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-12 09:31:55 +00:00
Uwe Stöhr
1f4b26050e - Serbian splash.lyx: new translation by Zoran
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36252 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-12 00:29:41 +00:00
Richard Heck
6f76593069 Fix a bug in getFormattedReference().
Also, change from using the "cha" prefix for chapters, a la prettyref,
to the "chap" prefix, a la refstyle. We alias \pr@chap to \pr@cha for
prettyref users.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36238 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 16:45:55 +00:00
Richard Heck
00e6cfee4a Same changes for revert_multirowOffset as for revert_multirow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36233 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 14:00:54 +00:00
Richard Heck
a1589fb091 Thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36232 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 13:46:50 +00:00
Richard Heck
22c7c7b144 Another try at multirow reversion. What makes this so hard is that we
have to account for the possibility of tables within tables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36230 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 13:41:43 +00:00
Uwe Stöhr
07176c1a45 lyx_2_0.py: correct reversion of multirows with offsets the same ways as for "standard" multirows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36221 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-09 05:35:51 +00:00
Uwe Stöhr
fd25c82378 lyx_2_0.py: correct reversion of multirows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36220 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-09 04:58:46 +00:00
Uwe Stöhr
933bfa77c9 FeynmanDiagrams.lyx:
- new French translation by Jean-Pierre
- fine-tune English version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36218 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-09 02:15:20 +00:00
Pavel Sanda
52b9a8e8fe * Additional.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36197 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 18:50:51 +00:00
Uwe Stöhr
6c07cc1820 FeynmanDiagrams.lyx: fix 2 typos spotted by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36192 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 16:45:59 +00:00
Uwe Stöhr
e94a9732b1 stdinsets.inc, InsetERT.cpp: change "ERT" to "TeX" to be consistent - the documentation and all other menus use consequently since LyX 1.6.0 "TeX-code" because it turned out that ERT is a meaningless abbreviation for new users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36189 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 15:31:05 +00:00
Uwe Stöhr
86b99f8f32 GuiTabular: support for multirow offset; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36182 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 05:32:28 +00:00
Richard Heck
0a7187b946 Remove one FIXME.
Remove "added by lyx2lyx"-type comment. This is now added automatically
by add_to_preamble (and insert_to_preamble, too).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36166 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 18:42:19 +00:00
Uwe Stöhr
613cad54a4 lyx_2_0.py:
- remove 2 fixmes; we can be sure that there is space between the table entries
- add comment for the preamble that got lost the last days

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36165 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 17:42:26 +00:00
Jean-Marc Lasgouttes
b9b619641b This patch implements proper ERT behaviour for normal layouts.
In particular, it makes paragraph breaks generate single \n in latex output
when ParbreakIsNewline is true

This means that it is not necessary anymore to use newlines to break lines. 
Plain paragraph breaks can be used instead, like is done now in ERT/Listings. 
This is mainly aimed at sweave support.

lyx2lyx support courtesy of Richard Heck



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36163 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 15:06:19 +00:00
Vincent van Ravesteijn
88f3be373a Readd the conversion/reversion for format 405.
This was accidentally removed in r36136.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36151 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 00:39:06 +00:00
Richard Heck
e3c3c18f27 A couple more comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36144 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 21:14:49 +00:00
Richard Heck
c0c780d719 Comment out some unused code to save a little load time. It also helps
readers of the class to know what's used and what's not.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 21:13:33 +00:00
Richard Heck
284346aa4e Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 21:12:44 +00:00
Richard Heck
44279587e5 Make sure we delete this line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 20:13:58 +00:00
Richard Heck
296ae1b3f0 Find the end of this layout, not the first end_layout tag we see!
Math manual now exports right.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36138 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 20:11:51 +00:00
Richard Heck
bae5fe21bc Make sure we extend with a list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36137 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 20:11:19 +00:00
Richard Heck
6ec6e93815 Use find_token_exact so that we do not also find hspace*.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36136 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 19:59:24 +00:00
Richard Heck
c282f4e9db Remove use_makebox option from other boxes, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 19:51:06 +00:00
Vincent van Ravesteijn
f226c9d3fc Fix bug #6058: Change tracking and versioning.
Computes a hash value for the authors when using change tracking.

Text.cpp, BufferParams.h, Author.h:
  Change unsigned int to int because the hash values can be negative.

lyx2lyx:
  Allow to convert negative author_ids.

See also: r30756.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36134 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 18:25:29 +00:00
Richard Heck
fb64f0e1af Improve how add_to_preamble and insert_to_preamble work, and audit the
various calls to each.

This should more or less complete the lyx2lyx orgy. Some things probably
will have been broken by accident. Hopefully not too many, and more
things that were broken got fixed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 17:54:57 +00:00
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