Commit Graph

10323 Commits

Author SHA1 Message Date
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
Thibaut Cuvelier
6d3be39587 DocBook copy: don't error if the file was already copied. 2021-09-27 01:15:16 +02:00
Thibaut Cuvelier
a464915f58 DocBook copy: large refactoring to improve readability. 2021-09-27 01:10:49 +02:00
Thibaut Cuvelier
e22f52e731 DocBook: make LilyPond work more reliably. 2021-09-27 00:39:10 +02:00
Thibaut Cuvelier
508badc78a DocBook: redirect LilyPond output to main LyX output to ease debugging. 2021-09-26 21:13:17 +02:00
Thibaut Cuvelier
e983676f6c DocBook: work around bug in LilyPond.
https://lists.gnu.org/archive/html/bug-lilypond/2021-09/msg00039.html
2021-09-26 21:00:59 +02:00
Thibaut Cuvelier
57e0b860cb DocBook: add the new script as DocBook copier. 2021-09-26 19:10:13 +02:00
Thibaut Cuvelier
f0537d72ee DocBook: add script to start LilyPond on the generated file.
Not yet used anywhere in the code for now (see next commit).
2021-09-26 18:15:09 +02:00
Thibaut Cuvelier
661fcb2628 Unused code. 2021-09-26 17:27:41 +02:00
Thibaut Cuvelier
b2c0604ad1 Typo. 2021-09-26 17:25:28 +02:00
Thibaut Cuvelier
db3efe4549 Amend 4fd6edf3
Escape paths in the generated RC file.
2021-09-23 23:40:21 +02:00
Thibaut Cuvelier
4fd6edf330 Find LilyPond on Windows too.
The main problem is that, while lilypond.exe exists, there is not lilypond-book.exe: the previous calls always failed, even though the file was there, just not called the right way.
2021-09-23 02:59:39 +02:00
Thibaut Cuvelier
ffa1b1dcc7 DocBook: add inner tags for layouts.
This makes it possible to implement LilyPond as prescribed in https://lilypond.org/doc/v2.22/Documentation/usage/docbook.
2021-09-21 01:21:25 +02:00
Thibaut Cuvelier
14ed5b2050 DocBook: start implementing LilyPond.
All the changes that can be achieved without C++ code changes.
2021-09-21 01:21:25 +02:00
Thibaut Cuvelier
8b6e3d3749 DocBook: add more flexibility for floats.
Intended to fix #12371.
2021-09-20 00:06:20 +02:00
Pavel Sanda
5a9c6ce69b xhtml Toc rendering seems bit too dense now. 2021-08-02 15:25:36 +02:00
Jean-Marc Lasgouttes
5920ddb567 Standard proof layout does not have an end label
Most proof environment have a qed box at the end, but not this one.
This only changes screen rendering.
2021-07-19 12:36:34 +02:00
Pavel Sanda
4fc7e9697e * lib/RELEASE-NOTES 2021-07-11 18:16:42 +02:00
Pavel Sanda
cd5d1be8f8 Properly distribute metainfo. 2021-07-11 18:09:10 +02:00
Pavel Sanda
837791c5ef Update metainfo to newer format.
Used appstream form:
https://www.freedesktop.org/software/appstream/metainfocreator/#/guiapp
2021-07-11 18:09:10 +02:00
jpc
27092c2af0 Add hint about the need of Acrobat DC 2021-07-06 18:52:58 +02:00
jpc
ab5e5e41a2 Update French translation of Linguistics manual 2021-06-28 11:01:30 +02:00
Scott Kostyshak
76a40d2af5 Fix reference to subequation documentation, #12316
The example file was incorporated into the Math manual at 3aa01442.
2021-06-22 21:20:46 -04:00
Juergen Spitzmueller
eb43ae931a Update Credits entry 2021-06-22 07:48:15 +02:00
jpc
5b0b3f053e Remove spurious parentheses due to \thanks code
The LyX foonote inset was exported as a broken \thanks command
         Replaced by a LyX note
2021-06-14 15:33:33 +02:00
Scott Kostyshak
20d0decf29 Powerdot.lyx: note the TL21 required ps2pdf flag
See 70b89e70 and #12303.
2021-06-12 23:08:56 -04:00
Scott Kostyshak
3e78fd4139 Powerdot.lyx: update format for next commit 2021-06-12 23:08:56 -04:00
Yuriy Skalko
9c1cacaf18 Update Russian documentation 2021-06-08 15:14:01 +03:00
jpc
6553c4ae47 Fix LyX version number and translation info 2021-06-05 18:15:19 +02:00
jpc
ee57e9960d Fix LyX version number 2021-06-05 18:13:07 +02:00
jpc
2634421cb4 Fix inputencoding in French manuals 2021-06-04 15:25:12 +02:00
jpc
4b7ce0e079 Update French EmbeddedObjects manual for 2.4.0 2021-06-04 13:34:33 +02:00
jpc
5f076b82e6 Minor fixes and a couple of enhancements for EmbeddedObjects manual 2021-06-04 13:33:18 +02:00
Kornel Benko
3c6632f3b0 Amend 357bc257, Typo: correct reference of script 2021-06-04 10:51:48 +02:00
Scott Kostyshak
357bc2576c Noweb.lyx: correct reference of script
Thanks to Kornel.
2021-06-03 12:41:49 -04:00
Pavel Sanda
6c42feb137 Update lib/doc/LFUNs.lyx 2021-06-03 15:08:29 +02:00
Scott Kostyshak
8c5b58a3f8 Noweb.lyx: fix a few mistakes from old lyx2lyx
In fb034884 I made some manual changes to documents that weren't
correctly converted by lyx2lyx (from ERT to Chunk insets) but I left
a "@" inside a chunk, which ended it prematurely and caused
incorrect output.

This current commit also cleans up a few other things in the
document.

Thanks to Kornel for catching this.
2021-06-02 20:09:58 -04:00
Scott Kostyshak
f5d02bc7c6 Noweb.lyx: update format for subsequent changes 2021-06-02 20:09:58 -04:00
jpc
db20196d30 Mark pieces of text as French + typos in fr.po 2021-06-01 18:33:35 +02:00
Kornel Benko
bc01f50955 Cmake export tests: Select "-dALLOWPSTRANSPARENCY" flag for ps2pdf converter
Add parameter "-dALLOWPSTRANSPARENCY" for call to ps2pdf.
Used only in test environment.
The fix is proposed by Scott.

Here his comment:
        "Interestingly, the flag fixes the English Powerdot tests but not the
        French ones."
2021-05-30 20:26:41 +02:00
jpc
097d7239f0 Mark as French pieces of English text detected by Kornel 2021-05-30 15:32:15 +02:00
Scott Kostyshak
70b89e7068 Instant_Preview.lyx: document ps2pdf flag
Starting with TeX Live 2021, the flag -dALLOWPSTRANSPARENCY may be
necessary for the ps2pdf converter.
2021-05-29 22:22:45 -04:00
jpc
ffa6a724ee Typo 2021-05-28 08:50:05 +02:00
jpc
814febbdf7 Minor fixes in UserGuide 2021-05-27 16:32:55 +02:00
jpc
8d6a14e43f Update French UserGuide for 2.4.0 and fr.po 2021-05-27 16:29:38 +02:00
jpc
049d162166 Some fixes + make section B.9 fit with the menus 2021-05-26 18:04:16 +02:00
jpc
0c6a71e602 Update French UserGuide (step 3) and fr.po 2021-05-26 17:58:31 +02:00
Kornel Benko
5158b54eb9 Cmake export tests: Enable unsafe dvipdfmx
Add parameter "-i dvipdfmx-unsafe.cfg" for call to dvipdfmx.
Used only in test environment.
This is needed because of regression for ja LilyPond found by Scott.
Coment by Jürgen:
  "dvipdfmx-unsafe.cfg makes dvipdfmx call gs (rungs) with -dNOSAFER
  rather than with -DSAFER (as in the default dvipdfmx.cfg of TL21).

  However, this change should definitely only be applied to trustworthy
  files, so changing the converter generally is certainly not such a good
  idea."
2021-05-23 10:05:13 +02:00
jpc
cde4537a42 Restore gender-neutral formulation 2021-05-19 10:33:16 +02:00
jpc
fcd735d74c Unify translation of 'markup' in French UserGuide 2021-05-18 17:55:37 +02:00
Juergen Spitzmueller
a84bf0c526 de/UserGuide: some minor fixes 2021-05-18 13:50:30 +02:00
Juergen Spitzmueller
cf8b5802a5 de/UserGuide: updates from Christoph Schmitz 2021-05-18 08:55:31 +02:00