Commit Graph

28 Commits

Author SHA1 Message Date
Juergen Spitzmueller
3d0ce01ff1 syntax.default: some additions. 2018-03-09 15:17:23 +01:00
Juergen Spitzmueller
23766fdd59 syntax.default: add missing *
Fixes: #10501
2018-03-09 14:47:04 +01:00
Uwe Stöhr
1174279967 tex2lyx: parse \xymatrix
LyX's \xymatrix support relies on math therefore put it into math and parse its content

fixes bug #10638
2018-03-09 04:53:33 +01:00
Enrico Forestieri
8dab1cfe7e Fix bug #9101
Update the listings inset to optionally use the minted package
(instead of the listings one) for typesetting code listings.
Only one of the two packages can be used in a document, but it
is possible to switch packages without issues if the used options
are the same. If a switch is made and the options differ, one needs
to manually adjust them if they were entered in the advanced options
tab, or apply again the gui settings.
Note that minted requires the -shell-escape option for the latex
backend and the installation of additional software (python pygments).
2017-06-07 00:55:23 +02:00
Jean-Marc Lasgouttes
6de6aad4cd Add missing entries in syntax.default
These are: \cellcolor, columncolor and rowcolor

Fix \rotatebox

Remove ",," in argument of color command, this is actually not used.
2016-08-19 16:02:36 +02:00
Georg Baum
f8016af3f9 Parse subcaption.sty commands correctly (bug #8690) 2015-01-03 20:23:02 +01:00
Georg Baum
b1bfbfb3f9 Adjust subfigure and subcaption options 2015-01-03 18:43:01 +01:00
Georg Baum
c280574402 Parse tikzpicture env. correctly (bug #9011) 2014-12-30 18:49:11 +01:00
Georg Baum
3d3f87f36a Fix bug 8396: Wrong import of \xymatrix 2012-10-29 20:42:01 +01:00
Enrico Forestieri
ac92f2a79b Fix bug #8306: LyX incorrectly imports mhchem commands outside math mode
Those commands can also be used in text mode but tex2lyx tries to
translate their argument causing havoc. So, import the whole commands
as ERT.
2012-08-21 04:04:54 +02:00
Georg Baum
190ab4774d Import \sindex correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40804 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 20:34:50 +00:00
Georg Baum
a1cef2d55a Fix bug #3036: font changes inside \markright do not escape outside their scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40186 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 16:11:45 +00:00
Georg Baum
8d707723b7 Fix bug #7668 (cosmetic whitespace issues)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40184 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 11:29:48 +00:00
Georg Baum
f346c01f1e Fix bug 6834: Import theorems with optional argument correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40143 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 18:08:45 +00:00
Georg Baum
87944eedc7 The roundtrip of the math manual produces a compilable document now:
- translate the arguments of \texorpdfstring, so that the floating footnote
  code gets enabled
- honor the ForcePlainLayout flag of insets like the Index inset
- remove hardcoded \url support, this is handled by the general Flex inset code


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37297 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 12:00:33 +00:00
Georg Baum
85d2c53532 handle commands from xargs.sty correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37289 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 21:21:58 +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
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
Jürgen Spitzmüller
272b52a005 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34681 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-17 08:26:34 +00:00
Uwe Stöhr
0542284792 syntax.default: first step to fix #2769
(see my mail and question in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152059.html)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30088 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 15:36:23 +00:00
Georg Baum
04debb8056 Revert unwanted stuff from last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16932 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:37:13 +00:00
Georg Baum
a76050219a Fix LyX paste from system clipboard when the file format does not match
* src/buffer.C
	(Buffer::readString): Tell readFile that we do not have a file
	(Buffer::readString): readFile(name) returns a bool, not an enum


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 18:35:56 +00:00
Georg Baum
5964414ed6 more Sweave commands from Gregor Gorjanc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16626 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 08:38:17 +00:00
Enrico Forestieri
5601319367 Christmas present for Gregor Gorjanc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16394 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-24 19:23:33 +00:00
Georg Baum
5451d46794 partial fix for bug 2132
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10621 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-25 09:37:09 +00:00
Georg Baum
233c69505a partial fix for bug 20
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10356 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-26 11:58:43 +00:00
Lars Gullik Bjønnes
ef8e527612 drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00