Commit Graph

38269 Commits

Author SHA1 Message Date
Uwe Stöhr
b7f7c857ad 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:50:20 +02:00
Enrico Forestieri
fcac66d1db Update it.po 2017-10-15 16:18:53 +02:00
Enrico Forestieri
c16ccdb5fd 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.
2017-10-15 15:29:33 +02:00
Kornel Benko
b242a90bd0 Update sk.po 2017-10-13 16:52:26 +02:00
Juergen Spitzmueller
69b03d2545 updatelayouts.py: consider citeengines. 2017-10-13 16:08:23 +02:00
Juergen Spitzmueller
5997b60da1 Update some more layouts 2017-10-13 16:08:07 +02:00
Juergen Spitzmueller
d4e30ad88f Adapt citengine to current layout format. 2017-10-13 15:47:41 +02:00
Juergen Spitzmueller
71e7dfbc81 de.po 2017-10-13 11:43:05 +02:00
Juergen Spitzmueller
c462fadff5 Some improvements to the graphics dialog
* Describe the viewport/bb situation more accurate
* Use generic term "coordinates", since bb and viewport are flavor-specific
* Add some tooltips
* Increase the width of the options widget.
2017-10-13 11:25:55 +02:00
Juergen Spitzmueller
8fecdfc473 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.
2017-10-13 10:04:27 +02:00
Juergen Spitzmueller
aaf17b08a8 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-12 15:38:59 +02:00
Jean-Marc Lasgouttes
e7122d7926 Some improvements related to Debug::PAINTING
Avoid blinking the cursor when these debug messages are active.
This avoids a lot of debug information.
2017-10-11 17:39:02 +02:00
Jean-Marc Lasgouttes
6956cea323 fix broken comment 2017-10-11 17:33:45 +02:00
Jean-Marc Lasgouttes
e8d8f0abf8 Revert "autoconf"
I did not plan to push this

This reverts commit 0bd6cc30bc.
2017-10-11 12:02:25 +02:00
Jean-Marc Lasgouttes
88d0390724 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.
2017-10-11 11:59:58 +02:00
Jean-Marc Lasgouttes
0bd6cc30bc autoconf 2017-10-11 11:20:59 +02:00
Enrico Forestieri
ce4f39d414 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.
2017-10-11 09:13:11 +02:00
Scott Kostyshak
d233831c1c ja/EmbeddedObjects.lyx: correct file path
References to the central clipart directory must be prefixed with
".." for non-English manuals.
2017-10-09 11:45:08 -04:00
Stephan Witt
2232ea389b Add description comment for the lyxconvert utility 2017-10-09 08:06:27 +02:00
Richard Heck
af381a2fb2 Reset cursor before beginning reload sequence. 2017-10-08 23:06:32 -04:00
Kornel Benko
23e67a3829 Cmake tests: Another case of using temporary files
Ctest misinterprets '#' in filenames as comment start,
2017-10-08 11:04:17 +02:00
Günter Milde
54df2f5446 Seminar export fails with latest TeXLive.
Also update the comment on wrong output with "seminar".
2017-10-08 10:36:24 +02:00
Scott Kostyshak
0c7e5c115d 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
2017-10-07 22:37:42 -04:00
Kornel Benko
847c68960a 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.
2017-10-07 10:47:17 +02:00
Scott Kostyshak
0bf3136837 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:38:24 -04:00
Scott Kostyshak
4b1f3ab539 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.
2017-10-06 21:34:52 -04:00
Scott Kostyshak
8b1cdce752 ja/Math.lyx: correct the URL of the mhchem manual
It was pointing to the hyperref manual.
2017-10-06 15:06:11 -04:00
Scott Kostyshak
a0b3c3b563 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.
2017-10-06 14:22:22 -04:00
Scott Kostyshak
5b7c2348e6 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
2017-10-06 13:53:14 -04:00
Scott Kostyshak
b5662f1d21 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.
2017-10-06 02:16:40 -04:00
Stephan Witt
90659dcc7d Add license and author infos 2017-10-06 00:59:12 +02:00
Kornel Benko
336f94d12f Cmake build: Don't use temporary doc-files as source for installation 2017-10-05 20:16:52 +02:00
Scott Kostyshak
55cdd62916 docs: update URL of Astronomy & Astrophysics
The new URL was found by visiting the root URL and clicking on
"journals".
2017-10-05 00:22:35 -04:00
Scott Kostyshak
8738aceca3 fr/Additional.lyx: remove duplicate URL 2017-10-05 00:21:34 -04:00
Stephan Witt
0273d607c5 Add missing check for Qt version when using QPdfWriter class 2017-10-03 22:50:05 +02:00
Kornel Benko
7661462400 Cmake build: Only use the new lyxconvert on MAC 2017-10-03 22:12:23 +02:00
Scott Kostyshak
be91997227 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).
2017-10-03 15:23:25 -04:00
Scott Kostyshak
a128e1287d 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).
2017-10-02 23:32:19 -04:00
Scott Kostyshak
b94bb04d91 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.
2017-10-02 23:15:02 -04:00
Scott Kostyshak
7b6fc48c22 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.
2017-10-02 23:07:51 -04:00
Uwe Stöhr
7ee30e0f5a UserGuide.lyx: accept and distribute today's changes 2017-10-03 01:15:32 +02:00
Jean-Marc Lasgouttes
add342d088 Create new method GuiWorkArea::Private:::updateCaretGeometry
This replaces a showCaret/hideCaret pair and avoids an update.

Also remove an update() call in resizeBufferView: is is not necessary
since we are already in a pintEvent handler.
2017-10-02 17:14:55 +02:00
Kornel Benko
92628a2990 cmake tests: Try to use valid locales for testing 2017-10-02 10:35:57 +02:00
Scott Kostyshak
e474554627 Restore compilation of ja/Additional.lyx
Remove a system-dependent path.
2017-10-02 00:48:33 -04:00
Kornel Benko
c2eb1a1a72 Add suffixed lyxconvert to cmake build.
This should amend f93ec4a, but is not tested on apple
2017-10-02 02:00:47 +02:00
Scott Kostyshak
867abeac06 Set default format to "default" for Japanese docs
Consistent with 27165841.
2017-10-01 13:22:03 -04:00
Stephan Witt
f93ec4a1f4 Add Qt-based fallback-converter for Mac to compensate missing ImageMagick convert utility 2017-09-30 18:13:37 +02:00
Jean-Marc Lasgouttes
764a153c69 Improve the logic of caret repainting
For some reason the existing code only considered the bottom row that
contained the cursor. There is no need for that, and actually it
caused painting problems in nested insets.

Tweak the logic of repaint_caret_row_ a bit: there is no need for
repainting when there is currently no caret on screen.
2017-09-29 10:33:21 +02:00
Jean-Marc Lasgouttes
d6aecbda0f 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.
2017-09-28 13:31:41 +02:00
Juergen Spitzmueller
a18ad654e8 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
(cherry picked from commit 4f50cbcfe4)
2017-09-28 09:09:36 +02:00