Commit Graph

8911 Commits

Author SHA1 Message Date
Juergen Spitzmueller
b108ea3129 Un-provide amsmath in beamer article layouts
Fixes #11768

(cherry picked from commit f6f51587cf)
2020-03-01 07:35:55 +01:00
José Matos
20996d46fc Remove code that is redudant.
Both for python2 and python3 output is always a string.

(cherry picked from commit 4268a9e812)
2020-02-25 18:24:41 -05:00
Richard Kimberly Heck
fb9bc1a3f7 Fix bug #11750.
Unfortunately, stat.st_ino returns 0 on Windows, at least on Python 2.7, so we can't use that way of telling when we're seeing the same directory again. Surely the real pathname should work.

(cherry picked from commit 9d8dfe934b)
2020-02-24 19:09:31 -05:00
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 c4da8d38c9)
2020-02-14 08:05:17 +01:00
Juergen Spitzmueller
ad56c71dce Amend 00bdc20693 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 400706ad05)
2020-01-27 08:34:54 +01:00
Juergen Spitzmueller
878efbaf62 Re-fix #11146 with recent LaTeX
(cherry picked from commit e75fa6f3ac)
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 cb25603ae1)
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 a37c003448)
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 8dd31803b1)
2019-10-30 19:27:50 -04:00
Juergen Spitzmueller
f838b16a9b Allow to hide formats from menus
Fixes: #11657
(cherry picked from commit d76cef70a0)
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 1f2eb92b33)
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 65c1ae8133)
2019-08-06 10:10:53 +02:00
Richard Kimberly Heck
4582edac1a Fix typo
(cherry picked from commit 4597622ce5)
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 642b4acca1)
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 ff7eb0eb38)
2019-06-25 21:21:47 +02:00
Juergen Spitzmueller
2729589b4f Add Niko Strijbol to the credits
(cherry picked from commit 722ae1556d)
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 9ab9f2b1ac)
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 6a4199ed23)
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 209944796a)
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 990f1eca4a)
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 cb84f752f2)
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 f71723c8f3)
2019-01-19 19:04:47 -05:00
Juergen Spitzmueller
177bf8dba8 force some symbols as macros with utf8-cjk
cherry-picked from
* 4786c59a8c
* 81af82d1e8
* c2d20645be
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 9982651fd6
2019-01-12 17:40:19 +01:00
Juergen Spitzmueller
434842563a Add support for U+2693 (ANCHOR)
Fixes: #10706
(cherry picked from commit ead498f0a6)
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 0cfaf406c5)
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 f092208c89)
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 caa1dd2aee)
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 3ac2dd8e6c)
(cherry picked from commit 91d8aea8d3)
(cherry picked from commit 6e815d3eba)
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 012d9b088e)
2018-12-29 18:34:10 +01:00