]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agoFix bug #11180
Enrico Forestieri [Sun, 24 Jun 2018 18:06:40 +0000 (20:06 +0200)]
Fix bug #11180

When a raster image with an advertised pixel density different
from 72 dpi is included in a latex file, the output image dimensions
are scaled by the ratio 72/pixel_density. Hence, if a clipping
bounding box is specified, it has to be scaled by the same ratio,
otherwise the images will be clipped differently on screen and output.
Here we use the extractbb command (present in any TeX distribution)
to ask about the output dimensions of the image as dictated by the
pixel density and compute the scaling ratio by the knowledge of the
actual dimensions. If, for whatever reason, extractbb is not found,
everything goes as before, because the clipping bounding box will
simply not be corrected.

(cherry picked from commit 380f34a11485c41d812695dc4279b24a5ed5cc07)

5 years agoDo not step equation numbers in deleted equations.
Richard Kimberly Heck [Thu, 3 May 2018 04:05:21 +0000 (00:05 -0400)]
Do not step equation numbers in deleted equations.

(cherry picked from commit df5805917be108b0cce8b502f7b6906f59b0e2ea)

5 years agoDo not step counters in deleted material.
Richard Kimberly Heck [Thu, 3 May 2018 03:56:41 +0000 (23:56 -0400)]
Do not step counters in deleted material.

Also, display the counter as "#" if the inset is deleted.

(cherry picked from commit 200064e9a40f5ecfe6b7e5b361d31be3eba5ce92)

5 years agoFix bug 11070.
Richard Heck [Sat, 7 Apr 2018 01:31:11 +0000 (21:31 -0400)]
Fix bug 11070.

Allows plural, caps, no prefix to be set via context menu.

(cherry picked from commit 35afcfb6dd4fe9519cb132c55714c73be981b275)

5 years agoupdate LFUNs.lyx
Pavel Sanda [Wed, 3 Oct 2018 21:27:25 +0000 (23:27 +0200)]
update LFUNs.lyx

5 years ago* cs.po
Pavel Sanda [Wed, 3 Oct 2018 21:21:57 +0000 (23:21 +0200)]
* cs.po

5 years agoUpdate sk.po
Kornel Benko [Wed, 3 Oct 2018 08:06:22 +0000 (10:06 +0200)]
Update sk.po

5 years agoUpdate it.po
Enrico Forestieri [Tue, 2 Oct 2018 19:36:01 +0000 (21:36 +0200)]
Update it.po

5 years ago* cs.po
Pavel Sanda [Tue, 2 Oct 2018 14:59:33 +0000 (16:59 +0200)]
* cs.po

5 years agode.po
Juergen Spitzmueller [Tue, 2 Oct 2018 06:26:10 +0000 (08:26 +0200)]
de.po

5 years agoDo not store empty posttext for qualified citations
Juergen Spitzmueller [Tue, 25 Sep 2018 11:13:56 +0000 (13:13 +0200)]
Do not store empty posttext for qualified citations

Fixes: #11308
(cherry picked from commit 90b13452037dba56b16f8fb55cce36aebc226804)

5 years agoAdd bibtex inset to outliner if "add to toc" is checked.
Juergen Spitzmueller [Tue, 25 Sep 2018 13:24:46 +0000 (15:24 +0200)]
Add bibtex inset to outliner if "add to toc" is checked.

Fixes #11309

(cherry picked from commit a89e3c344bdafd2922321e434c2384020318ed2e)

5 years agoAmend cab46ff9d1ea3
Juergen Spitzmueller [Sat, 29 Sep 2018 08:27:20 +0000 (10:27 +0200)]
Amend cab46ff9d1ea3

(cherry picked from commit f973855bdea94f0c6edf8eace7548a440f005902)

5 years agoGuiCitation: Add some tooltips for the sake of keyboard users
Juergen Spitzmueller [Sat, 29 Sep 2018 07:18:26 +0000 (09:18 +0200)]
GuiCitation: Add some tooltips for the sake of keyboard users

Addresses #11317

(cherry picked from commit cab46ff9d1ea3bd801050eb4834f2e16a8ad3152)

5 years agoFix mingw build script so as not to use version number for exectuables.
Richard Kimberly Heck [Sat, 29 Sep 2018 21:44:25 +0000 (17:44 -0400)]
Fix mingw build script so as not to use version number for exectuables.

(cherry picked from commit 72367d94ad334ca54d9f37c325e185095178da3c)

5 years agoTry to make Windows use a versioned directory for the user dir.
Richard Kimberly Heck [Sat, 29 Sep 2018 21:26:14 +0000 (17:26 -0400)]
Try to make Windows use a versioned directory for the user dir.

(cherry picked from commit 802fd7932b713ee80bf384facd45f45a5ac22de4)
(cherry picked from commit 4478451ea164a4de891b1d26ad3b1c04ad770337)

5 years agoRevert "Check for old "LyX 2.3" user directory when configuring."
Richard Kimberly Heck [Sat, 29 Sep 2018 21:29:27 +0000 (17:29 -0400)]
Revert "Check for old "LyX 2.3" user directory when configuring."

Actually, we DO use versioned directories on Windows.

This reverts commit b738aa53d13780a4e271459d72171700cba304fa.

5 years agoAdd missing status entries for Mac build fixes
Stephan Witt [Sat, 29 Sep 2018 11:48:31 +0000 (13:48 +0200)]
Add missing status entries for Mac build fixes

5 years agoUpdate LyX packaging script.
Richard Kimberly Heck [Sat, 29 Sep 2018 02:17:15 +0000 (22:17 -0400)]
Update LyX packaging script.

5 years agoCheck for old "LyX 2.3" user directory when configuring.
Richard Kimberly Heck [Sat, 29 Sep 2018 01:42:49 +0000 (21:42 -0400)]
Check for old "LyX 2.3" user directory when configuring.

This is due to the bad packaging in the early 2.3.x installers. We
normally do not use version suffixes on Windows, but did.

5 years agoWindows packaging updates.
Richard Kimberly Heck [Sat, 29 Sep 2018 01:50:25 +0000 (21:50 -0400)]
Windows packaging updates.

The main change here is that we need to delete LyX2.3.exe and
tex2lyx2.3.exe from the install directory, so they are not left
there (from previous, versioned installs).

5 years agoUse LTR environment for forceLTR content with polyglossia
Juergen Spitzmueller [Fri, 28 Sep 2018 06:36:44 +0000 (08:36 +0200)]
Use LTR environment for forceLTR content with polyglossia

Fixes: #10548
(cherry picked from commit 10c06f67c936d8a259b03f00084fd4969f17582b)

5 years agoStatus for last commit.
Richard Kimberly Heck [Fri, 28 Sep 2018 02:14:44 +0000 (22:14 -0400)]
Status for last commit.

5 years agoAllow 'module in child not used in master' warning to be disabled.
Richard Kimberly Heck [Fri, 28 Sep 2018 01:56:29 +0000 (21:56 -0400)]
Allow 'module in child not used in master' warning to be disabled.

(cherry picked from commit 92ccf0a1a20e73a1ecf8d335ad2a2ef90ec9a89b)

5 years agoFix bug #11210
Enrico Forestieri [Thu, 27 Sep 2018 19:32:24 +0000 (21:32 +0200)]
Fix bug #11210

On Windows, start viewers in detached processes in order to avoid
a crash of the QProcess destructor when their thread terminates.
The opening of a console window is avoided by redirecting to the
null device all standard I/O channels.

5 years agoNo suffixes for binaries now.
Richard Kimberly Heck [Thu, 27 Sep 2018 18:53:05 +0000 (14:53 -0400)]
No suffixes for binaries now.

5 years agoFix build script for Windows: No suffixes.
Richard Kimberly Heck [Thu, 27 Sep 2018 18:53:41 +0000 (14:53 -0400)]
Fix build script for Windows: No suffixes.

5 years agoAmend 2d4ac90fd20eac once more
Juergen Spitzmueller [Mon, 10 Sep 2018 10:29:22 +0000 (12:29 +0200)]
Amend 2d4ac90fd20eac once more

Only use local switch in RTL environment.

(cherry picked from commit e158d661b924102acb87a3c92f800a463fdca408)

5 years agoAmend 2d4ac90fd20eac
Juergen Spitzmueller [Sat, 8 Sep 2018 10:50:42 +0000 (12:50 +0200)]
Amend 2d4ac90fd20eac

Properly close local language switch.

(cherry picked from commit 11163359772db1ca80dccde5087f55686b9da76d)

5 years agoFix text direction problem with polyglossia
Juergen Spitzmueller [Fri, 24 Aug 2018 13:02:26 +0000 (15:02 +0200)]
Fix text direction problem with polyglossia

If an RTL language is set via environment in polyglossia, only a nested
\\text<lang> command will reset the direction for LTR languages

Fixes rest of # 10111.

(cherry picked from commit 2d4ac90fd20eac5a32b2d71e7de1d2c92ee2429e)

5 years agoCheck exit state of install_name_tool calls.
Stephan Witt [Fri, 21 Sep 2018 19:47:29 +0000 (21:47 +0200)]
Check exit state of install_name_tool calls.

(cherry picked from commit 28b84f5ddc42d2b4ec973b0abd4f8f3608952c61)

5 years agoAdd -headerpad_max_install_names option to linker calls and make run path configurati...
Stephan Witt [Fri, 21 Sep 2018 19:46:47 +0000 (21:46 +0200)]
Add -headerpad_max_install_names option to linker calls and make run path configuration consistent.

This avoids failures when running install_name_tool on Mac when creating relocatable binaries using the bundled private frameworks.

(cherry picked from commit d9c0807227a9bdff2d28a80181d0e7ec5532ba1e)

5 years agoAvoid crash with cursor down in math
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 20:15:12 +0000 (22:15 +0200)]
Avoid crash with cursor down in math

This can happen when the inset that contains the cursor is outside of
the screen.

THis is only a workaround. The real solution would be a
processUpdateFlags(FitCursor) call, but the code is not ready for that
yet.

Fixes bug #11296.

(cherry picked from commit 17576fb83b5a560fb8a1c59ca7051dcb2b165c05)

5 years agoIgnore horizontal wheel scrolling in workarea
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 21:21:41 +0000 (23:21 +0200)]
Ignore horizontal wheel scrolling in workarea

We do not know what to do with horizontal scrolling events, so we ignore them.

Note that the code has to be different between Qt4 and Qt5.

Fixes bug #11257.

(cherry picked from commit 2cfbc5ecf6e26da0ca3f61372e5373d1ef4f7ab7)

5 years agoAvoid space before completion in mathed
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 21:51:21 +0000 (23:51 +0200)]
Avoid space before completion in mathed

This can happen if the current element has space after it (e.g. before
a relation).

Fixes bug #11283.

(cherry picked from commit 1b5ccecd65a795ba4ff21aa5733fa18866fefd1c)

5 years agoPaint underline for insets too.
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 09:31:23 +0000 (11:31 +0200)]
Paint underline for insets too.

Fixes bug 11297.

(cherry picked from commit 328ff9df3a4ac217a0424743575a0c7c293361ea)

5 years agoAvoid infinite loop
Juergen Spitzmueller [Wed, 19 Sep 2018 08:19:19 +0000 (10:19 +0200)]
Avoid infinite loop

Fixes: #11295
(cherry picked from commit 92bfa07a6205e6e2aae486510c148582e11d6017)

5 years agoUpdate layout format information in the docs.
Juergen Spitzmueller [Thu, 20 Sep 2018 11:01:48 +0000 (13:01 +0200)]
Update layout format information in the docs.

Based on a patch by Andrew Parsloe.

5 years agoHandle branches with space in their name
Jean-Marc Lasgouttes [Fri, 7 Sep 2018 13:49:21 +0000 (15:49 +0200)]
Handle branches with space in their name

1/ Handle space in color name in set-color (with quoting)

2/ read properly branch inset which name has a space

Fixes bug #11108.

(cherry picked from commit 819cf53c2254f17e9bb6c6b971904451cfaaae6d)

5 years agoFix copy-paste error.
Juergen Spitzmueller [Sun, 16 Sep 2018 08:34:01 +0000 (10:34 +0200)]
Fix copy-paste error.

(cherry picked from commit 305d449a47bf54d4f8ec594b0d1a2b5cf070c30b)

5 years agoForgot this
Jean-Marc Lasgouttes [Tue, 18 Sep 2018 21:14:19 +0000 (23:14 +0200)]
Forgot this

5 years agoImprove DEPM
Jean-Marc Lasgouttes [Sun, 22 Jul 2018 20:13:44 +0000 (22:13 +0200)]
Improve DEPM

Now any sequence of spaces around old cursor will be removed, even at
start or end of paragraph. Sequences of more than 2 characters are
also taken into account.

The version of DEPM which acts on a sequence of paragraphs is also
rewritten to match the local one.

(cherry picked from commit 20976e81fb25899ee8d3ec5ed941fda6b453f59f)
(cherry picked from commit c54fe6c5840afdbbac5e242db724fb0bf6bc084f)

5 years agoDo not remove character at start of paragraph when cutting
Jean-Marc Lasgouttes [Sun, 22 Jul 2018 20:18:50 +0000 (22:18 +0200)]
Do not remove character at start of paragraph when cutting

The part of code that removed space at start of paragraph have been
there forever, but its intent is unclear. For example, cutting text at
the end of a paragraph will lead to remove space at the start of this
same paragraph.

The removal of this functionality is offset by a rewrite of DEPM that
makes it more thorough.

Fixes bug #10503.

(cherry picked from commit e4dba53232bc71d5a577466e7fb4a3251944d9d8)

5 years agoneedauth is not needed for Sweave>LyX
Jean-Marc Lasgouttes [Wed, 12 Sep 2018 13:14:56 +0000 (15:14 +0200)]
needauth is not needed for Sweave>LyX

Indeed this relies on tex2lyx and does not run R scripts.

The same holds for Knitr>LyX

(cherry picked from commit 23dbacb636c2ac616967669ec038ab0d5c8b9dd3)

5 years agopt_BR.po: update by Georger.
Juergen Spitzmueller [Sun, 16 Sep 2018 07:50:02 +0000 (09:50 +0200)]
pt_BR.po: update by Georger.

5 years agozh_CN.po: update by Winfred
Juergen Spitzmueller [Sat, 15 Sep 2018 14:24:25 +0000 (16:24 +0200)]
zh_CN.po: update by Winfred

5 years agoUse a unicode character for menu separator on screen
Jean-Marc Lasgouttes [Thu, 19 Jul 2018 21:05:00 +0000 (23:05 +0200)]
Use a unicode character for menu separator on screen

Additionally, use a left pointing character in a RtL setting.

(cherry picked from commit 76512a7569dfc00cfb858a1405c0f64aea19f4ef)

5 years agotex2lyx: support for plural and capitalized refstyle
Juergen Spitzmueller [Sun, 26 Aug 2018 07:48:23 +0000 (09:48 +0200)]
tex2lyx: support for plural and capitalized refstyle

Also fix a glitch in non-refstyle import (getOpt() returns the option
with delimiter, so do not add them in ERT once more)

Candidate for stable

(cherry picked from commit faf40fb4084e10848bbb33ec6d892c05843cd179)

5 years agotex2lyx: support decimal alignment in tables
Juergen Spitzmueller [Sun, 26 Aug 2018 14:17:54 +0000 (16:17 +0200)]
tex2lyx: support decimal alignment in tables

(cherry picked from commit 8ef2558dc23a44185b246d3f66e1384a6144caa2)

5 years agotypo
Richard Kimberly Heck [Mon, 10 Sep 2018 23:21:05 +0000 (19:21 -0400)]
typo

5 years agoFix RTL tabular output with bidi package (i.e., polyglossia)
Juergen Spitzmueller [Tue, 27 Feb 2018 18:03:42 +0000 (19:03 +0100)]
Fix RTL tabular output with bidi package (i.e., polyglossia)

Fixes: #9686
(cherry picked from commit 21b347a2f8485ec3113dd7d76f8d78eb0cd426e2)

5 years agotex2lyx: Fixes to the btUnit import
Juergen Spitzmueller [Wed, 22 Aug 2018 06:39:13 +0000 (08:39 +0200)]
tex2lyx: Fixes to the btUnit import

1. Do not attempt to mix diverging btUnits (e.g., chapters and sections).
2. use parse_text to properly parse the contents.

(cherry picked from commit 68d48b0015065f3c3cdd1377678bca56551cc203)

5 years agotex2lyx: simplify btUnit parsing
Juergen Spitzmueller [Tue, 21 Aug 2018 15:33:30 +0000 (17:33 +0200)]
tex2lyx: simplify btUnit parsing

5 years agotex2lyx: support for btUnit (multibib)
Juergen Spitzmueller [Tue, 21 Aug 2018 15:18:04 +0000 (17:18 +0200)]
tex2lyx: support for btUnit (multibib)

(cherry picked from commit 0ae68ae828cd8d3589c7aa4bd2ef958aa38182b4)

5 years agotex2lyx: Add support for horizontal longtabular alignment
Juergen Spitzmueller [Mon, 10 Sep 2018 14:21:42 +0000 (16:21 +0200)]
tex2lyx: Add support for horizontal longtabular alignment

5 years agoUpdate it.po
Enrico Forestieri [Mon, 10 Sep 2018 12:48:34 +0000 (14:48 +0200)]
Update it.po

5 years agoFix disappearing blue language underline.
Jean-Marc Lasgouttes [Fri, 20 Jul 2018 13:23:55 +0000 (15:23 +0200)]
Fix disappearing blue language underline.

Make sure that the blue language underline is not below the bottom of
the row. Otherwise, it can disappear when the next row is painted.

(cherry picked from commit 8e9e05067014a7c5fad501a0f4e8ffbb56eed165)

5 years agoDraw top/bottom rules heavier for booktab
Jean-Marc Lasgouttes [Thu, 19 Jul 2018 22:26:41 +0000 (00:26 +0200)]
Draw top/bottom rules heavier for booktab

This gives a better idea of the TeX output, even though the thicknesses are
not correct. Like in LaTeX, this happens only for full top/bottom rules.

(cherry picked from commit 8651cd89f6cc16c4e17f197fbbcfe979d09f01c9)
(cherry picked from commit 84328c85388cc577d8435066062ef9bbb9711af1)

5 years agode.po
Juergen Spitzmueller [Mon, 10 Sep 2018 09:29:19 +0000 (11:29 +0200)]
de.po

5 years agotex2lyx/TODO: cleanup
Juergen Spitzmueller [Mon, 10 Sep 2018 08:34:07 +0000 (10:34 +0200)]
tex2lyx/TODO: cleanup

5 years agoDon't add localswitch if no language changes
Juergen Spitzmueller [Fri, 27 Apr 2018 16:27:21 +0000 (18:27 +0200)]
Don't add localswitch if no language changes

(cherry picked from commit 7018d3641f693967bb8bade86488a495cd2e976b)

5 years agoClose/reopen local language switches at each par
Juergen Spitzmueller [Fri, 27 Apr 2018 07:48:14 +0000 (09:48 +0200)]
Close/reopen local language switches at each par

Fixes: #11128
(cherry picked from commit f77887033871b3c561c85d9acb07f07f911150ec)

5 years agoFix shortcuts info output on the Mac
Juergen Spitzmueller [Thu, 9 Aug 2018 14:56:41 +0000 (16:56 +0200)]
Fix shortcuts info output on the Mac

QKeySequence returns special characters for keys on the mac rather than
textual key names (as on other OSes).

Since these symbols are not included in many fonts, we re-translate them
to textual names

Fixes: #10641
(cherry picked from commit 5f45b3ed9c851f0d01fcc8fd17c3b25f6efd47c3)

5 years agoSupport key symbols via menukeys package
Juergen Spitzmueller [Thu, 9 Aug 2018 13:05:19 +0000 (15:05 +0200)]
Support key symbols via menukeys package

(cherry picked from commit fd7490762d6248bb4ca7120fe97b28d96496d9d3)

5 years agoFixes to input method handling
Jean-Marc Lasgouttes [Thu, 5 Jul 2018 12:01:56 +0000 (14:01 +0200)]
Fixes to input method handling

The goal of this patch is to make "self-insert <string>" act as a
sequence of individual self-insert calls. Once it is done, the
insertion of the commit string in GuiWorkArea can use that, which
fixes the issues described in bug 11183.

1/ in InsetMathNest, SELF_INSERT is rewritten to be a proper loop of
   interpretChar, instead of inserting the string as characters. This
   solves the issue of interpreting ^ properly.

2/ the text version does not need to be changed (the loop is rewritten
   using a range, though).

3/ Then {{{GuiWorkArea::inputMethodEvent}}} is changed to invoke
   directly self-insert. This removes the update issues.

Fixes bug 11183.

(cherry picked from commit ad5548cfe39a17389ca721aab896e876f2cd4124)

5 years agoAmend 79cf3f5ec10
Juergen Spitzmueller [Wed, 25 Jul 2018 09:38:56 +0000 (11:38 +0200)]
Amend 79cf3f5ec10

Some InfoInsets have to be LTR always.

5 years agoFix text direction issue for InsetInfo in RTL context
Juergen Spitzmueller [Wed, 25 Jul 2018 09:00:00 +0000 (11:00 +0200)]
Fix text direction issue for InsetInfo in RTL context

Fixes: #10463
(cherry picked from commit 79cf3f5ec1088e7de988e889247ec300d42fb70b)

5 years agoCovington now provides subexamples itself
Juergen Spitzmueller [Sat, 8 Sep 2018 07:50:48 +0000 (09:50 +0200)]
Covington now provides subexamples itself

Candidate for stable.

(cherry picked from commit ab16bb7eb98731be25413f9410e61e7d4fe75439)

5 years agoAllow to change multiple columns' width at once
Juergen Spitzmueller [Mon, 23 Jul 2018 14:36:19 +0000 (16:36 +0200)]
Allow to change multiple columns' width at once

Fixes: #11205
(cherry picked from commit 91254472e601d573057bd943aed5de36d6fb9438)

5 years agotex2lyx: fix import of unknown commands'/environments' options
Juergen Spitzmueller [Tue, 28 Aug 2018 08:31:29 +0000 (10:31 +0200)]
tex2lyx: fix import of unknown commands'/environments' options

If we detect options via hasOpt(), output the brackets as ERT.

Fixes: #8685
(cherry picked from commit da62299f3773dc8412a49953fb366bd804c360a7)

5 years agotex2lyx: Fix import of Arabic polyglossia environment
Juergen Spitzmueller [Fri, 24 Aug 2018 12:20:43 +0000 (14:20 +0200)]
tex2lyx: Fix import of Arabic polyglossia environment

Part of #10111

(cherry picked from commit 920e26916e760f9196270d1e19d9486412f2fb1e)

5 years agoDo not update MiKTeX database prior to configuration.
Richard Kimberly Heck [Sun, 9 Sep 2018 16:33:09 +0000 (12:33 -0400)]
Do not update MiKTeX database prior to configuration.

The user can do this kind of thing if they wish, but we should not
do it on their behalf. (These commands were also run whether MiKTeX
or TeXLive was installed.)

5 years agoUpdate sk.po
Kornel Benko [Sun, 9 Sep 2018 11:36:46 +0000 (13:36 +0200)]
Update sk.po

5 years agode.po
Juergen Spitzmueller [Sun, 9 Sep 2018 10:46:04 +0000 (12:46 +0200)]
de.po

5 years agotex2lyx: Add support for multirow
Juergen Spitzmueller [Sun, 24 Jun 2018 16:13:03 +0000 (18:13 +0200)]
tex2lyx: Add support for multirow

Fixes: #11164
(cherry picked from commit c33506555f5f7193b0cbce6c9878d62a18f37cc9)

5 years agoWe do not natively support multirow yet
Juergen Spitzmueller [Fri, 1 Jun 2018 15:11:35 +0000 (17:11 +0200)]
We do not natively support multirow yet

See #11164

(cherry picked from commit 2fbce44401986b61102695ca2eb2bdc5ff77d7ca)

5 years agoConsider required modules when checking for layout definitions in modules
Juergen Spitzmueller [Thu, 24 May 2018 15:38:10 +0000 (17:38 +0200)]
Consider required modules when checking for layout definitions in modules

Fixes: #11156.
(cherry picked from commit 8b4c76fb2465402dc48915b965de8a6f9a884795)

5 years agoPar alignment in floats must be swapped for all RTL langs, not only Hebrew
Juergen Spitzmueller [Sun, 15 Jul 2018 17:23:19 +0000 (19:23 +0200)]
Par alignment in floats must be swapped for all RTL langs, not only Hebrew

Fixes: #11029
(cherry picked from commit 3bacc3c6e73e87c1fdb3a9af33533c556d1d7274)

5 years agoHebrew docs: No need to mark logos as English
Scott Kostyshak [Mon, 16 Jul 2018 08:58:22 +0000 (04:58 -0400)]
Hebrew docs: No need to mark logos as English

Thanks to the fix to #10423, we can leave e.g. \LyX and \LaTeX as
the default language (which is Hebrew for these document).

(cherry picked from commit 7b5768504834533410aedf472ad5ff454f71313b)

5 years agoProper logos with RTL
Juergen Spitzmueller [Sun, 15 Jul 2018 18:56:55 +0000 (20:56 +0200)]
Proper logos with RTL

Fixes #10423

(cherry picked from commit e5a9244bef8b7d86ae86fa2d180adbd0c47b70f1)

5 years agoImplement tri-state in GuiSetBorder
Juergen Spitzmueller [Tue, 24 Jul 2018 11:49:27 +0000 (13:49 +0200)]
Implement tri-state in GuiSetBorder

A new UNDECIDED state is used if multiple cells with differing border
settings are selected.

This prevents additional borders to be set without being asked.

Fixes: #10010
(cherry picked from commit 99aefa5fd2c2184f0a67930046956df7d8f611df)

5 years agoDisallow paragraph customization in some single-par charstyle insets
Juergen Spitzmueller [Fri, 11 May 2018 11:47:27 +0000 (13:47 +0200)]
Disallow paragraph customization in some single-par charstyle insets

Fixes: #9192
(cherry picked from commit 7a5184fd87e747b089acf4563ebacabe2e1f121a)

5 years agoWrap rotated cells with linebreaks in varwidth
Juergen Spitzmueller [Sat, 30 Jun 2018 12:32:27 +0000 (14:32 +0200)]
Wrap rotated cells with linebreaks in varwidth

Fixes: #8085
(cherry picked from commit 88e5e5fd345c280b0927ad84785657cbc9e55f77)

5 years agotex2lyx: extend titling support
Juergen Spitzmueller [Wed, 23 May 2018 10:34:41 +0000 (12:34 +0200)]
tex2lyx: extend titling support

Rather than checking for hardcoded title commands such as \maketitle,
use the titlename and titletype as defined in the layout.

This now also includes title environments.

Fixes part of #6461

(cherry picked from commit 429edc0a59a0509445bb93cd7d60c3d9ff36bd6b)

5 years agoConsider EuropeanNumberTerminator property when determining text direction
Juergen Spitzmueller [Sun, 22 Jul 2018 10:36:38 +0000 (12:36 +0200)]
Consider EuropeanNumberTerminator property when determining text direction

Also, use EuropeanNumberSeparator information rather than relying on an
own (incomplete) list of number separators.

Fixes: #4057
(cherry picked from commit 611df441b6e44ad641d6d9424fe68fe72d641706)

5 years agoFix bug #11203
Enrico Forestieri [Sun, 22 Jul 2018 20:22:13 +0000 (22:22 +0200)]
Fix bug #11203

Minted does not have a language option but it is possible to enter
this option in the LyX interface for compatibility with the listings
package, and also for letting to enter a language not present in the
gui. So, this option is only used for properly specifying a language
in a listing, unless it is entered in the document settings dialog.
This case was not foreseen and thus the option was being passed to
the package as is, causing havoc. With this commit the option is
still available but is used to set a default language for a new
listing in place of the default "tex" language used so far.

(cherry picked from commit 16ca5290c0d619df23406275e6698594b90ce7ab)

5 years agoSupport input of non-ASCII characters in hyperlinks
Juergen Spitzmueller [Sat, 9 Jun 2018 09:52:55 +0000 (11:52 +0200)]
Support input of non-ASCII characters in hyperlinks

We transform them to hex representation via
QByteArray::toPercentEncoding()

Fixes: #11165
(cherry picked from commit 01d8f418943f5f63f329658d387a7dbd9a024c91)

5 years agoUse footnotehyper rather than footnote if hyperref is used
Juergen Spitzmueller [Wed, 25 Jul 2018 16:01:22 +0000 (18:01 +0200)]
Use footnotehyper rather than footnote if hyperref is used

Fixes: #11212
(cherry picked from commit f8e286b82328b545172f0f9ab6b26530837c06b2)

5 years agoCapitalization fixes
Juergen Spitzmueller [Sun, 5 Aug 2018 08:10:50 +0000 (10:10 +0200)]
Capitalization fixes

Fixes: #11237
(cherry picked from commit b75f716b7337045898c0d997dac25ff9e8626ddd)

5 years agoDisambiguate dialog buttons
Juergen Spitzmueller [Tue, 14 Aug 2018 15:03:46 +0000 (17:03 +0200)]
Disambiguate dialog buttons

Fixes: #11242
(cherry picked from commit 74657a14a7d0d121724725e936b10be26efab846)

5 years agoDo not start from a non-relevant parent in Buffer cloning.
Juergen Spitzmueller [Wed, 16 May 2018 06:35:21 +0000 (08:35 +0200)]
Do not start from a non-relevant parent in Buffer cloning.

(cherry picked from commit e077255aea9d8380e1efcef00e90b822d19bc5d3)

5 years agoImprove Springer layout descriptions
Juergen Spitzmueller [Sun, 9 Sep 2018 08:31:55 +0000 (10:31 +0200)]
Improve Springer layout descriptions

5 years agoRedesign character dialog
Juergen Spitzmueller [Sun, 9 Sep 2018 08:20:00 +0000 (10:20 +0200)]
Redesign character dialog

Fixes: #2752, #3804, #3884, #4836
Backport of [fb393b450d661/lyxgit] and [f888afeb9ef7/lyxgit]

5 years agoTry yet again try to fix bug #9158.
Richard Kimberly Heck [Sun, 2 Sep 2018 04:10:01 +0000 (00:10 -0400)]
Try yet again try to fix bug #9158.

The problem with the previous attempt was that, every time through
updateBuffer, we looked up the file location using kpsewhich, which
took too long on Windows. The new solution is to cache that info, and
to look it up only when we need it.

Previously, this info would have been re-read whenever we parsed the
bibfiles. So we re-read it now whenever the bibinfo cache is invalid,
which is less often, but should be good enough. We can add more such
re-reads if need be.

(cherry picked from commit 601449269939150bb7452698809e59c00a98a20f)

5 years agoKill off the bundled installer.
Richard Kimberly Heck [Sat, 8 Sep 2018 20:56:05 +0000 (16:56 -0400)]
Kill off the bundled installer.

5 years agoBack to development.
Richard Kimberly Heck [Sat, 8 Sep 2018 22:55:07 +0000 (18:55 -0400)]
Back to development.

5 years agoDebugging, etc, for build script. 2.3.1
Richard Kimberly Heck [Sat, 8 Sep 2018 18:24:49 +0000 (14:24 -0400)]
Debugging, etc, for build script.

5 years agoNew version of Windows installer.
Richard Kimberly Heck [Thu, 6 Sep 2018 17:35:43 +0000 (13:35 -0400)]
New version of Windows installer.

5 years agoRevert "Attempt to fix bug 9158 using updateBuffer."
Richard Kimberly Heck [Sun, 2 Sep 2018 01:48:48 +0000 (21:48 -0400)]
Revert "Attempt to fix bug 9158 using updateBuffer."

This reverts commit fe246160603786a9d299755d88eabd3d7ce5439e.

5 years agoRevert "Use separate BibInfo for child"
Richard Kimberly Heck [Sun, 2 Sep 2018 01:47:23 +0000 (21:47 -0400)]
Revert "Use separate BibInfo for child"

This reverts commit cfce0ac009e8820df79d845c2b0c237cbd441dcb.