Commit Graph

32207 Commits

Author SHA1 Message Date
Georg Baum
2aa2544e1d Fix regression of e02df14 (bug #8900)
In e02df14 the return type of doExport was changed from bool to ExportStatus.
All calls except this one were adjusted. This one did now fail because the
numercial value of ExportSuccess is 0.
2013-11-14 20:56:50 +01:00
Juergen Spitzmueller
f83ac67e1a Fix language issues in Argument read (#8471) 2013-11-14 17:44:03 +01:00
Juergen Spitzmueller
3ccb2a1691 Also consider main language in hasOnlyPolyglossiaLanguages() and hasPolyglossiaExclusiveLanguages() 2013-11-14 17:40:47 +01:00
Juergen Spitzmueller
68a4a53b36 Do not try to validate custom value in VSpace dialog if it is disabled 2013-11-14 10:42:24 +01:00
Scott Kostyshak
00fb0a3e10 ctests: invert tests failing because of #8823 2013-11-14 01:48:08 -05:00
Vincent van Ravesteijn
86205f4ba2 Back to development version 2013-11-13 21:54:37 +01:00
Tommaso Cucinotta
36b6296791 Fixing previous mess with git stash (apologies). 2013-11-13 20:07:53 +00:00
Tommaso Cucinotta
a2291edac6 Now run-tests.sh captures PROGRAM_SUFFIX from config.h, in order to use the correct .lyx folder name. 2013-11-13 02:41:38 +00:00
Tommaso Cucinotta
777156e0ff Added self-sanity-check for presence of pcregrep, otherwise many (almost all) tests will fail. 2013-11-13 02:13:32 +00:00
Georg Baum
be468136df Silence unwanted error popup on copying
The new HTML clipboard export could cause error message boxes on copying
data to the clipboard (bug #8866). These are now suppressed, like all other
errors which might occur for preparing the clipboard data.
2013-11-12 20:52:35 +01:00
Juergen Spitzmueller
70b0298fe2 Fix shortcut clash (bug #8878)
Patch by charley
2013-11-12 16:27:32 +01:00
Juergen Spitzmueller
7e22abec5d Fix bug 8880: do not try to validate custom value if it is disabled 2013-11-12 15:48:34 +01:00
Scott Kostyshak
6f488a9ef2 Hebrew docs: move bookmarks inside of pdflatex if
This fixes XeTeX export of the Hebrew documents.
2013-11-11 22:01:48 -05:00
Scott Kostyshak
828db4287d Fix export of Greek Intro manual with XeTeX
This is a workaround. Without this patch, export to .tex (XeTeX)
contains a sequence such as

  \begin{english}
  \begin{description}
  [omitted, but does not contain \end{description}]
  \end{english}

Thanks to Jürgen for the workaround.
2013-11-11 21:56:57 -05:00
Scott Kostyshak
2756b43f1c Fix XeTeX export when using heb-article.layout
polyglossia is used by default and \make@lr is only defined
by babel. Modifying the preamble fixes XeTeX export and pdfTeX
continues to work.

See the following thread for more information:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181220.html

Thanks to Enrico for the patch.
2013-11-11 21:56:57 -05:00
Georg Baum
14a5d07df6 Fix encoding for copying LaTeX from clipboard
If we call tex2lyx on a temporary file created from the clipboard, the
file is always in utf8 encoding, without any temporary changes, even if it
contains encoding changing LaTeX commands. Therefore, we must tell tex2lyx
to use a fixed utf8 encoding for the whole file, and this is done using the
new latexclipboard format. Previously, tex2lyx thought the encoding was
latin1.
As a side effect, the -e option is now also documented in the man page.
2013-11-11 21:52:14 +01:00
Juergen Spitzmueller
73ab0fb665 We only have the last LyX release in the export menu (the others are accessible via SendTo and SaveAs dialogs)
In general, the export menu looks much too crowded again. Should be audited if really all these items are needed on top level.
2013-11-11 09:48:56 +01:00
Juergen Spitzmueller
36769e4323 enumitem module: one forgotten adaptation to new argument possibilities 2013-11-11 09:45:40 +01:00
Juergen Spitzmueller
8af913102c powerdot: fix argument order with empty first argument 2013-11-11 09:44:50 +01:00
Juergen Spitzmueller
d1b7e1673f de.po 2013-11-11 09:38:15 +01:00
Juergen Spitzmueller
0f18bc753c Improve beamer frame conversion: consider explicit EndFrames between two identical frame types 2013-11-11 09:16:17 +01:00
Vincent van Ravesteijn
86efb5938d This is lyx2.1.0beta2 2013-11-10 21:08:39 +01:00
Enrico Forestieri
dfea6e95da Update it.po 2013-11-10 20:12:08 +01:00
Vincent van Ravesteijn
69cde04565 Update po/gmo files 2013-11-10 15:51:12 +01:00
Juergen Spitzmueller
ce8ec78783 Fix crash when using context menu in empty outliner
Fixes: #8885
2013-11-10 15:31:27 +01:00
Helge Hafting
3192696512 Translation update for nb.po. More and better beamer translations,
as well as clearing up fuzzy items all over the file.
2013-11-06 23:20:05 +01:00
Georg Baum
e4c3a329e4 fix copy-paste error 2013-10-31 21:45:51 +01:00
Tommaso Cucinotta
275f269cb7 Advanced F&R dialog does not need to be restored at start-up. 2013-10-26 18:37:25 +01:00
Raphael Kubo da Costa
ca7214b410 Remove FreeBSD checks when defining USE_WCHAR_T.
The problems the comments in the build systems refer to seem to have been
fixed for years. [1] says the checks in libstdc++ have been improved, and
all supported FreeBSD versions enable wchar_t support unconditionally in
libstdc++. Additionally, this needlessly impacts FreeBSD when libc++ is used
instead of libstdc++.

[1] http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.freebsd_wchar
2013-10-18 03:07:30 +02:00
Kornel Benko
9a327da714 * sk.po 2013-10-14 12:01:54 +02:00
Enrico Forestieri
45a6a9362c Ditch the quote_python flag.
This was discussed on the list some months ago:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg179563.html
2013-10-13 23:57:33 +02:00
Scott Kostyshak
ea89d17dd4 Put RJournal.layout in the report category
Also add author details.
2013-10-13 15:12:45 -04:00
Juergen Spitzmueller
2ba44e9297 de.gmo as well 2013-10-13 18:27:04 +02:00
Juergen Spitzmueller
be8af1c480 de.po 2013-10-13 18:22:59 +02:00
Vincent van Ravesteijn
e117361638 Revert "This is lyx2.1.0beta2"
This was committed by accident.

This reverts commit c85ff678c3.
2013-10-12 02:41:44 +02:00
Vincent van Ravesteijn
514aef937a Revert "Fix make distcheck for monolithic build"
This was committed by accident.

This reverts commit 9734ab7e34.
2013-10-12 02:41:36 +02:00
Vincent van Ravesteijn
9734ab7e34 Fix make distcheck for monolithic build 2013-10-12 02:38:15 +02:00
Vincent van Ravesteijn
c85ff678c3 This is lyx2.1.0beta2 2013-10-12 02:38:15 +02:00
Vincent van Ravesteijn
8a0b9b39f4 pocheck: Set the exit value 2013-10-12 02:37:55 +02:00
Vincent van Ravesteijn
6ed292122d Make the export of macros thread-safer
When we export the file to latex, we use the redefinition_ variable to check whether we should output newcommand or renewcommand. This variable was set by the MathMacroTemplate::metrics() function, and this caused problem when the export is running in a different thread as the GUI.

In general, the metrics() functions should not change the Buffer; we have updateBuffer/updateMacros for that purpose.
2013-10-12 02:36:08 +02:00
Tommaso Cucinotta
9680f392b0 Documenting new checkbox for math-only search of advanced find & replace. 2013-10-13 11:48:07 +01:00
Tommaso Cucinotta
acbba50a65 Added tooltip to new math-only checkbox in advanced options of advanced find & replace. 2013-10-13 11:36:38 +01:00
Juergen Spitzmueller
36730a2f3f fix macro order for newsubfloat 2013-10-13 11:45:59 +02:00
Tommaso Cucinotta
b93f2c20d3 Added restrict-search-to-maths-only checkbox to advanced pane of Advanced F&R. 2013-10-13 00:59:46 +01:00
Georg Baum
561c5bfd50 Fix missing updates for lazy MacroData
Not all accessors did update the data previously. Therefore it could happen
that document export from the command line would output \newcommand, and from
GUI it would output \renewcommand for the same macro, simply because in the
GUI case the data was updated as a side effect of the GUI thread reading some
other member.
I also removed the mutable flag for requires_, since this member is always
set on construction and does not need any lazy update.
2013-10-11 20:38:05 +02:00
Jean-Marc Lasgouttes
50af06c29b Implement reading of mo files with bad byte endianness 2013-10-11 17:21:16 +02:00
Juergen Spitzmueller
969f49c2c5 Fix unbalanced bracket problem with CJK
The bug was introduced with commit [47f7d447/lyxgit], where the unnecessary trailing bracket in CJK environments was suppresed, but not the preceding bracket (which is only output if CJK is a secondary language).
2013-10-11 12:19:41 +02:00
Georg Baum
6a30211fef Make encoding conversions thread safe
This is the result of the discussion on the list "2.1.0 Blocker". Thanks to
all contributors!
The main idea is to use thread-local storage for all static variables.
This solution does not need any mutex. For more details, see the comment in
unicode.h.
2013-10-10 21:20:44 +02:00
Kornel Benko
009809b41d typo 2013-10-10 11:32:30 +02:00
Scott Kostyshak
f79d8839cd Fix XeTeX of Formula-numbering.lyx
XeTeX export works after removing the unnecessary
hyperref package option 'hypertex'.
2013-10-10 02:23:23 -04:00