]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agoInitialize toolbarsMovable_
Scott Kostyshak [Fri, 27 Apr 2018 21:41:26 +0000 (17:41 -0400)]
Initialize toolbarsMovable_

Valgrind detected a conditional jump because this member was not
initialized.

(cherry picked from commit e49a10729e2b96202d0eaca1e63edc9212c7258c)

6 years agoFix bug #11127.
Richard Kimberly Heck [Sat, 28 Apr 2018 00:13:07 +0000 (20:13 -0400)]
Fix bug #11127.

This also fixes an accidental commit of "NeedCProtect".

(cherry picked from commit 9f79ab99ed43026cd1dbdd707ec07e9a83bd95c2)

6 years agoRework caret display code
Jean-Marc Lasgouttes [Wed, 18 Apr 2018 08:10:08 +0000 (10:10 +0200)]
Rework caret display code

The new code is much simpler: what it does is, after redrawing has
been done, to mark the cursor row as changed, so that it will be
repainted on next paint event.

This avoids some crashes at the price of possibly repainting the row
when it was not necessary.

(cherry picked from commit 2f1eb35b868aaa5adb83ff358c2468551e25685e)

6 years agoUpdate cursor position after committing IM string
Jean-Marc Lasgouttes [Wed, 18 Apr 2018 15:39:43 +0000 (17:39 +0200)]
Update cursor position after committing IM string

(cherry picked from commit 01fea56eb67eafa88680a913eeb72e023e1afa71)

6 years agoUpdate sk.po
Kornel Benko [Thu, 26 Apr 2018 05:32:44 +0000 (07:32 +0200)]
Update sk.po

6 years agoRestore implicit word selection for inset insertion.
Richard Kimberly Heck [Thu, 26 Apr 2018 01:48:25 +0000 (21:48 -0400)]
Restore implicit word selection for inset insertion.

Modifies 0662ffb9.

(cherry picked from commit aa2f409d871d36dc0e1c038aba900d06963d3459)

6 years agoImprove error message a bit more.
Richard Kimberly Heck [Wed, 25 Apr 2018 22:43:49 +0000 (18:43 -0400)]
Improve error message a bit more.

Sorry to Kornel, who had already updated sk.po!

(cherry picked from commit 821e10154739aa23191998b88a4bb7d9e0390628)

6 years agoDon't sort the bibfiles cache.
Richard Kimberly Heck [Wed, 25 Apr 2018 17:40:37 +0000 (13:40 -0400)]
Don't sort the bibfiles cache.

This causes problems with biblatex. Instead, we sort the old and
new lists and then compare them.

(cherry picked from commit 6b095e2b7107110bec593edd02bbdcf25adae76a)

6 years agoImprove error message.
Richard Kimberly Heck [Wed, 25 Apr 2018 15:52:21 +0000 (11:52 -0400)]
Improve error message.

(cherry picked from commit 04f71516841ff8108c9d5d9d7b8ab2bfa6952f31)

6 years agoRedo metrics after cancelling macro mode
Jean-Marc Lasgouttes [Tue, 24 Apr 2018 12:03:35 +0000 (14:03 +0200)]
Redo metrics after cancelling macro mode

When the cursor is inside a subscript that may become empty, metrics
issues can happen. This patch fixes the issue, although it is not
clear to see what the problem is.

Still, requesting a metrics update also in the case where the macro
mode is canceled makes sense.

Fixes bug #11125.

(cherry picked from commit 68ec34e60343a5dec9f32d60c79a2c0825b62d12)

6 years agoAdd slightly improved error message.
Richard Kimberly Heck [Tue, 24 Apr 2018 00:35:39 +0000 (20:35 -0400)]
Add slightly improved error message.

6 years agoUpdate ANNOUNCE a bit.
Richard Kimberly Heck [Mon, 23 Apr 2018 19:08:59 +0000 (15:08 -0400)]
Update ANNOUNCE a bit.

6 years agoAdd bindings for inset-settings.
Richard Kimberly Heck [Mon, 23 Apr 2018 03:56:17 +0000 (23:56 -0400)]
Add bindings for inset-settings.

Fixes #7762.

(cherry picked from commit 8da025014dda1ff2d3cc1409778d5df68d06bf1a)

6 years agoFix #8338.
Richard Heck [Thu, 19 Apr 2018 03:03:24 +0000 (23:03 -0400)]
Fix #8338.

The idea here is to force commands to be run syncrhonously when
they are launched via "command-sequence" or "repeat". We do this
by using a new flag in FuncRequest.

(cherry picked from commit 2477493cf5641c9e6ccb4c1b52548a0e9b104ea0)

6 years agoFix for #10624.
Richard Heck [Sun, 16 Apr 2017 02:47:11 +0000 (22:47 -0400)]
Fix for #10624.

If we're in the first paragraph after a division (section, etc),
use the prefix for it.

(cherry picked from commit dd2efe8d0d1fb7070c4fa0cbcb52f15a48bec33b)

6 years agoFix #6344.
Richard Heck [Sat, 25 Jun 2016 05:39:59 +0000 (01:39 -0400)]
Fix #6344.

For some reason, special code was added for LFUN_INDEX_INSERT
when it was not actually needed. So just delete it.

(cherry picked from commit 83356ab9fed1b6ab24d129486ab8e3c7dfd6ea4a)

6 years agoReset counters before we re-run updateBuffer when the bibfiles change.
Richard Heck [Fri, 20 Apr 2018 02:12:44 +0000 (22:12 -0400)]
Reset counters before we re-run updateBuffer when the bibfiles change.

Fixes a bug reported by Pavel here:
  https://marc.info/?l=lyx-devel&m=152407889727665&w=2

(cherry picked from commit 64acc06b919e08001cb8ff8d5b69e0902176fe35)

6 years agoFix bug #11118.
Richard Heck [Thu, 19 Apr 2018 04:09:41 +0000 (00:09 -0400)]
Fix bug #11118.

Adds LFUN_MASTER_BUFFER_EXPORT.

(cherry picked from commit c4c7053d1d1cfc0b430b6565448e5b9fcacc60be)

6 years agoAdd support for rotated longtabulars (via [pdf]lscape)
Juergen Spitzmueller [Wed, 18 Apr 2018 11:22:29 +0000 (13:22 +0200)]
Add support for rotated longtabulars (via [pdf]lscape)

Fixes: #9194
See #9194 for why we use an earlier file format change here.

(cherry picked from commit feab528fd1555065592284603d8443b71f534a7a)

6 years agoReorder status.
Richard Heck [Tue, 17 Apr 2018 03:29:07 +0000 (23:29 -0400)]
Reorder status.

6 years agoFix bug #11084.
Richard Kimberly Heck [Thu, 22 Mar 2018 03:08:12 +0000 (23:08 -0400)]
Fix bug #11084.

Allow unicode-insert to accept a sequence of codepoints.

(cherry picked from commits 83b1ac3bf7d502d0, and a714f6cb)

6 years agoFix bug #9847.
Richard Heck [Wed, 18 Oct 2017 16:26:35 +0000 (12:26 -0400)]
Fix bug #9847.

Spaces are, amazingly, allowed at the end of bibliography keys. So we
introduce a new parameter allowing getVectorFromString not to trim
whitespace, and then use it.

For some reason, this seems not actually to have been backported
to 2.3.x.

6 years agoAccount for Qt 5.10
Enrico Forestieri [Fri, 5 Jan 2018 18:27:24 +0000 (19:27 +0100)]
Account for Qt 5.10

Fix regular sed expression in order to catch a second digit in the
Qt minor version number.

(cherry picked from commit 6253cc4c51e4e36125c33a8c427e27493435ddc8)

6 years agoUpdate sk.po
Kornel Benko [Sun, 15 Apr 2018 16:58:30 +0000 (18:58 +0200)]
Update sk.po

6 years agoTypo
Juergen Spitzmueller [Sun, 15 Apr 2018 16:25:31 +0000 (18:25 +0200)]
Typo

Fixes: #11113
(cherry picked from commit c97bc5f83ae43e3fa79fe348369c3d4b0848525b)

6 years agode.po
Juergen Spitzmueller [Sun, 15 Apr 2018 09:50:23 +0000 (11:50 +0200)]
de.po

6 years agoFix bug #11055.
Richard Heck [Mon, 29 Jan 2018 04:33:45 +0000 (23:33 -0500)]
Fix bug #11055.

See also https://marc.info/?l=lyx-devel&m=151709211602688&w=2.

(cherry picked from commit d3ee87eea282ca6e8f0a78bc6a0e27b4f0942624)

6 years agoPrevent that a full source preview of a child clears the master's bibfiles cache.
Juergen Spitzmueller [Tue, 27 Mar 2018 12:29:25 +0000 (14:29 +0200)]
Prevent that a full source preview of a child clears the master's bibfiles cache.

See #9158

(cherry picked from commit a9a7f384885541bdd4ddb21ad19cec71369355de)

6 years agoamend cfce0ac0
Juergen Spitzmueller [Thu, 22 Mar 2018 22:37:19 +0000 (23:37 +0100)]
amend cfce0ac0

(cherry picked from commit 6415d986ba32373d3c3915ec77473dfa2e2b7ad3)

6 years agoUse separate BibInfo for child
Juergen Spitzmueller [Thu, 22 Mar 2018 14:52:23 +0000 (15:52 +0100)]
Use separate BibInfo for child

This is used when the file is compiled standalone

Fixes: #11083
(cherry picked from commit 1c623ffe8f2e34e38248709935ca5fa475d2e05a)

6 years agoAttempt to fix bug 9158 using updateBuffer.
Richard Heck [Sun, 5 Nov 2017 01:23:25 +0000 (21:23 -0400)]
Attempt to fix bug 9158 using updateBuffer.

Along the lines suggested by JMarc, we now collect the list of bibfiles
in use in the updateBuffer routines. This actually does simplify the code
quite a bit. See the discussion there for reasons to go this way.

(cherry picked from commit 8b9d1b860187338e06e10261b391886d50423239)

6 years agoConsider sub-subfiles on log file parsing.
Juergen Spitzmueller [Sat, 14 Apr 2018 12:33:21 +0000 (14:33 +0200)]
Consider sub-subfiles on log file parsing.

These are listed as (subfile.ext (sub-subfile.ext))

Fixes: #11112
(cherry picked from commit 1e1800a21aac99bb6e6044e1c1e11e3f88d198dd)

6 years agoClean up status.23x
Richard Heck [Sun, 15 Apr 2018 04:01:11 +0000 (00:01 -0400)]
Clean up status.23x

6 years agoMerge branch '2.3.2-staging' into 2.3.x
Richard Heck [Sun, 15 Apr 2018 03:52:31 +0000 (23:52 -0400)]
Merge branch '2.3.2-staging' into 2.3.x

6 years agoFix bugs #10897 and #10912.
Richard Heck [Thu, 22 Feb 2018 05:55:10 +0000 (00:55 -0500)]
Fix bugs #10897 and #10912.

6 years agoDo not show master's errors if compiling child
Scott Kostyshak [Sat, 7 Apr 2018 21:11:33 +0000 (17:11 -0400)]
Do not show master's errors if compiling child

If a master document is compiled and has errors, and then a child is
compiled without error, the errors from the master compilation were
shown.

The setup of the relevant code is the following:

  processingThreadFinished() calls errors().  errors() makes the
  assumption that if it is called, there must have been an error
  somewhere.

The logic of the setup is the following:

  processingThreadFinished() knows whether there was an error on
  the most recent preview/export, although it doesn't know whether
  the error is from master or child (i.e. does not know whether the
  user was compiling the child, or whether master-buffer-view was
  called).  Inside error(), if there is no error in the child, it is
  assumed the error is from master.

For the above logic to work, errors() should only be called if there
was an error.

This commit fixes #11106 and preserves the fix to #7330.

(cherry picked from commit 8d2b121ef506804fe2c894a61cd4232e87254847)

6 years agoFix invalid octal number
Jean-Marc Lasgouttes [Thu, 12 Apr 2018 08:48:50 +0000 (10:48 +0200)]
Fix invalid octal number

(cherry picked from commit 6cffd468e0b6421643007dc9086bc499c6d7cdad)

6 years agoSupport new hunspell C++ ABI if LyX is built against hunspell >= 1.5 2.3.2-staging
Juergen Spitzmueller [Sat, 14 Apr 2018 08:35:59 +0000 (10:35 +0200)]
Support new hunspell C++ ABI if LyX is built against hunspell >= 1.5

Fixes: #10547
6 years agoChanged Settings->Local Layout to FixedWidth & Nowrap
Joel A. Kulesza [Thu, 25 Jan 2018 06:09:46 +0000 (23:09 -0700)]
Changed Settings->Local Layout to FixedWidth & Nowrap

This change is made in response to Ticket 10992.

The change made is consistent with those captured in Ticket 9966.

(cherry picked from commit 869e2fe9b9e5a6966665e1d82da0555ed03a2b5e)

6 years agoLoad hyperref with a suitable driver
Juergen Spitzmueller [Sun, 8 Apr 2018 17:02:01 +0000 (19:02 +0200)]
Load hyperref with a suitable driver

This is mandatory for some features (such as bookmarks,pdfusetitle)
to work, and only a handful of drivers can be auto-detected by hyperref.

Fixes: #6418
(cherry picked from commit 33bfbf89c4267ed8e37fad1681adce4cd5dfddf4)

6 years agoSet correct path to (biblatex) bibliography databases that are entered relative to...
Juergen Spitzmueller [Sat, 7 Apr 2018 20:09:06 +0000 (22:09 +0200)]
Set correct path to (biblatex) bibliography databases that are entered relative to child documents.

Fixes: #11105
(cherry picked from commit 2ecc3b09c6a9c663bec87356b2ec512f37676c5c)

6 years agotex2lyx: parse \xymatrix
Uwe Stöhr [Fri, 9 Mar 2018 03:53:33 +0000 (04:53 +0100)]
tex2lyx: parse \xymatrix

LyX's \xymatrix support relies on math therefore put it into math and parse its content

fixes bug #10638

(cherry picked from commit 1174279967c4ee369d9de1438f18b7e5c748b127)

6 years agoDo not use \tablefootnote in minipages
Juergen Spitzmueller [Wed, 4 Apr 2018 08:53:40 +0000 (10:53 +0200)]
Do not use \tablefootnote in minipages

Minipages provide their own working \footnote's

Should also go to 2.3.x.

(cherry picked from commit 37404df686dc42c5eb88fbd51103016e175cad09)

6 years agoFix bug #11102.
Richard Heck [Tue, 3 Apr 2018 22:38:46 +0000 (18:38 -0400)]
Fix bug #11102.

Ignore deleted material when generating a proposed label.

(cherry picked from commit d9ebf6e2c75eca0f192fef0b7d822644e3b62e64)

6 years agoUpstreaming compilation patch needed for Gentoo.
Pavel Sanda [Mon, 2 Apr 2018 13:39:56 +0000 (15:39 +0200)]
Upstreaming compilation patch needed for Gentoo.

6 years agoStatus for last two commits.
Richard Heck [Mon, 2 Apr 2018 02:19:55 +0000 (22:19 -0400)]
Status for last two commits.

6 years agoSet preamble tab stop to 4 chars.
Richard Heck [Mon, 2 Apr 2018 02:18:37 +0000 (22:18 -0400)]
Set preamble tab stop to 4 chars.

6 years agoFix bug 11099.
Richard Heck [Mon, 2 Apr 2018 02:18:04 +0000 (22:18 -0400)]
Fix bug 11099.

Adds simple search/find functionality to preamble.

6 years ago#11094 add status entry for backported fix
Stephan Witt [Sat, 31 Mar 2018 10:00:33 +0000 (12:00 +0200)]
#11094 add status entry for backported fix

6 years agoAdd description comment for the lyxconvert utility
Stephan Witt [Mon, 9 Oct 2017 06:06:17 +0000 (08:06 +0200)]
Add description comment for the lyxconvert utility

6 years agoAdd license and author infos
Stephan Witt [Thu, 5 Oct 2017 22:59:02 +0000 (00:59 +0200)]
Add license and author infos

6 years agoAdd missing check for Qt version when using QPdfWriter class
Stephan Witt [Tue, 3 Oct 2017 20:49:23 +0000 (22:49 +0200)]
Add missing check for Qt version when using QPdfWriter class

6 years agoOpen ExternalInset dialog on first tab for new insets
Juergen Spitzmueller [Sun, 18 Mar 2018 17:30:48 +0000 (18:30 +0100)]
Open ExternalInset dialog on first tab for new insets

Fixes: #11081
(cherry picked from commit 126e0c3dac5a6b223d609a7bfa29295f19992987)

6 years agoHandle comments in options
Juergen Spitzmueller [Thu, 22 Feb 2018 10:24:43 +0000 (11:24 +0100)]
Handle comments in options

Things like
pdfpagemode=UseOutlines%None,UseOutlines,UseThumbs,FullScreen

was not imported correctly (the comment was not stripped)

Fixes the rest of #5737

(cherry picked from commit 820ec38da7ce04ec95b1a8e1e2d1aa9b7d0762fb)

6 years agoWhitespace only.
Richard Kimberly Heck [Wed, 28 Mar 2018 19:46:39 +0000 (15:46 -0400)]
Whitespace only.

6 years ago Force babel as language package to avoid errors with non-TeX fonts
jpc [Wed, 28 Mar 2018 09:10:01 +0000 (11:10 +0200)]
 Force babel as language package to avoid errors with non-TeX fonts

6 years agotypo
Juergen Spitzmueller [Mon, 26 Mar 2018 16:35:09 +0000 (18:35 +0200)]
typo

6 years agoFix use of default biblio_style
Juergen Spitzmueller [Mon, 26 Mar 2018 13:50:35 +0000 (15:50 +0200)]
Fix use of default biblio_style

Fixes: #11088
6 years agoadd status entry
Juergen Spitzmueller [Mon, 26 Mar 2018 11:48:40 +0000 (13:48 +0200)]
add status entry

6 years agoamend 1c623ffe8f2e34e
Juergen Spitzmueller [Thu, 22 Mar 2018 22:37:19 +0000 (23:37 +0100)]
amend 1c623ffe8f2e34e

(cherry picked from commit 6415d986ba32373d3c3915ec77473dfa2e2b7ad3)

6 years agoUse separate BibInfo for child
Juergen Spitzmueller [Thu, 22 Mar 2018 14:52:23 +0000 (15:52 +0100)]
Use separate BibInfo for child

This is used when the file is compiled standalone

Fixes: #11083
(cherry picked from commit 1c623ffe8f2e34e38248709935ca5fa475d2e05a)

6 years agoMake it possible to select (not)native file dialogs at run time
Jean-Marc Lasgouttes [Tue, 30 Jan 2018 13:32:53 +0000 (14:32 +0100)]
Make it possible to select (not)native file dialogs at run time

Add a new LyXRC variable use_native_filedialog (true by default) that
allows to select the kind of FileDialog we want at runtime.

(cherry picked from commit af795b80d8512926261e2457bc5f2e0ac017bec4)

6 years agoFix problem with conversion of stmary10.lyx.
Richard Kimberly Heck [Mon, 19 Mar 2018 22:42:46 +0000 (18:42 -0400)]
Fix problem with conversion of stmary10.lyx.

6 years agoSome improvements to the graphics dialog
Juergen Spitzmueller [Fri, 13 Oct 2017 09:25:55 +0000 (11:25 +0200)]
Some improvements to the graphics dialog

* Describe the viewport/bb situation more accurate
* Use generic term "coordinates", since bb and viewport are flavor-specific
* Add some tooltips
* Increase the width of the options widget.

(cherry picked from commit c462fadff57373744e27ac38df04bac2c651b67c)

6 years agoChange lookup order for enchant-2 vs. enchant (prefer the former)
Juergen Spitzmueller [Mon, 19 Mar 2018 08:56:53 +0000 (09:56 +0100)]
Change lookup order for enchant-2 vs. enchant (prefer the former)

(cherry picked from commit 1ae537c5437d0f1abbf877e40a09ad59385f621b)

6 years agocheck for enchant-2
Juergen Spitzmueller [Mon, 19 Mar 2018 08:03:35 +0000 (09:03 +0100)]
check for enchant-2

Fixes rest of #10986

(cherry picked from commit 71977769ec5168eda6f49697b570bbd1dd6991d8)

6 years agoAdd support for enchant 2.x
Jean-Marc Lasgouttes [Wed, 24 Jan 2018 15:19:34 +0000 (16:19 +0100)]
Add support for enchant 2.x

As of enchant 2.x, it is required to create a Broker instance instead
of relying on a static one provided by the library.

Add autoconf and cmake (courtesy of Kornel) tests that check whether
one can indeed instantiate a Broker object, and act on the result in a
new broker() helper function.

Fixes bug #10986.

(cherry picked from commit 63a4e82874fddcec00a1733c14ad4525d155f19f)

6 years agoFix default spellchecker when only Enchant is available
Jean-Marc Lasgouttes [Mon, 19 Mar 2018 13:07:03 +0000 (14:07 +0100)]
Fix default spellchecker when only Enchant is available

This has been annoying me for ages.

(cherry picked from commit ae473b012a9c7605919f3f3bfad35710cab29566)

6 years agoUpdate to accept automake 1.16
Joel A. Kulesza [Sun, 18 Mar 2018 23:43:25 +0000 (17:43 -0600)]
Update to accept automake 1.16

(cherry picked from commit 61db4af82dfd8c24bb3099160274bf6c6d4e7cce)

6 years agoProperly fix math packages table in Document Settings
Juergen Spitzmueller [Sun, 18 Mar 2018 11:11:26 +0000 (12:11 +0100)]
Properly fix math packages table in Document Settings

Fixes: #10777
(cherry picked from commit 3face5e119e27bf297bbaf647e8941bc6babd0c3)

6 years agoGuiDocument.cpp: change back alignment for column with package names
Uwe Stöhr [Sun, 5 Nov 2017 12:39:09 +0000 (13:39 +0100)]
GuiDocument.cpp: change back alignment for column with package names

- as discussed in bug #10777 the first column should be left-aligned

(cherry picked from commit 56670d73224e3bc2b80943b789fa2364d00a552d)

6 years agoGuiDocument.cpp: fix bug 10777
Uwe Stöhr [Thu, 2 Nov 2017 21:25:26 +0000 (22:25 +0100)]
GuiDocument.cpp: fix bug 10777

- the column width must be as wide as the column header text
- also center the radiobuttons in the table
- also use alternating colors for the table rows

(cherry picked from commit a69f1a9e161c87cc58e1a2dcec1e174136190b89)

6 years agoUpdate contributor.
Richard Heck [Sun, 18 Mar 2018 15:34:05 +0000 (11:34 -0400)]
Update contributor.

6 years agoSet branch tag, per Jürgen's suggestion.
Richard Heck [Sun, 18 Mar 2018 15:18:54 +0000 (11:18 -0400)]
Set branch tag, per Jürgen's suggestion.

6 years agofi.po: correct authorship
Juergen Spitzmueller [Sun, 18 Mar 2018 09:17:24 +0000 (10:17 +0100)]
fi.po: correct authorship

6 years agoMerge branch '2.3.x' of git.lyx.org:lyx into 2.3.x
Juergen Spitzmueller [Sun, 18 Mar 2018 09:00:21 +0000 (10:00 +0100)]
Merge branch '2.3.x' of git.lyx.org:lyx into 2.3.x

6 years agoru.po: update from Yuriy
Juergen Spitzmueller [Sun, 18 Mar 2018 08:59:48 +0000 (09:59 +0100)]
ru.po: update from Yuriy

6 years ago Update fr.po
jpc [Sun, 18 Mar 2018 08:55:53 +0000 (09:55 +0100)]
   Update fr.po

6 years agode.po
Juergen Spitzmueller [Sun, 18 Mar 2018 07:36:28 +0000 (08:36 +0100)]
de.po

6 years agoUpdate sk.po
Kornel Benko [Sat, 17 Mar 2018 20:24:38 +0000 (21:24 +0100)]
Update sk.po

6 years agoRemerge strings.
Richard Heck [Sat, 17 Mar 2018 19:55:19 +0000 (15:55 -0400)]
Remerge strings.

6 years agoReset buffer language only if we have something to reset.
Juergen Spitzmueller [Fri, 9 Mar 2018 11:15:19 +0000 (12:15 +0100)]
Reset buffer language only if we have something to reset.

Fixes: #11063
(cherry picked from commit 599b1222f7da0222cd1802af69abefb81145f566)

6 years agosyntax.default: add missing *
Juergen Spitzmueller [Fri, 9 Mar 2018 13:47:04 +0000 (14:47 +0100)]
syntax.default: add missing *

Fixes: #10501
(cherry picked from commit 23766fdd592b95ecfc33cb66e08976654de33182)

6 years agotex2lyx: handle whitespace in table column declaration.
Juergen Spitzmueller [Fri, 9 Mar 2018 13:18:03 +0000 (14:18 +0100)]
tex2lyx: handle whitespace in table column declaration.

Fixes: #10804
(cherry picked from commit 247e1a223d917f81b5a2cc5ef3621c3e7fa9de92)

6 years agoAmend 4ec133e1aeea8
Juergen Spitzmueller [Tue, 6 Mar 2018 18:54:24 +0000 (19:54 +0100)]
Amend 4ec133e1aeea8

Didn't see this test is already there.

6 years agoBraces need to be escaped as well on LATEXIFY
Juergen Spitzmueller [Tue, 6 Mar 2018 17:17:01 +0000 (18:17 +0100)]
Braces need to be escaped as well on LATEXIFY

part of #9563

6 years agoFix the implementation of new libertine package
Juergen Spitzmueller [Fri, 2 Mar 2018 11:17:33 +0000 (12:17 +0100)]
Fix the implementation of new libertine package

Needs to go to 2.3.1-staging

(cherry picked from commit 905516fd706a90148a458f9936c565cbe5fcfcff)

6 years agoDo not force singlebyte encoding for listings with XeTeX/LuaTeX.
Juergen Spitzmueller [Mon, 5 Mar 2018 14:39:27 +0000 (15:39 +0100)]
Do not force singlebyte encoding for listings with XeTeX/LuaTeX.

Fixes: #11056
(cherry picked from commit cbf2a329c94fcd531dbee41d64cf199a3ee6bb4b)

6 years agostatus.23x: mention the updated po files in 2.3.x branch
Uwe Stöhr [Sat, 3 Mar 2018 11:46:04 +0000 (12:46 +0100)]
status.23x: mention the updated po files in 2.3.x branch

- also sync an entry with status.22x

6 years agoSimplify code a bit.
Richard Heck [Sat, 3 Mar 2018 04:12:11 +0000 (23:12 -0500)]
Simplify code a bit.

6 years agoUse pythonic syntax, as suggested by José.
Richard Heck [Sat, 3 Mar 2018 04:02:26 +0000 (23:02 -0500)]
Use pythonic syntax, as suggested by José.

(cherry picked from commit cec9edd34b9a43beadefd55d1755209e1acff191)

6 years agotex2lyx: do not force default bibliography style if none is set
Juergen Spitzmueller [Fri, 23 Feb 2018 06:43:19 +0000 (07:43 +0100)]
tex2lyx: do not force default bibliography style if none is set

Some classes provide a \bibliographystyle, so we must not output any
\bibliographystyle if none is set in the TeX file.

Fixes: #10673
(cherry picked from commit ed331bedd6f7c412cbcf552c58da5d7b62846339)

6 years agoFix list of viewable formats in view/update menu.
Juergen Spitzmueller [Wed, 21 Feb 2018 09:17:10 +0000 (10:17 +0100)]
Fix list of viewable formats in view/update menu.

Also fix list in (currently unused) Export toolbar button.

Fixes: #11044
(cherry picked from commit ab6bd5e3190e61fa46eb2fd057cdf7f71faf3f38)

6 years agoKill macro mode when using LFUN_ESCAPE
Jean-Marc Lasgouttes [Tue, 20 Feb 2018 11:09:10 +0000 (12:09 +0100)]
Kill macro mode when using LFUN_ESCAPE

Add a `cancel' boolean to macroModeClose() that just removes all trace
of what has been entered instead of finalizing it.

When entering a macro in mathed, let LFUN_ESCAPE invoke
macroModeClose(true). The new semantics of LFUN_ESCAPE in mathed is
thus to abort the input of a macro name.

Fixes bug #9251.

(cherry picked from commit 9296344b9a26191a2092d175a51e357ecc35145d)

6 years agoescape label in included listings
Juergen Spitzmueller [Mon, 19 Feb 2018 16:15:31 +0000 (17:15 +0100)]
escape label in included listings

Also use docstring rather than string.

Fixes part of #10544

(cherry picked from commit 0bf88651229bddc34b9856c7fa025245aa4246b8)

6 years agoAdapt to new ChkTeX return values.
Juergen Spitzmueller [Sat, 17 Feb 2018 10:25:28 +0000 (11:25 +0100)]
Adapt to new ChkTeX return values.

As of v. 1.7.7, chktex has four exit values. Only consider the program
failed with EXIT_FAILURE (1). This is backwards compatible to chktex
up to v. 1.7.5 and later patched versions included in TeXLive, where
there was the distinction EXIT_FAILURE (program failed) and EXIT_SUCCESS
(program successfully run, with or without something to report).

Note that ChkTeX v. 1.7.5 and 1.7.6 vanilla (as included in MikTeX) also
returned EXITE_FAILURE if ChkTeX found something to report.

We do not, and never did, support this case.

Fixes: #9989 (after ChkTeX 1.7.7. is released).
(cherry picked from commit 0d806799aaef65b12a9b75e8c49c2613c68d5ac2)

6 years agoDo not use English, but the context language, when pasting from math
Juergen Spitzmueller [Tue, 6 Feb 2018 13:10:12 +0000 (14:10 +0100)]
Do not use English, but the context language, when pasting from math

Fixes: #2596
(cherry picked from commit 92990adc236b19277a80c82ffa0580f5d1555bb0)

6 years agoupdate status
Juergen Spitzmueller [Fri, 16 Feb 2018 17:12:47 +0000 (18:12 +0100)]
update status

6 years agoStatus file for 2.3.1
Richard Heck [Fri, 16 Feb 2018 17:02:57 +0000 (12:02 -0500)]
Status file for 2.3.1

6 years agoDo not use English, but the context language, when pasting from LaTeX
Juergen Spitzmueller [Tue, 6 Feb 2018 12:20:45 +0000 (13:20 +0100)]
Do not use English, but the context language, when pasting from LaTeX

Fixes: #9199
(cherry picked from commit e85704020ba613594a38e6f016ca7905c8f84c94)