Commit Graph

32597 Commits

Author SHA1 Message Date
Juergen Spitzmueller
fb815aa1b0 de.po 2015-01-04 18:11:46 +01:00
Juergen Spitzmueller
450288b130 Fix aspectratio UI
Fixes: #9357
2015-01-04 18:07:05 +01:00
Georg Baum
7aab315c81 Fix parsing of verbatim options (bug #9113)
Parser::verbatimOption() did swallow backslashes previously. The similar code
in Parser::verbatim_item() was already correct.
2015-01-03 20:51:02 +01:00
Georg Baum
151abe293e Parse post command argument insets (bug #8473)
This is now very easy with the new InsetArgument infrastructure.
2015-01-03 18:14:20 +01:00
Georg Baum
46bfa47395 Use new argument inset code for environments
This removes another instance of the limitation solved by file format 446:
The order of optional and required arguments is not fixed anymore.
2015-01-03 18:00:13 +01:00
Georg Baum
88cdd6dc60 Skip missing optional argument insets in tex2lyx
Optional arguments are optional, so if one is missing, do not stop the parsing,
but continue with the next argument (it might be a required one).
2015-01-03 17:59:20 +01:00
Georg Baum
53b3b2cf5a Reduce caption hardcoding
Now we can handle all types of captions defined in layout files or modules.
This does also mean that \captionabove and \captionbelow are only recognized
in KOMA-classes and not always anymore, but this is correct, since these
captions would not work in other document classes anyway.
2015-01-03 17:56:53 +01:00
Georg Baum
70bcbd4bd7 Remove InsetArgument 999 workaround
Since we iterate through all arguments we can as well compute the correct id
directly.
2015-01-03 17:45:59 +01:00
Georg Baum
42f36c1b94 Parse starred InsetLayout correctly
Previously, an InsetLayout was not found if the LaTeX name was starred, e.g.
for "\caption*".
2015-01-03 17:39:20 +01:00
Georg Baum
8b75ce5830 Fix misparsing of \textgreek without polyglossia
\textgreek was interpreted as the polyglossia version even if polyglossia
was not used. Now the symbols defined in unicodesymbols are detected correctly
and converted to unicode, while others are converted to ERT (bug #8553).
2015-01-03 17:27:22 +01:00
Georg Baum
202e848a0e Parse tikzpicture env. correctly (bug #9011) 2015-01-03 17:21:14 +01:00
Georg Baum
9c54ee6f0d Handle unknown table column specifiers (bug #9311)
Previously tex2lyx did ignore table columns if the column specifier was
unknown. This can lead to data loss, and now it does not ignore these columns,
but assumes that the column specifiers use only once character. This can still
lead to data loss, but less often.
2015-01-03 17:06:39 +01:00
Enrico Forestieri
d762e720d8 Update it.po 2015-01-01 19:56:40 +01:00
Georg Baum
dbbc4239a6 Fix HTML output of \gg, \ll and \ne (bug #9372)
The fix consists of three parts: The fix for \ll and \gg, the needed
infrastructure to assign HTML entities to global math macros, and the actual
fix for \ne and \neq.
2014-12-30 13:39:52 +01:00
Juergen Spitzmueller
6d58fba55f de.po 2014-12-27 17:45:21 +01:00
Juergen Spitzmueller
0be08dde6d Do not warn about changed modules when changing modules.
Part of #9356
Also fixes #9365
2014-12-25 10:50:21 +01:00
Juergen Spitzmueller
cc58d61744 Do not silently dismiss unapplied document changes when adding module
Part of #9356
2014-12-25 10:45:45 +01:00
Juergen Spitzmueller
b215e58ed1 Output package options before loading any package.
Fixes: #9355
2014-12-22 09:21:28 +01:00
Juergen Spitzmueller
c213243600 When switching classes, warn user about all unapplied document changes
Currently, this is limited to modules.

Part of #9356.
2014-12-21 17:45:39 +01:00
Richard Heck
0b5a9bd28c Remerge strings. 2014-12-21 11:20:20 -05:00
Uwe Stöhr
f6c520d4e7 ar.po: updates from Hatim 2014-12-15 02:05:49 +01:00
Kornel Benko
7da3c7780c sk.po update 2014-12-09 20:05:41 +01:00
Jean-Marc Lasgouttes
1ae74b2dd7 \\subfloat captions are moving arguments
Therefore insets should be protected in these captions.

Fixes bug: #9346.
2014-12-08 17:39:56 +01:00
Juergen Spitzmueller
c52b99d989 Update the spec file template
Patch by user aluchko in #9349

Fixes: #9349
2014-12-08 16:47:47 +01:00
Jean-Marc Lasgouttes
849f1ddf58 Missing status entry for commit 53436891f7 2014-12-08 15:07:13 +01:00
Juergen Spitzmueller
0093d84f10 Add forgotten status entry 2014-12-08 10:48:33 +01:00
Jean-Marc Lasgouttes
53436891f7 Let the Foot inset have a different Layout when inside a title
This allows to address two main issues
 * \thanks does only accept one paragraph, while \footnote allows several (ticket #2666)
 * footnotes in titling environments were not numbered on screen.

Moreover, the code reduces hardcoding of features, which is always a good thing.

There are several pieces in this commit:

 * new numbering type \fnsymbol for counters

 * the Foot inset changes its layoutName() to Foot:InTitle when inside a paragraph with InTitle property. This is set when running updateBuffer.

 * Foot:intitle uses the \thanks command, does not allow multiple paragraphs and marks its contents as moving argument.

 * The InsetLayouts for Foot now have properLaTeXName/Type, so that InsetFoot::latex can be removed; further code simplification is probably possible.

 * HTML preamble has been updated (thanks rgheck).

Fixes: #2666
2014-12-08 10:15:02 +01:00
Jean-Marc Lasgouttes
565cb2a3f0 Fix a couple of compiler warnings 2014-12-08 09:47:45 +01:00
Juergen Spitzmueller
b7ec25866b de.po: Correct translation 2014-12-08 08:01:06 +01:00
Juergen Spitzmueller
c672f2f53e de.gmo 2014-12-07 14:57:01 +01:00
Juergen Spitzmueller
ffae8803ed de.po: update 2014-12-07 14:40:56 +01:00
Kornel Benko
b084aed88c sk.po: update 2014-12-04 12:50:32 +01:00
Juergen Spitzmueller
5207ce6546 de.po: update 2014-12-04 09:47:41 +01:00
Uwe Stöhr
b56ecec869 status.21x: fix a typo 2014-12-04 01:15:18 +01:00
Uwe Stöhr
aad32862c3 status.21x: a writing style fix 2014-12-04 00:50:27 +01:00
Uwe Stöhr
cdeb542fc0 tex2lyx: backport support for relative sizes and glue lengths 2014-12-04 00:48:27 +01:00
Uwe Stöhr
515e70a7da tex2lyx/Preamble.cpp: add support for all \defskip lengths
backports commit c2e0f223
2014-12-04 00:41:51 +01:00
Uwe Stöhr
a0b723f2b7 tex2lyx/Preamble.cpp: remove unused code 2014-12-04 00:36:00 +01:00
Uwe Stöhr
6d8cb0055e tex2lyx: support for the Libertine fonts 2014-12-04 00:18:32 +01:00
Uwe Stöhr
44682af7d9 mathed: infoize some messages
- fixes bug #1908
2014-12-04 00:11:57 +01:00
Uwe Stöhr
01c5c497c2 IEEEtran templates: fix language package settings
according to the IEEE writing guidelines one must not use babel otherwise one would violate the caption formatting rule; fixes bug #9350
2014-12-04 00:05:37 +01:00
Juergen Spitzmueller
821c09668a Honor paragraph parameters when converting chunk layouts.
Fixes: #9320.
2014-12-01 15:05:52 +01:00
Jean-Marc Lasgouttes
3040adf765 Fix reverting of chunks insets to 2.0 format
When the chunk inset did not have an optional argument, the prefix of the chunk was omitted.

Fixes bug: #9343
2014-12-01 10:38:10 +01:00
Juergen Spitzmueller
560a421e58 Fix and simplify par params parsing in get_containing_layout.
The previous version did not catch \align <alignment>.
2014-11-30 09:40:45 +01:00
Juergen Spitzmueller
42c51e7169 Fix conversion of beamer block titles when the language is switched at the beginning of the title 2014-11-25 19:18:22 +01:00
Enrico Forestieri
4ef7e662d4 Update it.po 2014-11-23 02:54:06 +01:00
Uwe Stöhr
88355eea86 tex2lyx/TODO.txt: \=*{char} is already supported by tex2lyx 2014-11-23 01:33:34 +01:00
Uwe Stöhr
90405fe39b tex2lyx/TODO.txt: the UGM fonts are already fully supported 2014-11-23 00:40:30 +01:00
Georg Baum
e32147a1fe Fix memory error detected by valgrind
The assignment name = sub.str(1) reads from the first argument given to
regex_match(), but previously this was a temporary object which was already
out of scope. This did probably not matter much in practice, but invoked
undefined behaviour, and as we all know this is allowed ton format your hard
disk or kill to your cat, so better fix this.
2014-11-19 20:42:04 +01:00
Georg Baum
3cc5283940 Fix recursive math macro crash (bug #9140)
This is different from bug #8999, since in this case a new macro instance is
created. You still get a TeX capacity exceeded error if you try to typeset the
exported document, but this is the same as for bug #8999 and better than a
crash.
2014-11-16 09:37:29 +01:00