]> git.lyx.org Git - lyx.git/log
lyx.git
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.

8 years agolyx_2_2.py: add a safe guard
Uwe Stöhr [Wed, 4 Nov 2015 01:18:28 +0000 (02:18 +0100)]
lyx_2_2.py: add a safe guard

8 years agolyx_2_2.py: fix the conversion of colored boxes
Uwe Stöhr [Wed, 4 Nov 2015 00:36:39 +0000 (01:36 +0100)]
lyx_2_2.py: fix the conversion of colored boxes

8 years agolyx2lyx/lyx_2_2.py: remove unused code
Uwe Stöhr [Wed, 4 Nov 2015 00:22:03 +0000 (01:22 +0100)]
lyx2lyx/lyx_2_2.py: remove unused code

8 years agoachemso.layout: add a flex inset
Uwe Stöhr [Wed, 4 Nov 2015 00:18:13 +0000 (01:18 +0100)]
achemso.layout: add a flex inset

- this one is in achemso since version 3.8

- fileformat change

8 years agoDevelopment.lyx: describe how to update the tex2lyx references on Windows
Uwe Stöhr [Wed, 4 Nov 2015 00:15:52 +0000 (01:15 +0100)]
Development.lyx: describe how to update the tex2lyx references on Windows

8 years agoFix bug ##9627: Make the document name available to preview insets
Enrico Forestieri [Tue, 3 Nov 2015 23:36:41 +0000 (00:36 +0100)]
Fix bug ##9627: Make the document name available to preview insets

The \jobname macro is redefined for the preview snippets such that
it contains the name of the document without extension. This is
harmless because the moment it is redefined, TeX has already chosen
the name of the output and log files. On the other hand, any use
of \jobname in preview snippets is now consistent with what one
obtains after exporting and compiling by hand.

8 years agoEmbeddedObjects.lyx: describe rotate boxes properly
Uwe Stöhr [Tue, 3 Nov 2015 23:13:45 +0000 (00:13 +0100)]
EmbeddedObjects.lyx: describe rotate boxes properly

- We have now a module for them
(the description of scaled boxes etc will follow soon)

8 years agoFix bugs #2645 (export BIBINPUTS) and #6634 (Better support for external files in...
Enrico Forestieri [Tue, 3 Nov 2015 22:28:36 +0000 (23:28 +0100)]
Fix bugs #2645 (export BIBINPUTS) and #6634 (Better support for external files in ERT)

Other than BIBINPUTS, also BSTINPUTS and TEXFONTS are exported.
They do not replicate the setting for TEXINPUTS but are set such
that the current dir (i.e., the temp dir) and the document dir
are also searched for bibtex and fonts related files.

8 years agoFix shortcut conflict
Georg Baum [Tue, 3 Nov 2015 21:02:06 +0000 (22:02 +0100)]
Fix shortcut conflict

This was introduced by d56980da954. Thanks Günter for noticing.

8 years agoAmend f441590c
Guillaume Munch [Tue, 3 Nov 2015 15:27:25 +0000 (15:27 +0000)]
Amend f441590c

8 years agoFixme for the partial patch for #9740 (XeTeX with TeX fonts),
Günter Milde [Tue, 3 Nov 2015 11:28:01 +0000 (12:28 +0100)]
Fixme for the partial patch for #9740 (XeTeX with TeX fonts),

8 years agoCapitalization
Guillaume Munch [Tue, 3 Nov 2015 03:51:49 +0000 (03:51 +0000)]
Capitalization

8 years agoAdd "Open Containing Directory" button to the log dialog (#9211, #9834)
Guillaume Munch [Mon, 2 Nov 2015 18:19:40 +0000 (18:19 +0000)]
Add "Open Containing Directory" button to the log dialog (#9211, #9834)

It takes the place of the "Copy to Clipboard" button which was redundant.

8 years agoUpdate it.po
Enrico Forestieri [Tue, 3 Nov 2015 00:25:01 +0000 (01:25 +0100)]
Update it.po

8 years agoMath.lyx: replace tables by formal ones - final part 7/7
Uwe Stöhr [Mon, 2 Nov 2015 23:23:41 +0000 (00:23 +0100)]
Math.lyx: replace tables by formal ones - final part 7/7

8 years agoFix bug #7657: Detect inkscape from the configure script
Enrico Forestieri [Mon, 2 Nov 2015 22:46:14 +0000 (23:46 +0100)]
Fix bug #7657: Detect inkscape from the configure script

On Windows, if inkscape is not found in the PATH, search for it
in the registry and store its full path in lyxrc.defaults.

8 years agoMath.lyx: replace tables by formal ones - part 6
Uwe Stöhr [Mon, 2 Nov 2015 22:43:42 +0000 (23:43 +0100)]
Math.lyx: replace tables by formal ones - part 6

8 years agoCmake tests: macro setmarkedtestlabel() worked only by chance
Kornel Benko [Mon, 2 Nov 2015 20:44:38 +0000 (21:44 +0100)]
Cmake tests: macro setmarkedtestlabel() worked only by chance

We have to check the content of the variable.

8 years agoPut logos in submenu as discussed on the list
Georg Baum [Mon, 2 Nov 2015 19:52:21 +0000 (20:52 +0100)]
Put logos in submenu as discussed on the list

8 years agoFix compilation with clang++ 3.6.2.
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 15:13:38 +0000 (16:13 +0100)]
Fix compilation with clang++ 3.6.2.

8 years agoDisable warning for deprecated functions in autoconf builds
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 14:45:27 +0000 (15:45 +0100)]
Disable warning for deprecated functions in autoconf builds

This gets rid in particular of warnings on auto_ptr. This flag should be removed when 2.3 development start and we switch to unique_ptr.

8 years agoDisable setting vertical lines when using a formal table
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 15:48:29 +0000 (16:48 +0100)]
Disable setting vertical lines when using a formal table

The code in InsetTabular disables the toolbar icons and menu entries related to vertical lines.

The code in GuiTabular disables vertical lines in the Settings dialog.
Note that there was a bug in
GuiSetBorders::set(Left|Right|Top|Bottom)Enabled, where the borders
did not get drawn correctly.

Fixes bug #9816

8 years agoSet current font correctly after inset-select-all
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 13:35:50 +0000 (14:35 +0100)]
Set current font correctly after inset-select-all

Since we modify directly the cursor, it is wise to make sure that the current font is updated.

Fixes bug #9719.

8 years agoFix algorithm that computes horizontal scroll offset
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 15:11:01 +0000 (16:11 +0100)]
Fix algorithm that computes horizontal scroll offset

Rewrite the logic completely:
* fix cases where the offset was reset unnecessarily
* fix cases where the row was scrolled too much: as soon as a side of the row is completely visible, there is no need to scroll more.
* fix cases where offset would never reset

8 years agoFix wrong reset of horizontal scolling of current row
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 10:37:50 +0000 (11:37 +0100)]
Fix wrong reset of horizontal scolling of current row

This partially reverts commit 0f1fdaaa9, but only redraws the current
row when the value returns by getPos is obviously false. It would also
be possible to check whether the current cursor has all its insets in
cache instead.

A better fix should be found, but this is unfortunately not 2.2 stuff.

Fixes bugs #9796 and #9812.

8 years agoUpdate it.po
Enrico Forestieri [Mon, 2 Nov 2015 02:37:21 +0000 (03:37 +0100)]
Update it.po

8 years agoAdd Georg's idea for lyx2lyx tests to TestsToDo
Scott Kostyshak [Mon, 2 Nov 2015 01:01:46 +0000 (20:01 -0500)]
Add Georg's idea for lyx2lyx tests to TestsToDo

These tests would be like the tex2lyx tests we have and would have
the clear advantage of not depending on LyX.

8 years agoModule for the changebar package
Guillaume Munch [Sun, 1 Nov 2015 22:30:38 +0000 (22:30 +0000)]
Module for the changebar package

Author: Paul A. Rubin (rubin@msu.edu), based on code proposed by Juergen
Spitzmueller (http://comments.gmane.org/gmane.editors.lyx.general/66666).

http://mid.gmane.org/562ACBC5.8030102@msu.edu