Commit Graph

32501 Commits

Author SHA1 Message Date
Stephan Witt
0e7eaef349 * fix bug 8925: create a temporary action to avoid a menu with any action. Otherwise it will not shown on Mac OS X 10.9 with Cocoa 2014-03-08 12:49:40 +01:00
Georg Baum
ef4f2e6f50 Add review comments for translations in beta
The LyX 2.1 beta release does already contain some new layout translations
(compared to LyX 2.0.x), which have not been reviewed yet.
2014-03-08 12:36:59 +01:00
Georg Baum
5aede95971 Remove dead code + whitespace 2014-03-08 11:59:39 +01:00
Georg Baum
be0cd47559 Work around broken math symbol display (bug 7954)
This extends the already existing math symbol fallback mechanism in two ways:
1) When considering the availability of the math font, also take broken
   code points into account. These are currently 0x0009 and 0x00ad, depending
   on the platform.
2) If the fallback symbol in the standard "Symbol" font is not given, or if
   the "Symbol" font is not available, or the fallback symbol is one of the
   broken ones, try to use a generic unicode symbol as second fallback instead.
   If this is available, we rely on Qt to find a font which has it. Only if
   this is not available, display the symbol as ERT.
This ensures that we do never get a symbol which is not displayed: Either
it can be displayed, with or without fallback, or it will be shown as ERT.
2014-03-08 11:13:39 +01:00
Georg Baum
188dd74618 Add two missing unicodesymbols 2014-03-08 10:59:43 +01:00
Georg Baum
a09ec1fe43 whitespace 2014-03-08 10:57:24 +01:00
Uwe Stöhr
0e294cedda UserGuide.lyx: add missing part of description for menu Start New Environment 2014-03-08 02:34:11 +01:00
Uwe Stöhr
f1f4d7f632 UserGuide.lyx: describe the new menu Edit→Start New Environment
- also correct some changes LFUNs
2014-03-08 02:13:24 +01:00
Pavel Sanda
ee7eee24f4 Update cs layouttranslations. 2014-03-07 15:46:50 -08:00
Uwe Stöhr
e80dde776b installer: add new dictionary names
- also correct 2 file sizes
2014-03-08 00:25:22 +01:00
Georg Baum
717a503fb5 Update chinese layouttranslations
We actually have a GPL statement, sorry for overlooking
2014-03-07 22:44:54 +01:00
Scott Kostyshak
b1d5671361 Add Mingyi Wu to contributors
Contribution was translations for Chinese (traditional).
2014-03-07 15:55:11 -05:00
Georg Baum
18d49ceb1d Update layouttranslations from current po files
I only left out the following:
1) chinese translation - we have no GPL statement yet, if we don't get it the
   big update would need to be removed unfortunately.
2) I kept the dutch translation for "Chart", although this is ambigous, since
   nl.po does not contain a translation
3) I kept the danish translation for "Note", since da.po does not contain a
   translation
The review file is updated as well to contain all translations without a
documented review.
2014-03-07 21:35:10 +01:00
Scott Kostyshak
b58b4df24f Fix compilation of ja/Math.lyx (see #9027)
The Japanese math manual was not compiling because of some
complications with foreign language switching. This would
have been fixed after the translation from English to Japanese
is done but I want to make sure the document is compilable
for 2.1.
2014-03-07 15:11:49 -05:00
Kornel Benko
7287e91e44 sk.po, Unify some strings (case sensitivity) 2014-03-07 12:03:22 +01:00
Juergen Spitzmueller
0dc4f4636f Enable environment-split for standard classes (#9023) 2014-03-07 08:58:24 +01:00
Uwe Stöhr
e165ff18be installer: update dictionary list
- there is now a Turkmen spell checker
- there is now a Galician thesaurus available
2014-03-07 00:24:28 +01:00
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