Commit Graph

37886 Commits

Author SHA1 Message Date
Juergen Spitzmueller
4947476da8 Do not scan BibTeX files multiple times in a collectBibKeys() procedure.
Scanning is rather slow, so this improves performance in specific
situations (multiple inclusion of larger files in master/child or
chapterbib context)

(cherry picked from commit 88a0666d6c)
2017-10-18 12:21:29 +02:00
Richard Heck
ffd175b99f Use of div for labels causes validation errors. See #8843.
(cherry picked from commit b8206a0832)
2017-10-16 21:41:30 -04:00
Richard Heck
1bef592999 Revert "ABOVE and CENTERED labels need special treatment."
This reverts commit 08bf9781ee.
2017-10-16 21:37:59 -04:00
Uwe Stöhr
5480cfd19a Additional.lyx: replace quotes character by LyX quotes 2017-10-17 00:24:41 +02:00
Juergen Spitzmueller
cd5e2d537f update po/gmo files after a71778de94 2017-10-16 14:30:57 +02:00
Juergen Spitzmueller
a71778de94 Collapsable -> Collapsible (part 3)
The current spelling is not strictly wrong, but flagged as unusual or
    historical by some authorities. It is also found fault with many
    spell checkers. Thus we decided to move to the more standard "-ible"
    form once and for all.

    See #10678 for discussion

    This part addresses the po files.
2017-10-16 11:28:45 +02:00
Juergen Spitzmueller
9ae4b659dc Collapsable -> Collapsible (part 4)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This last part updates the layout format and changes collapsable color.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

(cherry picked from commit 4345331870)
2017-10-16 11:24:49 +02:00
Juergen Spitzmueller
a59301eaff Collapsable -> Collapsible (part 2)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part covers the most tricky part: the internal naming.
Translations and layouts will follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

(cherry picked from commit c466baaa5b)
2017-10-16 11:24:41 +02:00
Juergen Spitzmueller
e040ccb0e8 Collapsable -> Collapsible (part 1)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part only covers the usage in comments and the like. More to follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

(cherry picked from commit 648ddd25ec)
2017-10-16 11:22:13 +02:00
Richard Heck
402d41b82d Revert "Fix bug #8782."
This caused slowness on undo and redo that was reported at
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202292.html

This reverts commit 02847641a8.
2017-10-15 20:56:25 -04:00
Uwe Stöhr
1940a1f080 Win installer: update Qt
- Qt 5.6.3 uses a different path name scheme
- one DLL was removed in Qt 5.6.3
2017-10-15 16:47:48 +02:00
Enrico Forestieri
d7306b62ac Update it.po 2017-10-15 16:35:08 +02:00
Enrico Forestieri
2e253eab0f Fix issue with regular expressions
At least with gcc 6.4, if the first parameter passed to
regex_match() is afterward changed, the second one gets
corrupted. This is avoided by using a temporary string.

(cherry picked from commit c16ccdb5fd)
2017-10-15 15:42:39 +02:00
jpc
f2f12cc7c7 Update fr.po 2017-10-14 17:36:12 +02:00
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