]> git.lyx.org Git - lyx.git/log
lyx.git
4 years agoCmake build: Added 3rdparty creation of dt2dv and dv2dt
Kornel Benko [Thu, 9 Apr 2020 09:46:47 +0000 (11:46 +0200)]
Cmake build: Added 3rdparty creation of dt2dv and dv2dt

Works on linux, needs testing on Windows

4 years agoAddress #9368
Juergen Spitzmueller [Thu, 9 Apr 2020 08:08:44 +0000 (10:08 +0200)]
Address #9368

pdfview creates a temp pdf file to determine the standard pdf viewer,
code simplification, reducing dll dependencies

Patch by Eugene.

4 years agoFix date
Juergen Spitzmueller [Thu, 9 Apr 2020 07:29:41 +0000 (09:29 +0200)]
Fix date

4 years agoAdd ChangeLog do document our own changes
Juergen Spitzmueller [Thu, 9 Apr 2020 07:22:48 +0000 (09:22 +0200)]
Add ChangeLog do document our own changes

4 years ago2006-09-14 Enrico Forestieri <forenr@lyx.org>
Juergen Spitzmueller [Thu, 9 Apr 2020 07:22:02 +0000 (09:22 +0200)]
2006-09-14 Enrico Forestieri <forenr@lyx.org>

* dt2dv.c: Handle non-ASCII characters.

See https://www.lyx.org/trac/ticket/2836

4 years ago2005-07-25 Angus Leeming <leeeming@lyx.org>
Juergen Spitzmueller [Thu, 9 Apr 2020 07:21:05 +0000 (09:21 +0200)]
2005-07-25 Angus Leeming <leeeming@lyx.org>

* dt2dv.c: Enable to handle .dvi files containing strings longer than 1024 chars.

* Makefile: enable the to work out of the box on both *nix and Windows machines
  under the MinSYS environment.

* man2ps: build fixes

See https://marc.info/?l=lyx-devel&m=115228143031699

4 years agoAdd dtl tools to 3rdparty/
Juergen Spitzmueller [Thu, 9 Apr 2020 06:58:09 +0000 (08:58 +0200)]
Add dtl tools to 3rdparty/

We need to compile our own (patched) version of the app on Windows.

See #11325

4 years agoDebug output for paragraph params.
Richard Kimberly Heck [Wed, 8 Apr 2020 21:17:14 +0000 (17:17 -0400)]
Debug output for paragraph params.

4 years agoFix bug #11817.
Richard Kimberly Heck [Wed, 8 Apr 2020 20:40:39 +0000 (16:40 -0400)]
Fix bug #11817.

Preserve line spacing when breaking a paragraph at the beginning.

4 years agoAdded revtex4-2.layout
Kornel Benko [Wed, 8 Apr 2020 08:27:34 +0000 (10:27 +0200)]
Added revtex4-2.layout

For revtex4.1, this is only cosmetics, because the content
of the layout moved to revtex4-x.inc.

4 years agoCmake tests: Amend 353295e4
Kornel Benko [Tue, 7 Apr 2020 12:16:07 +0000 (14:16 +0200)]
Cmake tests: Amend 353295e4

Prevent also the command-line setting of LYX_ENABLE_VALGRIND_TESTS
for the cmake versions < 3.17

4 years agoCmake tests: Start preparing for tests involving valgrind
Kornel Benko [Tue, 7 Apr 2020 10:12:29 +0000 (12:12 +0200)]
Cmake tests: Start preparing for tests involving valgrind

4 years agoUpdate sk.po
Kornel Benko [Tue, 7 Apr 2020 09:54:15 +0000 (11:54 +0200)]
Update sk.po

4 years agoAdd "inset-settings" shortcut to sk/menus.bind
Kornel Benko [Tue, 7 Apr 2020 09:52:58 +0000 (11:52 +0200)]
Add "inset-settings" shortcut to sk/menus.bind

4 years agoCmake build: Discard (unset) some variables if not used anymore
Kornel Benko [Tue, 7 Apr 2020 09:48:45 +0000 (11:48 +0200)]
Cmake build: Discard (unset) some variables if not used anymore

4 years agoFix indentation
Kornel Benko [Tue, 7 Apr 2020 09:47:08 +0000 (11:47 +0200)]
Fix indentation

4 years agoFix indentation
Juergen Spitzmueller [Mon, 6 Apr 2020 14:29:34 +0000 (16:29 +0200)]
Fix indentation

4 years agoFix quotation marks in PDF TOC
Juergen Spitzmueller [Mon, 6 Apr 2020 06:53:29 +0000 (08:53 +0200)]
Fix quotation marks in PDF TOC

4 years agoDownload dictionaries and thesauri from SVN.
Richard Kimberly Heck [Sun, 5 Apr 2020 18:48:19 +0000 (14:48 -0400)]
Download dictionaries and thesauri from SVN.

Patch from Eugene.

4 years agoStrip polyglossia options from pdf string
Juergen Spitzmueller [Sun, 5 Apr 2020 13:23:22 +0000 (15:23 +0200)]
Strip polyglossia options from pdf string

Fixes #11813

4 years agoPrevious DTL update is not usable. Roll it back.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:25:11 +0000 (19:25 -0400)]
Previous DTL update is not usable. Roll it back.

Patch from Eugene.

4 years agoBatch file for removing unneeded imagemagick binaries.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:23:48 +0000 (19:23 -0400)]
Batch file for removing unneeded imagemagick binaries.

Also update installation description.

4 years agoChangelog from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:22:08 +0000 (19:22 -0400)]
Changelog from Eugene.

4 years agoDescription for windows installer and dependencies
Richard Kimberly Heck [Sat, 4 Apr 2020 23:21:00 +0000 (19:21 -0400)]
Description for windows installer and dependencies

Patch from Eugene.

4 years agoChanged main registry entry (LyX\Version now).
Richard Kimberly Heck [Sat, 4 Apr 2020 23:18:23 +0000 (19:18 -0400)]
Changed main registry entry (LyX\Version now).
Added "latestVersion" value.

Patch from Eugene.

4 years agoImplement 64 bit installer.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:16:29 +0000 (19:16 -0400)]
Implement 64 bit installer.
Remove registry hacking for imagemagick (using portable now).

4 years agoDo not compute caret geometry when we are not ready to do so.
Jean-Marc Lasgouttes [Sat, 4 Apr 2020 16:10:44 +0000 (18:10 +0200)]
Do not compute caret geometry when we are not ready to do so.

This avoid crashes with invalid cache.

Fixes bug #11763.

4 years agoDisable append-column with gathered
Juergen Spitzmueller [Sat, 4 Apr 2020 07:27:24 +0000 (09:27 +0200)]
Disable append-column with gathered

Fixes #11812

4 years agoChange tootip for Labeling layout toolbar button
Jean-Marc Lasgouttes [Fri, 3 Apr 2020 17:16:04 +0000 (19:16 +0200)]
Change tootip for Labeling layout toolbar button

Labeled List sounds better that Labeling.

Part of bug #11770.

4 years agoia.po: Update from Giovanni
Pavel Sanda [Fri, 3 Apr 2020 11:49:37 +0000 (13:49 +0200)]
ia.po: Update from Giovanni

4 years agoRemerge ia.po
Pavel Sanda [Fri, 3 Apr 2020 11:46:55 +0000 (13:46 +0200)]
Remerge ia.po

4 years agoImplement buffer-write force
Juergen Spitzmueller [Tue, 31 Mar 2020 06:01:17 +0000 (08:01 +0200)]
Implement buffer-write force

4 years agouse path to developer tools for SetFile utility as fallback
Stephan Witt [Sun, 29 Mar 2020 16:56:53 +0000 (18:56 +0200)]
use path to developer tools for SetFile utility as fallback

4 years agoPrevent wrong reference to duplicated (but deleted) label
Juergen Spitzmueller [Sun, 29 Mar 2020 15:47:59 +0000 (17:47 +0200)]
Prevent wrong reference to duplicated (but deleted) label

Fixes #11803

4 years agoRemove code disabled since 2005.
Richard Kimberly Heck [Sun, 29 Mar 2020 03:52:55 +0000 (23:52 -0400)]
Remove code disabled since 2005.

No one knew then what it was supposed to do.

4 years agoFix bug #11799.
Richard Kimberly Heck [Sun, 29 Mar 2020 03:34:44 +0000 (23:34 -0400)]
Fix bug #11799.

I've made cut, etc, OptItems, as this menu is already very long.

4 years agoRemove obsolete (and false) comment.
Richard Kimberly Heck [Sun, 29 Mar 2020 03:23:47 +0000 (23:23 -0400)]
Remove obsolete (and false) comment.

4 years agoPreviewLoader: start fake pids after PID_MAX_LIMIT
Scott Kostyshak [Sat, 28 Mar 2020 23:12:25 +0000 (19:12 -0400)]
PreviewLoader: start fake pids after PID_MAX_LIMIT

4 years agoUse << for raising 2 to power instead of ^
Scott Kostyshak [Sat, 28 Mar 2020 16:19:11 +0000 (12:19 -0400)]
Use << for raising 2 to power instead of ^

The ^ is interpretted as bitwise XOR, so 2^(20) evaluated to 22.

Thanks to Riki for the << trick. This way, we do not have to use
pow() and include the <cmath> header for this one expression.

4 years agoFix crash after 24926b2e239.
Richard Kimberly Heck [Sat, 28 Mar 2020 19:23:13 +0000 (15:23 -0400)]
Fix crash after 24926b2e239.

The matched element may not have a parent. I guess the old version of
setExpanded too care of that. Now we have to do so.

4 years agoRemove newlines from shortcut LFUNs.
Richard Kimberly Heck [Sat, 28 Mar 2020 19:15:06 +0000 (15:15 -0400)]
Remove newlines from shortcut LFUNs.

4 years agoUpdate sk.po
Kornel Benko [Fri, 27 Mar 2020 07:25:32 +0000 (08:25 +0100)]
Update sk.po

4 years agoFix assertion from setCursor() in outline-down/up
Scott Kostyshak [Thu, 26 Mar 2020 22:57:25 +0000 (18:57 -0400)]
Fix assertion from setCursor() in outline-down/up

The function outline() itself can change the cursor position in some
cases so we need to store the old position before calling outline().

Spotted by Kornel. For an example file that triggered the assertion,
see:

  https://www.mail-archive.com/search?l=mid&q=20200326183314.09ad4c7c%40admin1-desktop

This commit amends adb7283b.

4 years agoFix typo.
Juergen Spitzmueller [Thu, 26 Mar 2020 15:32:13 +0000 (16:32 +0100)]
Fix typo.

4 years agoCmake build: Build VERSION_INFO more cmake-like
Kornel Benko [Thu, 26 Mar 2020 14:48:01 +0000 (15:48 +0100)]
Cmake build: Build VERSION_INFO more cmake-like

Use LIST to add entries and convert the list later to a string

4 years agoUpdate sk.po
Kornel Benko [Thu, 26 Mar 2020 14:47:48 +0000 (15:47 +0100)]
Update sk.po

4 years agoru/Intro: update by Yuriy
Juergen Spitzmueller [Thu, 26 Mar 2020 14:13:49 +0000 (15:13 +0100)]
ru/Intro: update by Yuriy

4 years agoru.po: update by Yuriy
Juergen Spitzmueller [Thu, 26 Mar 2020 14:12:45 +0000 (15:12 +0100)]
ru.po: update by Yuriy

4 years agoCmake build: Amend 3df9525a, extend build info in Help>About
Kornel Benko [Wed, 25 Mar 2020 16:50:58 +0000 (17:50 +0100)]
Cmake build: Amend 3df9525a, extend build info in Help>About

Add also the qt-version and paths of sysdir and the lyx executable
to the  build info

4 years agoCmake build: Extend build info in Help>About
Kornel Benko [Wed, 25 Mar 2020 12:48:16 +0000 (13:48 +0100)]
Cmake build: Extend build info in Help>About

Added list of used cmake options and info about used compiler

4 years agoLet hyperlink insets to be longer if name is given.
Pavel Sanda [Wed, 25 Mar 2020 06:40:27 +0000 (07:40 +0100)]
Let hyperlink insets to be longer if name is given.

Thanks to Oystein Senneset Haaland.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg210882.html

4 years agoAvoid bleeding of inset background outside of inset
Jean-Marc Lasgouttes [Tue, 24 Mar 2020 11:01:43 +0000 (12:01 +0100)]
Avoid bleeding of inset background outside of inset

As a consequence of fix e64ea357 to ticket #10797, we draw a bit too
much of the inset background outside of the inset (visible for insets
with colored background). #10797 is a ticket that triggers when the
cursor has a width larger than 1.

This patch limits the problems in two respects

* nothing is done on the left, since the cursor width only expands on
  the right.

* on the right, the extra width is limited to cursor width.

Fixes bug #11786.

4 years agoPaste some special chars as insets
Juergen Spitzmueller [Mon, 23 Mar 2020 11:07:47 +0000 (12:07 +0100)]
Paste some special chars as insets

See #11790

4 years agoAmend bd6d09fc
Enrico Forestieri [Sun, 22 Mar 2020 21:03:49 +0000 (22:03 +0100)]
Amend bd6d09fc

Was forgetting this.

4 years agoDon't omit ZERO WIDTH NON-JOINER on clipboard paste
Juergen Spitzmueller [Sun, 22 Mar 2020 10:07:57 +0000 (11:07 +0100)]
Don't omit ZERO WIDTH NON-JOINER on clipboard paste

Fixes #11790

4 years agoFix indentation
Juergen Spitzmueller [Sun, 22 Mar 2020 09:10:36 +0000 (10:10 +0100)]
Fix indentation

4 years agoProperly resolve tracked changes when pasting multiple tabular cells
Juergen Spitzmueller [Sat, 21 Mar 2020 14:54:37 +0000 (15:54 +0100)]
Properly resolve tracked changes when pasting multiple tabular cells

Fixes #11791

4 years agoRestore XLFD code for Qt 4
Scott Kostyshak [Sat, 21 Mar 2020 00:36:35 +0000 (20:36 -0400)]
Restore XLFD code for Qt 4

There is a chance that this code is still useful for Qt 4. We keep
it around just in case.

For the case of Qt 4, this commit restores the code changed in
f8e40f8ad255339a, and d4ff3a29.

4 years agoRevert "Fix bug reported by Kornel."
Richard Kimberly Heck [Fri, 20 Mar 2020 21:18:11 +0000 (17:18 -0400)]
Revert "Fix bug reported by Kornel."

This reverts commit 438f15da21a4e6aa2594bb1f6d619540fd0ef02c.

Revert "Track whether we have warned about mixing layouts across e.g. branches."

This reverts commit 861c6167ca5f1329e16dd788489a7c03772e2332.

Revert "Track whether title has been issued via OutputParams."

This reverts commit b536759c0769dab641993347baeb62400455be04.

There are massive complications here, and I don't have time to fix them all
right now.

4 years ago* fix missing entry in ia.po
Pavel Sanda [Fri, 20 Mar 2020 19:43:39 +0000 (20:43 +0100)]
* fix missing entry in ia.po

4 years agoFix bug reported by Kornel.
Richard Kimberly Heck [Fri, 20 Mar 2020 19:25:47 +0000 (15:25 -0400)]
Fix bug reported by Kornel.

The old code was actually wrong. Obviously, this should be set only
if we actually do issue the title command.

4 years agolayouttranslations check from Giovanni
Pavel Sanda [Fri, 20 Mar 2020 16:48:36 +0000 (17:48 +0100)]
layouttranslations check from Giovanni

4 years agoUpdate from Giovanni
Pavel Sanda [Fri, 20 Mar 2020 16:42:47 +0000 (17:42 +0100)]
Update from Giovanni

4 years agoRemerge ia.po
Pavel Sanda [Fri, 20 Mar 2020 16:41:00 +0000 (17:41 +0100)]
Remerge ia.po

4 years agoChange a couple instances of QFontMetrics::width()
Scott Kostyshak [Fri, 20 Mar 2020 13:39:51 +0000 (09:39 -0400)]
Change a couple instances of QFontMetrics::width()

Use QFontMetrics::boundingRect() instead. QFontMetrics::width() does
not actually calculate the width of the bounding box and is mostly
useful for knowing where to draw text after a string, taking into
account bearings. Indeed, it has been renamed to
QFontMetrics::horizontalAdvance().

For the code touched in this commit, we want to center a string.
Either method would likely be fine, but it is more easy to
understand exactly what QFontMetrics::boundingRect() does.

This commit does change functionality, although it should not be
noticeable.

4 years agocat.py: fix Python deprecation warning
Scott Kostyshak [Thu, 19 Mar 2020 22:22:16 +0000 (18:22 -0400)]
cat.py: fix Python deprecation warning

This commit fixes the following warning:

  DeprecationWarning: 'U' mode is deprecated

Removing 'U' has no effect with Python 3 [1]:

  There is an additional mode character permitted, 'U', which no
  longer has any effect, and is considered deprecated. It previously
  enabled universal newlines in text mode, which became the default
  behaviour in Python 3.0.

[1] https://docs.python.org/3/library/functions.html?highlight=open#open

4 years agoRemove redundant font loader code
Scott Kostyshak [Fri, 20 Mar 2020 13:12:47 +0000 (09:12 -0400)]
Remove redundant font loader code

Setting the family to "family" is already attempted above. A
different case was adapted to be this duplicate case at d4ff3a29,
but it should have just been removed.

Spotted by Enrico.

4 years agoRemove remnants regarding old XLFD font handling
Scott Kostyshak [Thu, 19 Mar 2020 16:39:07 +0000 (12:39 -0400)]
Remove remnants regarding old XLFD font handling

These fonts are no longer supported by Qt 5 and our code no longer
uses the "xlfd" member of the struct modified in this commit. See
d4ff3a2959.

4 years agoFix Qt dep warn and remove XLFD font workaround
Scott Kostyshak [Thu, 19 Mar 2020 16:20:16 +0000 (12:20 -0400)]
Fix Qt dep warn and remove XLFD font workaround

This commit fixes a few warnings from Qt 5.14 regarding
QFont::setRawName() and QFont::rawName() like the following one:

  error: ‘void QFont::setRawName(const QString&)’ is deprecated [-Werror=deprecated-declarations]

These methods were deprecated in Qt 5.3. [1]

This commit removes code from 2002 (539ce478) that worked around a
problem in Qt's handling of XLFD fonts that no longer seems relevant
since XLFD is no longer supported in Qt 5 [2]. Even if the problem
were relevant, setRawName() would not fix anything since it is now
an empty method. [3]

I tested that compilation with Qt 4.8.7 works without error.

[1] https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.3.0/?h=v5.14.0
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=3a8d7b0b9a4db91415b7bda2582a59a76b3754dc
[3] https://codereview.qt-project.org/c/qt/qtbase/+/100292/

4 years agoFix Qt deprecation warns for setTextColor()
Scott Kostyshak [Thu, 19 Mar 2020 14:16:19 +0000 (10:16 -0400)]
Fix Qt deprecation warns for setTextColor()

This commit fixes the following warning from Qt 5.14:

  error: ‘void QTreeWidgetItem::setTextColor(int, const QColor&)’ is deprecated: Use QTreeWidgetItem::setForeground() instead [-Werror=deprecated-declarations]

setForeground was introduced in Qt 4.2 [1].

We have a couple of commented out uses of a setTextColor() method in
GuiDocument.cpp, but the QTextEdit::setTextColor() is not deprecated so no
change is needed.

[1] https://doc.qt.io/archives/qt-4.8/qtreewidgetitem.html#setForeground

4 years agoFix commented out code
Scott Kostyshak [Thu, 19 Mar 2020 13:57:08 +0000 (09:57 -0400)]
Fix commented out code

4 years agoFix Qt deprecation warns for setAutoCompletion()
Scott Kostyshak [Thu, 19 Mar 2020 01:00:09 +0000 (21:00 -0400)]
Fix Qt deprecation warns for setAutoCompletion()

This commit fixes a few warnings from Qt 5.14 like the following
one:

  error: ‘void QComboBox::setAutoCompletion(bool)’ is deprecated: Use setCompleter() instead. [-Werror=deprecated-declarations]

We only generated setAutoCompletion() from setting the property in
the .ui files. There does not seem to be a .ui file property that
generates setCompleter(). However, the default in both Qt5 [1] and
Qt4 [2] is to enable case-insensitive autocompletion, which seems to
be the same type of autocompletion as when we were relying on
setAutoCompletion(true). Thus, we can remove the properties that set
autocomplete to true. There is only one file, SearchUi.ui, where we
were turning off the autocompletion; we now do so using
setCompleter(0) in GuiSearch::GuiSearch().

[1] https://doc.qt.io/qt-5/qcombobox.html#setCompleter
[2] https://doc.qt.io/archives/qt-4.8/qcombobox.html#setCompleter

4 years agoTrack whether we have warned about mixing layouts across e.g. branches.
Richard Kimberly Heck [Tue, 17 Mar 2020 05:54:47 +0000 (01:54 -0400)]
Track whether we have warned about mixing layouts across e.g. branches.

4 years agoTrack whether title has been issued via OutputParams.
Richard Kimberly Heck [Tue, 17 Mar 2020 05:50:28 +0000 (01:50 -0400)]
Track whether title has been issued via OutputParams.

When branches are used in the title, we may need to track whether
we've issued the title across branch insets. So we put the relevant
variables into OutputParams.

4 years agoFix bug #11787.
Richard Kimberly Heck [Tue, 17 Mar 2020 05:33:44 +0000 (01:33 -0400)]
Fix bug #11787.

Make sure we are actually at the end of the document before issuing
\maketitle because we are at the end of the document.

4 years agoRemove unused function
Richard Kimberly Heck [Mon, 16 Mar 2020 06:18:19 +0000 (02:18 -0400)]
Remove unused function

4 years agoFix some warnings
Richard Kimberly Heck [Mon, 16 Mar 2020 06:12:16 +0000 (02:12 -0400)]
Fix some warnings

4 years agoNullptr warnings
Richard Kimberly Heck [Mon, 16 Mar 2020 06:09:39 +0000 (02:09 -0400)]
Nullptr warnings

4 years agoFix warning about 'requires' being a keyword.
Richard Kimberly Heck [Mon, 16 Mar 2020 05:31:09 +0000 (01:31 -0400)]
Fix warning about 'requires' being a keyword.

4 years agoUse ranges and fix nullptr warnings.
Richard Kimberly Heck [Mon, 16 Mar 2020 05:08:03 +0000 (01:08 -0400)]
Use ranges and fix nullptr warnings.

4 years agoFix Qt deprecation warns for QTime
Scott Kostyshak [Mon, 16 Mar 2020 00:32:16 +0000 (20:32 -0400)]
Fix Qt deprecation warns for QTime

This commit fixes a couple of warnings from Qt 5.14 like the
following one:

  error: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead [-Werror=deprecated-declarations]

This commit changes two uses of QTime to QElapsedTimer, one used
only when the "files" debug flag is set, and the other for timing
whether a script (e.g., knitr) takes longer than a certain amount of
time to run.

QElapsedTimer is superior for these two use cases in that it uses a
monotonic clock if possible, and is thus more robust to certain
changes (e.g., daylight savings changes) [1]. Similarly, the commit
in Qt Base that makes this deprecation [2] mentions the following in
the commit message:

  QElapsedTimer does the job better and without the DST kludges.

Note that QElapsedTimer class was introduced in Qt 4.7, so no
conditioning on Qt version is necessary.

Not all methods of QTime are deprecated and we still use some of
the non-deprecated methods in our code (e.g., to get the current
wall clock time in GuiProgress::currentTime()).

[1] https://doc.qt.io/qt-5/qelapsedtimer.html
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=ed99a591a83a399458f12341d0a1c0b3152f247a

4 years agoupdate tex2lyx tests
Juergen Spitzmueller [Sun, 15 Mar 2020 16:19:23 +0000 (17:19 +0100)]
update tex2lyx tests

4 years agoOutliner: Add filter combo for non-output items
Juergen Spitzmueller [Sun, 15 Mar 2020 09:46:35 +0000 (10:46 +0100)]
Outliner: Add filter combo for non-output items

Addresses #11442, #10786

4 years agolyx_2_0.pyx_ add convert_includeall method
Juergen Spitzmueller [Sun, 15 Mar 2020 08:32:02 +0000 (09:32 +0100)]
lyx_2_0.pyx_ add convert_includeall method

It's better to have that param explicitly in the document.

4 years agoFix bug #11780.
Richard Kimberly Heck [Sat, 14 Mar 2020 22:31:25 +0000 (18:31 -0400)]
Fix bug #11780.

The preamble snippets are for LaTeX and do not need to be output
with HTML.

4 years agoUse a reference
Richard Kimberly Heck [Sat, 14 Mar 2020 22:05:49 +0000 (18:05 -0400)]
Use a reference

4 years agoUpdate sk.po
Kornel Benko [Sat, 14 Mar 2020 19:29:00 +0000 (20:29 +0100)]
Update sk.po

4 years agoFix Python 3 issues when generating preview snippets
Enrico Forestieri [Sat, 14 Mar 2020 16:03:16 +0000 (17:03 +0100)]
Fix Python 3 issues when generating preview snippets

The log file generated by latex can contain strings encoded in
whatever supported encoding. Instead of guessing the encoding,
it is better to open it in binary mode and then performing the
necessary comparisons as "bytes". In order to do this, the
strings are encoded in utf8, so that, for example, b"pythön" is
encoded as "pyth\xc3\xb6n" (7 bytes). Of course, this means that
we can only successfully perform comparisons with ascii strings.
However, this is what we actually do, as we only search for
ascii strings in the log file.

4 years agode.po
Juergen Spitzmueller [Sat, 14 Mar 2020 16:13:08 +0000 (17:13 +0100)]
de.po

4 years agoOutliner: distinguish non-active refs from broken refs
Juergen Spitzmueller [Sat, 14 Mar 2020 15:29:53 +0000 (16:29 +0100)]
Outliner: distinguish non-active refs from broken refs

See #11782

4 years agoAdd active refs to non-active labels to brokenrefs toc
Juergen Spitzmueller [Sat, 14 Mar 2020 14:35:47 +0000 (15:35 +0100)]
Add active refs to non-active labels to brokenrefs toc

4 years agoAdd outliner section for broken refs and citations
Juergen Spitzmueller [Sat, 14 Mar 2020 14:18:28 +0000 (15:18 +0100)]
Add outliner section for broken refs and citations

4 years agoColor broken citations, xrefs, and includes
Juergen Spitzmueller [Sat, 14 Mar 2020 13:17:30 +0000 (14:17 +0100)]
Color broken citations, xrefs, and includes

Fixes #11503

4 years agoSupport log parsing for multi-line warnings wrt undefined references
Juergen Spitzmueller [Sat, 14 Mar 2020 10:16:12 +0000 (11:16 +0100)]
Support log parsing for multi-line warnings wrt undefined references

4 years agothinko
Juergen Spitzmueller [Sat, 14 Mar 2020 08:51:07 +0000 (09:51 +0100)]
thinko

4 years agoDo not break on undefined references that are part of the family.
Juergen Spitzmueller [Sat, 14 Mar 2020 08:43:57 +0000 (09:43 +0100)]
Do not break on undefined references that are part of the family.

Thus a document can be viewed if it contains references to
its master, children or siblings that are being excluded via includeonly,
or viewed standalone if it contains references to its master or siblings.

4 years agoImprove error message
Juergen Spitzmueller [Sat, 14 Mar 2020 08:43:16 +0000 (09:43 +0100)]
Improve error message

4 years agoUpdate sk.po
Kornel Benko [Fri, 13 Mar 2020 16:33:15 +0000 (17:33 +0100)]
Update sk.po

4 years agoFixup tooltips
Juergen Spitzmueller [Fri, 13 Mar 2020 15:23:08 +0000 (16:23 +0100)]
Fixup tooltips

4 years agode.po
Juergen Spitzmueller [Fri, 13 Mar 2020 15:21:57 +0000 (16:21 +0100)]
de.po