Commit Graph

10912 Commits

Author SHA1 Message Date
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
jpc
93a08e5867 Restore dynamic insets 2021-05-16 18:25:36 +02:00
jpc
5598c1fa96 Typos in French UserGuide 2021-05-16 18:17:53 +02:00
jpc
095ebb4341 Review section 3.7 2021-05-14 17:56:27 +02:00
jpc
f344485c8f Typos 2021-05-14 17:54:58 +02:00
jpc
53b5750acd Update French UserGuide (step 2) and fr.po 2021-05-14 17:25:17 +02:00
jpc
849dbd4af4 UserGuide: missing item and incorrect shortcut in section 2.1
French Userguide: update for 2.4.0, step 1
2021-05-09 11:20:37 +02:00
jpc
b4e9c794fc A couple of edits in section 5.5 (DocBook) of the Customization manual 2021-05-03 18:09:35 +02:00
jpc
5940c837ed Update of French Customization manual for 2.4.0 2021-05-03 18:08:11 +02:00
jpc
119bf42a0f A couple of fixes in Customization manual 2021-04-29 18:28:31 +02:00
jpc
9ccff4077d Update of French Customization manual, intermediate step 2021-04-29 18:21:16 +02:00
jpc
9af5e2047e Update of Math French manual for 2.4.0 2021-04-25 18:18:21 +02:00
Yuriy Skalko
04bcd1b484 Fix typos in credits 2021-04-24 15:31:48 +03:00
Scott Kostyshak
8ce6c81563 Fix compilation of de/Additional.lyx 2021-04-23 23:54:21 -04:00
Scott Kostyshak
b4a9cf1de7 fr/Additional: amend 65030649 2021-04-23 23:29:03 -04:00
jpc
3478b89810 Add translation info 2021-04-22 16:51:12 +02:00
jpc
371b732313 Fix path to file in French Additional Manual 2021-04-22 16:39:06 +02:00
jpc
9bf10d12d0 Update French Tutorial for 2.4.0 2021-04-22 16:28:52 +02:00
Juergen Spitzmueller
ff93bbbe20 de/Additional.lyx: correct language markup 2021-04-22 15:05:05 +02:00
Juergen Spitzmueller
85aa4e8e00 Add Christoph Schmitz to the credits 2021-04-22 15:02:14 +02:00
Juergen Spitzmueller
dbf73643e7 de/Additional.lyx: minor update by Christoph Schmitz 2021-04-21 08:37:37 +02:00
jpc
71cb996e27 Forgotten item in French Intro manual update 2021-04-20 18:22:41 +02:00
jpc
b562defae2 Update French manual Intro.lyx 2021-04-20 17:57:09 +02:00
jpc
a3f3d82768 Update Additional Manual for 2.4 2021-04-19 19:16:30 +02:00
jpc
6503064990 Import last updated version from 2.3 2021-04-19 11:03:19 +02:00
Scott Kostyshak
98fa63dcb4 Beamer's Alternative: AutoInsert both arguments
The "Default Text" argument is usually non-blank. If the user
desired to leave it blank, it seems that "Invisible" would be a
better choice.

Similarly, an action is usually specified for this layout to be
useful.
2021-04-06 12:20:08 -04:00
Scott Kostyshak
67d0b80f10 Fix compilation of Customization.lyx
The use of \prettyref was leading to a LaTeX error.
2021-04-05 23:19:19 -04:00
Scott Kostyshak
88ca319642 Customization.lyx: update format for next commit 2021-04-05 23:19:19 -04:00
Richard Kimberly Heck
7f590bc2a9 Move the information about arguments into its own section, since these are now used both with styles and inset layouts. 2021-03-26 13:37:14 -04:00
Thibaut Cuvelier
950a53db3b DocBook: improve doc for MathML prefix. 2021-03-24 22:15:32 +01:00
Richard Kimberly Heck
7f2d488e45 Fix bug #12261. From Daniel. 2021-03-24 13:50:43 -04:00
Thibaut Cuvelier
d0120078fd DocBook: add some documentation in Additional. 2021-03-23 22:32:16 +01:00
Thibaut Cuvelier
7a1e048f44 Amend 0f782b0d: add the required changes to lyx2lyx. 2021-03-23 21:12:45 +01:00
Richard Kimberly Heck
9dce3f878a Fix note about resumed enumerations 2021-03-23 11:28:38 -04:00
Richard Kimberly Heck
ec677b25ea Remove empty section, re-organize. 2021-03-23 10:53:54 -04:00
Thibaut Cuvelier
befeb204c9 DocBook: for PDF export with Pandoc, support the current syntax for PDf engine 2021-03-18 20:40:34 +01:00
Pavel Sanda
53ff5785f4 * RELEASE-NOTES 2021-03-17 21:58:13 +01:00
Pavel Sanda
833863c477 Allow bundled saxon not to be installed. 2021-03-17 21:51:01 +01:00
Pavel Sanda
901356fd58 Allow bundled saxon not to be installed. 2021-03-16 23:14:19 +01:00
Juergen Spitzmueller
1bf53d47a5 Use customizable zoom context menu
Based on a proposal by Daniel (#12187)
2021-03-14 16:41:44 +01:00
Juergen Spitzmueller
c8feef2e23 Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
Scott Kostyshak
3df4292445 French User Guide: fix file paths 2021-03-06 20:06:02 -05:00
Enrico Forestieri
7545698380 Fix bug #12181
The context menu for InsetMathRef is now usable.
InsetMathRef still misses support for RefStyle and thus the
corresponding entries are omitted from the menu. But this would
be a different bug.
2021-03-06 23:36:58 +01:00
Juergen Spitzmueller
07396ab244 Meet per-document spelling dictionaries (fixes #86 [sic!])
Now who can beat that? ;-)
2021-03-06 16:53:33 +01:00
Yuriy Skalko
71e500c039 Update Russian localization 2021-03-06 14:01:55 +02:00
Juergen Spitzmueller
f1f475e1d3 Add LFUN_FONT_NO_SPELLCHECK 2021-03-05 18:23:38 +01:00
Juergen Spitzmueller
11d6708781 Fix tristate toolbar toggling via toolbar (#12177) 2021-03-05 17:12:51 +01:00
jpc
c8de36916a Import updated UserGuide from 2.3 2021-03-02 18:22:54 +01:00
Yuriy Skalko
07625d55be Update Russian localization 2021-02-26 23:56:51 +02:00
Yuriy Skalko
b97b61f3b8 Add Russian translation of Fancy_Colored_Boxes.lyx by Henry Chern 2021-02-26 23:56:47 +02:00
Thibaut Cuvelier
b9f355fdb1 ePub: try harder to find image files. 2021-02-19 20:59:20 +01:00
Yuriy Skalko
63f255dbd8 Update Russian localization 2021-02-19 18:25:11 +02:00
Yuriy Skalko
e4b99081a5 Fix margins for Beamer columns 2021-02-19 18:06:08 +02:00
Juergen Spitzmueller
db70eaf5c9 Improve search-options icon 2021-02-18 10:01:57 +01:00
Juergen Spitzmueller
a7e6dcc31d GuiSearch: make search options visible/accessible in minimal mode 2021-02-18 07:33:26 +01:00
Thibaut Cuvelier
d39d6e92ed DocBook: use DocBookArgumentAfterMainTag for short titles. 2021-02-17 21:09:21 +01:00
Thibaut Cuvelier
ba672f7f79 DocBook: add support for short titles.
Currently, the DocBook output is not valid. This is solved by the next two commits.
2021-02-17 21:09:20 +01:00
Thibaut Cuvelier
3a5625264d French doc: two typos. 2021-02-17 20:22:00 +01:00
Pavel Sanda
f34db97500 Bring search-string-set back, someone actually wants this ;) 2021-02-16 15:08:19 +01:00
Pavel Sanda
597e832fd6 Revert the mac-style binding 2021-02-16 13:50:55 +01:00
Juergen Spitzmueller
222d62312e use dialog-show with search dialogs
Now that focus setting works, and since find dialog can be closed with
Esc, this makes sense to get back from workarea to dialog.
2021-02-16 13:35:04 +01:00
Juergen Spitzmueller
794c2fabc8 Document find and replace changes 2021-02-16 10:37:37 +01:00
Richard Kimberly Heck
516a25cbb5 Use tabs in prefs2prefs.py, as in the other such files 2021-02-15 11:06:55 -05:00
Richard Kimberly Heck
e6395fd4ee Release notes 2021-02-15 11:04:57 -05:00
Richard Kimberly Heck
01dc665a25 Make continuous spellcheck the default.
Convert old preferences to preserve previous setting, as well.
2021-02-15 11:03:43 -05:00
Stephan Witt
80f855581c Revert "#8055 use standard shortcut for font-emph on Mac"
This reverts commit a9342ae098.
2021-02-15 16:37:14 +01:00
Richard Kimberly Heck
21fa3f3f94 Update coding rules 2021-02-15 09:55:33 -05:00
Kornel Benko
6212d939b4 Use same find-dialogs as other bind-files also for x?emacs 2021-02-15 11:01:51 +01:00
Yuriy Skalko
7e9e81367f Update and correct LyX manuals 2021-02-15 10:38:59 +02:00
Yuriy Skalko
919d8ac2fb Update ru manuals 2021-02-15 10:38:53 +02:00
Stephan Witt
a9342ae098 #8055 use standard shortcut for font-emph on Mac 2021-02-15 09:35:31 +01:00
Juergen Spitzmueller
780cd7735c Bind search-string-set to Ctrl-F3 in cua 2021-02-15 09:07:59 +01:00
Richard Kimberly Heck
3209e6604e Update release notes again 2021-02-14 14:44:32 -05:00
Stephan Witt
a476cc4839 #8055 add support for system-wide find buffer on Mac
Command-E is standard for paste to find buffer on Mac. That's why the key binding is changed appropriately.
2021-02-14 18:56:25 +01:00
Richard Kimberly Heck
3aea4eec45 No reason not to use M as shortcut for Messages Pane. 2021-02-14 12:05:45 -05:00
Richard Kimberly Heck
fe38f02cde Update release notes for bookmark shortcuts 2021-02-14 11:46:27 -05:00
Richard Kimberly Heck
29d77c1a40 Change bookmark-save bindings. Use S-F3 for word-find-backwards. 2021-02-14 11:22:22 -05:00
Juergen Spitzmueller
2baa3a46a6 Transform simple search dialog to dock widget (#2625)
Also solves #8054
2021-02-14 17:18:00 +01:00
Thibaut Cuvelier
5297862855 DocBook: mark dates to disallow fonts inside.
One more test passes.
2021-02-14 06:08:36 +01:00
Enrico Forestieri
31b7c18358 Update layouts 2021-02-13 15:16:58 +01:00
Pavel Sanda
1545b5b476 * configure.py - tested saxon + system lib stylesheets 2021-02-13 13:03:17 +01:00
Juergen Spitzmueller
9b6899365a cua: add binding for word-find-backwards 2021-02-13 07:57:32 +01:00
Thibaut Cuvelier
d18dff22b5 DocBook: add the DocBookNoFontInside layout configuration. 2021-02-13 05:09:59 +01:00
Pavel Sanda
19a9387f72 Search for external xslt stylesheets.
Tested with debian's docbook-xsl-ns (1.79.1)
2021-02-12 23:42:36 +01:00
Thibaut Cuvelier
17d5f6e0fc Zoom using Ctrl+something instead of Alt+something.
Mailing list:
[Windows] Remove the default binding between buffer-zoom and Alt+0
2021-02-12 23:09:21 +01:00
Pavel Sanda
223e23bca4 * docbook2epub.py syntax 2021-02-12 23:01:45 +01:00
Pavel Sanda
73c3036dca * RELEASE-NOTES 2021-02-12 22:01:11 +01:00
Pavel Sanda
b6cf47c635 * RELEASE-NOTES 2021-02-12 21:49:14 +01:00
Juergen Spitzmueller
b75fc70561 Adapt comment 2021-02-12 14:43:56 +01:00
Juergen Spitzmueller
7f90e3b7d2 Introduce search-string-set (#8055)
This stores its argument, the currently selected text or the word under
cursor in the search cache that is used by word-find[-backward|-forward]
if no argument is given to those.

Prerequisite for a feature apparently expected on the Mac.
2021-02-12 14:30:50 +01:00
Juergen Spitzmueller
fbef5e687a Use dialog-show in icon names
(and search for them also with dialog-toggle counterpart lfuns)

Fixes #12137
2021-02-12 12:18:51 +01:00
Thibaut Cuvelier
b1febf112d ePub: improve compatibility with Python 2. 2021-02-12 05:26:32 +01:00
Juergen Spitzmueller
c2822d684b Add LFUN_LYXFILES_OPEN
This opens the new templates/examples dialog and creates a view if
necessary (#12106).
2021-02-10 09:36:32 +01:00
Juergen Spitzmueller
fdde74cd24 de/Math.lyx: pull changes from en/ 2021-02-09 19:10:48 +01:00
Juergen Spitzmueller
ce49e2cd8b Use AutoNests in g-brief (#7623) 2021-02-09 15:07:53 +01:00
Juergen Spitzmueller
42ec433fd8 Remove outdated math panel png files 2021-02-09 14:02:09 +01:00
Juergen Spitzmueller
11b7714fc1 Use SVG icons in itemize bullet selector
This scales much better than the current png solution, is HiDPI- and
darkmode-ready
2021-02-09 10:32:16 +01:00
Scott Kostyshak
1ddc1c6bea Math manual: use relative paths 2021-02-08 00:12:27 -05:00
Thibaut Cuvelier
7622292027 ePub: share a bit of code for parsing arguments. 2021-02-07 23:19:07 +01:00
Thibaut Cuvelier
f7beed1ee2 ePub: allow a user-specified Saxon. 2021-02-07 23:19:07 +01:00
Pavel Sanda
cad51390cd Math.lyx: unintended part 2021-02-07 21:45:19 +01:00
Pavel Sanda
22a0ea85d0 Math.lyx: merged changes from Phil Netro.
Most changes accepted, some remain visible in CT, because they were real bugs
(etc. shortcuts, or mathed commands) which might be broken in other language
variants.

We will accept them for 2.4 in the final review.
2021-02-07 21:43:57 +01:00
Pavel Sanda
436fecd3d0 Math.lyx: save in updated format before merging. 2021-02-07 21:43:57 +01:00
Thibaut Cuvelier
bf976cb0ae ePub: use None instead of an empty string. 2021-02-07 20:52:50 +01:00
Thibaut Cuvelier
e95513c823 ePub: add argument for external DocBook XSLT. 2021-02-07 20:51:25 +01:00
Thibaut Cuvelier
d7d31ab512 ePub: restructure the script as a class.
This allows to share a little bit more code and to avoid functions with many arguments.
2021-02-07 20:47:24 +01:00
Thibaut Cuvelier
9d4ffac7fb ePub: detect and use xsltproc. 2021-02-07 20:33:06 +01:00
Thibaut Cuvelier
7f4782d51d ePub: copy images into the ePub archive. 2021-02-07 20:00:45 +01:00
Thibaut Cuvelier
b8a4408ca8 ePub: refactor script as a series of small functions. 2021-02-07 20:00:44 +01:00
Yuriy Skalko
5780b514d3 Update Russian localization 2021-02-07 13:47:26 +02:00
Stephan Witt
f55efc6951 ePub: quote all path names of the command 2021-02-07 12:43:01 +01:00
Juergen Spitzmueller
f330682a0c Fix some math icons dimensions 2021-02-07 12:31:48 +01:00
Thibaut Cuvelier
0b50da7321 ePub: comment about subprocess.run instead of os.system to simplify code. 2021-02-07 06:35:42 +01:00
Thibaut Cuvelier
a8853743c5 ePub: update doc for running script. 2021-02-07 06:32:46 +01:00
Thibaut Cuvelier
3e745fabbe ePub: don't use glob.
Recursivity requires Python 3.5+.
2021-02-07 06:32:15 +01:00
Thibaut Cuvelier
6a99e88565 ePub: quote the command only on Windows. 2021-02-07 06:27:07 +01:00
Thibaut Cuvelier
4dcf3d56c2 ePub: remove commented line. 2021-02-07 06:23:21 +01:00
Thibaut Cuvelier
7472be428e ePub: fix argument handling in Python script. 2021-02-07 01:55:43 +01:00
Enrico Forestieri
4615e2f09f Update layouts 2021-02-06 20:28:41 +01:00
Juergen Spitzmueller
c05077f2c2 Improve some icon paddings 2021-02-06 17:02:01 +01:00
Pavel Sanda
b673ab0838 ePub related files for distribution. 2021-02-06 12:40:20 +01:00
Scott Kostyshak
ef2b282705 ru Embedded: use relative paths 2021-02-05 21:59:32 -05:00
Thibaut Cuvelier
f400359376 Update release notes for ePub. 2021-02-05 16:07:43 +01:00
Thibaut Cuvelier
e3fe4d65b9 Configure: add ePub transformation. 2021-02-05 16:07:43 +01:00
Thibaut Cuvelier
9ad760db92 docbook2epub. 2021-02-05 16:07:43 +01:00
Thibaut Cuvelier
b7181b17e9 Add Saxon 6.5.5. 2021-02-05 16:07:43 +01:00
Thibaut Cuvelier
ab94319b3b Add DocBook XSLT 1 stylesheets 1.79.2. 2021-02-05 16:07:42 +01:00
Yuriy Skalko
a906ae9a4f Russian translation of EmbeddedObjects manual by Henry Chern 2021-02-05 16:30:30 +02:00
Enrico Forestieri
c1e38c4f6c Add support for \bigtimes
Fixes #11223
2021-02-04 23:20:01 +01:00
Thibaut Cuvelier
daa6f143de Configure: look for Java in the registry on Windows. 2021-02-04 20:37:29 +01:00
Thibaut Cuvelier
c0fe25222b Configure: turn a commented print into a logger.debug statement. 2021-02-04 20:35:02 +01:00
Thibaut Cuvelier
af49df00f5 Configure: get rid of mutable keyword arguments. 2021-02-04 20:34:37 +01:00
Thibaut Cuvelier
738dccbff4 Configure: remove the old docbook format, no more useful. 2021-02-04 20:31:05 +01:00
Thibaut Cuvelier
0b56495e48 ext_copy: bug when creating the error string.
Wrong usage of % syntax.
2021-02-04 20:30:33 +01:00
Juergen Spitzmueller
c567c78e90 Add ProvideInsetLayout and ModifyInsetLayout (#12098)
This complements ProvideStyle and ModifyStyle.
2021-01-30 15:56:31 +01:00
Juergen Spitzmueller
3e69665225 Improve \TestPackageVersion
No need to load packages manually
2021-01-30 14:00:20 +01:00
Juergen Spitzmueller
9dd71b9e4a Recent multirow finally allows multiple paragraphs 2021-01-30 09:15:14 +01:00
Kornel Benko
9b79c639f7 SK-Bindings: remove a binding prohibiting the use as a prefix 2021-01-29 16:05:54 +01:00
Juergen Spitzmueller
b42c5dd7d6 Add frontispiece layout to KOMA classes 2021-01-28 10:24:28 +01:00
Juergen Spitzmueller
ab1d418f36 Consider cell language 2021-01-28 09:25:20 +01:00
Juergen Spitzmueller
364532a724 Improve lyx2lyx roundtrip with cellvarwidth 2021-01-28 08:44:21 +01:00
Yuriy Skalko
83a4384b27 Update Russian localization 2021-01-27 14:28:01 +02:00
Juergen Spitzmueller
92f8612ace count_pars_in_inset: check nested insets 2021-01-27 08:24:17 +01:00
Juergen Spitzmueller
76eae4572e Introduce InputGlobal (#12087)
This is a variant of Input for layout files that only searches build
and system directories and thus allows "InputGlobal name.inc" in a user
file name.inc that attempts to modify its global counterpart.
2021-01-26 08:42:39 +01:00
Juergen Spitzmueller
9ff51f7149 Fixup revert_vcolumns2 routine 2021-01-25 12:04:45 +01:00
Juergen Spitzmueller
5979a01b1d Allow paragraph and line breaks in multirow (#12083) 2021-01-23 14:24:54 +01:00
Scott Kostyshak
0e589a7b3a Fix compilation of ru/UserGuide.lyx
Consistent with 0629b9b7.
2021-01-22 22:35:33 -05:00
Juergen Spitzmueller
0b0757916e Format incremented to 605: Extended variable table cell support
- Multicolumn now supports multiple paragraphs in non-fixed-width context.
- Multicolumn now supports valign in non-fixed-width context.
- varwidth columns now properly align horizontally and vertically.
2021-01-22 19:16:43 +01:00
Yuriy Skalko
eab9108dc1 Update Development.lyx 2021-01-22 11:42:10 +02:00
Richard Kimberly Heck
b1e9206cab Shortcut for custom insets 2021-01-21 16:51:16 -05:00
Yuriy Skalko
bd8e516138 Update Russian localization 2021-01-21 09:44:02 +02:00
Juergen Spitzmueller
7b762ee950 Branch: Implement separate static colors in dark mode
Set colors now apply to the active mode only. Matching reversed colors
are produced for the other mode if no color is assigned yet.

File format change.
2021-01-19 17:04:04 +01:00
Juergen Spitzmueller
9a6f7ece97 Add option to revert graphics colors in dark mode (#12076)
This amends [5d47a7ee57506/lyxgit]
2021-01-18 10:46:16 +01:00
Juergen Spitzmueller
057753dc75 Allow semantic colors in branches and use semantic background color by default
Addresses most crucial part of #12075

File format change
2021-01-18 09:56:53 +01:00
Thibaut Cuvelier
5ba8c6bd92 –Stop using \vdag in AASTeX 6.2 example 2021-01-16 20:42:14 +01:00
Juergen Spitzmueller
437a287dee fixup 7c57001ad7 2021-01-15 09:30:15 +01:00
Richard Kimberly Heck
7c57001ad7 Add theorem counter files to distribution 2021-01-14 14:07:32 -05:00
Juergen Spitzmueller
0629b9b7c1 Update documentation of nomencl escape
Alas, the escape char has silently changed in recent nomencl versions
2021-01-14 09:43:38 +01:00
Richard Kimberly Heck
ed2d3e199f Fix bug #4241: Addition to Intro 2021-01-09 22:17:52 -05:00
Richard Kimberly Heck
6821249994 Fix bug #11097 2021-01-09 17:41:50 -05:00
Juergen Spitzmueller
5d90968f7a Arabic Beamer: set XeTeX as Default Output Format
LuaTeX (luabidi, for that matter) does not work well.

Also set some command texts in ERT, for readability.
2021-01-09 09:07:25 +01:00
Jean-Marc Lasgouttes
20e1fe4674 Fixup 2a80b0ac01: fix the StartupWMClass in desktop file 2021-01-08 10:11:23 +01:00
Juergen Spitzmueller
92284d1c36 Make Arabic Beamer compile 2021-01-08 09:46:59 +01:00
Juergen Spitzmueller
cc5718d1eb Amend [6887bc5c/lyxgit]
Use a more specific storage command
2021-01-08 09:22:55 +01:00
Richard Kimberly Heck
6887bc5c1d Fix bug #8921 2021-01-07 11:19:17 -05:00
Yuriy Skalko
e5348078d7 Add Russian translation of Shortcuts.lyx 2021-01-06 11:01:50 +02:00
Yuriy Skalko
c785ba19a0 Remove duplicated words in en/ru manuals
Thanks Kornel for suggesting regexp "\b(\w+)\s+\1\b".
2021-01-06 10:57:35 +02:00
Richard Kimberly Heck
cf07d4825f Fix bug #11104. Activate refstyle support for InsetMathRef.
At the moment, there is no support for plurals and capitalization.
A long comment explains why. Support could be added for that without
a format change.
2021-01-05 18:17:53 -05:00
Jean-Marc Lasgouttes
824d1c993a Fixup 294e4884: center correctly Abstract label when paragraph is empty
When a paragraph is empty, it was not possible to query what the left
margin would be for an hypothetical second row.

Modify TextMetrics::leftMargin so that it does not test
whether position is after the last position of the paragraph.

Cosmetics: set the size of label to "small" for Abstract layout in
standard classes and reduce the spacing between label and text.

Fixes remainder of #11939.
2021-01-05 15:21:04 +01:00
Jean-Marc Lasgouttes
b8188e54dd Revert "Center correctly centered top labels (e.g. abstract)"
This reverts commit 6c1855313c.
2021-01-05 15:14:41 +01:00
Jean-Marc Lasgouttes
6c1855313c Center correctly centered top labels (e.g. abstract)
Since the first row may be indented, it is necessary to find out what
the left margin would be on the next row (even if this next row does
not exst.

To this end, modify TextMetrics::leftMargin so that it does not test
whether position is after the last position of the paragraph.

Cosmetics: set the size of label to "small" for Abstract layout in
standard classes and reduce the spacing between label and text.

Fixes remainder of #11939.
2021-01-05 14:53:15 +01:00
Kornel Benko
c6bc5f0ce0 Fix file-path 2021-01-05 10:42:07 +01:00
Richard Kimberly Heck
8d8f9339f1 Revert "Remove elipses after 'Open'"
I totally misread this bug report! (#12019)

This reverts commit 8871229f5f.
2021-01-04 14:52:20 -05:00
Richard Kimberly Heck
c3a0136ad1 Makefile for Arabi beamer 2021-01-04 13:47:17 -05:00
Yuriy Skalko
4e92c34200 Add bindings for Russian keyboard layout (same keys as English) 2021-01-04 12:01:15 +02:00
Richard Kimberly Heck
7ad9e2ab49 Fix bug #11500 2021-01-04 00:12:10 -05:00
Richard Kimberly Heck
469d3270ae Arabic Beamer template 2021-01-03 19:23:39 -05:00
Richard Kimberly Heck
33f9cfb796 Capitalize labels of floats, etc. Fixes #11993.
Patch from Daniel.
2021-01-03 14:38:52 -05:00
Richard Kimberly Heck
8871229f5f Remove elipses after 'Open' 2021-01-03 14:13:36 -05:00
Richard Kimberly Heck
e72a6e4e05 Update bind etc files 2020-12-29 12:03:46 -05:00
Richard Kimberly Heck
469168e592 Update documentation 2020-12-29 12:03:05 -05:00
Yuriy Skalko
dea8231b7b Update Russian localization 2020-12-28 12:00:32 +02:00
Juergen Spitzmueller
b53b44266a de: sofortige Vorschau > eingebettete Vorschau 2020-12-27 17:14:02 +01:00
Juergen Spitzmueller
0521051938 Correct function name 2020-12-24 10:55:10 +01:00
Juergen Spitzmueller
18f7dce3d9 Implement inset-split (only for text insets for now) (#10260) 2020-12-24 10:48:52 +01:00
Jean-Marc Lasgouttes
af1ab2caa9 Update layouts to version 90 2020-12-22 16:53:15 +01:00
Richard Kimberly Heck
df0b108500 Add Lorenzo Bertini to the credits. 2020-12-20 11:14:31 -05:00
Yuriy Skalko
b89910af0f Update Russian localization 2020-12-19 21:34:31 +02:00
Scott Kostyshak
8896c2b62e Move "LyX Documentation Tools" toolbar to "Others"
This move is done because not many users likely use this toolbar.

Those who use it now need to go through the extra submenu "Other
Toolbars" and also need to move the toolbar from the bottom to the
top (if they want previous behavior). But once that is done, the
toolbar stays across sessions.
2020-12-17 20:59:10 -05:00
Pavel Sanda
203981c5c1 * layouttranslations - review of id by Waluyo Adi Siswanto 2020-12-17 22:33:59 +01:00
Scott Kostyshak
12285354e0 Mv "Math Panels" toolbar item by other math items
Now in View > Toolbars the math items are together, ordered as
follows:

5. Math
6. Math Panels
7. Math Macros

"Math Macros" is last because it seems the least important.

This commit makes no change to the toolbar contents (I just
cut/pasted to reorder).
2020-12-17 10:28:21 -05:00
Juergen Spitzmueller
f661469734 Implement sane UI for switching tristate toolbars (#6364)
Also fix toolbar toggling with AllowAuto which was broken since
a long time.
2020-12-17 10:15:18 +01:00
Kornel Benko
6a37a67b46 Small improvement to 2ac48f2c.
Making the regex little more robust.
2020-12-15 12:55:50 +01:00
Juergen Spitzmueller
2ac48f2c5b Fix prefs2prefs for \\set_color 2020-12-15 09:15:23 +01:00
Pavel Sanda
e9e1b4963a Regenerate for id 2020-12-14 00:28:21 +01:00
Scott Kostyshak
9602d24039 layouts: s/theorem-counters/theorems-counters/
Amends ccc7c641.
2020-12-13 13:26:42 -05:00
Juergen Spitzmueller
704331fdcd Add dark theme colors to semantic colors (#8325) 2020-12-12 10:56:05 +01:00
Juergen Spitzmueller
621f07ed85 Document new label colors and warn against using static colors in layouts 2020-12-11 11:47:01 +01:00
Juergen Spitzmueller
b58c75b8da Use only semantic colors in layout definitions
Part of #8325
2020-12-11 11:46:31 +01:00
Juergen Spitzmueller
91026711ae Introduce semantic label colors
This allows customization e.g. in dark mode and is a prerequisite
for color theming

Part of #8325
2020-12-11 11:44:45 +01:00
Juergen Spitzmueller
1b137f7d95 Add contents of soul flex insets to toc 2020-12-10 14:02:30 +01:00
Juergen Spitzmueller
d254fc351b Harmonize some math icon colors
Use the same blue and red all over the place
2020-12-10 09:23:12 +01:00
Richard Kimberly Heck
a58ca65d07 Update credits 2020-12-08 18:13:40 -05:00
Enrico Forestieri
5be2e3c734 Typo 2020-12-07 22:32:36 +01:00
Juergen Spitzmueller
b57b4a3e12 Clarify documentation if "Keep change markup on paste" pref 2020-12-06 17:04:17 +01:00
Richard Kimberly Heck
aa39a2aaf7 Allow listings insets to be edited externally. 2020-12-05 21:17:02 -05:00
Scott Kostyshak
f86411e15d Amend ccc7c641 2020-12-05 19:51:40 -05:00
Richard Kimberly Heck
ccc7c641c6 Modularize counter declarations. 2020-12-05 18:41:41 -05:00
Richard Kimberly Heck
52a0ffc02f Change name and email in some other files 2020-12-05 17:39:46 -05:00
Richard Kimberly Heck
967fba10f8 Change name and email in layout files 2020-12-05 17:14:10 -05:00
Richard Kimberly Heck
c00084e4a2 Add LaTeXName to counters that need it.
I'm sure I've missed some here. I tried to check the CLS files for
some of these, but since I don't use a lot of these layouts, it is
hard to catch them all.
2020-12-05 17:06:35 -05:00
Richard Kimberly Heck
88bc81d782 Update layouts 2020-12-05 16:46:33 -05:00
Richard Kimberly Heck
ae2ce7a86a LaTeXName tag for counters. Layout format change. 2020-12-05 16:46:33 -05:00
Juergen Spitzmueller
37eb3cd961 de/UserGuide: document No Page Break 2020-12-03 15:37:20 +01:00
Juergen Spitzmueller
623d417921 de/UserGuide: spelling fixes 2020-12-03 15:37:04 +01:00
Juergen Spitzmueller
3d2eb25d6b UserGuide: Document No Page Break in Menus section 2020-12-03 15:36:15 +01:00
Juergen Spitzmueller
aa1a4d0613 UserGuide: Casing fixes 2020-12-03 15:35:56 +01:00
Juergen Spitzmueller
de2be5bdaa Recent LaTeX includes all math and text spaces
amsmath no longer required here.
2020-12-03 10:49:18 +01:00
Juergen Spitzmueller
e9cbd69f6e Implement Hungarian quotation marks style (#12040)
File format change
2020-12-02 17:00:40 +01:00
Juergen Spitzmueller
560d2df70c Capitalization fixes 2020-12-02 14:52:51 +01:00
Thibaut Cuvelier
822a9ef573 DocBook: fix new-line behaviour of URLs. 2020-11-29 22:54:03 +01:00
Thibaut Cuvelier
877806f208 DocBook: implement SciPoster. 2020-11-29 22:54:03 +01:00
Thibaut Cuvelier
59acb375d1 DocBook: add layout parameters to control the special case and argument positioning.
Only for flex insets.

Also add similar checks in InsetText to avoid bibliographies in paragraphs.
2020-11-29 22:54:03 +01:00
Thibaut Cuvelier
12d512d4e4 DocBook: implement iopart. 2020-11-28 05:08:58 +01:00
Thibaut Cuvelier
76bc063bcd DocBook: implement IEEEtran. 2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
b2ec2ff1a9 DocBook: slightly change the Copernicus template to be valid DocBook.
This is just adding an author instead of leaving the field blank.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
5d996f4fff DocBook: implement ectaart. 2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
633a617841 DocBook: implement Copernicus.
Includes a fix when wrappers are used with empty paragraphs. The logic is probably wrong if two legit wrapped paragraphs have one empty paragraph in the middle. This is only for slightly convoluted cases... Wrapping decisions should rather be taken for a series of paragraphs at once, but it would be more complex to implement and would only solve very peculiar cases like these ones.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
14cfcf00cb DocBook: implement AEA and APA. 2020-11-28 00:51:35 +01:00
Thibaut Cuvelier
bd9dce3749 DocBook: bug fixes for JASA.
Includes more consistent behaviour for bibliographies in appendix (do the same as LyX shows the user, i.e. bibliography in appendix).
2020-11-27 05:53:46 +01:00
Thibaut Cuvelier
185a62e695 DocBook: in aa, fix acknowledgements. 2020-11-27 04:52:39 +01:00
Thibaut Cuvelier
a397928f78 DocBook: implement author for layouts that previously missed it. 2020-11-27 04:40:16 +01:00
Thibaut Cuvelier
f52946e143 DocBook: implement subtitle for layouts that previously missed it. 2020-11-27 04:35:54 +01:00
Thibaut Cuvelier
2741d195e4 DocBook: implement title for layouts that previously missed it. 2020-11-27 04:34:33 +01:00
Thibaut Cuvelier
78d7f7d8f5 DocBook: implement standard for layouts that previously missed it. 2020-11-27 04:29:40 +01:00
Thibaut Cuvelier
a456dac340 DocBook: implement keywords for layouts that previously missed it. 2020-11-27 04:26:31 +01:00
Thibaut Cuvelier
0e4d8a8159 DocBook: implement IJMP C/D. 2020-11-27 04:16:48 +01:00
Thibaut Cuvelier
77fa9a6c42 DocBook: implement iucr. 2020-11-27 02:49:54 +01:00
Thibaut Cuvelier
5f488ed746 DocBook: deploy fix for acknowledgements. 2020-11-27 02:12:29 +01:00
Thibaut Cuvelier
587f1f5571 DocBook: implement Mathematical Monthly. 2020-11-27 01:54:00 +01:00
Thibaut Cuvelier
eeb732cd5f DocBook: implement JASA. 2020-11-26 06:55:49 +01:00
Thibaut Cuvelier
ed6fbdd249 DocBook: implement Kluwer.
Includes an assertion fix that only occurred with this example.
2020-11-26 06:41:13 +01:00
Thibaut Cuvelier
dae0640436 DocBook: implement REVTeX.
Improvements to abstract detection: it can now contain lists or anything with a higher depth.

Implement video floats.
2020-11-26 06:22:27 +01:00
Yuriy Skalko
13ab1a4d8b Update ru/UserGuide.lyx 2020-11-25 23:32:36 +02:00
Juergen Spitzmueller
17ebec693a Fix tex4ht odt converter
Private message by Michal Hoftich (tex4ht head developer):

oolatex is not recommended way to use Tex4ht for the ODT conversion.
It is better to use

make4ht -f odt mwe.tex

make4ht fixes some issues in ODT files

This is candidate for stable.
2020-11-25 13:10:04 +01:00
Günter Milde
8eff3b1772 Fix lithuanian default font encoding and Xindy name.
FontEncoding L7x required for hyphenation but no longer set
by Babel (since 2017-12-06).

The PostBabelPreamble now sets L7x for Lithuanian, if it is defined
and restores the previous font encodng on exit.
2020-11-22 22:16:57 +01:00
Yuriy Skalko
22a8b82ad5 Update links to spellchecking/thesaurus dictionaries in UserGuide 2020-11-22 20:40:32 +02:00
Thibaut Cuvelier
1176fab1d4 DocBook: make InsetText respect tag types. 2020-11-20 18:41:03 +01:00
Thibaut Cuvelier
f426e458c4 DocBook: InsetText supports items and wrappers. 2020-11-20 18:41:02 +01:00
Thibaut Cuvelier
2c6537ff66 DocBook: ensure that <info>-related insets in the abstract are not generated in the abstract.
This helps generate more conformant DocBook files.

Also implement wrapper tags for InsetText.
2020-11-20 18:41:02 +01:00
Jean-Marc Lasgouttes
0b9c27222a Fix screen display of parts and chapters in default classes
This has been done by reading the LaTeX sources (classes.dtx) to try
to get things right

* fix font sizes of chapters and parts. Note that the labels have
  smaller size as the title itself.

* fix alignment of Part and put label on top

* add spacing between label and title.
2020-11-18 10:19:15 +01:00
Thibaut Cuvelier
5ddd82bcea DocBook: fix indentation. 2020-11-17 03:58:39 +01:00
Thibaut Cuvelier
c6fe1fbe5f DocBook: implement svglobal. 2020-11-16 20:15:34 +01:00
Yuriy Skalko
9b55d2f71e Bump minimal GCC version to 4.9 2020-11-16 19:37:12 +02:00
Thibaut Cuvelier
d64b3f5397 DocBook: implement Elsevier. 2020-11-16 06:09:03 +01:00
Thibaut Cuvelier
059b268e0d DocBook: do a little something for variable-width minipages. 2020-11-16 00:08:11 +01:00
Thibaut Cuvelier
afba0672d0 DocBook: do a little something for Sweave & co. 2020-11-15 23:54:23 +01:00
Thibaut Cuvelier
e94c7871cc DocBook: implement fancy color box. 2020-11-15 19:29:57 +01:00
Pavel Sanda
eb0194081b Add Sam Crawley to credits. 2020-11-15 10:43:04 +01:00
Sam Crawley
f3c1fa0b04 Added test for nested insets bug (#9395) 2020-11-15 10:36:10 +01:00
Sam Crawley
434ac146bd Added tests for compare function
Runs the compare via the command line, and then compares the output to the
expected result. Required adding a script to do the comparison, so that
the timestamps on changes in the lyx file are ignored.
2020-11-15 10:36:01 +01:00
Pavel Sanda
3784d79882 Add Phil to credits 2020-11-15 10:10:12 +01:00
Thibaut Cuvelier
39e1665194 DocBook: implement simple CV. 2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
f18c00418a DocBook: implement modern CV. 2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
045c8d6537 DocBook: remove output for some paragraphs in CVs. 2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
6f696151cf DocBook: implement European CV. 2020-11-14 05:46:36 +01:00
Scott Kostyshak
b20d01681c Noweb_Listerrors.lyx: do not force ps2pdf
Export to all formats seems to work well after removing the "ps2pdf"
option to the hyperref package.

Accordingly we uninvert the tests for the other formats. All ctests
pass on an updated TeX Live 2020.
2020-11-13 21:30:22 -05:00
Thibaut Cuvelier
1c19a04c7a DocBook: implement EuropassCV. 2020-11-14 03:14:51 +01:00
Thibaut Cuvelier
03a8208dc5 DocBook: implement chess. 2020-11-14 00:28:45 +01:00
Thibaut Cuvelier
185f34b20e DocBook: implement aa. 2020-11-12 04:17:49 +01:00
Thibaut Cuvelier
14887dda1c DocBook: implement achemso. 2020-11-12 03:18:03 +01:00
Yuriy Skalko
14bcdb2bc7 Update Development.lyx 2020-11-12 00:24:54 +02:00
Yuriy Skalko
61a80ab6d3 Merge CodingRulesAndAdvice.lyx into Development.lyx 2020-11-11 20:28:01 +02:00
Pavel Sanda
23d0e44bd6 Fix Riki's contact 2020-11-09 15:06:42 +01:00
Pavel Sanda
032418ddfd Customization.lyx: Import and review changes from Phil Netro.
Chap. 1 & 2.
2020-11-09 14:42:25 +01:00
Yuriy Skalko
5887601f68 Update Russian localization 2020-11-05 20:00:57 +02:00
Thibaut Cuvelier
302bed3f68 DocBook: many fixes for the user guide. 2020-11-05 02:42:03 +01:00
Thibaut Cuvelier
0ba926a3ce DocBook: implement AMS articles. 2020-11-04 22:51:18 +01:00
Thibaut Cuvelier
a42c5e3880 DocBook: implement AMS book. 2020-11-04 22:29:02 +01:00
Thibaut Cuvelier
6b3e6a6248 DocBook: basic implementation of recipe book. 2020-11-04 18:50:45 +01:00
Thibaut Cuvelier
9060509d52 DocBook: implement Braille.
Basically, nothing to do: the conversion must be performed by the DocBook-processing agent (which is not a standard feature).
2020-11-04 05:06:56 +01:00
Richard Kimberly Heck
060c3de2f0 StepMasterCounter --> StepParentCounter 2020-11-02 17:36:58 -05:00
Thibaut Cuvelier
ebfdac4fa3 DocBook: implement svmult.
More generally, ensures that paragraphs in abstracts do not have something else configured.

A major problem in making the layout more useful is that article titles are not supposed to be in TOC.
2020-11-02 04:30:39 +01:00
Thibaut Cuvelier
d9d5bb9324 DocBook: implement DIN-Brief. 2020-11-02 03:03:24 +01:00
Richard Kimberly Heck
967c43b218 Comment updates 2020-11-01 18:08:18 -05:00
Scott Kostyshak
11ec1af4fc Powerdot examples: work around undefined ref
The hook that defines the "lastslide" label is interfered with for
some reason on an updated TeX Live 2020. We thus avoid referencing
the label and instead show only the current slide number on each
slide. We leave instructions in the preamble for how to get back the
previous behavior if desired.
2020-11-01 13:42:47 -05:00
Thibaut Cuvelier
4ea841fe24 DocBook: implement other letter classes (frletter, standard letter, KOMA-Script).
I gave up on G-Brief, it's too far from the other classes.
2020-11-01 04:41:16 +01:00
Thibaut Cuvelier
78e1297e82 DocBook: implement French letter. 2020-11-01 03:51:15 +01:00
Thibaut Cuvelier
d8e097686a DocBook: implement Hollywood layout. 2020-11-01 02:53:03 +01:00
Scott Kostyshak
5ba4692ab0 Foils: set default output to PDF (ps2pdf)
We currently specify that dvips be used. This could potentially
change in the future. One issue is that with system fonts XeTeX and
LuaTeX do not correctly rotate pages.
2020-10-30 21:00:20 -04:00
José Matos
c539b57a0e Make all exectuable python scripts use python3
This is only relevant on linux/unix if running the scripts from a shell.
These two were the last where the call still used an unversioned python.

This has no reflex on the way that lyx calls the scripts or the python
version used since the #! "shebang line" is ignored.
2020-10-30 18:46:13 +00:00
Richard Kimberly Heck
5eb913ca99 Whitespace 2020-10-30 12:18:41 -04:00
Scott Kostyshak
1aa4987b2f Address failures of Seminar examples on new TL20
Compilation of our Seminar example file fails on updated TL20. The
maintainer of "Seminar" is not planning to fix the core issue and
states the following (in a private email with permission to quote):

  it is a problem with the new hook management of the current latex.ltx
  seminar is a quite old package and there is no reason to use it with a
  new LaTeX format. It won't be fixed, so the usual way is to use the
  package latexrealease to get the old hook management.

This commit adds a note to the example files explaining the
workaround of exporting to a .tex file and prepending the following
line:

  \RequirePackage[2020-02-02]{latexrelease}

We now invert the relevant tests.
2020-10-29 23:29:26 -04:00
Thibaut Cuvelier
661c5d256b DocBook: support for <info> tags in inner sections.
Previously, this code only worked correctly for the root tag.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
f2b7f8a089 DocBook: generate chapter metadata in <info>, for Springer mono. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
149e1ccc02 DocBook: add DocBookSection parameter for styles that define new sections and implement argument parameters; improve Springer support.
For elements that should behave like sections (for now, mostly prefaces).

A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement).
2020-10-30 01:59:34 +01:00
Yuriy Skalko
b7b79c1d2e Update Additional.lyx manual 2020-10-29 15:53:47 +02:00
Yuriy Skalko
eb7ad5757b Update Russian localization 2020-10-29 10:17:27 +02:00
Yuriy Skalko
98a64be872 Russian translation of Additional manual by Henry Chern 2020-10-29 07:34:26 +02:00
Richard Kimberly Heck
bd142885a6 Update layouts 2020-10-25 11:43:32 -04:00
Kornel Benko
2dbf351542 Distribution: Added some missing files 2020-10-25 16:38:00 +01:00
Yuriy Skalko
47330a66a8 Update Russian localization 2020-10-25 09:35:02 +02:00
Thibaut Cuvelier
957ac2f0c6 DocBook: Springer, more features implemented. 2020-10-20 02:34:02 +02:00
Thibaut Cuvelier
c896bf19c9 DocBook: implement svjour (still partial). 2020-10-18 09:00:01 +02:00
Thibaut Cuvelier
d5319e1689 DocBook: implement APA. 2020-10-16 19:12:37 +02:00
Thibaut Cuvelier
d721f5c6bd DocBook: make report output a book.
Reports are allowed to have chapters, which implies that this must be a DocBook book.
2020-10-16 18:40:07 +02:00
Kornel Benko
a0f0220348 Amend 0536193c: Remove requirement of revsymb4-1.sty.
Fixes #12005, reported and indicated a fix by 'ert'
2020-10-15 12:16:30 +02:00
Pavel Sanda
c0b0add882 UG: add nopagebreak section 2020-10-14 22:24:13 +02:00
Richard Kimberly Heck
4770cfebaf Fixed date 2020-10-13 17:18:05 -04:00
Richard Kimberly Heck
aac4179c43 Fix counter docs 2020-10-13 17:18:05 -04:00
Pavel Sanda
0ea9df7467 Add inset for \nopagebreak.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213388.html
2020-10-13 19:13:59 +02:00
Yuriy Skalko
384aa5916d Update Russian localization 2020-10-09 09:24:29 +03:00
Richard Kimberly Heck
6b86a5a395 Bind new template dialog to template shortcut (bug 11996).
From Daniel.
2020-10-08 22:02:15 -04:00
Kornel Benko
aef74183c1 distribute db_*.inc files
Missed if using docbook5 export
2020-10-07 12:44:20 +02:00
Thibaut Cuvelier
0bd2978ac9 DocBook: add DocBookInnerTag and family.
This allows old DocBook documents to be valid when output.
2020-10-07 06:05:22 +02:00
Thibaut Cuvelier
1a054e4571 DocBook: restore the old DocBook support. 2020-10-07 05:33:56 +02:00
Pavel Sanda
ebc01f49d5 UG: add lineno opt 2020-10-06 15:09:39 +02:00
Kornel Benko
8f5bd45460 Amend 31d64c73: slipped in part removed. 2020-10-04 01:59:23 +02:00
Kornel Benko
31d64c7395 Enable handling of spreadsheets in export to docbook5 format.
In cooperation with Thibaut Cuvelier:
lib/scripts/spreadsheet_to_docbook.py: Strip the document header and convert some flags
lib/xtemplates/gnumeric.xtemplate: use this output to be inserted in docbook5
lib/configure.py: Add needed conversion entries
2020-10-04 01:43:44 +02:00
Thibaut Cuvelier
4b63a9715d DocBook: support for Labeling 2020-10-03 16:17:39 +02:00
Kornel Benko
d8ac04354f Add formats to be used by converting docbook5 -> pdf
Preparation to test docbook5 exports

'xhtml_table': Format used for inserting spreadsheet tables in docbook
'pdf9': Result format used by conversion docbook5 with pandoc to create a pdf
2020-10-03 14:44:10 +02:00
Richard Kimberly Heck
444285aca2 Fix bug #11986 2020-09-28 22:34:52 -04:00
Enrico Forestieri
35c0783bd3 Update layouts 2020-09-28 22:32:30 +02:00
Enrico Forestieri
77f9858388 Fix the layout2layout script
It was not correctly updated at dab71087, ad18c194, and 6998e764.
2020-09-28 22:29:28 +02:00
José Matos
0bda5e5b8d Make script compliant with python 3 2020-09-28 11:13:47 +01:00
Scott Kostyshak
d0aa20afcf Revert "Update layouts"
A fix to layout2layout is needed first. See:

  https://www.mail-archive.com/search?l=mid&q=20200927192424.GA1224%40GIOVE

This reverts commit 5d7efd2fa9.
2020-09-27 16:47:43 -04:00
Scott Kostyshak
5d7efd2fa9 Update layouts
Fixes a slight delay when cutting (#11988).
2020-09-27 11:47:10 -04:00
Kornel Benko
70725040db Gnumeric conversions to html: Remove wrong closing </p> flag
Now LyXHTML export for Spreadsheet.lyx is errorles, but stil we need a wrapper
to remove unneeded 'Ark' captions.
2020-09-24 10:14:35 +02:00
Yuriy Skalko
8099b9f8e6 Update Russian localization 2020-09-23 10:11:35 +02:00
José Matos
4419f6e059 Simplify reversion code (keeping the same output) 2020-09-21 14:36:52 +01:00
Kornel Benko
c4acb6c5b9 Remove the noun-flag from the separator in index entry 2020-09-21 12:48:58 +02:00
Thibaut Cuvelier
1991d0ed24 Converters: always set version to something.
Otherwise, it's common to compare "None >= (6,2,6)", which makes no sense. Set it to (0,0,0) so that any comparison fails (without an error message).
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
e4065cc1b1 Converters: slightly more pythonic code. 2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
6c51cabd35 DocBook: fix output in Layout::write. 2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
dd8660c07e layout2layout: use name instead of pseudonym. 2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
41a15f7b6d DocBook: in configure.py, DeclareDocBookClass doesn't need to be checked anymore. 2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
f28c193569 DocBook: remove now useless function in configure.py. 2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
08a58242c1 DocBook: better output with the Linguistics module.
One issue left: <table> output within an <informaltable>, that does not make sense... I'm debugging it.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
632bad62c9 DocBook: do a little something for shapepar. 2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
ca1ca4326b DocBook: implement theorems.
This is a minimal implementation, as DocBook lacks a serious way of encoding all of this. Maybe a <formalpara> could do the trick, but I'd need to find a way to shoehorn a title through the styles (i.e. a first complete tag):

Theorem: Bla bla

<formalpara>
<title>Theorem</title>
<para>Bla bla</para>
</formalpara>

This would also only be a solution for single-paragraph things, as formalpara only allows one paragraph. Or a sidebar, but it's semantically very remote.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
e3da8b65f6 DocBook: several missing features for Additional.lyx.
Includes: semantic markup (sorry about noun: Additional.lyx uses it to mark menus; there is something better in DocBook, but it looks like the LaTeX equivalent is really for person names), boxes, info layouts.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
19734ea454 DocBook: implement LyX-Code.
This is quite ugly.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
ff2e4ec7e6 DocBook: support Full Width from Tufte Book. 2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
6d246bba69 DocBook: fix margin notes.
They were nested twice in <sidebar>. Also fixes a new line issue.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
6688b076cc DocBook: fixes in lists.
Actually output something when list item is empty. XMLStream discarded the sequence StartTag/EndTag (nothing in between).

New-line behaviour around term in description lists.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
5b01c80635 DocBook: fix titles in KOMA Script. 2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
7ec0307b13 DocBook: bug fixing in AASTeX layout.
That's mostly generating DocBook tags at an inappropriate place with some metadata, rather than outputting whatever you have at your disposal. Far from satisfying, but good enough for a generic tool (see details in the new TODO). Doesn't trigger assertions. Is valid XML.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
fb8c07a2c7 DocBook: adapt AASTeX for tag types (new-line behaviour). 2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
1f2c51d56b DocBook: adapt SimpleCV for tag types (new-line behaviour). 2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
78a361778f DocBook: fix float tags (was unduly overridden).
The output was not valid for floats without title.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
97cfabb883 DocBook: fix indentation for section titles (including stars). 2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
fc2c36289b DocBook: rewrite makeListEnvironment. 2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
52b2d3f683 DocBook: make Paragraph::simpleDocBookOnePar return a list of paragraphs.
Before, it directly wrote to the XMLStream, but it made implementation of new lines tricky. Now, it returns the XML for each sub-paragraph (delimited by new lines) as a string, so that the caller can adopt a more precise behaviour (such as in lists).
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
9393ca74ba DocBook: new logic to handle the new lines, only used in output_docbook for now. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
360139a091 DocBook: documentation for the new tags. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
6998e76495 DocBook: define new arguments in layouts to configure new-line behaviour. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
87dae26e4a Simplify code to generate only one paragraph at a time. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
dab71087cf DocBook: add a layout tag to tell whether an item is the abstract or not. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
7b0f9d9524 DocBook: simplify code to handle abstracts. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
0f145c3ef0 DocBook: use DocBookWrapperMergeWithPrevious in the code. 2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
c417253d0b DocBook: use DocBookItemTag within paragraphs.
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
ad18c19492 DocBook: add new layout parameter DocBookWrapperMergeWithPrevious. 2020-09-19 20:43:36 +02:00
Yuriy Skalko
6b85dd5ac0 Separate string for translation 2020-09-19 08:47:35 +02:00
José Matos
5154400b64 Avoid crash when string only has one char 2020-09-18 01:09:36 +01:00
José Matos
d0a27e3afc Whitespace cleanup 2020-09-18 01:07:39 +01:00
Yuriy Skalko
e36fda8375 Update UserGuide 2020-09-17 17:24:14 +02:00
Yuriy Skalko
cd933534bd Increment preferences format to 34: rename Cyrillic *.kmap files 2020-09-17 15:05:31 +02:00
Juergen Spitzmueller
40159fd2ab Fixup graphics height conversion when special is non-empty 2020-09-17 08:43:04 +02:00
Juergen Spitzmueller
6ad1c359fc Fix Makefile.am after 821603def3 2020-09-17 08:00:54 +02:00
Yuriy Skalko
821603def3 Fix Cyrillic keyboard map files 2020-09-17 07:50:05 +02:00
Yuriy Skalko
06aed96f34 Update Russian localization 2020-09-17 07:21:02 +02:00
Scott Kostyshak
06855a66ca Fix ru Beamer_Article polyglossia exports
Set fonts to DejaVu to avoid the following error:

  ! Package polyglossia Error: The current latin font  does not
  contain the "Cyrillic" script!

This choice of font is consistent with the Russian intro and
tutorial manuals.
2020-09-13 01:31:00 -04:00
Scott Kostyshak
6a5f1f380e ru Beamer: make absolute path relative 2020-09-11 00:52:36 -04:00
Richard Kimberly Heck
3e8a17f340 Documentation for ctrl-click on a reference 2020-09-10 13:09:48 -04:00
Yuriy Skalko
dbb97050b5 Update Russian Beamer docs 2020-09-09 07:37:27 +02:00
Yuriy Skalko
b2109b9d39 Add Russian translation of Beamer manual, by Henry Chern 2020-09-07 18:58:34 +02:00
Yuriy Skalko
ace9fbb6a0 Update Russian localization 2020-09-04 19:01:50 +02:00
Pavel Sanda
a218f64a56 Fix dist 2020-09-04 09:29:56 +02:00
Enrico Forestieri
50294f6442 Rename and update description of fonts 2020-09-03 21:46:16 +02:00
Pavel Sanda
bc93c6f99e Update check_glyphs.lyx. 2020-09-03 18:39:05 +02:00
Enrico Forestieri
a9afdbb73c Personalize fonts
When the fonts distributed with texlive with same family name
as ours are also managed by fontconfig, Qt is not able to
discriminate ours by the style only. In order to be sure Qt
will load our fonts, we change the foundry name from 'PfEd'
to 'LyEd' and augment the font family name with this foundry
name. This only works on *nix, because adding a foundry name
seemingly breaks things on Windows. However, this is a *nix
only problem, seemingly.
2020-09-03 17:46:30 +02:00
Juergen Spitzmueller
a99695ce82 Fix conversion and reversion of relative totalheights/heights 2020-08-30 11:44:08 +02:00
Pavel Sanda
2fad89df08 This test is no more just about stmary10. 2020-08-30 10:50:58 +02:00
Pavel Sanda
5054204d53 Add new section about problems on opensuse. 2020-08-30 10:50:58 +02:00
Scott Kostyshak
1146e6ba43 ru XY examples: set fonts to DejaVu
This choice of fonts is consistent with the Russian Intro manual,
and fixes compilation with XeTeX.
2020-08-30 00:34:06 -04:00
Scott Kostyshak
c225b758cb ru UserGuide: set default output format to pdf2
This is consistent with the math manual, and some of the other
formats don't work, because of varioref issues.
2020-08-29 14:00:07 -04:00
jpc
c4cba1d323 Set Deja Vu as non-TeX fonts to make xetex/luatex succeed 2020-08-29 14:26:32 +02:00
Juergen Spitzmueller
d7b64b8e59 Fix Hebrew intro with LuaTeX
(use iftex rather than ifpdf)
2020-08-29 11:55:56 +02:00
Pavel Sanda
78f97fcc10 UG: Import and review changes from Phil Netro.
Chapter 4-6 & Appendix.
Only few bits actually.
2020-08-28 20:54:26 +02:00
Enrico Forestieri
8a826918de Amend f96b99dc 2020-08-28 17:39:01 +02:00
Daniel Ramoeller
ad561fc9bc Fix for bug #11948
Force plain layout in soul char styles.
2020-08-28 08:08:39 +02:00
Juergen Spitzmueller
31d0811171 Improve and translate documentation of openCitation feature 2020-08-27 13:33:12 +02:00
Juergen Spitzmueller
0d98fb8548 lyxpaperview: take the first match 2020-08-27 12:05:49 +02:00
Juergen Spitzmueller
ff14d0bd00 Report back if citation target could not be opened 2020-08-27 11:52:52 +02:00
Juergen Spitzmueller
c5c3323f32 Properly disable function 2020-08-27 10:59:15 +02:00
Juergen Spitzmueller
8365eabd6f Make paper search function accessible and customizable 2020-08-27 08:48:55 +02:00
Stephan Witt
8593d00912 autotools build: Install lyx.svg under images for all platforms 2020-08-26 14:36:47 +02:00
Yuriy Skalko
761648b1f7 Update Russian localization 2020-08-26 11:48:57 +02:00
Juergen Spitzmueller
e52514ffd3 Install lyx.svg 2020-08-26 10:01:53 +02:00
Scott Kostyshak
4a9bbe61df ctests: restore use of -shell-escape to fix Minted
This commit amends 4bb00e99 and fixes the Minted tests.
2020-08-24 16:30:36 -04:00
Juergen Spitzmueller
298fa2eee5 lyxpaperview.py: credit Pavel 2020-08-24 15:59:26 +02:00
Juergen Spitzmueller
7097c4e6b1 laypaperview.py: Fix program description 2020-08-24 15:41:52 +02:00
Juergen Spitzmueller
3e31fad5f6 lyxpaperview.py: no need to limit to year and author
The script can now take an unlimited number of arguments, which are all
searched for in the filename. This allows for more flexibility.
2020-08-24 15:38:55 +02:00
Pavel Sanda
71332820d1 UG: Remove opening comment from Phil. 2020-08-24 15:11:53 +02:00
Pavel Sanda
9bd4da2769 First draft of open citation feature 2020-08-24 15:11:53 +02:00
Juergen Spitzmueller
935c9aad5a Add python lyxpaperview script 2020-08-24 13:32:50 +02:00
Yuriy Skalko
d4e9a268e0 Update Russian localization 2020-08-24 07:24:26 +02:00
Pavel Sanda
894ad70eba Enable Open Citation menu item iff citation contain locator information or external search script is available.
Per Juergen's request.
2020-08-23 22:19:34 +02:00
Pavel Sanda
9c9a2c1b92 distribute lyxpaperview 2020-08-23 20:47:39 +02:00
Pavel Sanda
86d949e82e UG: Import and review changes from Phil Netro.
Chapter 3.
Few additional changes from me.
2020-08-23 14:48:02 +02:00
Pavel Sanda
57076cfff4 UG: Import and review changes from Phil Netro.
Chapter 2.
Few additional changes from me.
2020-08-23 13:01:08 +02:00
Juergen Spitzmueller
d6854b01ca de/UserGuide: adapt some changes from en 2020-08-23 10:38:15 +02:00
Pavel Sanda
7112c8b67e UG: Import and review changes from Phil Netro.
Chapter 1.
2020-08-22 21:11:38 +02:00
Pavel Sanda
8362360639 switch args 2020-08-21 09:25:10 +02:00
Scott Kostyshak
4c0073cd03 Whitespace 2020-08-20 21:51:29 -04:00
jpc
6b508e959c French manual Customization.lyx : import from 2.3 2020-08-20 17:17:36 +02:00
Juergen Spitzmueller
24c2b8e21a Add ellipses 2020-08-20 16:39:34 +02:00
Pavel Sanda
4cd3ab1b1a Example script for looking up the citation pdfs. 2020-08-20 09:12:54 +02:00
Pavel Sanda
e648202e7e Allow LyX to find pdfs and urls of citation references and follow them from context menu.
Currently tested:
- url & doi fields for bibtex.
- all documented eprinttypes of biblatex
- absolute paths of first entry of 'file' field for jabref and kbibtex
- external script searching for author + year pdf

Additional polishing will follow.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg212505.html
2020-08-20 09:12:54 +02:00
Kornel Benko
4bb00e99fb Cmake export tests: Omit next group of possible conflicts while runnig test in parallel
Disable conversion cache because all lyx instances use the same cache without
any locking between read and write to the cache.

Thanks to Scott catching this case.
2020-08-19 22:28:50 +02:00
Yuriy Skalko
3761058f2c Update Russian localization 2020-08-19 10:16:02 +02:00
Juergen Spitzmueller
09a49da0d7 Customization: Improve documentation of ResetsFont
Fixes #8454
2020-08-18 09:02:14 +02:00
Juergen Spitzmueller
71c1931b92 Fix default mark (#8454) 2020-08-17 13:45:44 +02:00
Juergen Spitzmueller
cc55ae34f0 Customization: update to current format (for better detection of following changes) 2020-08-17 13:45:00 +02:00
Juergen Spitzmueller
69c5a07082 Comment out non-working nomencl entry 2020-08-17 09:12:51 +02:00
Juergen Spitzmueller
a7ad074776 he/Tutorial: fix conditional so that this also works with LuaTeX
(requires forthcoming polyglossia 1.50 to work properly)
2020-08-16 11:22:53 +02:00
Juergen Spitzmueller
d31e829462 typo 2020-08-15 19:21:20 +02:00
José Matos
a8094051c1 Consider file encoding for modules in reconfigure
If the modules are not in utf8 then we warn and skip that file
like it happens for layout files.

It would be nice in both cases to have a warn in the gui and not only in the config.log
2020-08-15 17:49:23 +01:00
José Matos
5a212823d7 Trim endline whitespace 2020-08-15 16:36:34 +01:00
Juergen Spitzmueller
80e9f7f426 Fixup Apa7 template 2020-08-15 09:52:35 +02:00
Pavel Sanda
48b1e8a0ac New attempt on #9906: allow following hyperlinks via context menu.
Now safer version with the help of Qt.
2020-08-14 19:48:47 +02:00
Juergen Spitzmueller
f348e0edc5 Fix emphasizing 2020-08-12 15:27:21 +02:00
Juergen Spitzmueller
91170accde Fix string 2020-08-12 14:30:25 +02:00
Juergen Spitzmueller
bafd74c46e zh_CN/Tutotrial: Fix emphases 2020-08-11 08:23:27 +02:00
Richard Kimberly Heck
8218225f6e Distinguish size of Part from that of Chapter, in articles. 2020-08-10 18:34:17 -04:00
Richard Kimberly Heck
74e63e754c Amend e6de6c2b 2020-08-09 13:31:36 -04:00
Daniel Ramoeller
e6de6c2b59 Fix bug #11741.
Theorems weren't being numbered by chapter.
2020-08-09 13:09:41 -04:00
Yuriy Skalko
1af9e3b0fc Update Russian localization 2020-08-08 16:12:29 +02:00
Juergen Spitzmueller
7bbc4270ad Add new Russian example files to Makefile 2020-08-05 19:14:13 +02:00
Yuriy Skalko
067a39ee97 Update Russian XY-Pic manual 2020-08-05 18:50:06 +02:00
Yuriy Skalko
3e63bcdeba Minor fixes to XY-Pic.lyx 2020-08-05 18:48:36 +02:00
Juergen Spitzmueller
53e6d7adcb de/UserGuide: two minor corrections 2020-08-05 08:51:51 +02:00
Yuriy Skalko
41e768fd42 Documentation fixes 2020-08-05 08:51:05 +02:00
Yuriy Skalko
e46670b122 Russian translation of XY-pic manual by Henry Chern 2020-08-05 08:34:43 +02:00
Yuriy Skalko
86a4d6c8ab Update Russian localization 2020-08-05 08:26:30 +02:00
Thibaut Cuvelier
fa38ae3fc0 Revert "DocBook: add new layout parameter DocBookWrapperMergeWithPrevious."
This reverts commit 59b0f88d2b.
2020-08-03 22:57:49 +02:00
Thibaut Cuvelier
fe8aff31fd Revert "DocBook: use DocBookItemTag within paragraphs."
This reverts commit 49b998f99b.
2020-08-03 22:57:11 +02:00
Thibaut Cuvelier
4c01ab9ecf Revert "DocBook: use DocBookWrapperMergeWithPrevious in the code."
This reverts commit 62c9f4332d.
2020-08-03 22:56:25 +02:00
Thibaut Cuvelier
42eca3d8d6 Revert "DocBook: simplify code to handle abstracts."
This reverts commit 0199e048ff.
2020-08-03 22:56:06 +02:00
Thibaut Cuvelier
f025538c95 Revert "DocBook: add a layout tag to tell whether an item is the abstract or not."
This reverts commit 5ccd63eff6.
2020-08-03 22:55:52 +02:00
Thibaut Cuvelier
5ccd63eff6 DocBook: add a layout tag to tell whether an item is the abstract or not. 2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
0199e048ff DocBook: simplify code to handle abstracts. 2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
62c9f4332d DocBook: use DocBookWrapperMergeWithPrevious in the code. 2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
49b998f99b DocBook: use DocBookItemTag within paragraphs.
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
59b0f88d2b DocBook: add new layout parameter DocBookWrapperMergeWithPrevious. 2020-08-03 16:04:57 +02:00
Richard Kimberly Heck
8bc01d304a Release notes 2020-08-02 23:25:48 -04:00
Enrico Forestieri
6d35db73fb layouttranslations: nothing to do for it 2020-08-02 19:10:03 +02:00
Yuriy Skalko
10bbf9e62b Update Russian documentation 2020-08-02 10:00:49 +02:00
Thibaut Cuvelier
8d115413c1 DocBook: fix delimitation of bibliographies. 2020-08-02 04:03:39 +02:00
Thibaut Cuvelier
1b123c0200 DocBook: improve AAS support. 2020-08-01 22:45:56 +02:00
Scott Kostyshak
d3b7657e3c Spacing 2020-08-01 10:04:41 -04:00
Pavel Sanda
2489c51f7c ru layouttranslations review 2020-08-01 13:54:18 +02:00
Thibaut Cuvelier
20fe5a6781 DocBook: slight improvement for AAS documents. 2020-08-01 04:09:45 +02:00
Juergen Spitzmueller
857036c0c1 Fix table in ru/Math 2020-07-31 09:31:32 +02:00
Yuriy Skalko
b0ec45b767 Update ru.po and Russian docs 2020-07-31 09:01:33 +02:00
Pavel Sanda
9d8a45b5c0 sk review 2020-07-30 17:20:02 +02:00
Kornel Benko
5de13a804f Update sk.po 2020-07-30 17:10:42 +02:00
Pavel Sanda
53824067fe * layouttranslations for ru 2020-07-30 16:54:15 +02:00
Pavel Sanda
0160f644ce layouttranslations - Notes on more used 2020-07-30 16:50:02 +02:00
Juergen Spitzmueller
5d1451498a typo 2020-07-30 16:38:35 +02:00
Pavel Sanda
6061ab8e69 typo 2020-07-30 16:35:24 +02:00
Yuriy Skalko
9909ce1b2d Minor fixes in Math.lyx 2020-07-30 16:19:29 +02:00
Juergen Spitzmueller
205d123a99 layouttranslation.review: minor clarification 2020-07-30 16:12:03 +02:00
Juergen Spitzmueller
011722604d Correct layout string 2020-07-30 16:11:50 +02:00
Pavel Sanda
b268ed41ec zh_CN update of layouttranslations 2020-07-30 15:59:33 +02:00
Pavel Sanda
4e383ecdb9 * layouttranslations.review 2020-07-30 15:50:20 +02:00
Pavel Sanda
28911d05ea New Notes items in layouttranslation 2020-07-30 15:41:57 +02:00
Juergen Spitzmueller
d031edc587 Russian Math manual
by Henri Chern and Yuriy Skalko
2020-07-29 12:43:56 +02:00
Juergen Spitzmueller
483d914642 Correct version number 2020-07-29 10:55:30 +02:00
Thibaut Cuvelier
d75ff9931d Revert "Support the mathbbm font."
This reverts commit e709a6626e.
2020-07-28 18:01:38 +02:00
Thibaut Cuvelier
e709a6626e Support the mathbbm font.
Should just be able to read formulae, not add it from the GUI, as it's mostly redundant with mathds and mathbb.
2020-07-27 03:15:00 +02:00
Thibaut Cuvelier
62af830fa7 DocBook: support for lists in more layouts 2020-07-25 17:48:23 +02:00
Thibaut Cuvelier
b9c1fe1bac DocBook 5: very basic support for simplecv, support for Itemize in many layouts 2020-07-25 17:37:12 +02:00
Enrico Forestieri
1e2885fe81 Update layouts 2020-07-24 18:50:53 +02:00
Enrico Forestieri
585da1de4a Fix typos in lib/symbols
This amends e8ee0100 and f96b99dc.
2020-07-24 12:57:00 +02:00
Thibaut Cuvelier
c9f8469c00 DocBook: allow KOMA-Script documents to be generated as DocBook 2020-07-21 02:59:57 +02:00
Pavel Sanda
1fa60342be * lib/RELEASE-NOTES 2020-07-21 00:12:24 +02:00
Jean-Marc Lasgouttes
f96b99dcb3 Implement properly \limits and \nolimits
These are now properties of insets that can be operators :
InsetMathSymbols, InsetMathDecoration (for over/underbrace) and
InsetMathMacro (for its contents).

Each of these has a limit_ member that allows to remember a limit
forcing and a member defaultLimits() that indicates what to do in the
absence of such forcing. Moreover the write() method calls
writeLimits().

This allows to simplify the definitions of integrals in lib/symbols by
defining the integrals as macros of their "op" version, as it is done in
the style files.

Also, many hardcoded assumptions can now be removed.

The handling of LFUN_MATH_LIMITS is now done in InsetNest, which tries
successively to apply the limit change to (1) the character after
cursor, (2) the character before cursor and (3) the character at the
end of the inset (useful for script insets?)

The new code allows to define
  \newcommand\int{\intop\limits}
but not
  \newcommand\makelimits#1{#1\limits}

It is also possible to type explicitly \limits or \nolimits to modify
a symbol.
2020-07-20 23:20:26 +02:00
Thibaut Cuvelier
c8d216d6e1 DocBook: allow Tufte books to be (more) properly generated.
Includes a test case useful for some of the previous commits (notes in abstract, PI escaping, counter warnings).

Still missing: marginal and side notes. Shouldn't they be ported to InsetMarginal?
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
1706438cba Partial revert of e3027574: don't add \docbook_table_output at lyx2lyx step, let LyX do it when saving the document 2020-07-20 01:56:33 +02:00
Jean-Marc Lasgouttes
e8ee0100fc Implement variable size bigops
The goal is to reproduce the change of size of operators like \sum wen they
are in display style.

The syntax of the symbols file has been extended to allow for two code
points (like 80|88 for \sum). In this case, the second one will be
used in display style.

Update the symbols file to handle all bigops from cmex, esint, wasy and
stmaryrd.

Let the code for math symbol inset handle symbols which can change size,
using the information from the symbols file.
2020-07-17 22:25:18 +02:00
Richard Kimberly Heck
ab31598e04 Simplify 2020-07-17 12:16:47 -04:00
Thibaut Cuvelier
e302757476 Add support for CALS tables in DocBook. 2020-07-16 00:40:16 +02:00
Pavel Sanda
5df5cc3840 * RELEASE-NOTES 2020-07-12 11:52:06 +02:00
Juergen Spitzmueller
667a9ad0ce Add support for Libertinus Math 2020-07-09 18:59:54 +02:00
Juergen Spitzmueller
77eaa8a0ce Typo 2020-07-09 17:39:57 +02:00
Juergen Spitzmueller
8cb9a6d3f6 Add support for the libertinus family of fonts (#11899)
File format change.
2020-07-09 11:46:07 +02:00
Juergen Spitzmueller
780d9a5f4c LaTeXFonts: Add ScaleCommand
This is needed to add support for scaling to fonts that are switched
via command
2020-07-09 11:41:21 +02:00
Juergen Spitzmueller
3335344261 Provide option to prevent unnecessary font loading.
If an OSF font is an alternative to a non-OSF one, only load the OSFFont
if osf is requested.
2020-07-09 11:39:43 +02:00
Thibaut Cuvelier
7ed43d751a Update RELEASE-NOTES for DocBook 2020-07-09 10:19:29 +02:00
Pavel Sanda
b17294a02b Update customization manual for docbook (part2). 2020-07-09 00:41:36 +02:00
Pavel Sanda
dce2b4e016 Update customization manual for docbook (part1). 2020-07-09 00:41:36 +02:00
Thibaut Cuvelier
eeaea7cbbb Clean up DeclareDocBookClass 2020-07-08 15:47:34 +02:00
Pavel Sanda
f6460f48fa Revert docbook updates to Customization manual.
Something went wrong while merging.
2020-07-08 14:15:33 +02:00
Thibaut Cuvelier
8ac6fbf112 Remove AGU DTD style, probably doesn't work, impossible to check. 2020-07-08 13:36:08 +02:00
Pavel Sanda
d393df4f1a Makefile forgotten in previous patch 2020-07-08 10:08:15 +02:00
Thibaut Cuvelier
7989ebca85 Add documentation for the new layout attributes. 2020-07-08 09:41:16 +02:00
Thibaut Cuvelier
67414563ac Migrate the previous DocBook layouts so the old documents can still be generated with the new implementation.
The output WILL change for these documents, as the output is updated from DocBook 4 to DocBook 5.
2020-07-08 09:40:50 +02:00
Thibaut Cuvelier
1ec87298ff Migrate the existing layouts to the new DocBook attributes. 2020-07-08 09:39:08 +02:00
Thibaut Cuvelier
b596921211 The new DocBook output has no prerequisite on the document, so enable it for each and every document. 2020-07-08 09:35:03 +02:00
Yuval Deutscher
328c70a31a Update labels and tooltips for moderncv layout
Update the user-facing strings in modercv's layout according to the
documentation of the cventry command in moderncv.

Signed-off-by: Yuval Deutscher <yuval@deut.sh>
2020-07-07 19:06:52 +02:00
Pavel Sanda
8c11b81c08 * contrib 2020-07-07 09:52:22 +02:00
Pavel Sanda
28968b1f0d Add required elements in the layouts to support DocBook.
Slightly modified patch from Thibaut Cuvelier.
2020-07-07 09:49:48 +02:00
Thibaut Cuvelier
8a6e500570 Remove old example, as its mechanisms are now deprecated. 2020-07-02 15:27:20 +02:00
Yuriy Skalko
d1993458d8 Update Russian localization 2020-07-01 16:51:03 +02:00
Thibaut Cuvelier
c9e0c2e28a Configure script: update names for new DocBook support, which is now always enabled. 2020-06-29 13:02:06 +02:00
Juergen Spitzmueller
5f960a1dbb Use new parskip in UG 2020-06-29 11:00:31 +02:00
Juergen Spitzmueller
e121bd04bb Support halfline and fullline also in vspace. 2020-06-28 18:27:59 +02:00
Juergen Spitzmueller
b0c102cfb4 use package parskip to separate paragraphs with vertical space (#4796)
File format change
2020-06-28 17:20:18 +02:00
Yuriy Skalko
3ebedf66dd Update Russian 2020-06-27 18:17:32 +02:00
Juergen Spitzmueller
4fc6b5f37c Clarify \upbrace and \downbrace (#11896) 2020-06-27 09:22:36 +02:00
Juergen Spitzmueller
19aa8e0de9 Document medspace and thickspace 2020-06-26 11:13:18 +02:00
Juergen Spitzmueller
a68b0389bc Add support for medspace and thickspace (in text) (#11893)
File format change.
2020-06-26 11:12:35 +02:00
Juergen Spitzmueller
3579a13a50 Harmonize some space shortcuts (math/text context menu) 2020-06-25 16:22:42 +02:00
Juergen Spitzmueller
05eae049d8 Add negmedspace and negthickspace to context menu 2020-06-24 14:47:12 +02:00
Richard Kimberly Heck
6f084c4c30 Some python cleanup from Thibault. 2020-06-21 11:37:23 -04:00
Thibaut Cuvelier
8f89768211 Fix in symbols handling: parse the XML entity with \def. 2020-06-19 08:22:56 +02:00
Thibaut Cuvelier
718eede94b MathML: Convert HTML entities to XML entities. 2020-06-18 19:37:08 +02:00
Juergen Spitzmueller
7860d19fbc Yet another ru update by Yuriy 2020-06-15 09:55:00 +02:00
Richard Kimberly Heck
2a2f15ec03 Fix bug noticed by Scott.
Since there may be subfloats, we do not want to move past the end
of a float when modifying it.
2020-06-14 19:01:44 -04:00
Richard Kimberly Heck
8e33b681a8 Minor cleanup. 2020-06-14 19:01:44 -04:00
Enrico Forestieri
57272e837b Correctly display \dag and \ddag in mathed
They are synonyms for \dagger and \ddagger and are used
in Sect. 13.1 of the math manual.
2020-06-13 16:48:54 +02:00
Juergen Spitzmueller
674ec430cf Add mathds to math type table 2020-06-13 16:43:35 +02:00
Enrico Forestieri
d28e6b00cc Add mathds to math type table 2020-06-13 15:45:36 +02:00
Juergen Spitzmueller
05c36c9f26 Add mathscr to math type table 2020-06-13 10:31:23 +02:00
Juergen Spitzmueller
fcba229f92 Add mathscr to math type table, by Yuriy 2020-06-13 10:25:05 +02:00
Juergen Spitzmueller
2bfb606562 Updates for Russian, by Yuriy 2020-06-13 10:24:40 +02:00
Enrico Forestieri
0e30594eba Document the doublestroke package 2020-06-12 13:03:01 +02:00
Enrico Forestieri
6f6d985b9e Amend 5a80f7bb
Was forgetting this.
2020-06-11 17:43:44 +02:00
Enrico Forestieri
5a80f7bb6a Add support for the doublestroke package
This commit adds the mathed command \mathds that selects a
font more appropriate than \mathbb for typesetting the
mathematical symbols for the natural (N), whole numbers (Z),
rational numbers (Q), real numbers (R), complex numbers (C),
and some others.

As in the \mathbb case, only capital letters are supported,
but in addition one can also typeset a symbol often used for
representing the indicator function (\mathds{1}) and the
letters a, h, k.

Fixes bug #11887.
2020-06-11 16:42:31 +02:00
Kornel Benko
3af543455b Rename a file to comform with the layout description
Saves one translatable string
2020-06-11 12:08:48 +02:00
Kornel Benko
ac7871d5d1 Amend(2) f7d6a0b7: Add template for APA v.7
Distribute the new template
2020-06-10 16:11:59 +02:00
Pavel Sanda
d5fb7ddaf2 We were finally able to get in contact with MARC maintainers. 2020-06-09 22:36:10 +02:00
Kornel Benko
11f922b676 Amend f7d6a0b7: Add template for APA v.7
Copy-Paste error, slipped in unintended
2020-06-09 21:37:58 +02:00
Kornel Benko
f7d6a0b7fa Add template for APA v.7
Based on TL20 texmf-dist/doc/latex/apa7/samples/longsample.tex
2020-06-09 19:24:42 +02:00
Kornel Benko
3a8755f2d6 Amend cb26ecbb: Added apa7 layout
The command addORCIDlink{}{} can be used in the preamble (like title{} or author{})
or in the body of document. For this a Flex-inset-layout seems appropriate.
2020-06-09 14:49:51 +02:00
Juergen Spitzmueller
ca6c973ab0 Add some localized (Russian) cliparts, by Yuriy 2020-06-06 12:54:43 +02:00
Kornel Benko
6a0dda1719 Typo 2020-06-06 11:47:28 +02:00
Juergen Spitzmueller
0572fafacd Update to Russian UG by Yuriy and Henry 2020-06-06 09:59:59 +02:00
Juergen Spitzmueller
2e21b10aed Update to Russian from Yuriy 2020-06-06 09:58:21 +02:00
Jean-Marc Lasgouttes
b08791f731 Use combined toolbar icons for depth-(in|de)crement and outline-(in|out)
The Tab binding already combines those (and more).
2020-06-06 01:44:06 +02:00
Kornel Benko
cb26ecbb58 Added apa7 layout 2020-06-05 22:03:59 +02:00
Juergen Spitzmueller
91cf97b198 Some corrections to the Russian User Guide, by Yuriy 2020-06-03 12:05:42 +02:00
Juergen Spitzmueller
1bf18368cf Add support for the xindex index processor
This is a modern alternative for makeindex that is fully unicode-aware
and written in lua.

As opposed to xindy, it is more lightweight and actively maintained.

The program is still in a rather early stage of development, so we do
not propose this as default.

This relies on xindex 0.22 (about to be released) to function properly.
2020-05-30 12:54:20 +02:00
Juergen Spitzmueller
a7428c0855 Add Henry Chern to credits 2020-05-26 12:45:25 +02:00
Juergen Spitzmueller
330628a685 Russian translation of the User Guide, by Henry Chern 2020-05-26 12:39:23 +02:00
Juergen Spitzmueller
ddd8b17a3b User Guide: some minor corrections suggested by Henry Chern 2020-05-26 10:49:29 +02:00
Juergen Spitzmueller
45a8484a94 ru updates by Yuriy 2020-05-26 10:28:03 +02:00
Juergen Spitzmueller
a9f619cf05 Tutorial: Some UI adaptations 2020-05-24 09:38:02 +02:00
Juergen Spitzmueller
0067fea555 Russian updates by Yuriy 2020-05-24 08:28:23 +02:00
Scott Kostyshak
386aba099b Add bind to Insert > Separated <Environment> Above
The binding <Alt + p, Shift + Return> is already used for
environment-split outer, so we bind <Alt + p, Alt + Return>
to environment-split before.
2020-05-23 14:36:59 -04:00
Richard Kimberly Heck
b5b015ba3a Update layout format 2020-05-23 11:45:01 -04:00
Richard Kimberly Heck
c90a8e6885 Add revtex 4.2 files to distribution 2020-05-18 13:20:39 -04:00
Juergen Spitzmueller
53ada26596 Fixup inkscape detection on Windows 2020-05-18 12:40:32 +02:00
Juergen Spitzmueller
bd89a273bc Amend 74f831e06d
Forgot this part.
2020-05-18 08:32:26 +02:00
Juergen Spitzmueller
d5079c2e73 Safer 0.x version test 2020-05-15 15:22:14 +02:00
Juergen Spitzmueller
74f831e06d Add support for inkscape 1.0
Command line syntax has changed. We now check for the version and use
the appropriate cl options.

Fixes #11742
2020-05-15 14:08:46 +02:00
Jean-Marc Lasgouttes
125f5d5d20 Add rtl version of outline-in/out icons 2020-05-15 12:10:30 +02:00
Richard Kimberly Heck
5588c22e77 Python cleanup from Thibaut. 2020-05-08 13:31:05 -04:00
jpc
ce85562c7b Linguistics manual translation in French (up to sec. 2) 2020-05-07 11:13:39 +02:00
Juergen Spitzmueller
ce7cd4b983 linguistics.module: fix counters 2020-05-05 14:42:44 +02:00
Richard Kimberly Heck
c506f304bc Fix a number of issues that were stopping compilation with MSVC 19.
Patch from Thibaut Cuvelier, modified slightly by me (mostly for style).
2020-05-04 19:45:58 -04:00
Pavel Sanda
cf628911d0 Add new template for Hebrew.
Provided by Guy Rutenberg, available also here:
https://github.com/guyru/lyx-hebrew-templates
2020-05-04 13:05:36 +02:00
Richard Kimberly Heck
086d65bd7c Update documentation about counters. 2020-05-03 14:06:48 -04:00
Juergen Spitzmueller
3be8726695 Add missing ellipses 2020-05-03 13:30:04 +02:00
Juergen Spitzmueller
98c24f3413 Amend e7e70b021e 2020-05-03 13:16:20 +02:00
Juergen Spitzmueller
e40fe3a15d Update link 2020-05-03 09:13:59 +02:00
Richard Kimberly Heck
e7e70b021e Better name 2020-05-03 02:20:14 -04:00
Richard Kimberly Heck
a7e26710cb Add GuiNames to counter declarations. 2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
9bcb243ec6 Increment layout format. 2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
6580c5753d Remove unused counter 2020-05-02 22:09:45 -04:00
Richard Kimberly Heck
32a5436108 Somehow this got corrupted... 2020-05-02 22:05:02 -04:00
Richard Kimberly Heck
c37500050d More polishing of counter dialog. Thanks to Jürgen for help.
Also, remove the 'display value' option. We will move this to InsetInfo
at some point.
2020-05-02 20:33:03 -04:00
Kornel Benko
b55f735afe Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools 2020-05-02 13:40:26 +02:00
Kornel Benko
4d7c7f1e74 Perl script (for developpers) to select desired system font names.
Needed font-config (so that this script is probably OK on unix systems only)
Probably needed module for Getopt::Mixed.
On debian systems it is contained in package libgetopt-mixed-perl
2020-05-02 13:20:53 +02:00
Richard Kimberly Heck
bc4ca12ab5 Polish the counter UI a bit and add some to the documentation. 2020-05-01 19:03:54 -04:00
Richard Kimberly Heck
a08621ebce Documentation for counter inset. 2020-04-30 23:46:26 -04:00
Richard Kimberly Heck
de40b09474 Fix thinkos for counter value type 2020-04-30 23:46:18 -04:00
Richard Kimberly Heck
9a147255df GUI for new counter inset. 2020-04-30 23:11:59 -04:00
Richard Kimberly Heck
9a1b26a156 Format and reversion code for new counter inset. 2020-04-30 23:11:59 -04:00
Jean-Marc Lasgouttes
b9538b10d4 Ignore some more files when building in source tree 2020-04-23 19:17:15 +02:00
Juergen Spitzmueller
733c9b04d8 Minor doc update by Yuriy 2020-04-23 07:33:51 +02:00
Jean-Marc Lasgouttes
bb0117d182 Simplify code for bidi icons
Most of the RtL icons that we provide are simply mirrors of the LtR ones.
Therefore let the code do that by default if no +rtl icon is found.

The only RtL icon left for now is for "layout Enumerate" (notice the
numbers in it).

Also remove useless getPixmap wrapper and several old bidi_xxx icons
that were forgotten in previous patch.
2020-04-16 20:54:53 +02:00
Jean-Marc Lasgouttes
43eda5ad73 Reimplement properly bidi icons
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.

Instead of relying on the clumsy "bidi" lfun of 2898c335, this new
version relies on a new Toobar tag BidiItem that inserts an action
which can have two icons, depending on the direction of the paragraph
containing the caret (or of the direction of the UI when no file is
open).

The alternative icon has the same name as the original one, with a
"+rtl" string appended to the lfun string. The alternative icon is
only active if the file is found. The icon themes `default', `oxygen'
and `classic' have been updated accordingly.

Fixes bug #4451.
2020-04-14 22:47:56 +02:00
Jean-Marc Lasgouttes
ce0538e372 Revert "Add mechanism to change icons in RTL mode"
This is really too clumsy. Revert in preparation for a better
mechanism.

This reverts commit 2898c335be.
2020-04-14 22:47:50 +02:00
Kornel Benko
0536193c22 Added revtex4-2.layout
For revtex4.1, this is only cosmetics, because the content
of the layout moved to revtex4-x.inc.
2020-04-08 10:27:34 +02:00
Kornel Benko
701c6a6287 Add "inset-settings" shortcut to sk/menus.bind 2020-04-07 11:52:58 +02:00
Jean-Marc Lasgouttes
c8ebd2117c Change tootip for Labeling layout toolbar button
Labeled List sounds better that Labeling.

Part of bug #11770.
2020-04-03 19:16:04 +02:00
Juergen Spitzmueller
fe09ddf1b9 Implement buffer-write force 2020-03-31 08:01:17 +02:00
Richard Kimberly Heck
d34bb46387 Fix bug #11799.
I've made cut, etc, OptItems, as this menu is already very long.
2020-03-28 23:34:44 -04:00
Juergen Spitzmueller
f51100459a ru/Intro: update by Yuriy 2020-03-26 15:13:49 +01:00
Enrico Forestieri
92c4bb4682 Amend bd6d09fc
Was forgetting this.
2020-03-22 22:03:49 +01:00
Pavel Sanda
f5669c0a3d * fix missing entry in ia.po 2020-03-20 20:43:39 +01:00
Pavel Sanda
e91b2e2fbe layouttranslations check from Giovanni 2020-03-20 17:48:36 +01:00
Juergen Spitzmueller
07e8e4352f lyx_2_0.pyx_ add convert_includeall method
It's better to have that param explicitly in the document.
2020-03-15 09:32:02 +01:00
Enrico Forestieri
bd6d09fc98 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.
2020-03-14 17:19:08 +01:00
Juergen Spitzmueller
f4af191403 Introduce maintain unincluded children "mostly"
This is a mode for includeonly handling that is effective and still outputs
at least mostly correct counters and references. This is intended for non-
final editing work.

File format change.
2020-03-13 15:46:35 +01:00
Stephan Witt
46596455db #11767 improved default binding on Mac for window-close 2020-03-08 13:33:30 +01:00
Günter Milde
c1357cbd01 ctest autotest for #11773 language nesting with lyx2lyx.
* invert failing lyx2lyx tests for ko/Welcome
* add dedicated test sample
* set language for English text part in ko/Welcome.

Also

* fix a lyx2lyx language test sample
* fix clause in unreliableTests
2020-03-05 00:24:08 +01:00
Günter Milde
0db0d7f375 Remove no longer needed module import. 2020-03-05 00:24:08 +01:00
Günter Milde
91bdcbbb82 Refactor lyx2lyx code.
Use helper functions for shorter, self-documenting code.

Drop optional arguments that equal the default value.

Remove hard TABs and trailing whitespace.
2020-03-05 00:24:08 +01:00
Jean-Marc Lasgouttes
0b5ce4b5ba Fixup cf9827df: do not forget keyboard bindings and docs
Keyboard bindings are easy. For lfun icons in documentation, both the UserGuide and Tutorial have to be updated. Since this will have to be done again once the documentation is imported from branch, I list them here for reference:

For the lib/doc/ directory:
find . -name 'Tutorial.lyx' | xargs sed -i 's/"layout List"/"layout Labeling"/g'
find . -name 'UserGuide.lyx' | xargs sed -i 's/"layout List"/"layout Labeling"/g'
and then
find . -name 'Tutorial.lyx' | xargs sed -i 's/"layout \(Itemize\|Description\|Labeling\|Enumerate\|List\)"/"layout-toggle \1"/g'
find . -name 'UserGuide.lyx' | xargs sed -i 's/"layout \(Itemize\|Description\|Labeling\|Enumerate\|List\)"/"layout-toggle \1"/g'

Related to bug #11770.
2020-03-04 14:07:03 +01:00