8958 Commits

Author SHA1 Message Date
Juergen Spitzmueller
457c568dbd Handle encoding error in layout file parsing more gracefully
Issue a warning about non-decodable files, but do not break
completely.

Addresses #11736

(cherry picked from commit c4da8d38c9d235c6da85c554c391ad4a5b6d958e)
2020-02-14 08:05:17 +01:00
Juergen Spitzmueller
ad56c71dce Amend 00bdc206932dcb 2020-01-27 11:13:05 +01:00
Juergen Spitzmueller
6c3e7d2a47 Fix erroneous space in output caused by changebar module (bug 11473) 2020-01-27 08:39:18 +01:00
Juergen Spitzmueller
00bdc20693 Consider shorthand in biblatex cite display
Fixes #11696

(cherry picked from commit 400706ad0525b43ab20993acb487ee4660823f84)
2020-01-27 08:34:54 +01:00
Juergen Spitzmueller
878efbaf62 Re-fix #11146 with recent LaTeX
(cherry picked from commit e75fa6f3ac5735dfcd588acb5c187556bface16d)
2020-01-27 08:29:12 +01:00
José Matos
78db6194c6 Fix typo in lyx2lyx conversion to 2.1 (taken from master) 2019-12-28 14:39:49 +00:00
Juergen Spitzmueller
2b949e42f7 Set makeindex as index processor in the docs
Prevent that another processor (such as xindy) is used when set in prefs.

xindy does not play well with hyperref.

Fixes #11708

(cherry picked from commit cb25603ae1c68470755851e25c3ef87b96d33344)
2019-12-15 07:36:40 +01:00
Juergen Spitzmueller
94ebd10faa nl/Intro.lyx: Update by Niko Strijbol 2019-11-23 15:29:47 +01:00
Juergen Spitzmueller
bf82c51f25 Beamer loads amsmath
(cherry picked from commit a37c003448c39937fe1310dc95ceeeda73f505f6)
2019-11-21 08:02:48 +01:00
José Matos
b1860e301a Attempt to fix #11457
In python 3 the colors need to be strings and not bytes:

This was the equivalent of

>> print("%s" % b"1")
"b'1'"

since the colors were bytes the call to dvipng was something like

dvipng -Ttight -depth -height -D 115 -fg "b'rgb 0.937255 0.941176 0.945098'" -bg "b'rgb 0.137255 0.149020 0.160784'"  "lyxpreviewxBJEqm.dvi"

Note the "b'rgb after both -fg and -bg that wrecked havoc and thus dvipng failed. That was the difference between python2 and python3 calls.

(cherry picked from commit 8dd31803b16d1fb6b30772955188c3595437f64a)
2019-10-30 19:27:50 -04:00
Juergen Spitzmueller
f838b16a9b Allow to hide formats from menus
Fixes: #11657
(cherry picked from commit d76cef70a0320212adb3cfcf73aa77174802e4fc)
2019-09-11 10:46:07 +02:00
Juergen Spitzmueller
1f2598a6a1 Use acadian rather than canadien
This is what babel-french urges, and canadien currently is broken.

acadien seems to be there for at least 15 years
2019-08-27 17:35:54 +02:00
Juergen Spitzmueller
2479534e57 Amend [d30da478d/lyxgit]
Some non-stable code was erroneously cherry-picked.

Fixes: #11642
2019-08-22 17:35:56 +02:00
Günter Milde
d30da478d4 Fix encoding issues with configuration under Python 3.
Backported from [b9cc642/lyxgit].
2019-08-21 23:20:27 +02:00
Juergen Spitzmueller
e097bade85 hebarticle: fix compilation with XeTeX (bug #10525)
(cherry picked from commit 1f2eb92b334956d458bf1adca196da2eba1faadd)
2019-08-16 07:35:43 +02:00
Juergen Spitzmueller
1c2700eb11 Re-fix #2005
Loading keyval does not work any longer. Fix it properly by de-activating
the equal character locally if graphics options use it.

We do this statically for Turkish and Latin in stable, as opposed to
master (where we have the ActiveChars languages tag)
2019-08-15 09:20:40 +02:00
Juergen Spitzmueller
43463a48f8 Typo 2019-08-09 08:06:23 +02:00
Juergen Spitzmueller
1ee62a3358 Fix interplay of memoir and geometry
Fixes: #10970
(cherry picked from commit 65c1ae813318c128ce74f206eebc79328beb8f43)
2019-08-06 10:10:53 +02:00
Richard Kimberly Heck
4582edac1a Fix typo
(cherry picked from commit 4597622ce50a4c00d4a7bf8ee9639fec03c7a8dc)
2019-07-25 00:05:39 -04:00
Uwe Stöhr
0baa24df71 colored-boxes.lyx: add section about references
is a user request
2019-07-21 01:31:46 +02:00
Juergen Spitzmueller
36bffd0d2b Russian doc updates by Yuriy 2019-07-13 09:52:11 +02:00
Juergen Spitzmueller
4fb4035e7f Update Russian Tutorial
Patch by Yuriy
2019-07-09 16:10:23 +02:00
Juergen Spitzmueller
ba1784ea89 Dutch doc updates by Niko 2019-07-06 15:46:02 +02:00
Jean-Marc Lasgouttes
b89749ae1d Let TeXFiles.py handle symbolic links.
Nix (https://nixos.org) is a Unix package manager, which can be used to
install LaTeX on macOS. A peculiarity of Nix is that all packages are
installed into separate directories and the actual directory tree is
then constructed via symlinks.

This interacts badly with the way LyX currently detects files in the
TeX setup, because TeXFiles.py does not follow symlinks. Therefore,
almost nothing is found when using LyX together with Nix’ LaTeX.

Patch from Michael Roitzsch.

(cherry picked from commit 642b4acca1900c55662030ffc5162e9504881764)
2019-06-27 23:53:03 +02:00
Enrico Forestieri
eb66e68ed5 Add submenu to math context menu
The "Rows & Columns" optional submenu is more easily accessible in
the math context menu rather having to navigate to the "Edit" menu.
All possible accelerators are already taken, so use the space bar.

(cherry picked from commit ff7eb0eb387dd3d9631309e6ce58e0eeb38f6d5c)
2019-06-25 21:21:47 +02:00
Juergen Spitzmueller
2729589b4f Add Niko Strijbol to the credits
(cherry picked from commit 722ae1556d84a7597869577e00b13d002d6dd40e)
2019-06-21 12:20:34 +02:00
Scott Kostyshak
06606b659b Tab binding: outline-in before depth-increment
Same for BackTab. The outline-in was originally (31398779)
introduced to the command-sequence at the end. Probably it was
placed at the end to be conservative (i.e., so that it would only
change behavior where there was a no-op before).

This fixes #11576.

(cherry picked from commit 9ab9f2b1acb8bc1a40d5a69737b43d09b7f7a597)
2019-06-19 13:55:48 -04:00
jpc
35be3d3890 Review of a French doc file 2019-06-09 18:48:48 +02:00
Juergen Spitzmueller
f6c0c1ee35 Enable optional \cite* arguments in biblatex-natbib
(cherry picked from commit 6a4199ed233e5a9fe7fa0fbfd0266cd29560951b)
2019-05-13 09:25:31 +02:00
jpc
4f1ea733ce Typos in fr.po and two manuals pointed out by a user on lyx-docs 2019-05-08 11:22:25 +02:00
Kornel Benko
264dfede0e Amend 43c31f4e: Revive Bulgarian localization 2019-04-23 14:30:26 +02:00
Daniel Ramoeller
e8dc6fad05 Fix for #11476: Icons have spurious squares
(cherry picked from commit 209944796a1665985c67fa99ea0ee2564f07231f)
2019-04-06 07:30:46 +02:00
Daniel Ramoeller
5f444ee86f Fix for Mac Command-0 zoom-buffer binding
Amends fix to #10455

(cherry picked from commit 990f1eca4a985116def89f18061f9ea8eea84a67)
2019-04-06 07:28:47 +02:00
Juergen Spitzmueller
5518ca028e Add tabular-features set-inner-lines and fix set-all-lines behavior
Patch by Daniel Ramöller (racoon)

Fixes: #11382
(cherry picked from commit cb84f752f21bb4cf4bd9ed6999df0353aba2b57e)
2019-03-20 12:49:23 +01:00
Scott Kostyshak
9aaa6c73d5 Intro.lyx: remove a "short title"
This short title removed a spaced, and when taking a look we decided
that the advantages of removing it (simplicity and consistency)
outweigh the benefits of having a shorter entry in the table of
contents and PDF bookmarks.

(cherry picked from commit 9c748a04702a979786f39bb7fa367e3945b51ae3)
2019-02-15 12:19:29 -05:00
Juergen Spitzmueller
130a555796 Fix IPA icons
Convert text to path and fix the most salient drawing issues.
2019-02-11 16:47:36 +01:00
Daniel Ramoeller
b8e6527c79 Fix for #11294: Wrong description for Change bars module
(cherry picked from commit f71723c8f333819bcaa5180fe98d9cd4c1491ba8)
2019-01-19 19:04:47 -05:00
Juergen Spitzmueller
177bf8dba8 force some symbols as macros with utf8-cjk
cherry-picked from
* 4786c59a8c2665a7
* 81af82d1e82d42f5
* c2d20645be092c77
2019-01-12 17:40:55 +01:00
Juergen Spitzmueller
e27870db7a CJKutf8 is only to be used with the dedicated utf8-cjk encoding
cherry-picked from 9982651fd684577e977d85d0bc54bea65d8c3ff1
2019-01-12 17:40:19 +01:00
Juergen Spitzmueller
434842563a Add support for U+2693 (ANCHOR)
Fixes: #10706
(cherry picked from commit ead498f0a642b27cb9a63f76d146ba776fc7f7b6)
2019-01-12 08:34:11 +01:00
Scott Kostyshak
822e0133aa ko splash.lyx: specify "mj" as CJK font
Now (thanks to d193cd05), the Korean splash.lyx compiles
out-of-the-box with pdflatex.

Thanks to Jürgen.

(cherry picked from commit 0cfaf406c5f55b4b6a56f9f322748988b1778ec4)
2019-01-07 11:56:23 -05:00
Kornel Benko
ee4a95888f Enable error-free compilation of ko splash.lyx with xetex and lautex
This amends somehow 9238004c. Since the system font NanumMyeongjo
and the "mj" spec as CJK latex font are related, this change
seems appropriate.

(cherry picked from commit f092208c89500abf9ac3f56e9fbcb169ae1d4c41)
2019-01-07 17:40:39 +01:00
Stephan Witt
432986e8f2 Correct converter configuration for inkscape on Mac
On Mac the inkscape binary is started by a wrapper script. This script changes the
working directory internally and fails to process files with relative path names.
The previous attempt to solve it was to pass the file names with absolute names
by prepending them with the $$p variable (representing the directory name of the files).
This broke the on screen conversion (used for SVGZ to PNG e.g. in the users guide)
because here the $$p variable is undefined.

Now the wrapper script of LyX which is used to locate the Inkscape.app bundle converts
the relative path names into absolute names and the $$p variable is removed from the
converter definitions for inkscape again.

(cherry picked from commit caa1dd2aeed97330e05c0e96ae7e5bb929b0866d)
2019-01-07 00:18:52 +01:00
Scott Kostyshak
5bcb0ca6d8 Bibliography.lyx: minor cosmetic changes
- Add note explaining this file should not be compiled on its own.
- Remove custom preamble.
- Remove setting of master document.

(cherry picked from commit 3ac2dd8e6c07ce115d9ddcfa3c289b3f5d0998ed)
(cherry picked from commit 91d8aea8d3e2a96ffbbbfbcbd63dfc07ace51a5c)
(cherry picked from commit 6e815d3ebaf829f18768dc0363c6a450b9483dac)
2019-01-05 16:51:28 -05:00
Kornel Benko
00cd6f101c Amend 031d1c86: Add support for aastex62 2018-12-30 09:22:55 +01:00
Kornel Benko
031d1c86a1 Added aastex62 example an template files
This is 2.3.x- adapted copy of the versions in master tree.
2018-12-29 19:52:45 +01:00
Juergen Spitzmueller
d62775553a Beamer: autonest column in columns
Candidate for stable

(cherry picked from commit 012d9b088e1e2b8ba58a1f303081cb9aba526298)
2018-12-29 18:34:10 +01:00
Juergen Spitzmueller
7e1ecb653b Handle bibliography irritations in thesis template
Outsource the bibliography to an own child, which is then also included
in the children's "Standalone" branch

Add some clarifying notes.

Fixes: #10748
(cherry picked from commit 12aaeb259fac8e41c9e729919ff719cf7ab096e0)
2018-12-29 18:07:17 +01:00
Richard Kimberly Heck
36bc179efd New layout file for American Mathematical Monthly.
From John Perry. See bug #10803.
2018-12-29 11:48:02 -05:00
Richard Kimberly Heck
b286511b75 Typo
(cherry picked from commit 75c8e5c0007db20ff7e803571d7227e6b11a33d0)
2018-12-28 23:35:07 -05:00