Commit Graph

10274 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
a6db1383f5 Get rid of spelling and language marks in info inset
These are just annoying. Note that the language mark cannot currently
be specified in a layout file, but it is not clear that there is a
need for that. Therefore I used the simple and hackish way.
2022-03-10 13:35:45 +01:00
Scott Kostyshak
ae31e16952 lyx2lyx: prefix warning messages with "lyx2lyx"
Both lyx2lyx and LyX write output to the terminal, and it's helpful
to know which messages are coming from lyx2lyx. For example, before
this commit if we opened a document in LyX that has a newer file format than
lyx2lyx can deal with, we see the following output in the terminal:

  Warning: 619: Format not supported.
  Warning: Quitting.
  Error: Document format failure

The first two lines (the warnings) are output from lyx2lyx, and the
third is output by LyX. This output was particularly confusing
because I first thought "LyX tries to quit if the document is too
new?", but in fact LyX still stays open; it just doesn't open the
document. After this change, the output is now the following:

  lyx2lyx warning: 619: Format not supported.
  lyx2lyx warning: Quitting.
  Error: Document format failure
2022-03-08 11:57:04 -05:00
Kornel Benko
4b58e3b4fe Format of description of function search-ignore 2022-03-04 17:29:37 +01:00
Thibaut Cuvelier
030db93ab2 unicodesymbols: fix problematic entries. 2022-02-27 04:14:12 +01:00
Daniel Ramoeller
8bc6aa7535 Footnote LabelString should be "Foot" rather than "foot"
Fix for bug #12487.
2022-02-22 10:33:51 +01:00
Thibaut Cuvelier
0cde3dce12 unicodesymbols: add math versions of some symbols according to unicodetex 2022-02-21 18:24:26 +01:00
Thibaut Cuvelier
548c12158f unicodesymbols: mark several Greek characters as deprecated (oxia becoming tonos).
Some of corresponding commands did not have a matching LaTeX command for a currently recommended Unicode character; these have been added.
2022-02-21 18:24:26 +01:00
Thibaut Cuvelier
fb70452086 unicodesymbols: amend fec498d6, there was an O (capital letter O) instead of an 0 (zero). 2022-02-20 22:29:15 +01:00
Thibaut Cuvelier
fec498d661 unicodesymbols: add several synonyms. 2022-02-20 01:33:28 +01:00
Thibaut Cuvelier
0dc7f34e00 unicodesymbols: parse supplementary lines to encode alternative ways to encode symbols in raw LaTeX. 2022-02-20 01:33:03 +01:00
Thibaut Cuvelier
faf0e9ee13 configure: for EPS to PNG, ask ImageMagick to only consider the first image.
Issue discussed in the mailing list: when the EPS contains several images (Adobe Photoshop exports two of them, one being a low-quality TIFF for preview), two files are generated, none with the existing name (prefix: -0 and -1). Hence, LyX thought that there was an error.
2022-02-20 01:33:02 +01:00
Enrico Forestieri
94a7f74423 Avoid a Qt warning about bad svg
See #10384 for the details.
2022-02-17 14:59:17 +01:00
Juergen Spitzmueller
58b8eda64f de/Customization: fix typo. 2022-02-15 10:53:34 +01:00
Juergen Spitzmueller
e2adad20e8 Small doc addition concerning \DocumentMetadata 2022-02-13 10:28:00 +01:00
Juergen Spitzmueller
1da80d4d8f Add basic support for \DeclareMetadata
File format change
2022-02-12 17:10:34 +01:00
Juergen Spitzmueller
a7c58e2ff3 Do not output hyperref option unicode with recent hyperref versions
unicode is true by default anyway, and it is now easier to opt out
via PackageOptions
2022-02-11 17:07:57 +01:00
Juergen Spitzmueller
e071d5fe29 HP-Statements example: update
Some of the examples used here seem to be no longer supported by
the hpstatement package and lead to errors.
2022-02-07 17:07:50 +01:00
Scott Kostyshak
29b386640e Comment: link to Beamer enumitem feature request 2022-01-27 17:27:15 -05:00
jpc
d085830895 Update branch inset inversion explanation 2022-01-13 17:33:36 +01:00
Jean-Marc Lasgouttes
1ed9257c6d Document \draw_strategy in release notes
Also trim some whitespace.
2022-01-07 17:59:26 +01:00
José Matos
109ea2be4a Add new placeholder $${python} to configure
This ensures that we use a consistent Python interpreter in LyX.

$${python} is replaced by the Python version found.

Users can apply this in preferences and use the same version defined by
LyX.
2022-01-04 00:21:34 +00:00
Scott Kostyshak
13a7269b9d Change LFUN arg from "zoom" to "zoomlevel"
This change is just to be more specific, to help when grepping and
reading.

The idea is from Daniel
(https://www.lyx.org/trac/ticket/12420?replyto=11#comment:11).

Amends cc787967 (and thus 49a17aaa).
2022-01-03 15:57:35 -05:00
José Matos
940d3ceeb9 Make layout2layout compatible with Python 2 and 3 2022-01-03 19:59:42 +00:00
Jean-Marc Lasgouttes
0789f2f2ae Fix font inside footnote inset
An inset that resets its font (like Footnote) does not care at all
about enclosing font. Therefore the real starting point is the class
default font. This avoid cases where the footnote contents is forced
to \normalsize.

It turns out that the Greyedout note inset, did inherit font but was
declared as not doing it. This commmit changes the definition by
adding \normalfont\normalsize so that no inheritance happens.

Note that actually \normalfont resets everything but the font size.
This does not matter for footnote (which has its own font size) and
greyedout (which is fixed now), but may matter elsewhere. Also, I do
not know what the situation with HTML is.
2021-12-31 13:40:53 +01:00
Stephan Witt
77670bc998 Reduce the mix of python versions in configure.py in case of running it with python3 2021-12-31 13:40:22 +01:00
Stephan Witt
6372f5569e Avoid python based lilypond-book detection if it's not needed - e.g. on Mac 2021-12-31 11:54:28 +01:00
Scott Kostyshak
cc787967f4 Change "Show Zoom Value" to "Show Zoom Level"
See discussion at #12420.

Amends 49a17aaa.
2021-12-29 11:45:01 -05:00
Scott Kostyshak
49a17aaa5d Change label "Show Zoom" to "Show Zoom Value" 2021-12-27 13:43:19 -05:00
Daniel Ramoeller
eae56b1194 Hide the zoom in the status bar from the status bar context menu
Fix for #12420.
2021-12-27 13:43:19 -05:00
Juergen Spitzmueller
a7905c5b96 Do not protect \\ as of LaTeX 2021/06/01 2021-12-27 16:32:12 +01:00
Juergen Spitzmueller
2eaf30c57e fr/Linguistics.lyx: fixes
* Fix up markup in and localize examples
* Remove local layout from lyx2lyx conversion
2021-12-08 09:49:23 +01:00
Thibaut Cuvelier
68ff3436c9 symbols: update HTML entities and Unicode encodings for Greek letter variations. 2021-12-08 02:02:46 +01:00
Thibaut Cuvelier
5b62d43835 symbols: don't encode vertical bars as nonexistent HTML entities.
Excerpt from https://www.lyx.org/trac/ticket/12221#comment:11

Created by lynx
2021-12-08 02:02:46 +01:00
Thibaut Cuvelier
e3489d54e3 DocBook: implement margin/sidenotes in Tufte. 2021-12-05 22:54:51 +01:00
Scott Kostyshak
c7b4cae840 Typo in doc: capitalize "t" in "EndLabeltype" 2021-12-04 15:17:36 -05:00
Juergen Spitzmueller
ea475c0ce6 Support 0x019b via tipa (#12426) 2021-11-12 11:43:11 +01:00
Thibaut Cuvelier
4643048583 DocBook LilyPond: add a comment to indicate that an issue cannot be worked around. 2021-11-02 00:55:24 +01:00
Thibaut Cuvelier
710fb50118 Fix the Unicode encoding of Rightarrow
Author: lynx

Related issue: 12411.
https://www.lyx.org/trac/ticket/12411
2021-10-29 21:29:42 +02:00
Jean-Marc Lasgouttes
f8e893ce7e Release note: remove fun "bidi"
As documented later, this has been removed.
2021-10-29 18:08:29 +02:00
Juergen Spitzmueller
9febb60190 Document parskip change in RELEASE NOTES (#10968) 2021-10-29 18:01:02 +02:00
Thibaut Cuvelier
ed052a7691 Fix the Unicode encoding of langle/rangle
Author: lynx

Related issue: 12411.
https://www.lyx.org/trac/ticket/12411

The previous mapping was for HTML 4, the new one is for HTML 5.
2021-10-28 23:52:30 +02:00
Yuriy Skalko
54028c3eea Mark inverted branch insets 2021-10-27 00:56:06 +03:00
Scott Kostyshak
9ca91b2566 Update layouts (run layout2layout.py)
There is nothing in the diff besides the format number changing from
93 to 95. From what I understand, this is as expected since 93 -> 94
and 94 -> 95 just add new layout tags.

Updating the layouts makes it easier to test master. Otherwise, in
some use cases layout2layout can be run hundreds of times which can
make some things slow (e.g., opening documents or even opening the
advanced find pane).
2021-10-25 12:37:21 -04:00
Stephan Witt
c52344e859 #12408 improved release notes text for changed shortcuts on macOS 2021-10-24 11:28:03 +02:00
Thibaut Cuvelier
e93e50bf56 DocBook: add the DocBookRenderAsImage tag. 2021-10-13 19:26:48 +02:00
Thibaut Cuvelier
73a63822c2 DocBook: update links to LilyPond bugs.
Also updates the test so that it matches the next version of LilyPond.
2021-10-13 02:36:39 +02:00
Thibaut Cuvelier
32bd5877e7 DocBook: make copier compatible with Python 2. 2021-10-13 02:36:39 +02:00
Daniel Ramoeller
0862042b28 SVG replacement of busy.gif
Fix for bug #10384.
2021-09-29 12:49:56 +02:00
Pavel Sanda
05dd6614c4 Include docbook_copy.py in released tarball. 2021-09-27 22:07:07 +02:00
Thibaut Cuvelier
e9db9d3644 DocBook copy: add links to bug reports. 2021-09-27 01:46:01 +02:00