Commit Graph

32234 Commits

Author SHA1 Message Date
Georg Baum
bbbfa81ba3 Transfer layout translations to nl.po
These translations were only in lib/layouttranslations. I don't know if they
were reviewed, but I understand enough dutch to be sure that they are not
completely wrong, so they are good enough for the GUI.
2014-03-06 23:03:57 +01:00
Georg Baum
574af5d915 Transfer layout translations to fi.po
These translations were only in lib/layouttranslations, and they were already
reviewed, so they are good for the GUI as well.
2014-03-06 22:57:20 +01:00
Georg Baum
3ceb2cdffe Add new layout translations to be reviewed
Now lib/layouttranslations.review contains all translations which have been
changed since the 2.0.0 release except for the ones where the commit log
mentioned that they were reviewed.
2014-03-06 22:41:15 +01:00
Uwe Stöhr
b8f14453be UserGuide.lyx: improve a writing style 2014-03-06 22:38:01 +01:00
Georg Baum
ba8c5bb511 Remove context also for translated strings
This is consistent with the treatment in LyX itself (cleanTranslation() is
also called on the translated strings), and some translators leave the context
in the translated msgstr (e.g. [[List of Listings]]), although that is not
recommended. Without this, lib/layouttranslations would contain wrong
translations.
2014-03-06 22:00:12 +01:00
Georg Baum
474e42923b Fix logic error in layout translation extraction
lyx_pot.py treats the combination IsPredefined == true and UsesFloatPkg == true
incorrectly: In this case it does not extract the float name, although it needs
to be extracted. This was no problem for LyX 2.0.0, because no layout contained
this combination fo flags. However, the current version of achemso.layout uses
it for several styles, e.g. "List of Schemes".
You only see the bug if you remove lib/layouttranslations before updating it,
otherwise it would be covered by the old translations which are kept. The fix
make use of the fact that IsPredefined == false and UsesFloatPkg == false is
not supported by LyX to simplify the logic.
2014-03-06 21:42:51 +01:00
Juergen Spitzmueller
b57eb39731 Disable invalid inset-modify (#9019). 2014-03-06 08:34:32 +01:00
Richard Heck
e86cdc4020 Fix bug #8999 by locking math macros while they are updating. 2014-03-05 18:46:38 -05:00
Uwe Stöhr
99059742c6 German EmbeddedObjects.lyx: fix a typo 2014-03-06 00:14:04 +01:00
Richard Heck
f5a7aebdfa Add comment. 2014-03-05 18:07:01 -05:00
Uwe Stöhr
95a4fd0bbe EmbeddedObjects.lyx: describe caption above/below
- also simplify the float section structure in the UserGuide.lyx
2014-03-06 00:01:35 +01:00
Richard Heck
bcf86b8477 Simplify, and delete unused routine. 2014-03-05 17:55:38 -05:00
Richard Heck
c37cacaffb Check in InsetLabel if LFUN_INSET_MODIFY is intended for us.
Every inset should do this.
2014-03-05 17:43:41 -05:00
Benjamin Piwowarski
908c92e831 Updates to AppleScript support, and documentaoin for it. 2014-03-05 15:46:27 -05:00
Richard Heck
3046aa0411 Fix small problem with question environment. 2014-03-05 15:37:08 -05:00
Richard Heck
dfc9dde6a9 Add Question and Question* environments to AMS modules. Fixes bug
Patch from Paul Rubin.
2014-03-05 12:31:51 -05:00
Juergen Spitzmueller
0c447db0ca Adjust FIXME 2014-03-05 12:16:57 +01:00
Georg Baum
07afd76b7c Fix compilation with libc++
libc++ (http://libcxx.llvm.org/) is used on OS X with newer XCode.
The patch is from Benjamin Piwowarski <benjamin.piwowarski@lip6.fr>, I only
added more comments.
The changes regarding implicit conversion to bool of std::iostream work
because both the C++98 and C++11 standards guarantee that boolean evaluation
of streams returns !fail(). See e.g.
http://stackoverflow.com/questions/1334858/why-dont-iostream-objects-overload-operator-bool
for details.
2014-03-04 23:27:57 +01:00
Uwe Stöhr
ab176bfbcc UserGuide.lyx: describe the Verbatim environment 2014-03-04 23:12:44 +01:00
Uwe Stöhr
c71cd6d501 stdlayouts.inc: correct spacing for verbatim
Verbatim consist of lines not of paragraphs. There is therefore no paragraph spacing in the output and thus should also exists be in LyX.
2014-03-04 22:54:28 +01:00
Stephan Witt
222ef85664 improved Qt frameworks packaging on Mac 2014-03-04 22:28:40 +01:00
Jean-Marc Lasgouttes
ad56bded03 Bug #9005: various things that do not work as intended in passthru paragraphs
* disable branch-add-insert in pass thru paragraphs

* when it is not possible to input a quote inset, insert a single
  ascii quote when argument to quote-insert is "single"

* handle "mathspace" dialog in Text::getStatus

* disable insertion of newline inset in pass thru paragraphs

* handle "mathdelimiter" and "mathmatrix" dialogs in GuiView::getStatus.
2014-03-04 11:56:03 +01:00
Scott Kostyshak
c80f1009b3 Restore 'pdf' default format of Japanese docs
This restores 895f8285 and fixes out-of-the-box compilation.
2014-03-03 14:53:47 -05:00
Scott Kostyshak
15d55c3214 instant_preview.lyx: load 'etex' package
The pgf package 3.0.0 update lead to an error being given with
this document. Loading the 'etex' package fixes the problem.
For more information, see:
  https://sourceforge.net/p/pgf/bugs/296/
2014-03-03 14:51:16 -05:00
Scott Kostyshak
afa5d05d47 instant_preview.lyx: update .lyx format 2014-03-03 14:51:16 -05:00
Jean-Marc Lasgouttes
8f8e8ed43c Fix bug #8998: changed document setting is recoded twice as undo
The general trick to avoid this kind of problems is to use undo groups.
2014-03-03 18:28:23 +01:00
Jean-Marc Lasgouttes
c98ce56a03 Fix bug #8884: Crash when "navigate to next change"
The two fixes here a obviously right, although it is not clear why they are sufficient to fix the bug. Anyway I cannot reproduce any crash with it.

 * the first part just conditions a whole if/else to change_next_pos.changed(). Originally, only the if branch was concerned.

 * the second part is to avoid calling CursorSlice::backwardPos() when position is 0. Doing this leads to an assertion.
2014-03-03 11:16:56 +01:00
Juergen Spitzmueller
5c4acd6bc0 Add FIXME 2014-03-03 10:45:40 +01:00
Uwe Stöhr
de7eb5521d Math.lyx: describe LaTeX-comment inset 2014-03-02 23:39:35 +01:00
Uwe Stöhr
40b7883161 Math.lyx: describe \smashoperator and how to insert ^ and _ 2014-03-02 22:21:12 +01:00
Uwe Stöhr
b340d026ed Math.lyx: describe \underbracket and \overbracket 2014-03-02 21:02:15 +01:00
Uwe Stöhr
878cdcd25d Math.lyx: describe mathtool's \xarrow commands 2014-03-02 20:01:02 +01:00
Uwe Stöhr
c5901f3402 Math.lyx: describe command \splitfrac 2014-03-02 18:31:18 +01:00
Juergen Spitzmueller
4824f7c9db Fix crash after undo following replacement of a multicell selection (#8973). 2014-03-02 13:21:59 +01:00
Uwe Stöhr
6b35bb7544 Math.lyx: describe command \shortintertext 2014-03-02 03:00:40 +01:00
Uwe Stöhr
f09fc24f0c chkconfig.ltx: add package filehook
filehook.sty is required when you use non-TeX fonts and also the non-TeX math default font
In the same context LyX requires the font "latinmodern-math.otf", but we can currently not check for it, see my post to the list
2014-03-02 00:37:32 +01:00
Uwe Stöhr
61ed9a71cd UserGuide.lyx: describe LyX's new extended font support 2014-03-01 14:02:29 +01:00
Stephan Witt
aea9c4fc1b avoid deployment of debug version of qt plugins 2014-03-01 10:23:31 +01:00
Georg Baum
8097911a9f Fix crash if magic_file() returns an error
Thanks to Benjamin Piwowarski who reported the problem and provided a fix.
magic_file() returns a NULL pointer if an error occurs, and due to a bug
this happens frequently on OS X: https://trac.macports.org/ticket/38771
I did not use the original patch, since I did not want to put a platform
specific workaround in (this needs further discussion), but the crash can
occur on all platforms and needs to be fixed.
2014-02-28 22:42:38 +01:00
Uwe Stöhr
2a8de1b23d EmbeddedObjects.lyx: describe the usage of \mbox 2014-02-27 23:52:30 +01:00
Georg Baum
5dedf8005d Fix dataloss for align env inside math
The math parser aborts with an error message on \begin{align} and
\begin{align*} if this is not the hull inset. This is now fixed, however
this is not complete support for these two environments (the GUI does not
respect the numbering). It is only the minimal fix that ensures that no data
loss occurs for documents imported by tex2lyx.
2014-02-27 21:25:19 +01:00
Scott Kostyshak
5cb4e11932 Fix compilation of es/EmbeddedObjects.lyx
Since a2e8cb75, \lstlistingname is localized. Redefining it
in the preamble is not necessary and in fact since f4dd0ba5
leads to a compilation error.
2014-02-27 09:47:30 -05:00
Kornel Benko
2127cde4ee Export test for french EmbeddedObjects with dvi3 and system fonts working now 2014-02-27 08:55:38 +01:00
Uwe Stöhr
c3c9a9f9d0 zh_TW.po: huge translation update by Mingyi Wu 2014-02-27 00:59:46 +01:00
Richard Heck
90c0255166 Update release notes. 2014-02-26 17:05:06 -05:00
Georg Baum
7f373e8de1 Fix misparsing of alternative simple formulas
This comes from trying to run tex2lyx on the AMS math test document
testmath.tex. Both \(...\) and \begin{math}...\end{math} are defined as
inline math formulas in standard LaTeX. tex2lyx recognizes this, but the
math parser in LyX did not handle "\begin_inset Formula \(" and
"\begin_inset Formula \begin{math}" correctly.
The fix is simple and safe: If we are in undecided mode (this is only true
for the first token of a math inset), create a hull inset of the respective
kind. Otherwise, handle the commands as before.
2014-02-26 21:54:09 +01:00
Georg Baum
9130bdb5ec Add missing math delim decorations
This avoids a message "Deco was not found. Programming error?" on stderr.
The added decorations are defined by amsmath, and equivalent to \vert (single
vertical bar) and \Vert (double vertical bar), respectively. They are used to
distinguish the single and paired versions (for use with \left and \right).
These symbols should cause amsmath to be loaded, but this would be too
dangerous to implement now.
2014-02-26 21:18:31 +01:00
Georg Baum
f4dd0ba561 Load listings after babel (bug #8995)
Babel makes the character ':' active in french documents, and the listings
package cannot cope with that if it is loaded before babel. If it is loaded
after babel it works. This makes the french EmbeddedObjects manual compilable.
2014-02-26 20:43:04 +01:00
Kornel Benko
31230697cb * sk.po 2014-02-26 10:19:20 +01:00
Juergen Spitzmueller
b0242a1402 de.po 2014-02-26 08:43:27 +01:00