Uwe Stöhr
b25016b613
tex2lyx: more support for TIPA
...
- support for the combining diacritical marks
- support for \texttoptiebar and \textbottomtiebar
- test-insets.lyx: add complete testcase
- TODO.txt: update what still needs to be done
2013-02-18 03:23:34 +01:00
Uwe Stöhr
c27976d372
tex2lyx: support for IPA environment
2013-02-17 22:39:56 +01:00
Georg Baum
25fe87e55c
Make tex2lyx encoding changes more robust
...
This is achieved by not calling Parse::tokenize_one() anymore in
Parser::good(): The status of the input can be tested without performing the
actual tokenizing. Now there are only two methods that may prevent an encoding
change:next_token() and next_next_token().
2013-02-17 15:04:14 +01:00
Georg Baum
798f104f99
Add forgotten files
2013-02-17 09:54:21 +01:00
Uwe Stöhr
047218ee8b
tex2lyx/TODO.txt: update once again
...
- the kurier font support of fileformat 461 was already committed
- nothing to do for format 460
2013-02-17 06:23:28 +01:00
Uwe Stöhr
1d6573a330
tex2lyx: support for multiple indices and subindices
2013-02-17 06:18:42 +01:00
Uwe Stöhr
a8563a0f02
Preamble.cpp: code simplification
2013-02-17 04:26:56 +01:00
Uwe Stöhr
7da29712b9
tex2lyx/TODO.txt: update once again
...
- \nocite and \nocite{*} is already supported since a while, see also the test-insets.tex test file
2013-02-17 04:18:50 +01:00
Uwe Stöhr
a2022d457b
tex2lyx: support bibtex inset with \phantomsection
...
This is an addendum to [72a44b3c/lyxgit] because depending on the environment, LyX adds a \phantomsection before \addcontentsline.
- also update the test file
2013-02-17 04:17:02 +01:00
Uwe Stöhr
3a201976b7
tex2lyx/Makefile.am: rename the file renamed in previous commit
2013-02-17 03:22:20 +01:00
Uwe Stöhr
735c81d2b9
tex2lyx/TODO.txt: update as refstyle is now really supported
2013-02-17 03:18:50 +01:00
Uwe Stöhr
a99241266b
tex2lyx/Preamble.cpp: proper handling of the refstyle preamble code
...
- also rename the test file because it is also an excellent test file for the theorem environments - which are not yet supported by tex2lyx
2013-02-17 03:15:24 +01:00
Uwe Stöhr
fb64fe613f
Parser.cpp: a workaround for bug #8525
2013-02-17 02:38:29 +01:00
Uwe Stöhr
43bcf4c9c2
Preamble.cpp: register refstyle
...
- also Revert "tex2lyx/TODO.txt: update" [4159f05c/lyxgit]
more works needs to be done here
2013-02-17 02:17:04 +01:00
Uwe Stöhr
ec09560cb8
tex2lyx: support for the \textipa inset
2013-02-17 02:11:54 +01:00
Uwe Stöhr
16eaf36436
tex2lyx/TODO.txt: update
...
- there is nothing to do for xymatrix, the Xy-pic manual roundtrip works fine
2013-02-16 22:34:28 +01:00
Georg Baum
d7013065ad
Fix tex2lyx file format comparison
...
This is an important part of the tests. If updating the test cases is really a
problem there are two better solutions than not testing the format: Convert
the references with lyx2lyx on the fly, or remove the hard coupling of tex2lyx
and LyX versions again. Both increase additional possible error sources, but
these errors could at least be detected. If the test machinery is made blind
for versions, file format errors are impossible to detect.
2013-02-16 17:48:43 +01:00
Georg Baum
633aca9273
Update test case file format
2013-02-16 17:48:43 +01:00
Georg Baum
5f3cd55f1d
Fix dangerous parser use
...
Jean-Marc discovered a possible data loss caused by Parser::getChar().
This is now fixed, and Parser::getChar() is removed, since it is no longer
needed and easy to use it in the wrong way.
2013-02-16 17:48:42 +01:00
Kornel Benko
fe24992a93
tex2lyx testing. Adapt files.
2013-02-16 10:49:34 +01:00
Uwe Stöhr
72a44b3c75
tex2lyx: support for \addcontentsline in BibTeX inset
2013-02-16 05:51:23 +01:00
Uwe Stöhr
8e2d727e36
tex2lyx/TODO.txt: update again
...
- nothing needs to be done for feyn.sty - it is already recognized as simple feature and the roundtrip using the feynman example file works
- update entry for undertilde to be uniform
2013-02-16 04:04:49 +01:00
Uwe Stöhr
4159f05ced
tex2lyx/TODO.txt: update
...
refstyle support was added by http://www.lyx.org/trac/changeset/49c88776/lyxgit
2013-02-16 03:14:21 +01:00
Jean-Marc Lasgouttes
21be4a31cc
Fix bug with reading of verbatim environment
...
The kind of putback() functionality that we need is more tricky
than I thought at first...
2013-02-15 23:22:46 +01:00
Kornel Benko
f78c69b554
Adapt to corrected tex2lyx
2013-02-15 19:07:26 +01:00
Kornel Benko
df4003b232
Adapt test-insets.lyx.lyx to now correctly running tex2lyx.
...
Removed errocase.
2013-02-15 18:49:00 +01:00
Jean-Marc Lasgouttes
8cb9707b17
Move stuff around (again!)
2013-02-15 17:15:16 +01:00
Jean-Marc Lasgouttes
47b8ab14db
Implement deparsing of tokens
...
When switching catcodes (for example to verbatim), there are in general some tokens that have already been parsed according to the old catcodes. It is therefore needed to "forget" those token and reparse them.
The basic idea is to use idocstream::putback() to feed the characters back to the stream, but this does not work (probably because we disable buffering). Therefore, we implement a simple stream-like class that implements putback().
2013-02-15 17:15:16 +01:00
Jean-Marc Lasgouttes
fd939a0426
Move stuff
2013-02-15 17:15:16 +01:00
Jean-Marc Lasgouttes
9631c36ff0
Move stuff around
2013-02-15 14:46:57 +01:00
Juergen Spitzmueller
3e90b2029c
Some libertine versions have osf default, some lining
2013-02-15 10:52:00 +01:00
Juergen Spitzmueller
6885007f1d
Adjust Libertine font support to most recent version
...
This needs yet a file format change. I hope the interface is stable now (I had an exchange with the package maintainer, Bob Tennent, about that)
2013-02-15 10:45:11 +01:00
Juergen Spitzmueller
63eaefc740
tex2lyx: latexfonts importation fixes
2013-02-12 18:47:05 +01:00
Uwe Stöhr
348b5e6610
tex2lyx: support for fileformat change 444
...
biolinum is used if libertine is detected
2013-02-11 14:40:35 +01:00
Uwe Stöhr
2066b57ca2
tex2lyx: support for libertine
2013-02-11 14:22:56 +01:00
Uwe Stöhr
1ddcbbdf92
tex2lyx/TODO.txt: update todo list
...
listings support was added a year ago by r40856 and r40860
2013-02-11 12:13:44 +01:00
Uwe Stöhr
5db148d22c
Revert "tex2lyx/Preamble.cpp: fix bug #8525 temporarily"
...
This reverts commit a69fcde072
.
The commit causing #8525 is [2f7f0c76/lyxgit]
2013-02-11 11:56:27 +01:00
Kornel Benko
f1102e8dd4
tex2lyx-tests: Adapt to changes for emty line in preamble
2013-02-11 09:43:10 +01:00
Uwe Stöhr
a9504b8060
tex2lyx: support for newtxmath
2013-02-11 02:56:48 +01:00
Uwe Stöhr
87fe26e5eb
tex2lyx: support for eulervm
2013-02-11 02:34:03 +01:00
Uwe Stöhr
0be810ac44
tex2lyx: support for txtt font
2013-02-11 02:24:31 +01:00
Uwe Stöhr
407cc9a62d
tex2lyx: support for biolinum-type1
2013-02-11 02:14:53 +01:00
Uwe Stöhr
999fd86dcf
tex2lyx: support for TeX Gyre fonts
2013-02-11 02:07:22 +01:00
Uwe Stöhr
d27dac3efc
tex2lyx: support for libertine-type1
2013-02-11 01:56:47 +01:00
Uwe Stöhr
6a3acd336b
tex2lyx: support for garamondx
2013-02-11 01:46:03 +01:00
Uwe Stöhr
c466916a25
tex2lyx: support for mathdesign
2013-02-11 01:40:13 +01:00
Uwe Stöhr
e3a3797e2f
tex2lyx/Preamble.cpp: remove unnecessary whitespace in the preamble
...
- this removes blank lines that are otherwise written to the preamble
2013-02-11 01:37:03 +01:00
Uwe Stöhr
690d9b68f2
tex2lyx: add test for font settings
2013-02-11 00:49:20 +01:00
Uwe Stöhr
487d3bffab
support for the kurier sansserif fonts
...
- fileformat change
2013-02-11 00:47:09 +01:00
Uwe Stöhr
a69fcde072
tex2lyx/Preamble.cpp: fix bug #8525 temporarily
...
- this might break some tex2lyx features but tex2lyx was completely broken - not even the simplest TeX file could be imported and compiles
2013-02-10 23:31:38 +01:00