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

6 years agoamend 71fea633266
Juergen Spitzmueller [Sat, 10 Feb 2018 18:02:35 +0000 (19:02 +0100)]
amend 71fea633266

(cherry picked from commit be4d49ebd107cb4b91844a555302a6052457c483)

6 years agoDisable CheckTeX while buffer is processed
Juergen Spitzmueller [Sat, 10 Feb 2018 17:18:43 +0000 (18:18 +0100)]
Disable CheckTeX while buffer is processed

Since CheckTeX itself processes the tex file, a synchronous run with
a TeX process can lead to all sorts of conflicts, including crashes.

Fixes: #7434.
(cherry picked from commit 71fea6332667e1a9fe99c38624e4dcaf1129d6c5)

6 years agoDisable BUFFER_EXPORT and BUFFER_EXPORT_AS while buffer is processed
Juergen Spitzmueller [Sun, 11 Feb 2018 08:50:38 +0000 (09:50 +0100)]
Disable BUFFER_EXPORT and BUFFER_EXPORT_AS while buffer is processed

I am rather irritated we didn't do this already, since synchronous runs
with BUFFER_VIEW or BUFFER_UPDATE leads to all sorts of problems,
including crashes.

Fixes the crash in #8338 (but not the bug itself).

(cherry picked from commit 1437ae3f9cf78ffd5c639cb4e70a0b1fba9f600e)

6 years agoFix sideset hints, part of bug #11015.
Pavel Sanda [Sat, 3 Feb 2018 16:51:00 +0000 (17:51 +0100)]
Fix sideset hints, part of bug #11015.

6 years agoRe-add method to get a temporary file name without persistent QTemporaryFile object
Juergen Spitzmueller [Thu, 8 Feb 2018 10:31:23 +0000 (11:31 +0100)]
Re-add method to get a temporary file name without persistent QTemporaryFile object

This is needed for cases where the temp file has to be manually removed
at some point (e.g., if temp files are used as conversion target, and
the initial file only serves as a placeholder), since QTemporaryFile
objects cannot be manually removed at least on Windows (they are always
kept open internally even after close()). See
​http://lists.qt-project.org/pipermail/interest/2013-August/008352.html

In order to avoid race conditions due to duplicate names (the issue why
the old method was removed), we record all used temp file names.

Fixes: #9139
(cherry picked from commit 9e2928be68992161a54287d153e1e9431e30bb4c)

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

6 years agotex2lyx: complete minted support (inputminted)
Juergen Spitzmueller [Sat, 17 Mar 2018 15:44:09 +0000 (16:44 +0100)]
tex2lyx: complete minted support (inputminted)

Also fix some whitespace issues in minted inset import.

(cherry picked from commit f3c5bcd2be4edc37dec4c78422f31e07b322b298)

6 years agotex2lyx: add support for lstinputlisting
Juergen Spitzmueller [Sat, 10 Mar 2018 14:40:51 +0000 (15:40 +0100)]
tex2lyx: add support for lstinputlisting

(cherry picked from commit d325f79f5c782edcfa32e87579fb102763d8d29b)

6 years agoUpdate status
Juergen Spitzmueller [Sat, 17 Mar 2018 13:36:56 +0000 (14:36 +0100)]
Update status

6 years agotex2lyx: add beamer test file
Juergen Spitzmueller [Sat, 17 Mar 2018 12:20:48 +0000 (13:20 +0100)]
tex2lyx: add beamer test file

(cherry picked from commit 63b67fee8329840f0fbbd75b8ec9321ba1243555)

6 years agotex2lyx: do not eat empty paragraphs if keepempty is true
Juergen Spitzmueller [Sat, 17 Mar 2018 11:19:50 +0000 (12:19 +0100)]
tex2lyx: do not eat empty paragraphs if keepempty is true

Fixes: #11078
(cherry picked from commit 79728dcde975fc5968d0ef9e6b56df57023acd88)

6 years agotex2lyx: handle makebeamertitle
Juergen Spitzmueller [Sat, 17 Mar 2018 11:39:13 +0000 (12:39 +0100)]
tex2lyx: handle makebeamertitle

(cherry picked from commit d93076c1284de96b12cb583edfee2654de928a61)

6 years agotex2lyx: clear latexparam after use.
Juergen Spitzmueller [Sat, 17 Mar 2018 11:38:53 +0000 (12:38 +0100)]
tex2lyx: clear latexparam after use.

(cherry picked from commit 7e3a41bd15e993bf738134c6dc601f482d036894)

6 years agotex2lyx: add support for LaTeXParam
Juergen Spitzmueller [Fri, 16 Mar 2018 11:56:17 +0000 (12:56 +0100)]
tex2lyx: add support for LaTeXParam

Part of #11068

(cherry picked from commit 506ae2d2ea1e646461841c57edd3f79c97d671c2)

6 years agotex2lyx: support for beamer text styles with overlays
Juergen Spitzmueller [Wed, 14 Mar 2018 13:38:18 +0000 (14:38 +0100)]
tex2lyx: support for beamer text styles with overlays

E.g. things like \textbf<article>{foo} have to be imported as insets.

Part of #11068

(cherry picked from commit c74e3999812dfdff3cb6d20ef460dfca1f17c879)

6 years agotex2lyx: More work on beamer support
Juergen Spitzmueller [Wed, 14 Mar 2018 07:40:47 +0000 (08:40 +0100)]
tex2lyx: More work on beamer support

* Implement list item overlay support (\item<arg>)
* Implement itemcommand support (e.g., \overprint<arg>)
* Fix general list argument placement

Part of: #11068

(cherry picked from commit e51265b5f3c7765ad185303ac147792c7599386f)

6 years agotex2lyx: towards beamer overlay argument support.
Juergen Spitzmueller [Mon, 12 Mar 2018 13:50:19 +0000 (14:50 +0100)]
tex2lyx: towards beamer overlay argument support.

Implemented: Overlay and standard overlay arguments for commands
and environments.

Still missing:
* List item overlay
* itemcommand overlay (\overprint)
* overlay via LatexParam (e.g., Flex:ArticleMode)

Needs fixing:
* General list argument (\begin{itemize}[arg])
* nested content in a frame with no title (empty par)

(cherry picked from commit 949de66956309ea787b86d69a00b72d154b4d4db)

6 years agoPaint \dot & \ddot more like a dot
Pavel Sanda [Mon, 12 Mar 2018 12:40:52 +0000 (13:40 +0100)]
Paint \dot & \ddot more like a dot

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg204183.html

6 years agoFix known_escaped_chars
Juergen Spitzmueller [Tue, 13 Mar 2018 16:39:40 +0000 (17:39 +0100)]
Fix known_escaped_chars

(this includes the amend)

6 years agoupdate tex2lyx tests
Juergen Spitzmueller [Mon, 12 Mar 2018 08:35:39 +0000 (09:35 +0100)]
update tex2lyx tests

6 years agotex2lyx: update quote handling
Juergen Spitzmueller [Sun, 11 Mar 2018 17:04:23 +0000 (18:04 +0100)]
tex2lyx: update quote handling

* Consider new quote styles
* Consider changed quote styles
* Try to be a bit smarter with ambiguous quotation marks

(cherry picked from commit 8184f08f4af6efea6d1499e3f8c8d3c20ebb1b97)

6 years agotex2lyx: support tipa \t*{} macro.
Juergen Spitzmueller [Sun, 11 Mar 2018 10:46:37 +0000 (11:46 +0100)]
tex2lyx: support tipa \t*{} macro.

(cherry picked from commit cc6f2dae8219b40cd8602f70110926296403a0f7)

6 years agoupdate tex2lyx tests once more.
Juergen Spitzmueller [Sun, 11 Mar 2018 18:56:04 +0000 (19:56 +0100)]
update tex2lyx tests once more.

6 years agoamend 11e4a24e6edbd1f
Juergen Spitzmueller [Sun, 11 Mar 2018 18:49:28 +0000 (19:49 +0100)]
amend 11e4a24e6edbd1f

(cherry picked from commit 386d9953e83a35dcc3b0f173faa92d9e9fc16f0f)

6 years agoupdate tex2lyx tests.
Juergen Spitzmueller [Sun, 11 Mar 2018 18:31:19 +0000 (19:31 +0100)]
update tex2lyx tests.

6 years agoStatus updates.
Juergen Spitzmueller [Sun, 11 Mar 2018 17:33:45 +0000 (18:33 +0100)]
Status updates.

6 years agotex2lyx: make nested CJK parsing slightly less dumb.
Juergen Spitzmueller [Sat, 10 Mar 2018 13:58:55 +0000 (14:58 +0100)]
tex2lyx: make nested CJK parsing slightly less dumb.

Fixes: #9562
(cherry picked from commit 0f4c9027056a6f4f771382e9ebfc7940274bf5c0)

6 years agotex2lyx: honor grouping in optional arguments.
Juergen Spitzmueller [Fri, 9 Mar 2018 12:14:13 +0000 (13:14 +0100)]
tex2lyx: honor grouping in optional arguments.

E.g., \cite[{a literal ] character}]{key}

(cherry picked from commit cba38881d6b9fa3ff5dd0ebe50239fc384309082)

6 years agoFix copy and paste error in 6659304f7f8b
Juergen Spitzmueller [Fri, 9 Mar 2018 11:29:07 +0000 (12:29 +0100)]
Fix copy and paste error in 6659304f7f8b

(cherry picked from commit 0513622fd0ce600cbf283f6afdbde9841d46a546)

6 years agotex2lyx: towards proper support of "literal"/"latexified" inset commands
Juergen Spitzmueller [Thu, 8 Mar 2018 14:00:33 +0000 (15:00 +0100)]
tex2lyx: towards proper support of "literal"/"latexified" inset commands

We now report whether the attempt to recode the macros to glyphs
succeeded. If yes, we set "literate" to false, if not to true.

Also, do not attempt to recode for non-latexifying fields.

Fixes: #9563
(cherry picked from commit 6659304f7f8b57f12a1bf453a11ea359c83a7d14)

6 years agotex2lyx: support for URW Classico, MinionPro and the new Libertine fonts.
Juergen Spitzmueller [Sun, 11 Mar 2018 10:12:42 +0000 (11:12 +0100)]
tex2lyx: support for URW Classico, MinionPro and the new Libertine fonts.

(cherry picked from commit a3836d990926dfd8e7e35b266274c372c72206ce)

6 years agotex2lyx: get rid of another large if-else if chain.
Juergen Spitzmueller [Sat, 10 Mar 2018 14:00:30 +0000 (15:00 +0100)]
tex2lyx: get rid of another large if-else if chain.

(cherry picked from commit 11e4a24e6edbd1f69b60a194b31ac2d7c4dd5034)