Commit Graph

31811 Commits

Author SHA1 Message Date
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
Pavel Sanda
097abe7e07 * cs.po 2013-10-09 22:57:37 -07:00
Scott Kostyshak
1e807d5183 Add XeTeX tests
Testing with XeTeX uncovered a few bugs (e.g. Math export
was failing) and thus should be a part of the ctesting.
2013-10-09 11:31:40 -04:00
Georg Baum
3e83380350 Remove questionable Mutex copy code
It is no longer needed, and it had a comment that it needed review...
Now anybody who tries to make a copy again is forced to think about it,
instead of trying and using possibly wrong semantics by accident.
2013-10-08 22:06:55 +02:00
Scott Kostyshak
f50550c4b9 New Japanese translations of the examples
Note that knitr.lyx, lilypond.lyx, and sweave.lyx do not
currently export because of #8823.
2013-10-07 18:34:45 -04:00
Scott Kostyshak
8de58715fa Japanese docs: updates from Koji 2013-10-07 18:34:45 -04:00
Scott Kostyshak
895f828589 ja: change default output format from pdf3 to pdf
dvipdfmx emits a lot of warnings and Koji suggests ps2pdf.
Thanks to Koji for the advice.

Note that on Debian, I installed the following packages
to be able to compile with ps2pdf:

fonts-takao-mincho
fonts-ipafont-nonfree-jisx0208
fonts-ipaexfont-mincho
2013-10-07 18:33:58 -04:00
Juergen Spitzmueller
e461a61204 Clarify instructions on how to set up the thesaurus 2013-10-07 18:50:37 +02:00
Juergen Spitzmueller
15af5ef59a One more clarification on the thesaurus setup 2013-10-07 15:37:38 +02:00
Juergen Spitzmueller
c5c9e26fee Clarify instructions on how to set up the thesaurus (#8811) 2013-10-07 15:26:45 +02:00
Scott Kostyshak
a19611c573 Remove obsolete code in Math.lyx
These workarounds are no longer necessary because of unicodesymbols
and further they break compilation with XeTeX as well as pdfTeX
with TeX input encoding set to ascii or utf8.

Thanks to Günter Milde for the fix.
2013-10-06 16:39:52 -04:00
Vincent van Ravesteijn
7583a8ce25 Fix EOLs 2013-10-06 05:57:53 +02:00
Vincent van Ravesteijn
513e753a52 Update LFUNs.lyx 2013-10-06 05:52:15 +02:00
Vincent van Ravesteijn
10d8a92905 Update layouttranslations 2013-10-06 05:52:15 +02:00
Vincent van Ravesteijn
e61c21409c Update po/gmo files 2013-10-06 05:52:15 +02:00
Vincent van Ravesteijn
17780b9e1a Update ANNOUNCE for LyX2.1.0beta2 2013-10-06 05:13:00 +02:00
Vincent van Ravesteijn
867c69a927 NEWS: add what's new in LyX 2.1 2013-10-06 04:34:49 +02:00
Vincent van Ravesteijn
a9048737cf NEWS: Update from the 2.0.x branch 2013-10-06 04:34:41 +02:00
Enrico Forestieri
ea2ec54eb6 Was forgetting these two icons. 2013-10-06 13:45:48 +02:00
Enrico Forestieri
004472d3b6 Replace remaining autogenerated math icons. 2013-10-06 13:39:43 +02:00
Vincent van Ravesteijn
26df0977d1 Revert "Enable automake subdir-objects"
The reason for adding this option is to kill a warning with automake 1.14. However, the "make distclean" target does not work with the subdir-objects options for older versions of automake. To still allow older versions of automake, we remove this option and live with the warning when using automake 1.14.

This reverts commit 03343bd4e6.
2013-10-05 16:40:18 +02:00
Jean-Marc Lasgouttes
b89ef8a5b3 Revert "Do not kill the undo stack when doing a Save As..."
This commit was causing bug #8821.

This reverts commit 467422f9df.
2013-10-04 15:01:42 +02:00
Jean-Marc Lasgouttes
f835134f16 Fix bug #8859: crash on alignment of two cells in tabular
The solution is the same as the other text-properties lfuns: use special loops when there is a multi-cell selection.
2013-10-04 12:52:00 +02:00
Scott Kostyshak
b65a368c04 xypic workaround for avoiding an assertion (#8860)
The text should look the same.
2013-10-01 18:17:09 -04:00
Scott Kostyshak
a6372da715 Ignore latex8 PDF export tests
latex8.sty is obsolete and replaced by IEEEconf.
2013-10-01 17:30:37 -04:00
Enrico Forestieri
1d47e3aa61 Restore original icons inadvertently replaced in a7182e42. 2013-09-29 23:12:42 +02:00
Enrico Forestieri
a7182e427f Replace autogenerated icons for the math toolbar
The autogenerated icons are in most cases ugly, do not conform to the
style of the other icons, and do not respect relative dimensions and
positions. The math icons have a vertical dimension of 19 pixel, defining
a grid that has to be respected for obtaining correct alignment.
The only autogenerated icons that remain are those of the Misc (extra)
toolbar. I plan to also replace them in the near future.
2013-09-29 22:51:27 +02:00
Vincent van Ravesteijn
c6c07d28ae Merge: Remove tex2lyx defines to allow for newer automake
Automake version 1.14 warns that subdir-objects needs to be
enabled to avoid future incompatibilities. However, this causes problems
for objects that are compiled twice (for LyX and tex2lyx) with different
defines (e.g., TEX2LYX and NO_LAYOUT_CSS). Therefore, we need to properly
fix the code without using these defines.

See also:
 - commit 16cdf70d (Jul 26, 2013),
 - commit 3698fde0 (Aug 19, 2013), and
 - http://marc.info/?l=lyx-devel&m=137673178123427&w=2.
2013-09-29 16:51:29 +02:00
Vincent van Ravesteijn
03343bd4e6 Enable automake subdir-objects 2013-09-29 15:26:25 +02:00
Vincent van Ravesteijn
c75db6757a Remove the TEX2LYX define when compiling tex2lyx 2013-09-29 15:26:23 +02:00
Vincent van Ravesteijn
8164fea772 Encodings: Use BufferEncodings where needed 2013-09-29 15:26:22 +02:00
Vincent van Ravesteijn
88d0939166 Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
Stephan Witt
2e23774c6c Encodings: Split off the functions that need Buffer
This is needed to be able to use Encodings in tex2lyx without the need to
compile Buffer as well, or to use a TEX2LYX define.
2013-09-29 15:26:18 +02:00
Vincent van Ravesteijn
01e94f5e03 Encodings: Add CharInfo to Encoding.h 2013-09-29 15:26:17 +02:00
Jean-Marc Lasgouttes
72c13323d8 Remove dependency on NO_LAYOUT_CSS #define in Layout.cpp
Remove all traces of this #define.
2013-09-29 15:26:15 +02:00
Jean-Marc Lasgouttes
fa5519d4f0 Move tex2lyx dummy implementations in their own file.
Also try to document their use.
2013-09-29 15:26:13 +02:00
Jean-Marc Lasgouttes
9a1e972edb Remove dependency on TEX2LYX #define in ModuleList.cpp 2013-09-29 15:26:12 +02:00
Jean-Marc Lasgouttes
aef31d666e Remove dependency on TEX2LYX #define in Lexer.cpp 2013-09-29 15:26:10 +02:00
Stephan Witt
b293bd3670 cosmetics: remove unneeded std:: prefix
Amended-by: Vincent van Ravesteijn <vfr@lyx.org>
2013-09-29 15:15:17 +02:00
Juergen Spitzmueller
1ace930f7d Handle is_child runparam in preview (bug #8445) 2013-09-29 14:14:15 +02:00
Scott Kostyshak
2c6eab541f Move AGU_article.lyx to the attic
Exporting this outdated document currently hangs on some systems.
Further, there is no natural link between AGU and DocBook
and this could be confusing to a user who is looking for
the AGU template.
2013-09-27 23:57:20 -04:00
Stephan Witt
f768aadc88 add Option-Tab resp. Option-Shift-Tab for buffer-next/previous because Control-Tab doesn't work anymore 2013-09-27 19:53:58 +02:00
Kornel Benko
b8631e849c sk.po, make some messages clearer 2013-09-26 13:17:37 +02:00
Kornel Benko
ac069c3f4b Corrected displayed file-name for fuzzy and untranslated messages in diff_po.pl 2013-09-26 11:34:05 +02:00
Pavel Sanda
4fb67a3b19 * cs.po 2013-09-25 22:59:21 -07:00
Kornel Benko
f986eca10f Modified the revision selection while comparing po-files$
If revision-parameter is set to e.g. '-3', now we search for the previous
3-rd change of the relevant po-file instead of the previous 3-rd commit.

We now also pass options through the environment, though it is not needed for git.
This way we overcome the deficiency of "hg" and "svn", which do not allow
to pass self-defined options to underlying diff-command.
2013-09-25 16:43:23 +02:00
Kornel Benko
292577ad69 Polishing diff_po.pl
New options
  --display-fuzzy=[1|0} # Enable/disable display of fuzzy messages
  --display-untranslated=[1|0} # Enable/disable display of untranslated messages

Convert each given path on command line to absolute path prior to changing
the working directory
2013-09-23 12:50:25 +02:00