Uwe Stöhr
41d659ee57
tex2lyx/preamble.cpp: fix two issues:
...
- when languages are given in the documentclass options _and_ the babel options, babel takes the last language option of the \usepackage call
- there is no quote language "ngerman", it is in both cases "german"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31688 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-20 20:19:15 +00:00
Jean-Marc Lasgouttes
783b1434ea
Fix #6276 : tex2lyx fails to import captions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 14:09:11 +00:00
Jean-Marc Lasgouttes
2d950f264a
backport r31489: Fix support for optional argument of \bibitem in tex2lyx (bug 6249)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-02 10:36:34 +00:00
Jean-Marc Lasgouttes
9cd1131c0c
backport r31222 (part of #6142 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31437 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 21:03:05 +00:00
Enrico Forestieri
a91c42b7db
Fix the dataloss problem when shutting down Windows (part of bug #5525 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31114 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 11:49:00 +00:00
Uwe Stöhr
bee4db9ae3
tex2lyx/preamble.cpp: this one should not have been reverted in r30964
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-10 23:31:54 +00:00
Uwe Stöhr
251e6ab0a6
tex2lyx/preamble.cpp: revert r30167 and r30449 as discussed in #605 ; I'll bring this topic now to the list
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30964 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-10 00:05:03 +00:00
Uwe Stöhr
f1b3896cd0
tex2lyx/preamble.cpp: backport r30448 - (I simply forgot these 3 commands in r30167)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30449 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 13:05:13 +00:00
Uwe Stöhr
ef2633816f
branch: tex2lyx/preamble.cpp: support for fileformat 264 (nothing to do for tex2lyx)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30176 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:45:41 +00:00
Uwe Stöhr
74fc41c076
branch: tex2lyx/preamble.cpp: support for fileformat 263: support for the document languages Brazilian and Portuguese
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30175 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:44:43 +00:00
Uwe Stöhr
0959e3df5f
branch: tex2lyx/preamble.cpp: support for fileformat 262 (nothing to do for tex2lyx)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30174 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:39:19 +00:00
Uwe Stöhr
c8554cfdeb
branch: tex2lyx/preamble.cpp:
...
- remove unneeded comment (sorry for all these small bits)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30170 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:03:31 +00:00
Uwe Stöhr
a111cf6310
branch: tex2lyx/preamble.cpp:
...
- support for fileformat 258 (nothing to do for tex2lyx)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30168 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 23:57:43 +00:00
Uwe Stöhr
4ef3356020
branch: tex2lyx/preamble.cpp:
...
- don't assume any longer LyX specific commands from their position in TeX files and a comment (fixes bugs in the preamble handling and makes the tex2lyx testfiles compilable after importing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30167 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 23:55:49 +00:00
Uwe Stöhr
d904fb9cb1
branch: tex2lyx: support for fileformat 257 (caption format)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30126 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:21:45 +00:00
Uwe Stöhr
26f483affa
branch: tex2lyx: forgot this in r30114
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30120 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:19:25 +00:00
Uwe Stöhr
9ab9f1c747
branch: tex2lyx/preamble.cpp: support for fileformat 256 tex2lyx/preamble.cpp: support for fileformat 256:
...
- the code for \clear***page was already there
- tex2lyx allows already to use any input encoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30119 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:15:15 +00:00
Uwe Stöhr
8cff18e1c1
branch: tex2lyx/preamble.cpp:
...
- support for fileformat 254 (esint)
- using amsmath and esint automatically is safer than not to use them. The automatic usage is also our default when you create a new LyX file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30118 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:11:39 +00:00
Uwe Stöhr
8c512db1a9
branch: tex2lyx: support for fileformat 253 (nomenclature)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30117 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:08:35 +00:00
Uwe Stöhr
14c40d8d16
branch: tex2lyx/preamble.cpp: textcomp is supported sine we can handle Unicode
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30116 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:07:45 +00:00
Uwe Stöhr
3134d0881c
branch: tex2lyx/preamble.cpp: revert stuff to have a clean commit timeline
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30115 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:06:30 +00:00
Uwe Stöhr
353f3f8cdd
branch: tex2lyx/text.cpp: support for fileformat 252
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30114 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:00:48 +00:00
Uwe Stöhr
2cd66e4536
branch: tex2lyx/preamble.cpp: improve whitespace handling in the preamble
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 19:53:37 +00:00
Uwe Stöhr
8673417a51
tex2lyx/preamble.cpp:
...
- support for url, varioref, prettyref
- reduce the sometimes huge amount of whitespace in the preamble after importing files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30068 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 11:58:41 +00:00
Jean-Marc Lasgouttes
c3cb9d0122
backport fix for tex2lyx bug http://www.lyx.org/trac/ticket/5935
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29653 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 09:56:02 +00:00
Enrico Forestieri
919f0537ff
Fix bug 5705 by speeding up FileName operator== (Georg's solution).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29563 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 16:22:49 +00:00
Enrico Forestieri
081b58b672
When performing a reverse DVI search and the tmpdir is a symlink, the
...
DVI viewer passes back the resolved path, such that the search fails,
as internally LyX uses the unresolved path.
This patch fixes this bug by using the new method FileName::realPath
which resolves a path by getting rid of any '.', '..', or symlink
path components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29504 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 21:51:06 +00:00
Jean-Marc Lasgouttes
2b677bdc06
fix bug #5912
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29388 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-23 13:50:00 +00:00
Jean-Marc Lasgouttes
e0fc18d2b0
backport r29346
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29359 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 12:50:44 +00:00
Jean-Marc Lasgouttes
be88703ad1
make the man pages autogenerated; update the tex2lyx man page
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28893 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 09:52:05 +00:00
Jean-Marc Lasgouttes
f9a4e1cc95
backport the tex2lyx unicode stuff from trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:40:08 +00:00
Uwe Stöhr
5c9e3284e9
preamble.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5846 for branch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28801 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 16:44:07 +00:00
Jürgen Spitzmüller
a0e0bd3311
* tex2lyx/Makefile.am:
...
- add tex2lyx.1 to the distribution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28724 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-08 08:29:23 +00:00
Jürgen Spitzmüller
6dc0daf570
* tex2lyx/preamble.cpp:
...
- fix thinko that caused tex2lyx to silently drop custom preamble entries in non-LyX-generated tex files.
(bug 5788). Patch from Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-20 09:46:31 +00:00
Jean-Marc Lasgouttes
188dc2e149
rename tex2lyx.man to tex2lyx.1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27911 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:59:56 +00:00
Jean-Marc Lasgouttes
9ee1e3a051
remove stuff relevant only to reLyX
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27910 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:57:44 +00:00
Jean-Marc Lasgouttes
d1281bcec7
put tex2lyx test files in their own directory
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27909 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:53:26 +00:00
Jean-Marc Lasgouttes
58aa53ee10
remove unused method Parser::pop_back()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27908 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:47:46 +00:00
Jean-Marc Lasgouttes
ee81b844d3
remove useless comments in tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27016 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 21:27:12 +00:00
André Pönitz
cb5a9b28d7
be kind to XaFooBarTeX
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 19:19:41 +00:00
André Pönitz
01bb9e2a57
fix problem with non-recognized utf8 encoding that lead to broken .lyx
...
files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 16:07:14 +00:00
Jean-Marc Lasgouttes
1899c81d3e
whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 08:30:41 +00:00
Uwe Stöhr
8f76634f10
tex2lyx/preamble.cpp: fix bug 19, patch by JMarc (I'm working with this patch for 4 months now and it is really stable.)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26603 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 20:15:08 +00:00
Jürgen Spitzmüller
63ca4f8caa
* update tex2lyx man page, mostly done bei Uwe (bug 2770).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25929 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 07:52:27 +00:00
Uwe Stöhr
b3531611e7
tex2lyx/test-insets.tex: add test for bounding box and clipping of \includegraphics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25919 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 21:44:24 +00:00
Jean-Marc Lasgouttes
3b99db73e4
Remove our in tree gettext version and replace with a mechanism to import it.
...
* autogen.sh: use autopoint to poulate the gettext code; simplify.
* po/Rules-lyx: move the LyX-specific code of the Makefile here.
* configure.ac: add magic incantation telling autopoint to import
gettext 0.16.1. Generate config.h in toplevel directory to please
gettext.
* src/tex2lyx/Makefile.am:
* src/client/Messages.cpp: compile fix
* remove all files that came from a gettext distribution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00
Abdelrazak Younes
31517754ad
fix MSVC warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24864 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:24:12 +00:00
Uwe Stöhr
fdea53d34b
tex2lyx/preamble.cpp: handle also onecolumn and oneside as discussed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24811 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-17 15:11:41 +00:00
Uwe Stöhr
8c8a2794b3
tex2lyx/preamble.cpp: support for the \geometry settings and the paper orientation, fixes bug 4826.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24809 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 20:25:44 +00:00
Uwe Stöhr
001c77d65b
tex2lyx/preamble.cpp: cosmetics again
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24793 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 23:02:53 +00:00