Commit Graph

37922 Commits

Author SHA1 Message Date
Juergen Spitzmueller
bbac6b7037 Fix literal string in binary context
In 1a26f9b26c, all strings in the context of regexes and
comparisons have been converted to byte-like objects for python2/3
compatibility reasons. This has not been considered in the later
commit 5c54557350, which makes layout2layout break with
TypeError: can't concat str to bytes.

(cherry picked from commit 8fecdfc473)
2017-10-13 18:38:01 +02:00
Juergen Spitzmueller
4242cbd504 Update some more layouts
(cherry picked from commit 5997b60da1)
2017-10-13 16:11:36 +02:00
Juergen Spitzmueller
930c2fe5cd Adapt citengine to current layout format.
(cherry picked from commit d4e30ad88f)
2017-10-13 15:49:40 +02:00
Juergen Spitzmueller
88c285219b Fix PDF output of clipped graphics with recent graphics package
The previous redirection of the senseless option "bb" to "viewport" in
PDFLaTeX output has been removed in a recent graphics package update.

This breaks documents, since clipped graphics silently stop displaying.

This change restores the previous output by using "viewport" instaed of
"bb" for non-PS/DVI output, while leaving PS/DVI untouched (where "bb"
and "viewport" behave differently.

Fixes: #7910
2017-10-13 08:28:26 +02:00
Jean-Marc Lasgouttes
80983a3553 Do not forget to set cursor current font when selecting
Fix several unreleated cases where the `selecting' code path did not
reset cursor font correctly. This leads to a caret that does not have
the correct size, and can cause caret droppings with the new display
scheme.

(cherry picked from commit 88d0390724)
2017-10-12 21:13:55 +02:00
Enrico Forestieri
b79d07f4a5 Fix issue with language switch in Arguments insets
In some insets such as Arguments, a local language switch has to be
used. However, if the language inside the inset was set to be equal
to the outer language, the code decided not to switch language. But
then got confused and tried to close a switch that was never opened.
This patch forces the switch even if the outer language is the same.

(cherry picked from commit ce4f39d414)
2017-10-12 00:02:54 +02:00
Scott Kostyshak
2af69629cb ja/EmbeddedObjects.lyx: correct file path
References to the central clipart directory must be prefixed with
".." for non-English manuals.

(cherry picked from commit d233831c1c)
2017-10-09 11:57:49 -04:00
Richard Heck
da7f539358 Reset cursor before beginning reload sequence.
(cherry picked from commit af381a2fb2)
2017-10-08 23:07:13 -04:00
Kornel Benko
11386f4601 Cmake build: Needed variable for creation of debian package
The variable CPACK_DEBIAN_PACKAGE_RELEASE has to be in the form
of "^[A-Za-z0-9.+~]+$". We will use the abbreviated commit revision for now.
Without this change cmake 3.10 emits error.

(cherry picked from commit 847c68960a)
2017-10-08 08:30:16 +02:00
Scott Kostyshak
7ea9210853 Uninvert Japanese tests after fix to #8823
The export ja/lilypond_pdf fails because ps2pdf gives an error. It
is thus still inverted, under the category 'externalissues'. As
Jürgen discovered, ps2pdf succeeds if the -dNOSAFER flag is used.

Note that Kornel is seeing strange behavior with the sweave test,
and thus the label of that test might be changed soon (e.g. to
"unreliable"). For discussion, see:

https://www.mail-archive.com/search?l=mid&q=20171001032524.fr5xfngylththwv2%40steph
(cherry picked from commit 0c7e5c115d)
2017-10-07 22:40:05 -04:00
Scott Kostyshak
fa32ad6adf RELEASE-NOTES: reference wiki with previous notes
If users are upgrading from an older version of LyX than the
previous major series, they should consult the release notes from
the releases in-between.

For more discussion on this topic, see the following mailing list
thread:

https://www.mail-archive.com/search?l=mid&q=20170902070549.47ciiszxjjqhyreq%40steph
2017-10-07 02:34:35 -04:00
Scott Kostyshak
f7123e6df0 RELEASE-NOTES: mention Qt-based fallback converter 2017-10-07 01:54:42 -04:00
Scott Kostyshak
5933031130 Additional.lyx: update eLyXer URL
The previous link still worked but asked for bookmarks to be updated
to the newer URL.

Thanks to Ian Holliday for this correction.

(cherry picked from commit 4b1f3ab539)
2017-10-06 21:38:43 -04:00
Kornel Benko
88cba7dee3 Cmake build: Don't use temporary doc-files as source for installation
(cherry picked from commit 336f94d12f)
2017-10-06 22:02:44 +02:00
Scott Kostyshak
c194f60d55 ja/Math.lyx: correct the URL of the mhchem manual
It was pointing to the hyperref manual.

(cherry picked from commit 8b1cdce752)
2017-10-06 15:08:26 -04:00
Scott Kostyshak
2edeea8067 sweave.lyx: remove ref to previous homepage
The homepage does not exist anymore. Note that R installations now
come with Sweave already installed.

We now instead reference the user manual of Sweave.

(cherry picked from commit a0b3c3b563)
2017-10-06 14:24:39 -04:00
Scott Kostyshak
b6c9ee1a0a poster-a0poster-simple.lyx: rm ref to a0poster-kh
a0poster-kh is unmaintained and non-standard. Note that URL in the
removed \item was broken.

For more information, see discussion on list:
https://www.mail-archive.com/search?l=mid&q=20171006055205.jdicpppko3tjrlef%40steph

(cherry picked from commit 5b7c2348e6)
2017-10-06 13:54:53 -04:00
Scott Kostyshak
d6290d1f24 docs: fix URL to hyperref manual
Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

(cherry picked from commit b5662f1d21)
2017-10-06 02:18:08 -04:00
Pavel Sanda
c7b325df5e backport cs.po 2017-10-05 14:12:27 +02:00
Scott Kostyshak
ca14295a49 docs: update URL of Astronomy & Astrophysics
The new URL was found by visiting the root URL and clicking on
"journals".

(cherry picked from commit 55cdd62916)
2017-10-05 00:23:44 -04:00
Scott Kostyshak
4d5d7e37d5 fr/Additional.lyx: remove duplicate URL
(cherry picked from commit 8738aceca3)
2017-10-05 00:23:44 -04:00
Kornel Benko
10487fb292 Cmake build: Unconditionally create many install targets
Previously one needed to use '-D_LYX_INSTALL=ON' to be able to install
some targets. This change only creates rules to make installation possible for
the underlying toolset.

The setting is still needed to create the rules for manuals, lokalizations and
win32 install scripts.

(cherry picked from commit 82246b5109)
2017-10-04 10:16:30 +02:00
Kornel Benko
a506c6b73b Cmake build: Only use the new lyxconvert on MAC 2017-10-03 22:14:37 +02:00
Kornel Benko
9da29ac788 Add suffixed lyxconvert to cmake build.
This should amend f93ec4a, but is not tested on apple
2017-10-03 22:09:57 +02:00
Kornel Benko
9f5f4e2aa0 cmake tests: Try to use valid locales for testing 2017-10-03 22:09:06 +02:00
Scott Kostyshak
b0379b7a68 Update noweb URL in docs
Norman Ramsey is now at Tufts, and URLs to his websites at previous
institutions are broken. The new link gives the same information as
the old links did (verified with web.archive.org).

(cherry picked from commit be91997227)
2017-10-03 15:25:17 -04:00
Stephan Witt
c75d9bf7c4 Add Qt-based fallback-converter for Mac to compensate missing ImageMagick convert utility
(cherry picked from commit f93ec4a1f4)
2017-10-03 20:10:29 +02:00
Stephan Witt
0faf6ff22b add inkscape wrapper script for Mac OS
The wrapper script is placed in the binary directory of the LyX bundle.
It tries to find the real inkscape command line converter in the
Inkscape.app bundle and starts it or reports an error.
The configure.py is changed for Mac OS to check the presence of
the real inkscape binary in the Inkscape.app bundle.

(cherry picked from commit 350ef993e5)
2017-10-03 20:07:35 +02:00
Scott Kostyshak
a4ddc5401b Hebrew tutorial: update link to Hebrew set up
Dekel Tsur has a webpage with information on getting set up with
using Hebrew with LaTeX and LyX. We link to that webpage from our
Hebrew Tutorial. He appears to have changed universities, and the
new link gives the same information as the old link did (verified
with web.archive.org).

(cherry picked from commit a128e1287d)
2017-10-02 23:39:26 -04:00
Scott Kostyshak
e08512e7fd LaTeXConfig.lyx: fix URL of AEA author guide
Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

(cherry picked from commit b94bb04d91)
2017-10-02 23:20:56 -04:00
Scott Kostyshak
fe05ff0013 Math.lyx: fix URL of amsguide.pdf
Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

(cherry picked from commit 7b6fc48c22)
2017-10-02 23:11:41 -04:00
Uwe Stöhr
dc29f73a2f UserGuide.lyx: accept and distribute today's changes 2017-10-03 01:30:59 +02:00
Günter Milde
0f6af3da50 Revise dash documentation in the UserGuide (en and de). 2017-10-02 16:10:28 +02:00
Scott Kostyshak
1962b8bedb Restore compilation of ja/Additional.lyx
Remove a system-dependent path.

(cherry picked from commit e474554627)
2017-10-02 00:51:49 -04:00
Scott Kostyshak
abc112e3a8 Set default format to "default" for Japanese docs
Consistent with 27165841.

(cherry picked from commit 867abeac06)
2017-10-01 13:24:13 -04:00
Jean-Marc Lasgouttes
cda56c0dc3 Avoid empty space above the top of the document
If the height of the first row of the document has become smaller (for
example when it contains an image which size has shrunk), that the
anchor offset has to be adapted so that there is not a large blank
space at the top of the document.

(cherry picked from commit d6aecbda0f)
2017-09-28 13:57:36 +02:00
Juergen Spitzmueller
4f50cbcfe4 Fix crash when closing master with children and grandchildren
In some cases, it is possible that the BufferPositionMap has
dangling pointers. We thus check whether the Buffer is loaded
before accessing it.

Fixes: #10766
2017-09-28 09:06:33 +02:00
Juergen Spitzmueller
745b43784c Whitespace cosmetics 2017-09-27 18:05:58 +02:00
Jean-Marc Lasgouttes
f2f7ea9edc Do not apply mathindent to inline math insets
(cherry picked from commit 040e9d32a6)
2017-09-24 22:55:06 +02:00
Juergen Spitzmueller
64007533a7 Fix some spelling errors reported by Sven
Fixes: #10678
(cherry picked from commit b498646b2e)
2017-09-22 09:34:51 +02:00
Juergen Spitzmueller
5e2d418764 Add missing file (this addition needed to be forced)
(cherry picked from commit c61f31d8a5)
2017-09-19 19:17:40 +02:00
Juergen Spitzmueller
abaeb853d1 Remove files that are no longer in the tree.
(cherry picked from commit fe4e29a642)
2017-09-19 19:17:40 +02:00
Juergen Spitzmueller
cf1a276ec4 Update internal Hunspell to latest release (1.6.2)
(cherry picked from commit 3b89cd9c28)
2017-09-19 19:16:52 +02:00
Juergen Spitzmueller
2c9fd212fd Do not disable the other spellers when compiling against internal hunspell
Users might still want to have a selection.

(cherry picked from commit 561d36a19e)
2017-09-18 18:08:37 +02:00
Juergen Spitzmueller
3de5218e63 Define USE_HUNSPELL when compiling against included hunspell.
Otherwise, the speller is disabled.

(cherry picked from commit be36fe6e62)
2017-09-18 18:08:37 +02:00
Kornel Benko
adfcd0828e Fix compilation of es/Additional.lyx with (xe|lua)latex using for system fonts 2017-09-18 09:22:08 +02:00
Juergen Spitzmueller
942dfcd69a de/Customization: fix typo.
(cherry picked from commit f7e431ce73)
2017-09-17 18:31:33 +02:00
Kornel Benko
754ab4eae6 Update sk.po 2017-09-16 16:54:10 +02:00
Juergen Spitzmueller
d8c018b8c6 Reset InsetArgument language after passthru status change
Fixes: #10664
2017-09-15 16:21:05 +02:00
Juergen Spitzmueller
166054126e RELEASE_NOTES: minor correction 2017-09-15 11:54:39 +02:00