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
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
Stephan Witt
f55efc6951
ePub: quote all path names of the command
2021-02-07 12:43:01 +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
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
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
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
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
Juergen Spitzmueller
704331fdcd
Add dark theme colors to semantic colors ( #8325 )
2020-12-12 10:56:05 +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
Richard Kimberly Heck
52a0ffc02f
Change name and email in some other files
2020-12-05 17:39:46 -05:00
Richard Kimberly Heck
ae2ce7a86a
LaTeXName tag for counters. Layout format change.
2020-12-05 16:46:33 -05: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
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
Richard Kimberly Heck
060c3de2f0
StepMasterCounter --> StepParentCounter
2020-11-02 17:36:58 -05:00
Richard Kimberly Heck
967c43b218
Comment updates
2020-11-01 18:08:18 -05: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
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
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
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
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
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
dd8660c07e
layout2layout: use name instead of pseudonym.
2020-09-19 20:43:41 +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
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
ad18c19492
DocBook: add new layout parameter DocBookWrapperMergeWithPrevious.
2020-09-19 20:43:36 +02:00
Yuriy Skalko
cd933534bd
Increment preferences format to 34: rename Cyrillic *.kmap files
2020-09-17 15:05:31 +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
8365eabd6f
Make paper search function accessible and customizable
2020-08-27 08:48:55 +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