Scott Kostyshak
4b33e60346
Update layouts
...
I do not commit the update to the following file since it has a
non-trivial change:
lib/layouts/jlreq-common.inc
I'll ask for confirmation on the list before updating that file.
2024-07-24 10:19:31 -04:00
Juergen Spitzmueller
9f31d562bf
UserGuide: fix two nomencl entries
2024-07-22 10:42:54 +02:00
Juergen Spitzmueller
ae1e1cb069
Add possibility to manually specify longest label in nomenclature
...
File format change
2024-07-21 17:59:34 +02:00
Juergen Spitzmueller
f58a442380
Make headlesscite an alias of MLA's autocite
...
As in biblatex-mla itself
2024-07-14 08:57:02 +02:00
Juergen Spitzmueller
369c871609
Support MLA's \autocite variants
2024-07-13 17:32:54 +02:00
Juergen Spitzmueller
6603c5362f
Provide reversed style specifier for citation commands
...
This lets you exclude given variants for specific citation styles only
2024-07-13 17:20:29 +02:00
Juergen Spitzmueller
29b36dd0b8
Improve on-screen representation with MLA style
...
This style is quite unique, so we need to accommodate that
2024-07-11 13:39:17 +02:00
Juergen Spitzmueller
2dac89aca0
Add support for biblatex-apa's \nptextcite
2024-07-11 10:28:38 +02:00
Juergen Spitzmueller
f7cc716861
Allow to pass several styles for style-specific cite commands
2024-07-11 10:09:26 +02:00
Juergen Spitzmueller
04d8616c0a
Fix cut and paste error in fbbe1eb013
2024-07-11 09:56:08 +02:00
Juergen Spitzmueller
d2ad0618bb
Amend fbbe1eb013
...
Include apa6
2024-07-11 09:47:37 +02:00
Juergen Spitzmueller
fbbe1eb013
Improve representation of APA citation
2024-07-11 09:20:19 +02:00
Juergen Spitzmueller
5c2652fa12
BiblioInfo: Ability to distinguish '&' and 'and' author separation
...
Finicky styles such as APA use both in different context, and we need
to represent this to make style choice differentiatable
2024-07-11 09:13:43 +02:00
Juergen Spitzmueller
a1e57a8fe5
BiblioInfo: Add citestyle conditional
2024-07-11 07:41:47 +02:00
Udi Fogiel
ae70eb0d36
remove language switches from index entries in fr Additional.lyx
2024-07-10 23:07:31 +03:00
Scott Kostyshak
49907c9bd2
fr Additional.lyx: restore a path to an include
2024-07-10 11:41:43 -04:00
Juergen Spitzmueller
40d644a7f9
Implement possibility to define citestyle-specific commands with biblatex
...
Not yet used.
2024-07-10 16:58:34 +02:00
Juergen Spitzmueller
f96422fc9c
Fix glitch in revert_biblatex_chicago
2024-07-10 09:51:55 +02:00
jpc
18ce7a2e80
Import Additional from 2.4.x
2024-07-09 18:15:48 +02:00
Juergen Spitzmueller
8941b05774
Add support for biblatex-chicago ( #12240 )
...
File format change
2024-07-09 15:18:06 +02:00
Juergen Spitzmueller
a4b99aee94
BiblioInfo: provide macro for ellipses
2024-07-09 06:39:15 +02:00
jpc
d05809da3c
French Additional manual, translation of chapter 4 up to sec. 4.3
2024-07-08 11:52:28 +02:00
Juergen Spitzmueller
fcb81ddf0b
Add documentation for notes cite engine type.
2024-07-07 15:28:33 +02:00
Juergen Spitzmueller
8322622efa
Add "notes" CiteEngine Type
...
This is needed for (forthcoming) biblatex-chicago support (see #12240 )
2024-07-07 15:14:05 +02:00
Juergen Spitzmueller
28f49c90dc
de/Customization: fix typo
2024-07-05 09:51:49 +02:00
José Matos
7a79a416b8
Remove profiling.py
...
The hotshot module used there only works for Python 2.
BTW the profiling turned out not be necessary.
As a case in point Python 3.13 is twice as fast as Python 3.6 when using
lyx2lyx. Not only that but Python 3 is almost 10 times faster than using
Python 2 for this particular case.
2024-06-27 21:20:49 +01:00
Pavel Sanda
935781ceab
Document python changes
2024-06-24 22:45:15 +02:00
Pavel Sanda
cfc9675d0e
Prepare notes for 2.5
2024-06-24 22:44:49 +02:00
José Matos
95a7440b0e
Sort and format comments
...
The last code change shuffled the comments out of place
2024-06-18 10:52:05 +01:00
José Matos
44e0940d75
Order imports
...
This is similar to what we have in C++ code where we order the standard
includes to be easier to read.
This is a readability change only.
2024-06-18 10:25:52 +01:00
José Matos
5abe42f6d3
Tweak ruff configuration
...
Add I - isort rules (order of imports);
Ignore line too long warnings.
2024-06-18 10:24:09 +01:00
José Matos
4534a20f1a
Fix functions that used functions but did not defined it
...
The functions were selected from the parser files where document is
always defined.
The only case was this code was used was on document.warning.
Since our documents are well formed this code was never active and thus
the reason why we did not saw this before.
One possible solution to assure that these type of errors do not occur
is to make the convention that all the functions in lyx2lyx_tools have
as the first argument document.
2024-06-17 11:31:10 +01:00
José Matos
160ac7242e
Remove undisclosed imports (from xxx import *)
...
This was the last example in this directory.
2024-06-16 07:45:43 +01:00
José Matos
b80ccaa417
Add common pattern in linter exclusion list
...
# ambiguous-variable-name (E741)
Derived from the **pycodestyle** linter.
## What it does
Checks for the use of the characters 'l', 'O', or 'I' as variable names.
## Why is this bad?
In some fonts, these characters are indistinguishable from the
numerals one and zero. When tempted to use 'l', use 'L' instead.
## Reason to ignore in LyX?
With appropriated fonts that is not an issue. In our case we just use
the 'l', in particular in the context of iterators: 'i', 'j', 'k', 'l'.
2024-06-16 07:34:34 +01:00
Juergen Spitzmueller
9fff7bdd5a
de/UserGuide: updates
2024-06-15 14:29:26 +02:00
José Matos
a0a5892ae8
Fix code
...
Run "ruff check --fix"
Remove unneeded imports;
Reword code to make clear the "not in" operator;
Put imports in its own line (readability);
2024-06-15 11:26:28 +01:00
José Matos
b4db3ea137
Reformat lyx2lyx code using ruff
2024-06-15 10:06:06 +01:00
José Matos
aaef6d2693
Add pyproject.toml file to manage some options for tools
...
This file is only relevant for tools that use it, in development, and so
it is not supposed to be installed. It does not harm but there is no
purpose.
2024-06-15 10:04:31 +01:00
Pavel Sanda
e5b027759c
* UG - note about gnuplot from Tobias Hilbricht
2024-06-14 21:18:29 +02:00
Udi Fogiel
3854086e59
Remove hebrew letter document class
...
The only difference from regular letter is the alignment of
"Send To Address" layout, but it no longer reflect the output
corrctly, probably because LyX revert the alignment of layouts
in RTL context now.
2024-06-11 21:14:27 +03:00
José Matos
c92b481a44
Reformat imports for easier reading
...
This is in line with the current hints for better readability:
* one import per line;
* order the imports alphabetically to be easier to search;
Take the chance to remove unused imports.
2024-06-10 12:05:03 +01:00
José Matos
aeee6b373e
Update generate contributions to Python 3+
2024-06-10 11:43:04 +01:00
José Matos
04ecabef60
Update Python scripts to Python 3+
...
Remove support for Python 2
Use formatted strings where appropriated
2024-06-10 11:29:56 +01:00
José Matos
f9ec4186d7
Update lyx2lyx folder to Python 3+
...
Remove support for Python 2
Take advantage of new features (euphemism) not possible before due to
python 2 compatibility
2024-06-10 10:55:40 +01:00
José Matos
df0e337684
Update configure.py to Python3+
...
Remove Python 2 support
This simplifies the code and allows to use other more modern features,
like formatted strings, that were not possible while keeping Python 2
compatibility.
2024-06-10 10:38:28 +01:00
Richard Kimberly Heck
8655c83a90
Fix bug #13028 .
...
Bindings for 'join lines.
2024-06-09 14:13:12 -04:00
Udi-Fogiel
64aad586f4
missing background in xetex and fix RTL stuff in preview
...
* previwes with xetex did not produce any background (\pagecolor does not work for some reason), adding the direct command for that, \special{background <color>} inside the preview box solved it.
* similar to #12923 we should push the color node in horizontal mode
* there is a bug in preview with LuaTeX with main RTL language, this commit fix this bug, but it should be removed when it is fixed upstream (the code related to \pr@set@pagerightoffset)
2024-06-09 13:36:35 +03:00
Pavel Sanda
de781a7cff
Some comments into bind file
2024-06-05 20:42:10 +02:00
Scott Kostyshak
adefdf8eeb
Revert "Update layouts"
...
This reverts commit 7c041af642
.
We will hold this back until we fix the issue discussed here:
https://marc.info/?l=lyx-devel&m=171733833610242&w=2
2024-06-03 10:37:02 -04:00
Richard Kimberly Heck
0c70f340c0
Fix bug #13066
...
Patch from Lorenzo
2024-06-02 23:07:34 -04:00
Scott Kostyshak
7c041af642
Update layouts
2024-06-02 22:52:37 -04:00
Juergen Spitzmueller
2a7ec054be
Support half und full line parskip class options ( #12946 )
...
Currently only employed by the KOMA classes.
Layout format change.
2024-06-02 11:41:54 +02:00
Juergen Spitzmueller
d2db74f9ee
Add support for glue length in parskip ( #12867 )
2024-06-01 13:47:39 +02:00
Juergen Spitzmueller
d3d8b3d748
Update aastex63.layout according to https://journals.aas.org/aastexguide/#acknowledgments
2024-05-20 16:10:23 +02:00
Juergen Spitzmueller
6ef18c3583
Limit the nopassthurchars case in beamer to URL
...
and also generally extend to classes that provide hyperref
2024-05-20 08:26:03 +02:00
Juergen Spitzmueller
c23f731fae
mumble
2024-05-15 18:36:47 +02:00
Juergen Spitzmueller
9d43fd2ae1
# and % need to be escaped in hyperref URL as well
...
Also fix some lyx2lyx glitches
This hopefully fixes the test issues.
2024-05-15 13:15:08 +02:00
Juergen Spitzmueller
227ce773bf
Document a716fb96b5
2024-05-14 13:38:16 +02:00
Juergen Spitzmueller
a716fb96b5
NeedCProtect -1 also for InsetLayouts
2024-05-14 13:37:29 +02:00
Juergen Spitzmueller
1512216909
Fix comment
2024-05-13 10:26:45 +02:00
Juergen Spitzmueller
52d31155c1
Properly escape backslash in URLs with hyperref ( #13012 )
2024-05-13 09:17:30 +02:00
Juergen Spitzmueller
ed62816eb6
Handle URL escaping in beamer frames
...
File format change -- this introduces the first LyX 2.5 format and
hence sets up the lyx2lyx machinery
2024-05-13 07:26:41 +02:00
Juergen Spitzmueller
eeb3f9e719
Amend 207eaeee90
...
FragileFrame, as opposed to normal frame, supports cprotect (and needs
it in the usual circumstances)
2024-05-12 08:52:09 +02:00
Juergen Spitzmueller
a2fb7b3566
Document 207eaeee90
2024-05-12 07:54:04 +02:00
Juergen Spitzmueller
207eaeee90
Introduce NeedCProtect -1 layout option
...
It turns out beamer frame does not allow \cprotect and errors if it is
used. Hence we need to prevent it in this context entirely.
2024-05-12 07:52:16 +02:00
Pavel Sanda
358efd120a
* metainfo.xml - homepage missing
2024-04-21 03:49:12 +02:00
Pavel Sanda
c8b32ebe72
*UG - Add hint from users list
2024-04-20 00:24:44 +02:00
Juergen Spitzmueller
2f6b24297f
g-brief loads babel internally. So don't load it ourselves.
...
This makes the class fully functional with non-TeX fonts (it uses
\babelfont for the purpose). Before, docs were compiling but the
output was wrong.
2024-04-16 18:25:38 +02:00
Juergen Spitzmueller
c3c96a446b
gbrief-2 loads babel internally. So don't load it ourselves.
...
This makes the class fully functional with non-TeX fonts (it uses
\babelfont for the purpose). Before, docs were compiling but the
output was wrong.
2024-04-13 07:32:30 +02:00
Stephan Witt
cad4da738d
#12641 document the Qt fix in release notes
2024-04-11 23:26:26 +02:00
Stephan Witt
2883cd4215
Add LyX-2.4 user directory to the list of candidates for copying on first run of LyX-2.5.
2024-04-11 18:32:03 +02:00
Stephan Witt
945a02e2e1
Improved copy operation for user directory contents of previous major releases
...
- avoid copying of configure.log
- avoid copying of chkconfig.ltx
There is a report of a hang on first start of LyX with new major release.
The removal of the chkconfig.ltx (leftover from early LyX versions) fixed the issue.
2024-04-11 18:32:03 +02:00
Pavel Sanda
511f895c98
Update credits
2024-04-11 09:42:29 +02:00
Pavel Sanda
c1650cdffa
Docs - update URL for dictionaries after recent infra movements
2024-04-10 21:12:36 +02:00
Pavel Sanda
ec71aac5c6
* layouttranslations.review, ack from Yitzhak.
2024-04-07 22:03:37 +02:00
Juergen Spitzmueller
012c739668
Document 0d3d91c055
2024-04-06 09:58:31 +02:00
Pavel Sanda
7976cc2dac
Allow relative statistics values in statusbar.
...
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg221311.html
2024-04-05 19:36:23 +02:00
Jean-Marc Lasgouttes
b28655e91e
fix typo in fr/Intro.lyx
2024-04-04 17:16:19 +02:00
Juergen Spitzmueller
aa7ff14933
Allow for multiple accelerator alternatives
...
This needs some testing before it could go to 2.4.x eventually
2024-04-04 17:12:48 +02:00
Juergen Spitzmueller
728175f9ac
Dissolve some shortcut conflicts in the wake of f3a4602c4c
2024-04-03 08:28:00 +02:00
Juergen Spitzmueller
a55ede6a74
Update German User Guide
2024-04-03 07:35:59 +02:00
Richard Kimberly Heck
b8a988fa13
Docs for menu change
...
(cherry picked from commit c8534081c9
)
2024-04-02 22:05:01 -04:00
Juergen Spitzmueller
f3a4602c4c
Smarter menu length calculation
...
It is possible I have missed some shortcut conflicts, so please report
if you find any.
2024-04-02 14:41:54 +02:00
jpc
8850b68792
Translation of French Additional.lyx: chapter 3 completed
2024-04-02 11:52:40 +02:00
Juergen Spitzmueller
0b8e8eb174
de/UserGuide: update
2024-04-02 09:53:58 +02:00
Richard Kimberly Heck
1198bbf01a
Fix duplicate accelerator
2024-04-01 21:55:25 -04:00
Richard Kimberly Heck
e51cca2ef0
Add shortcut for plain single quote.
...
(cherry picked from commit d3101e6d6f
)
2024-04-01 17:28:22 -04:00
Richard Kimberly Heck
b0c4681cd8
Clarify quote-insert LFUN.
...
And add remark about multiple optional arguments.
(cherry picked from commit 29be057a07
)
2024-04-01 17:28:19 -04:00
Richard Kimberly Heck
dff3a0c53f
Fix bug #13025 .
...
Add plain single quote to menu.
(cherry picked from commit 9e5a98e8f9
)
2024-04-01 17:28:16 -04:00
jpc
55330a7844
Restore Chapter 11
2024-03-30 17:39:00 +01:00
jpc
571babff5e
Further translations of the French Additional manual
2024-03-29 18:58:25 +01:00
jpc
a9a328c85d
Further translations of French Additional manual + typo and ref. to Hebrew Letter in sec 3.5 of Additional.lyx
2024-03-28 19:11:55 +01:00
jpc
20c79dd472
Further translations of French Additional manual
2024-03-28 10:13:22 +01:00
jpc
cdb4cf5fa4
Further translation of French Additional manual + typo in English version
2024-03-27 18:39:25 +01:00
Jean-Marc Lasgouttes
43b1234a98
Typo in doc
...
Thanks to Peter J. Puchyr for noticing it.
2024-03-25 22:32:17 +01:00
Juergen Spitzmueller
1f4238c9fb
Add Idan Pazi to contributors list
2024-03-12 12:53:34 +01:00
Idan Pazi
0fb7650786
Fix returned value of win32file.ReadFile
...
returns an PyOVERLAPPEDReadBuffer that needs to be converted to str.
2024-03-12 12:46:04 +01:00
Thibaut Cuvelier
04beccca4c
DocBook: add missing mapping for AASTeX 6.3.
...
The result is far from perfect, see the TODOs. The corresponding tests are still inverted.
2024-03-09 15:09:45 +01:00
Juergen Spitzmueller
5e5612698f
de/Additional: small adaptations
2024-03-08 09:06:26 +01:00
Juergen Spitzmueller
5e1dd61819
Additional: Minor fix
2024-03-08 09:05:57 +01:00
jpc
beeb43fe08
AMS classes naming
2024-03-06 10:51:24 +01:00
Scott Kostyshak
8a0daee999
Restore origin tag
2024-03-05 11:34:59 -05:00
Juergen Spitzmueller
7250f15b83
grmpf
2024-03-05 15:55:53 +01:00
Juergen Spitzmueller
503bc42d7e
Fix file name
...
This way, we still have a string freeze break, but it is at least only
one string :-(
(and no, it does not matter whether the translation of this string is
identical to the English string)
2024-03-05 15:52:22 +01:00
Jürgen Spitzmüller
de04f3270e
Fix lyx2lyx bug with nested inset arguments
2024-03-05 15:41:21 +01:00
Jürgen Spitzmüller
a48e32fbe6
Amend e530f71f8f
...
I suppose the template file should not have been deleted, but moved.
2024-03-05 15:30:17 +01:00
jpc
c0f6631f59
layout fot aastex v631
2024-03-05 12:29:27 +01:00
jpc
fa04bf4b3f
aastex v 631
2024-03-05 12:24:17 +01:00
jpc
a8bb10fe09
Typo in file name
2024-03-05 10:32:23 +01:00
jpc
e530f71f8f
Additional.lyx : a number of typos and update aastex to version 631
2024-03-05 10:18:55 +01:00
jpc
cd83473d08
Transcription of Additional restructuration in the French version
...
Translations remain to be done
2024-03-05 10:04:14 +01:00
Pavel Sanda
56ab845ca5
* generate_contributions.py - another php 8 choking points
2024-03-03 00:26:26 +01:00
Pavel Sanda
0bd6fe0fc4
* generate_contributions.py - php 8 chokes on those
...
@anyone: please do not commit changes generated by generate_contributions.py
until we switch to the new web server. Not sure what will this output do
with older php.
2024-03-03 00:09:32 +01:00
Juergen Spitzmueller
be209506d5
Linguistics: resolve tracked changes
2024-02-28 16:16:43 +01:00
jpc
026bd67568
French example Linguistics.lyx: upadate before 2.4.0
2024-02-28 11:37:24 +01:00
Juergen Spitzmueller
8742f77f3a
Update of de/Math
2024-02-27 07:17:47 +01:00
Juergen Spitzmueller
d0a4b80256
Math.lyx: some formatting fixes
2024-02-27 07:17:31 +01:00
Juergen Spitzmueller
ead6eb8944
Consider bookauthor in preview
...
Hence, also support the inbook type
2024-02-27 05:40:57 +01:00
jpc
9ca00ddc69
French Math manual: last update before 2.4.0
2024-02-26 10:03:04 +01:00
jpc
5bccb45968
French EmbeddedObjects manual: final upadte before 2.4.0
2024-02-24 16:11:53 +01:00
Juergen Spitzmueller
337f953426
Consider biblatex subtitles in bibliography preview
2024-02-24 16:09:47 +01:00
Juergen Spitzmueller
f72d68cd9f
fix column default of IEEEtran layout
2024-02-24 08:57:14 +01:00
jpc
cb0ef98a1e
French UserGuide : final update before 2.4.0
2024-02-21 16:52:25 +01:00
jpc
37f8d0412e
Document accerss to LyX repo in Intro.lyx
2024-02-13 16:44:33 +01:00
jpc
b1cc184a19
Update web reference to lyxgit
2024-02-13 16:44:33 +01:00
jpc
81416e5a0e
Document 2.4.0 review
2024-02-12 11:17:28 +01:00
jpc
085fe133db
Restore alphabetical order in commands
2024-02-12 10:54:18 +01:00
jpc
040f8ba2a1
Update of Customization for 2.4.0
2024-02-11 11:21:36 +01:00
José Matos
db78555e29
Minor cleanup: one import per line
2024-02-10 22:02:13 +00:00
José Matos
a46b5f2de9
Remove extra whitespace at the end of line
2024-02-10 22:01:01 +00:00
Richard Kimberly Heck
91bd457a67
Fix display of counters for included listings.
2024-02-09 19:54:56 -05:00
Enrico Forestieri
fe99f7b01e
Adapt lyxpak.py to work with Python 3 on Windows
...
Seemingly, the elements of argv on Windows are a different type
with respect to Linux. A patched version of getopt.py has to be
used on Windows in order to match variable types.
2024-02-09 22:46:05 +01:00
jpc
23c861d44c
Update French Customization (step 1) and Customization (typo)
2024-02-01 22:17:56 +01:00
Stephan Witt
3be3183eea
Avoid call of lilypond-book as python script if not on Windows
2024-01-29 07:59:48 +01:00
Pavel Sanda
7eb5003a81
* configure - pdftoppm is broken on windows.
...
From now we will use it only in case IM coders are really
banned (so for windows we are back at 2.3 conversion chain).
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg221022.html
2024-01-27 18:35:08 +01:00
Yuriy Skalko
7b218e1199
ru/UserGuide: adjust for alphadin to alpha change
2024-01-27 10:52:20 +01:00
Juergen Spitzmueller
b00ea51166
fixup convert_lineno ( #13036 )
...
This routine assumed \linenumbers to be preceded by \usepackage{lineno}
and that by a lyx2lyx comment.
Of course, this is not the case if users loaded lineno manually.
2024-01-26 10:30:31 +01:00
Pavel Sanda
40c9068876
* layouttranslations - he update
2024-01-23 20:58:47 +01:00
Juergen Spitzmueller
db9f6903e4
Amend c2fc40ec0
2024-01-21 15:44:24 +01:00
Juergen Spitzmueller
c2fc40ec04
LyXDocs.bib: a couple of fixes
2024-01-21 15:22:19 +01:00
Juergen Spitzmueller
c7f6846bbe
Ditch alphadin from the distribution
2024-01-20 15:47:56 +01:00
Pavel Sanda
7584d3a203
* RELEASE-NOTES
2024-01-18 21:29:41 +01:00
Richard Kimberly Heck
28b5f1d5e0
Fix reference format for propositions.
...
Reported by Andrew Parsloe.
2024-01-17 17:22:11 -05:00
Pavel Sanda
930ff2b95d
nl layouttranslation reviewed by Kees.
2024-01-14 14:19:22 +01:00
Pavel Sanda
3174e175d1
Fix missing names in contrib
2024-01-12 23:53:52 +01:00
jpc
082031ac8f
Update fr/Intro.lyx for 2.4.0
2024-01-11 18:48:42 +01:00
Richard Kimberly Heck
e8bf672eba
Update bind format
2024-01-11 11:07:41 -05:00
Richard Kimberly Heck
d302d6b20f
Update docs
2024-01-11 11:06:40 -05:00
Pavel Sanda
e3c18b1124
* cs/Tutorial update format
2024-01-06 17:01:47 +01:00
Pavel Sanda
4a3a08671a
* LFUNS - update format
2024-01-06 16:04:05 +01:00