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
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
Juergen Spitzmueller
935c9aad5a
Add python lyxpaperview script
2020-08-24 13:32:50 +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
8362360639
switch args
2020-08-21 09:25:10 +02:00
Scott Kostyshak
4c0073cd03
Whitespace
2020-08-20 21:51:29 -04:00
Pavel Sanda
4cd3ab1b1a
Example script for looking up the citation pdfs.
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
Thibaut Cuvelier
fa38ae3fc0
Revert "DocBook: add new layout parameter DocBookWrapperMergeWithPrevious."
...
This reverts commit 59b0f88d2b
.
2020-08-03 22:57:49 +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
59b0f88d2b
DocBook: add new layout parameter DocBookWrapperMergeWithPrevious.
2020-08-03 16:04:57 +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
Richard Kimberly Heck
6f084c4c30
Some python cleanup from Thibault.
2020-06-21 11:37:23 -04:00
Juergen Spitzmueller
bd89a273bc
Amend 74f831e06d
...
Forgot this part.
2020-05-18 08:32:26 +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
Richard Kimberly Heck
9bcb243ec6
Increment layout format.
2020-05-02 23:17:16 -04:00
Kornel Benko
b55f735afe
Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools
2020-05-02 13:40:26 +02:00