Commit Graph

10261 Commits

Author SHA1 Message Date
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