Commit Graph

34885 Commits

Author SHA1 Message Date
Juergen Spitzmueller
dd6340cfcc Do not switch listings to singlebyte encoding with pLateX/Japanese
Also improve Listings warning about uncodable characters
if the encoding has been switched by LyX.

Fixes: #8439
2015-11-17 10:30:03 +01:00
Jean-Marc Lasgouttes
b26b90ae0e Use a QCache for string metrics
This is better because it implements a LRU cache. Indeed, while editing in particular, width of many different strings has to be computed. This is different from the previous situation where only width of single characters was computed and cached.
2015-11-17 09:38:16 +01:00
Jean-Marc Lasgouttes
735c10d039 Update documentation for tabular features 2015-11-17 09:26:29 +01:00
Jean-Marc Lasgouttes
68217b1e4a Implement toggling for longtabular and booktabs tabular features
This is needed for the tabular context menu. This menu is updated accordingly.
2015-11-17 09:18:50 +01:00
Jean-Marc Lasgouttes
0f5886b856 Disable LFUN_LAYOUT when layout cannot be found
Fixes bug #8077
2015-11-17 08:48:55 +01:00
Scott Kostyshak
d264b3d8fb Fix a shortcut conflict (#9820)
'o' is now taken by the new Pandoc export to "MS Word Office".
2015-11-17 00:25:51 -05:00
Uwe Stöhr
a577944b80 installer: changelog for latest release 2015-11-17 00:23:23 +01:00
Georg Baum
0c97d6edc0 Fix wrong forward declaration
This popped up in cmake monolithic build once. It looks like BufferView is
included indirectly by some of the other headers (otherwise we would have seen
compile errors for other build configurations as well), bu I'll keep the
forward declaration since we don't want to depend on this indirect header
inclusion.
2015-11-16 21:51:30 +01:00
Georg Baum
1900eb2834 Fix a cmake monolithic build error
N_() is a preprocessor macro to mark translatable static strings. It is not a
good idea to also name a class member variable N_: It did only work in the
other build configurations because gettext.h was not included.
2015-11-16 21:39:03 +01:00
Kornel Benko
b835c454ec Cmake export tests: More tests to be reverted.
Again, thanks to Günter Milde.
ATM, the latex comments in user preamble are removed before export test.
2015-11-16 18:47:34 +01:00
Kornel Benko
811114664f Changed wrong setting for origin in LaTeXConfig.lyx at commit b98dd4e 2015-11-16 12:06:42 +01:00
Kornel Benko
b98dd4ecc1 Cmake export tests: Some more corrected exports.
Thanks to Günter Milde.
2015-11-16 11:51:54 +01:00
Kornel Benko
5c796730b2 Replace the translatable latexism 'longtable' with 'multi-page table' in UI. 2015-11-16 10:29:53 +01:00
Juergen Spitzmueller
78c706e02d Assure we use docstring.
Cures another monolithic build error with CMake.
2015-11-16 08:21:53 +01:00
Juergen Spitzmueller
2a223b0933 Rename function that was ambiguous from a monolithic perspective.
Cures one monolithic build issue with CMake.
2015-11-16 08:20:54 +01:00
Juergen Spitzmueller
b423c59d3c Factor out multiply used ColorSorter.
This cures one problem of monolithic build (where the function was
ambiguous)
2015-11-16 08:19:16 +01:00
Uwe Stöhr
1f0488bf36 installer: support texindy
texindy requires some more Perl and unfortunately the path tho the perl.exe in Windows' PATh environment variable.
The new EnvVarUpdate.nsh contains a function to modify Windows environment variables easily.
2015-11-16 04:04:11 +01:00
Richard Heck
fb2c558f67 We need to show the error message in the case in which we copied the
file due to a format change, as well.
2015-11-15 12:32:26 -05:00
Richard Heck
9efa43d2be Simplify use of Buffer::getBackupName().
Previous versions of this code used the string in a different way,
but now it is sufficient just to return a FileName.
2015-11-15 12:19:17 -05:00
Georg Baum
5060b5b76e Fix sorting
No single translation has been changed, but pt_BR and pt_PT are now correctly
sorted. This removes the artifical diffs that running
make ../lib/layouttranslations
did produce previously.
2015-11-15 17:23:42 +01:00
Georg Baum
3ab58d155c Add experimental mode to save files with LyX
Thanks Scott for the idea to modify the document. This seems to work, but I am
not surer whether it is safe in all cases, so better warn if this is used.
2015-11-15 17:23:42 +01:00
Georg Baum
a7d8aba71b Regenerate with LyX conforming whitespace 2015-11-15 17:23:42 +01:00
Georg Baum
1da21bec71 Reduce whitespace differences to LyX
LyX writes an empty line between \end_layout and \begin_layout, so we should
do so as well.
2015-11-15 17:23:42 +01:00
Guillaume Munch
7b07788278 Amend 789745df
Remove warning. Actually the auxiliary function is not necessary since its
actual contents have been relocated as TexRow::prepend() during dev.
2015-11-15 12:18:47 +00:00
Pavel Sanda
5bf745b9a6 User guide, missing space. 2015-11-14 18:27:20 -08:00
Scott Kostyshak
bcf4c78845 Back to development 2015-11-13 23:05:13 -05:00
Scott Kostyshak
41cf01e9b6 This is LyX 2.2.0alpha1 2015-11-13 23:02:34 -05:00
Richard Heck
5afe6cf947 Fix stupid error in cc83dfa887. 2015-11-13 17:03:40 -05:00
Scott Kostyshak
1602415b98 Update examples/templates to 2.2.0alpha1 format
Also MacOSX ReadMe files. Note that a few lib/doc files are
also "updated" because trailing spaces are removed, but their file
formats are the same because they were recently updated at 83672113.

I did "git checkout LFUNs.lyx" because this file is generated
automatically and has a special header.
2015-11-13 13:19:23 -05:00
Scott Kostyshak
08d3456a71 updatedocs.py now updates templates and examples
development/MacOSX/ReadMe files are also updated.
2015-11-13 13:19:23 -05:00
Scott Kostyshak
82cf4838dc Update layouts to 2.2.0alpha1 format 2015-11-13 13:19:22 -05:00
Guillaume Munch
f0ea542050 amend e17838b1 2015-11-13 13:37:10 +00:00
Günter Milde
137575010c Correct some charid values in lib/symbols. Fixes #9823. 2015-11-13 14:01:32 +01:00
Günter Milde
8021c0b0dc Update comments after solving #9740. 2015-11-13 13:59:17 +01:00
Scott Kostyshak
62190855bf Revert "Now math previews are correctly updated when replacing math contents inside"
Updating all previews (even if only one has changed) is more costly
than I thought. Thanks to Guillaume for tracking down this
performance issue.

This reversion is related to the reversions at 358745d0 and
a7a14395. See also #7242 and #9855.

This reverts commit 29948eec26.
2015-11-13 00:54:15 -05:00
Scott Kostyshak
a7a143950a Revert "Update previews after doing a find/replace (#7242)"
Updating all previews (even if only one has changed) is more costly
than I thought. Thanks to Guillaume for tracking down this
performance issue.

This reversion is related to the reversion at 358745d0.
See also #7242 and #9855.

This reverts commit 66f527e417.
2015-11-13 00:50:39 -05:00
Uwe Stöhr
6a4d36b51e stdcontext.inc: improvement according to the list 2015-11-13 00:28:29 +01:00
Kornel Benko
32b35fe121 Cmake export tests: Don't select inputencoding, this is due to 0eb9477 not needed.
This sort of reverts 6dd98a8.
2015-11-12 21:42:43 +01:00
Kornel Benko
850774ccbb Update sk.po 2015-11-12 21:41:55 +01:00
Kornel Benko
30714a9708 Cmake export tests: ctest_export/doc/el/Intro_pdf5_systemF now compiles 2015-11-12 21:30:16 +01:00
Guillaume Munch
b898862fb2 Documentation for varwidth.module 2015-11-12 16:24:42 +00:00
Guillaume Munch
e17838b11f Add example using the varwidth package 2015-11-12 16:24:42 +00:00
Günter Milde
703e1e8d5f Ensure the Greek Intro.lyx compiles with non-TeX fonts.
Prevent loading of lmodern.sty if non-TeX fonts are set and
Define DejaVu as non-TeX font.

This ensures that non-TeX fonts are used if requested (lmodern.sty set
the 8-bit version of LatinModern if compiling with LuaTeX).
Also ensure that a font with all characters is used. (LatinModern misses small
Greek characters.)

Similar actions for other manuals and examples with Greek or Cyrillic script
will solve some more export tests with non-TeX fonts.
2015-11-12 17:07:56 +01:00
Günter Milde
0eb9477be7 Fix 480937a103708a651/lyxgit, second attempt.
Prevent encoding changes whenever the TeX engine is XeTeX or LuaTeX,
as XeTeX/LuaTeX use only one encoding per document:

* with useNonTeXFonts: "utf8plain",
* with XeTeX and TeX fonts: "ascii" (inputenc fails),
* with LuaTeX and TeX fonts: only one encoding accepted by luainputenc.

+1 no needless encoding switches
+1 runparams.encoding matches the correct encoding at any time
+1 less complicated code.

-1 there may still be problems with CJK (possibly impossible to
   solve for Xe/LuaTeX with TeX fonts).

For LuaTeX & TeX fonts, the complete document uses the encoding
of the global document language.

See also #9740.
2015-11-12 16:55:04 +01:00
Uwe Stöhr
2230be75b3 stdcontext.inc: new context menu for tables
see the list for details
2015-11-12 01:21:21 +01:00
Uwe Stöhr
95108800a5 UserGuide.lyx: change a section name as suggested by a user 2015-11-12 00:57:07 +01:00
Scott Kostyshak
358745d0e3 Revert "Update previews on preference change (#9507)"
The referenced commit lead to performance issues and possibly
crashes in some cases when saving preferences. Thanks to Guillaume
for discovering the issues. See #9828 for more discussion.

I hope to come up with a better fix for #9507.

This reverts commit 390ae05444.
2015-11-11 18:06:07 -05:00
Georg Baum
520dde2038 Better documentation of compressed (bug 9189)
The compressed/uncompressed option of LyX files was poorly documented. Now it
is a bit better.
2015-11-11 23:03:18 +01:00
Georg Baum
2d63caf817 Fix broken author name (bug 9858) 2015-11-11 22:39:55 +01:00
Georg Baum
385aed9721 Fix \origin lines
These were fixed manually. I tried to add an option to updatedocs.py to
open and save a file with LyX, but that did not work, since
lyx -x 'command-sequence buffer-write ; lyx-quit' does not write and does
not quit.
2015-11-11 22:25:18 +01:00