]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoUse a QCache for string metrics
Jean-Marc Lasgouttes [Mon, 9 Nov 2015 09:11:57 +0000 (10:11 +0100)]
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.

8 years agoUpdate documentation for tabular features
Jean-Marc Lasgouttes [Tue, 17 Nov 2015 08:26:29 +0000 (09:26 +0100)]
Update documentation for tabular features

8 years agoImplement toggling for longtabular and booktabs tabular features
Jean-Marc Lasgouttes [Fri, 13 Nov 2015 13:09:04 +0000 (14:09 +0100)]
Implement toggling for longtabular and booktabs tabular features

This is needed for the tabular context menu. This menu is updated accordingly.

8 years agoDisable LFUN_LAYOUT when layout cannot be found
Jean-Marc Lasgouttes [Tue, 10 Nov 2015 17:42:24 +0000 (18:42 +0100)]
Disable LFUN_LAYOUT when layout cannot be found

Fixes bug #8077

8 years agoFix a shortcut conflict (#9820)
Scott Kostyshak [Tue, 17 Nov 2015 05:24:19 +0000 (00:24 -0500)]
Fix a shortcut conflict (#9820)

'o' is now taken by the new Pandoc export to "MS Word Office".

8 years agoinstaller: changelog for latest release
Uwe Stöhr [Mon, 16 Nov 2015 23:23:23 +0000 (00:23 +0100)]
installer: changelog for latest release

8 years agoFix wrong forward declaration
Georg Baum [Mon, 16 Nov 2015 20:51:30 +0000 (21:51 +0100)]
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.

8 years agoFix a cmake monolithic build error
Georg Baum [Mon, 16 Nov 2015 20:39:03 +0000 (21:39 +0100)]
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.

8 years agoCmake export tests: More tests to be reverted.
Kornel Benko [Mon, 16 Nov 2015 17:47:34 +0000 (18:47 +0100)]
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.

8 years agoChanged wrong setting for origin in LaTeXConfig.lyx at commit b98dd4e
Kornel Benko [Mon, 16 Nov 2015 11:06:42 +0000 (12:06 +0100)]
Changed wrong setting for origin in LaTeXConfig.lyx at commit b98dd4e

8 years agoCmake export tests: Some more corrected exports.
Kornel Benko [Mon, 16 Nov 2015 10:51:54 +0000 (11:51 +0100)]
Cmake export tests: Some more corrected exports.

Thanks to Günter Milde.

8 years agoReplace the translatable latexism 'longtable' with 'multi-page table' in UI.
Kornel Benko [Mon, 16 Nov 2015 09:29:53 +0000 (10:29 +0100)]
Replace the translatable latexism 'longtable' with 'multi-page table' in UI.

8 years agoAssure we use docstring.
Juergen Spitzmueller [Mon, 16 Nov 2015 07:21:53 +0000 (08:21 +0100)]
Assure we use docstring.

Cures another monolithic build error with CMake.

8 years agoRename function that was ambiguous from a monolithic perspective.
Juergen Spitzmueller [Mon, 16 Nov 2015 07:20:54 +0000 (08:20 +0100)]
Rename function that was ambiguous from a monolithic perspective.

Cures one monolithic build issue with CMake.

8 years agoFactor out multiply used ColorSorter.
Juergen Spitzmueller [Mon, 16 Nov 2015 07:19:16 +0000 (08:19 +0100)]
Factor out multiply used ColorSorter.

This cures one problem of monolithic build (where the function was
ambiguous)

8 years agoinstaller: support texindy
Uwe Stöhr [Mon, 16 Nov 2015 03:04:11 +0000 (04:04 +0100)]
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.

8 years agoWe need to show the error message in the case in which we copied the
Richard Heck [Sun, 15 Nov 2015 17:24:37 +0000 (12:24 -0500)]
We need to show the error message in the case in which we copied the
file due to a format change, as well.

8 years agoSimplify use of Buffer::getBackupName().
Richard Heck [Fri, 13 Nov 2015 22:12:52 +0000 (17:12 -0500)]
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.

8 years agoFix sorting
Georg Baum [Sat, 14 Nov 2015 09:25:07 +0000 (10:25 +0100)]
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.

8 years agoAdd experimental mode to save files with LyX
Georg Baum [Sat, 14 Nov 2015 09:14:59 +0000 (10:14 +0100)]
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.

8 years agoRegenerate with LyX conforming whitespace
Georg Baum [Fri, 13 Nov 2015 20:57:51 +0000 (21:57 +0100)]
Regenerate with LyX conforming whitespace

8 years agoReduce whitespace differences to LyX
Georg Baum [Fri, 13 Nov 2015 20:54:00 +0000 (21:54 +0100)]
Reduce whitespace differences to LyX

LyX writes an empty line between \end_layout and \begin_layout, so we should
do so as well.

8 years agoAmend 789745df
Guillaume Munch [Sun, 15 Nov 2015 12:15:02 +0000 (12:15 +0000)]
Amend 789745df

Remove warning. Actually the auxiliary function is not necessary since its
actual contents have been relocated as TexRow::prepend() during dev.

8 years agoUser guide, missing space.
Pavel Sanda [Sun, 15 Nov 2015 02:27:20 +0000 (18:27 -0800)]
User guide, missing space.

8 years agoBack to development
Scott Kostyshak [Sat, 14 Nov 2015 04:05:13 +0000 (23:05 -0500)]
Back to development

8 years agoThis is LyX 2.2.0alpha1 2.2.0alpha1
Scott Kostyshak [Sat, 14 Nov 2015 04:02:34 +0000 (23:02 -0500)]
This is LyX 2.2.0alpha1

8 years agoFix stupid error in cc83dfa887.
Richard Heck [Fri, 13 Nov 2015 22:03:40 +0000 (17:03 -0500)]
Fix stupid error in cc83dfa887.

8 years agoUpdate examples/templates to 2.2.0alpha1 format
Scott Kostyshak [Fri, 13 Nov 2015 18:14:45 +0000 (13:14 -0500)]
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.

8 years agoupdatedocs.py now updates templates and examples
Scott Kostyshak [Fri, 13 Nov 2015 17:59:28 +0000 (12:59 -0500)]
updatedocs.py now updates templates and examples

development/MacOSX/ReadMe files are also updated.

8 years agoUpdate layouts to 2.2.0alpha1 format
Scott Kostyshak [Fri, 13 Nov 2015 18:01:27 +0000 (13:01 -0500)]
Update layouts to 2.2.0alpha1 format

8 years agoamend e17838b1
Guillaume Munch [Fri, 13 Nov 2015 13:37:10 +0000 (13:37 +0000)]
amend e17838b1

8 years agoCorrect some charid values in lib/symbols. Fixes #9823.
Günter Milde [Fri, 13 Nov 2015 13:01:32 +0000 (14:01 +0100)]
Correct some charid values in lib/symbols. Fixes #9823.

8 years agoUpdate comments after solving #9740.
Günter Milde [Fri, 13 Nov 2015 12:59:17 +0000 (13:59 +0100)]
Update comments after solving #9740.

8 years agoRevert "Now math previews are correctly updated when replacing math contents inside"
Scott Kostyshak [Fri, 13 Nov 2015 05:54:15 +0000 (00:54 -0500)]
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 29948eec26ffc90bdfe0b853aa79d30cfa36c08d.

8 years agoRevert "Update previews after doing a find/replace (#7242)"
Scott Kostyshak [Fri, 13 Nov 2015 05:50:39 +0000 (00:50 -0500)]
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 66f527e417de916105680696bd44d7ad91ff60cb.

8 years agostdcontext.inc: improvement according to the list
Uwe Stöhr [Thu, 12 Nov 2015 23:28:29 +0000 (00:28 +0100)]
stdcontext.inc: improvement according to the list

8 years agoCmake export tests: Don't select inputencoding, this is due to 0eb9477 not needed.
Kornel Benko [Thu, 12 Nov 2015 20:42:43 +0000 (21:42 +0100)]
Cmake export tests: Don't select inputencoding, this is due to 0eb9477 not needed.

This sort of reverts 6dd98a8.

8 years agoUpdate sk.po
Kornel Benko [Thu, 12 Nov 2015 20:41:55 +0000 (21:41 +0100)]
Update sk.po

8 years agoCmake export tests: ctest_export/doc/el/Intro_pdf5_systemF now compiles
Kornel Benko [Thu, 12 Nov 2015 20:30:16 +0000 (21:30 +0100)]
Cmake export tests: ctest_export/doc/el/Intro_pdf5_systemF now compiles

8 years agoDocumentation for varwidth.module
Guillaume Munch [Thu, 12 Nov 2015 16:23:08 +0000 (16:23 +0000)]
Documentation for varwidth.module

8 years agoAdd example using the varwidth package
Guillaume Munch [Thu, 12 Nov 2015 15:33:25 +0000 (15:33 +0000)]
Add example using the varwidth package

8 years agoEnsure the Greek Intro.lyx compiles with non-TeX fonts.
Günter Milde [Thu, 12 Nov 2015 16:07:56 +0000 (17:07 +0100)]
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.

8 years agoFix 480937a103708a651/lyxgit, second attempt.
Günter Milde [Thu, 12 Nov 2015 15:55:04 +0000 (16:55 +0100)]
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.

8 years agostdcontext.inc: new context menu for tables
Uwe Stöhr [Thu, 12 Nov 2015 00:21:21 +0000 (01:21 +0100)]
stdcontext.inc: new context menu for tables

see the list for details

8 years agoUserGuide.lyx: change a section name as suggested by a user
Uwe Stöhr [Wed, 11 Nov 2015 23:57:07 +0000 (00:57 +0100)]
UserGuide.lyx: change a section name as suggested by a user

8 years agoRevert "Update previews on preference change (#9507)"
Scott Kostyshak [Wed, 11 Nov 2015 23:06:07 +0000 (18:06 -0500)]
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 390ae05444cf4899a3028dcbbfe1095ecd2d207a.

8 years agoBetter documentation of compressed (bug 9189)
Georg Baum [Wed, 11 Nov 2015 22:03:18 +0000 (23:03 +0100)]
Better documentation of compressed (bug 9189)

The compressed/uncompressed option of LyX files was poorly documented. Now it
is a bit better.

8 years agoFix broken author name (bug 9858)
Georg Baum [Wed, 11 Nov 2015 21:39:55 +0000 (22:39 +0100)]
Fix broken author name (bug 9858)

8 years agoFix \origin lines
Georg Baum [Wed, 11 Nov 2015 21:25:18 +0000 (22:25 +0100)]
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.

8 years agoUpdate documentation to current format
Georg Baum [Wed, 11 Nov 2015 20:56:27 +0000 (21:56 +0100)]
Update documentation to current format

This was done by running development/tools/updatedocs.py and reverting
lib/doc/LFUNs.lyx in order to preserve the special header line.

8 years agoUpdate LFUNs.lyx to current format
Georg Baum [Wed, 11 Nov 2015 20:48:20 +0000 (21:48 +0100)]
Update LFUNs.lyx to current format

gen_lfuns.py does now produce the current file format, and and LFUNs.lyx was
re-created with the updated script.
There is one difference if you compare this version of LFUNs.lyx with the old
version updated by lyx2lyx: All occurences of LyX, TeX etc. in the lfun
descriptions are no longer output as logos. I do consider this as a feature,
since the old version did also output the TeX part of BibTeX as a logo, as well
as places where the names were part of some syntax, e.g. lyx::LyXRC::LyXRCTags.

8 years agoSet \origin correctly when upgrading docs
Georg Baum [Wed, 11 Nov 2015 20:35:12 +0000 (21:35 +0100)]
Set \origin correctly when upgrading docs

lyx2lyx did not yet know about /systemlyxdir/ and set \origin to the path
where my git tree lives instead. This path is not usable except on my machine,
so better write something more usable instead.
This is a special command line switch of lyx2lyx, so it does not interfere
with normal usage. I did not try to deduce the systemlyxdir from lyx2lyx to
be on the safe side.

8 years agoExclude old files in attic
Georg Baum [Wed, 11 Nov 2015 19:50:40 +0000 (20:50 +0100)]
Exclude old files in attic

8 years agoAdd utility to update documentation files
Georg Baum [Wed, 11 Nov 2015 19:41:28 +0000 (20:41 +0100)]
Add utility to update documentation files

updatedocs.py is a small script that updates all documentation files to the
current format.

8 years agoconfigure.py: support OpenDocument as input format
Uwe Stöhr [Wed, 11 Nov 2015 00:59:17 +0000 (01:59 +0100)]
configure.py: support OpenDocument as input format

 - new converter for OpenDocument text -> LaTeX

8 years agoFix bug #9554: When we save a file that was not originally in the current
Richard Heck [Tue, 10 Nov 2015 17:39:24 +0000 (12:39 -0500)]
Fix bug #9554: When we save a file that was not originally in the current
LyX format, create a backup of the original file. We put it in the backup
directory, if one exists, otherwise in the directory the original file is
in. This is the same strategy as for normal backups. Basically, the only
diferences are: (i) what name we use and (ii) we do not over-write any
backups that may already exist.

8 years agoFix 480937a103708a651/lyxgit. See also #9740.
Günter Milde [Tue, 10 Nov 2015 23:10:06 +0000 (00:10 +0100)]
Fix 480937a103708a651/lyxgit. See also #9740.

Actually, the changed tests were used to prevent overwriting the encoding
changed in Buffer::writeLaTeX with a language-default encoding.
This is still required for XeTeX with TeX-fonts unless a proper solution is found.

Documents with more than one encoding and TeX-fonts fail with LuaTeX,
as "luainputenc" can only handle one encoding.

8 years agotheorems-without-preamble.inc: fix a typo
Uwe Stöhr [Tue, 10 Nov 2015 23:08:13 +0000 (00:08 +0100)]
theorems-without-preamble.inc: fix a typo

8 years agoCmake export tests: Try to use language dependent inputencoding.
Kornel Benko [Tue, 10 Nov 2015 18:42:43 +0000 (19:42 +0100)]
Cmake export tests: Try to use language dependent inputencoding.

This enables some more pdf5_texF und dvi3_texF tests to succeed.

8 years agoCmake export tests: Set inputencoding to ascii if test with xetex and tex fonts.
Kornel Benko [Tue, 10 Nov 2015 12:01:49 +0000 (13:01 +0100)]
Cmake export tests: Set inputencoding to ascii if test with xetex and tex fonts.

8 years agoMove tmpdir error message to stderr
Guillaume Munch [Tue, 10 Nov 2015 07:59:24 +0000 (07:59 +0000)]
Move tmpdir error message to stderr

http://thread.gmane.org/gmane.editors.lyx.general/85638/focus=157802

8 years agoFix duplication introduced at cf7f1cb7
Scott Kostyshak [Tue, 10 Nov 2015 01:08:57 +0000 (20:08 -0500)]
Fix duplication introduced at cf7f1cb7

Thanks to Georg for catching this.

8 years agothesis files: update file format
Uwe Stöhr [Tue, 10 Nov 2015 00:28:09 +0000 (01:28 +0100)]
thesis files: update file format

- as addendum to the previous commit

8 years agothesis template: disable the automatic usage of \autoref
Uwe Stöhr [Tue, 10 Nov 2015 00:23:33 +0000 (01:23 +0100)]
thesis template: disable the automatic usage of \autoref

- fixes bug #8569

8 years agoDevelopment.lyx: remove unused preamble code and modules
Uwe Stöhr [Mon, 9 Nov 2015 23:39:54 +0000 (00:39 +0100)]
Development.lyx: remove unused preamble code and modules

8 years agoFix regression of 2fc430d5ae
Georg Baum [Mon, 9 Nov 2015 19:06:36 +0000 (20:06 +0100)]
Fix regression of 2fc430d5ae

Thanks Kornel for noticing

8 years agoReset encoding after insets and environments also for LuaTeX with TeX fonts.
Günter Milde [Mon, 9 Nov 2015 10:45:01 +0000 (11:45 +0100)]
Reset encoding after insets and environments also for LuaTeX with TeX fonts.

With inputenc == "auto" or "default", the encoding changes with
the language and must be reset after an eventual language switch in insets
or environments (see #6216).

However, whether we need to do this does not depend on 8-bit TeX vs. LuaTeX
but on the possible use of more than one encoding for the document.
With "nonTeXFonts", the encoding is utf8,
LuaTeX with TeX fonts requires encoding handling similar to 8-bit TeX.

(Additionally, the value of "params.inputenc" could be tested: if it is
not "auto" or "default", we have just one common encoding and could skip
the reset as well.) Not sure how much time this saves, though.

8 years agoCmake export tests: Adapt the test machinery to the commit 2fc430d.
Kornel Benko [Mon, 9 Nov 2015 11:20:57 +0000 (12:20 +0100)]
Cmake export tests: Adapt the test machinery to the commit 2fc430d.

Handle this this new sets of font selections properly.

8 years agoStore both sets of font selections
Georg Baum [Mon, 9 Nov 2015 06:33:57 +0000 (07:33 +0100)]
Store both sets of font selections

This is one part of bug 9744: If you toggle between TeX fonts and non-TeX
fonts, the settings of the other choice are no longer thrown away, but stored
and re-activated if you switch back. Most parts of the patch are purely
mechanical (duplicating some BufferParams members), the only non-mechanical
change is in the GUI logic.

8 years agosplash.lyx: correct a menu name and update file format
Uwe Stöhr [Mon, 9 Nov 2015 01:00:31 +0000 (02:00 +0100)]
splash.lyx: correct a menu name and update file format

8 years agoImprove fix to 57615915.
Jean-Marc Lasgouttes [Sun, 8 Nov 2015 20:52:45 +0000 (21:52 +0100)]
Improve fix to 57615915.

Reset pointer to 0 as Georg suggested in #9804.

8 years agoUpdate the formats of lyxrc.dist.in to 19
Scott Kostyshak [Sun, 8 Nov 2015 01:10:39 +0000 (20:10 -0500)]
Update the formats of lyxrc.dist.in to 19

In the end, no changes were needed. This was decided by prefs2prefs
for MacOSX and cygwin and by manual inspection for Win32.

8 years agoAdd the format line for Mac's lyxrc.dist.in
Scott Kostyshak [Sun, 8 Nov 2015 00:55:57 +0000 (19:55 -0500)]
Add the format line for Mac's lyxrc.dist.in

The file was updated to format 14 in fc22ba16 but the format line
was missing. A missing format line is interpreted as format 0, I
believe, which could lead to incorrect conversion to later formats.

8 years agoCopy caveats from RELEASE-NOTES to UPGRADING
Scott Kostyshak [Sat, 7 Nov 2015 06:49:02 +0000 (01:49 -0500)]
Copy caveats from RELEASE-NOTES to UPGRADING

8 years agoRELEASE-NOTES: move an item to different category
Scott Kostyshak [Sat, 7 Nov 2015 06:48:52 +0000 (01:48 -0500)]
RELEASE-NOTES: move an item to different category

Also expand a little to mention that users might need to specify
babel if their document has custom code that is specific to babel.

8 years agoprefs2prefs: document removing print support
Scott Kostyshak [Sat, 7 Nov 2015 06:48:47 +0000 (01:48 -0500)]
prefs2prefs: document removing print support

8 years agoFix a Makfile.am typo preventing "make lyxdist"
Scott Kostyshak [Sat, 7 Nov 2015 06:48:43 +0000 (01:48 -0500)]
Fix a Makfile.am typo preventing "make lyxdist"

Thanks to Vincent.

8 years agoNEWS: add what's new in LyX 2.2
Scott Kostyshak [Sat, 7 Nov 2015 06:48:36 +0000 (01:48 -0500)]
NEWS: add what's new in LyX 2.2

8 years agoNEWS: Update from the 2.1.x branch
Scott Kostyshak [Sat, 7 Nov 2015 06:48:32 +0000 (01:48 -0500)]
NEWS: Update from the 2.1.x branch

8 years agoUpdate ANNOUNCE for LyX2.2.0alpha1
Scott Kostyshak [Sat, 7 Nov 2015 06:48:20 +0000 (01:48 -0500)]
Update ANNOUNCE for LyX2.2.0alpha1

8 years agoANNOUNCE: give new path to RELEASE-NOTES
Scott Kostyshak [Sat, 7 Nov 2015 06:48:01 +0000 (01:48 -0500)]
ANNOUNCE: give new path to RELEASE-NOTES

Also a couple of whitespace tweaks.

8 years agoMove LFUN_CHANGES_TRACK and LFUN_CHANGES_OUTPUT to Buffer.cpp,
Richard Heck [Thu, 5 Nov 2015 21:42:30 +0000 (16:42 -0500)]
Move LFUN_CHANGES_TRACK and LFUN_CHANGES_OUTPUT to Buffer.cpp,
and record an undo call. This deals with the problem of marking
the Buffer dirty, as well.

Move LFUN_BUFFER_TOGGLE_COMPRESSION and LFUN_BUFFER_TOGGLE_OUTPUT_SYNC
to Buffer.cpp, and add an undo call.

8 years agoThe cite engine info is needed by makeDocumentClass().
Richard Heck [Fri, 6 Nov 2015 20:51:13 +0000 (15:51 -0500)]
The cite engine info is needed by makeDocumentClass().

Fixes both #9797 and #9848.

8 years agoBe careful about accounting for the right margin
Jean-Marc Lasgouttes [Fri, 6 Nov 2015 13:28:05 +0000 (14:28 +0100)]
Be careful about accounting for the right margin

In computeRowMetrics, the right margin of the row shall be taken in account when the text is not left-aligned. Rewrite the code in terms of the available width `w' to avoid this pitfall.

8 years agoDecrease and unify indentation of beamer frame content.
Juergen Spitzmueller [Fri, 6 Nov 2015 07:34:00 +0000 (08:34 +0100)]
Decrease and unify indentation of beamer frame content.

8 years agoMake shortcuts for master-buffer-X fall back to buffer-X.
Richard Heck [Thu, 5 Nov 2015 17:08:52 +0000 (12:08 -0500)]
Make shortcuts for master-buffer-X fall back to buffer-X.

Fixes #9842.

8 years agoCmake export tests: Enable test hu/Tutorial_pdf5_systemF
Kornel Benko [Thu, 5 Nov 2015 10:27:32 +0000 (11:27 +0100)]
Cmake export tests: Enable test hu/Tutorial_pdf5_systemF

8 years agoFix encoding-setting of child document with LuaTeX and TeX-fonts
Günter Milde [Thu, 5 Nov 2015 09:52:22 +0000 (10:52 +0100)]
Fix encoding-setting of child document with LuaTeX and TeX-fonts

8 years agoAvoid using pointer after it has been invalidated
Jean-Marc Lasgouttes [Tue, 3 Nov 2015 14:20:09 +0000 (15:20 +0100)]
Avoid using pointer after it has been invalidated

The pointer macroInset points to a vector element. When another element is inserted in this vector, some reallocation occur and the pointer points to a deleted element.

This does not crash LyX by default, but it is bad enough to make valgrind cry.

See ticket #9804.

8 years agoTry to avoid horizontal scrolling with wide insets.
Jean-Marc Lasgouttes [Tue, 3 Nov 2015 09:01:05 +0000 (10:01 +0100)]
Try to avoid horizontal scrolling with wide insets.

There was a problem with end of paragraph markers. By design, wide insets choose their size without taking in account the marker. This should not lead to unneeded horizontal scrolling.

Part of ticket #9807.

8 years agoCorrect reason for the failure of the math manual export with luatex.
Günter Milde [Thu, 5 Nov 2015 08:45:04 +0000 (09:45 +0100)]
Correct reason for the failure of the math manual export with luatex.

8 years agoEmbeddedObjects.lyx: describe Reflectbox and friends
Uwe Stöhr [Wed, 4 Nov 2015 23:53:35 +0000 (00:53 +0100)]
EmbeddedObjects.lyx: describe Reflectbox and friends

8 years agoRemove unused declarations
Georg Baum [Wed, 4 Nov 2015 20:40:18 +0000 (21:40 +0100)]
Remove unused declarations

8 years agoCmake tests: Expand for some more suspended testcases
Kornel Benko [Wed, 4 Nov 2015 19:53:53 +0000 (20:53 +0100)]
Cmake tests: Expand for some more suspended testcases

All dvi_texF and pdf5_texF testcases are nov candidates for being suspended.
After commit 279d084, now export/.*/Math_(dvi3|pdf5)_texF fails,
therefore the tests are also inverted.

8 years agoUpdate Development.lyx to include 'suspended' cmake tests.
Kornel Benko [Wed, 4 Nov 2015 12:06:14 +0000 (13:06 +0100)]
Update Development.lyx to include 'suspended' cmake tests.

8 years agoupdate sk.po
Kornel Benko [Wed, 4 Nov 2015 11:25:49 +0000 (12:25 +0100)]
update sk.po

8 years agoAllow quotes in PDF text properties
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 15:23:28 +0000 (16:23 +0100)]
Allow quotes in PDF text properties

PDF properties (Author, Title...) need to be quoted properly when writing (normal operation and tex2lyx). Also, reading them requires to use Lexer::getString() directly, because >> uses next(), which does not handle escapes.

Fixes bug #9830.

8 years agoCmake tests: Removed tests from revertedTests.
Kornel Benko [Wed, 4 Nov 2015 11:11:29 +0000 (12:11 +0100)]
Cmake tests: Removed tests from revertedTests.

Due to commit f739c98, some pdf4_texF are now OK

8 years agoCmake tests: Add 'suspendedTests'
Kornel Benko [Wed, 4 Nov 2015 10:44:07 +0000 (11:44 +0100)]
Cmake tests: Add 'suspendedTests'

This file holds regular expression to select which of the inverted
export test cases will be suspended.
These tests will not be executed with the call 'ctest -L export'.

8 years agoFix some XeTeX + TeX-fonts regressions introduced by fixing #9740.
Günter Milde [Wed, 4 Nov 2015 10:21:22 +0000 (11:21 +0100)]
Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740.

hyperref expects LICR macros for non-ASCII chars in the PDF Header Information.
As hyperref provides good coverage for \inputencoding{utf8}, we try
this if the current input encoding does not support a character.

With XeTeX, we do not load inputenc and cannot use \inputencoding.
However, utf-8 works out of the box so we can write the content in UTF8.