Commit Graph

32750 Commits

Author SHA1 Message Date
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
Uwe Stöhr
085d3937c6 tex2lyx: support for \item with opt arg in itemize environment 2014-11-15 21:22:21 +01:00
Georg Baum
8b31f838c5 Make the fix for bug 8999 actually work
This backports 1cdbb94f which was spotted by cppcheck.
2014-11-14 21:28:40 +01:00
Georg Baum
acc771b212 Fix bug #7954 (now really)
Thanks to maciejr we know now what the remaining problem was with bug 7954:
My unicode symbol fallback works fine, the problem was that a font named
"Symbol" is available on OS X, but it does not use the font-specific encoding
we expect: Almost all glyphs are at their unicode code point.
Therefore the bug is fixed by re-enabling the unicode workaround and blocking
the Symbol font on OS X.
2014-11-14 19:09:34 +01:00
Stephan Witt
12ee18278e #9317 add status entry 2014-11-13 19:36:52 +01:00
Stephan Witt
e354f5e4aa #9317 add method cleanDuplicateEnvVars() to correct the broken environment with duplicate PATH values passed by Yosemite's launchd(8) 2014-11-13 19:13:40 +01:00
Georg Baum
24426cc614 Fix memory errors found by Alfredo with valgrind
BufferParams::setDocumentClass() deletes the old document class of the buffer
and creates a copy of the new one. Therefore, the stored layout pointers in
the paragraphs (actually only one paragraph exists) are dangling afterwards.
Resetting them before setting the document class helps here.
In the long term we need to get rid of BufferParams::setDocumentClass()
completely, this is very ugly.
2014-11-12 20:31:32 +01:00
Uwe Stöhr
7410208b72 tex2lyx/TODO.txt: backport info/update from master 2014-11-11 01:23:20 +01:00
Uwe Stöhr
bf8ed77c15 status.21x: style fixes 2014-11-10 03:38:38 +01:00
Uwe Stöhr
53aa2267df remerge po-files
- requested merge by Richard to merge big the Portugal translation update
- also update the de.po and the status.21x file
2014-11-10 03:18:13 +01:00
Uwe Stöhr
7b20cc5258 tex2lyx: backport new features from master
- support for bibtopic, \nameref and 2 math fonts
2014-11-10 02:23:05 +01:00
Enrico Forestieri
b16b1ddb58 Fix CAS computation of a selected subformula.
Invoking a computer algebra system program for computing a selected
subformula has never worked (checked with all LyX versions back to 1.3)
and, moreover, in the presence of a selection things go awry.
This commit allows this computation by replacing the selected
subformula with the result of the computation.
2014-11-10 00:47:50 +01:00
Enrico Forestieri
5644470576 Fix issue with CAS.
See http://thread.gmane.org/gmane.editors.lyx.devel/153516
This regression was due to a thinko in [43f6b167/lyxgit].
2014-11-09 21:33:53 +01:00
Juergen Spitzmueller
18a5207c82 Fix font declarations. 2014-11-09 09:55:39 +01:00
Uwe Stöhr
aa82c1cc19 InsetFootlike.cpp: disallow to use listings in foot-like insets
- fixes bug #9321 also for branch
2014-11-06 00:31:42 +01:00
Uwe Stöhr
6cefd29d41 PDF-comment.lyx: new example file
- backport from master, fixes #9310
2014-11-06 00:19:22 +01:00
Jean-Marc Lasgouttes
02a2241727 Fix wrong test: boolean variable is never negative
This has been spotted by clang++.
2014-11-05 18:23:32 +01:00
Richard Heck
100ac34a42 Remerge strings. 2014-11-05 10:40:02 -05:00
Kornel Benko
4c314319b4 sk.po: update 2014-11-05 14:14:44 +01:00
Juergen Spitzmueller
9762c462c5 de.po: update 2014-11-05 10:40:03 +01:00
Juergen Spitzmueller
ab5b69eb3d pdfcomment.module: Tweaks by UWe and myself 2014-11-05 10:28:37 +01:00
Richard Heck
8f40d784c0 Fix bug 9300. We need manually to convert newlines to paragraph breaks. 2014-11-04 09:54:45 -05:00
Juergen Spitzmueller
6f3fbc9cd3 lyx2lyx: fix convert_chunks for empty chunk layouts
Fixes: #9298
2014-11-03 16:46:20 +01:00
Richard Heck
3ca8502ae9 Do not truncate references in outline pane (bug 9312).
(cherry picked from commit 1f45e6527a)
2014-10-30 18:43:25 -04:00
Uwe Stöhr
1a859a977e revtex4-1.lyx: simplifications and fixed typos 2014-10-28 02:37:39 +01:00
Richard Heck
9574d680e2 Fixes for LyX on OSX 10.10 (Yosemite). From Stephan Witt. 2014-10-27 11:16:08 -04:00
Uwe Stöhr
31b7a6ba94 revtex4-1.lyx: some more fine-tuning 2014-10-27 01:39:58 +01:00
Uwe Stöhr
fffc19865d revtex4-1.lyx: some fine-tuning 2014-10-27 01:03:28 +01:00
Richard Heck
bd2c17f9fb Sort debug options in the message pane by string. This makes it
much easier to find what you need, especially when we're trying
to help users. Previously, they were sorted by their enum values.

(cherry picked from commit de3daf040b)
2014-10-26 18:00:29 -04:00
Uwe Stöhr
da6cce3b62 status.21x: document recent change and correct a bug number 2014-10-26 17:25:12 +01:00
Uwe Stöhr
d050951d1f revtex4-1.lyx: update template to fulfill the official rules
changes:
- the document must have the size US letter
- use the document class options and the content of the official REVTeX sample file
- amsmath and amssymb must always be loaded
2014-10-26 17:17:34 +01:00
Uwe Stöhr
aa6a9fe696 revtex4-1.layout: remove hard-coded document class option
we must not use this option because the user must select the right one for every document and the other styles like aip etc cannot be used when aps is used.
2014-10-26 17:15:40 +01:00
Uwe Stöhr
8a3b241275 revtex4-1.layout: REVTeX 4.1 does not provide a class option "manuscript"
this is a leftover from the ancient REVTeX 4.0 times
2014-10-26 14:41:57 +01:00
Uwe Stöhr
03d3f8b5f3 revtex4-1.layout: remove unnecessary preamble code
- \lovname was already added to REVTeX 4.1 in 2010
- REVTeX does purposely not allow to color text, see the discussion in bug #4625
2014-10-26 14:21:11 +01:00
Uwe Stöhr
515a4f0fee LaTeXFeatures.cpp: fix bug #9266 also for branch
mhchem loads amsmath and needs therefore be loaded after it but before packages that redefine commands of amsmath. We already take care of esint but not of wasysym
2014-10-26 13:44:42 +01:00
Juergen Spitzmueller
d85bc320e7 Fix grammar error spotted by Sian Mountbatten 2014-10-25 13:50:37 +02:00
Juergen Spitzmueller
c9dfb11d60 Fix typo spotted by Hartmut. 2014-10-25 13:41:29 +02:00
Richard Heck
bdb6abf9b7 Fix bug #9296. The key may be multiple keys.
(cherry picked from commit 080a4d84e2)
2014-10-16 16:38:18 -04:00
Juergen Spitzmueller
a0e0e3c170 typo 2014-10-10 18:27:35 +02:00
Juergen Spitzmueller
4db6ffe7d8 Document fix 2014-10-10 18:26:01 +02:00
Juergen Spitzmueller
34513a4abe Fix key code 2014-10-10 18:24:22 +02:00
Enrico Forestieri
a291c70658 Fix export of xfig external insets (bug #9244).
The check for a latex format is very fragile. Both libmagic and our
guessing from contents cannot distinguish the pstex and pdftex formats
used by the xfig external inset. Moreover, it may also happen that
lyx files are mistaken as latex ones. Thus, when the guessed format
is latex, the only solution is to give precedence to the format
determined by the file extension.
2014-09-28 21:28:16 +02:00
Stephan Witt
3ca1a69918 #8849 catch exception in enchant speller backend and avoid multiple speller lookups for missing dictionaries 2014-09-28 19:39:15 +02:00
Kornel Benko
74a9cf2042 * sk.po 2014-09-27 17:42:30 +02:00
Juergen Spitzmueller
abe8cfddd6 de.po 2014-09-27 17:33:15 +02:00
Kornel Benko
512ddff8a4 Corrected tooltip search string. Picked from master branch. 2014-09-27 17:17:58 +02:00
Juergen Spitzmueller
4ac278a862 de.po 2014-09-27 15:03:19 +02:00
Kornel Benko
509e7b5ece * sk.po 2014-09-27 14:11:30 +02:00