Commit Graph

9982 Commits

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