Commit Graph

29228 Commits

Author SHA1 Message Date
Georg Baum
a47e4a3766 Add automatic color package loading for listings
The listings inset does automatically load the color package if any parameter
contains \color. As mentioned in bug #8066 tex2lyx needs to be aware of this,
so the \usepckage{color} is automatically skipped in these cases.
2012-11-28 21:56:00 +01:00
Georg Baum
847f8014ca Really fix bug #4468.
The old fix was incomplete (\verb~\~ was translated to \verb~~ in roundtrip).
The real cause for this bug (and also the mistranslation of \href{...}{\}})
was the misbehaviour of Token::character() (see comment in Parser.h): This
method even returns a character if the category is catEscape, and this is not
wanted in most (all?) cases.
2012-11-28 21:53:41 +01:00
Georg Baum
74a196c4f4 Add test for Parser::getFullArg()
It shows that the special handling of a single backslash in the argument
(whcih is supposed to fix bug #4468) does not work.
2012-11-28 21:52:39 +01:00
Uwe Stöhr
562848a96e tex2lyx: update a command
Parser.cpp: improve a command as discussed
2012-11-28 21:52:05 +01:00
Uwe Stöhr
f5f053ff86 tex2lyx/Parser.cpp: refine \verb handling 2012-11-28 21:51:57 +01:00
Uwe Stöhr
bd1776bd6a test-structure.tex: add checks for \verb 2012-11-28 21:50:50 +01:00
Uwe Stöhr
cb284b18d4 tex2lyx: fix handling of \verb
- Parser.cpp: \verb can have any character as delimiter (except of ASCII letters) not only '+', therefore partly revert [3943b887/lyxgit] and fix it for all cases
2012-11-28 21:49:46 +01:00
Uwe Stöhr
7fedb3f21d tex2lyx/Parser.cpp: fix bug #4468: single '\' are allowed in the special case of '+' as comment argument delimiter 2012-11-28 21:48:50 +01:00
Georg Baum
c047faa427 Add XeTeX-polyglossia.tex to distribution
(part of 57a8ea32c0 in trunk)
2012-11-28 21:38:36 +01:00
Richard Heck
4f65cfbd5f Backport.
Fix bug reported on user list: the path variable here was undefined,
causing a failure when running outside the user tree. This was my
fault: when I refactored this routine, I failed to note that this
variable was now undefined.

(cherry picked from commit 72c2a72afd)
2012-11-27 20:53:46 -05:00
Uwe Stöhr
6ead4bdbbf JASA.lyx: add info how to install JASATeX 2012-11-26 15:42:56 +01:00
Uwe Stöhr
025943868a jasatex.layout: add missing short title
-also resolve a potential package clash with natbib
2012-11-26 06:14:04 +01:00
Uwe Stöhr
2fa9ff1826 chkconfig.ltx: add check for packages necessary to typeset Cyrillic and Greek 2012-11-26 06:10:39 +01:00
Uwe Stöhr
002a38dd7b configure.py: add checks for some text editors used on Windows and for our PDF handler for Windows 2012-11-26 06:08:20 +01:00
Uwe Stöhr
58f6767e2c modernCV: complete revision of layout and example 2012-11-26 06:05:47 +01:00
Uwe Stöhr
56da307e19 achemso: complete revision of layout and example 2012-11-26 06:05:23 +01:00
Uwe Stöhr
d5c2be9db3 IEEEtran.lyx: whitespace 2012-11-26 06:04:09 +01:00
Uwe Stöhr
bf0cc186de ijmpc.lyx: fix a typo 2012-11-26 05:24:52 +01:00
Uwe Stöhr
ebbd54a991 IEEEtran.lyx: fix a typo and remove unnecessary ERT 2012-11-25 04:07:41 +01:00
Uwe Stöhr
79a8c0d2a9 fix bug #8223 also for branch 2012-11-25 02:21:13 +01:00
Uwe Stöhr
978482f700 IEEEtran.layout: some more whitespace 2012-11-24 17:29:01 +01:00
Uwe Stöhr
998fa1c58e layouts: some whitespace fixes 2012-11-24 01:31:11 +01:00
Jean-Marc Lasgouttes
41e648837a Show status of branches even when inset is closed 2012-11-23 16:32:43 +01:00
Georg Baum
93d47c825b Implement tex2lyx -m switch (bug #8393)
Backported from b8648dea16.

With this new command line switch a list of modules can be loaded
unconditionally. This seems to be needed for the literate programming formats,
and it is useful to work around bug #5702 as well.
2012-11-23 16:18:04 +01:00
Richard Heck
240d810835 Fix build on FreeBSD
This is a backport of a patch from Raphael Kubo de Costa
  http://marc.info/?l=lyx-devel&m=131586604331711&w=2
further updated in 51cc8269 to use LDFALGS intead of LIBS.

Some additional cleanup.
2012-11-23 15:30:44 +01:00
Juergen Spitzmueller
a834d161d2 Allow arguments in PassThru environments (bug #7646)
(cherry picked from commit 34ef91bb70)
2012-11-21 13:57:20 +01:00
Uwe Stöhr
0493893fdd Font.cpp: fix bug #8424 also for branch
- Font.cpp: fix the bug
- status.20x: fix the formatting/style
2012-11-20 22:22:52 +01:00
Uwe Stöhr
88380cfcd6 Math.lyx: add check for babel (bug #8423) and translate a comment
(the other language variants of this manual are not affected)
2012-11-19 00:14:59 +01:00
Uwe Stöhr
2f99aabf6d thesis template: add check for babel (as discussed in bug #8423) 2012-11-18 16:02:43 +01:00
Uwe Stöhr
dc8bbefe01 FeynmanDiagrams.lyx: remove unused preamble code 2012-11-17 02:12:18 +01:00
Pavel Sanda
9cc98a9311 * Additional.lyx 2012-11-15 03:05:46 +01:00
Uwe Stöhr
ada275e005 ja.po: updates from Koji 2012-11-14 00:14:52 +01:00
Uwe Stöhr
3784f30272 doc files: port recent changes from master 2012-11-13 01:43:45 +01:00
Juergen Spitzmueller
975b20d5b7 Do not let the children's buffer params leak into the master (#5941) 2012-11-12 07:49:52 +01:00
Richard Heck
c920318f42 Restore fix for constant resetting of View>Source widget (bug #8411). 2012-11-11 15:41:47 -05:00
Pavel Sanda
759b7154c9 Additional support for Japanese pLaTeX with utf8 encoding (#8408).
Patch from Koji.
2012-11-11 19:31:02 +01:00
Vincent van Ravesteijn
51cc0a9b8d Fix bug #6389: Make columns RTL in RTL document
(cherry picked from commit 29e64597d0)
2012-11-11 15:57:27 +01:00
Juergen Spitzmueller
b8aa606992 No IPA_INSERT in branch 2012-11-11 11:07:05 +01:00
Juergen Spitzmueller
abc8c6567f Trigger preview when inserting preview inset on selection
(cherry picked from commit 31c7ccd4b3)
2012-11-11 11:04:19 +01:00
Juergen Spitzmueller
7b155bfdb8 Categorize paragraph styles of the lnguistics module 2012-11-11 10:52:50 +01:00
Richard Heck
f4dd8f2e0f Start 2.0.6 development. 2012-11-10 15:28:51 -05:00
Richard Heck
33afbd48da Redo ANNOUNCE file. 2012-11-03 19:28:09 -04:00
Uwe Stöhr
b7bb66abc3 French UserGuide.lyx: tiny issue 2012-11-04 00:15:12 +01:00
Uwe Stöhr
46588a5a3a status.20x: mention Polish 2012-11-04 00:03:21 +01:00
Richard Heck
5191d51f6a Fix a couple issues with the lyx-build script. 2012-11-03 18:54:10 -04:00
Richard Heck
cf483fcd12 Remerge strings. 2012-11-03 18:40:52 -04:00
Richard Heck
b0450838bf Updates to NEWS, ANNOUNCE, and RELEASE-NOTES. 2012-11-03 18:38:55 -04:00
Richard Heck
46b687d25f Prepare for 2.0.5. 2012-11-03 18:31:46 -04:00
Richard Heck
c3823abb08 Updates to Polish i18n. 2012-11-03 18:10:26 -04:00
Richard Heck
313163e135 Updates to French i18n for 2.0.5 from Jean-Pierre Chrétien. 2012-11-02 12:15:21 -04:00