Commit Graph

5222 Commits

Author SHA1 Message Date
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