Commit Graph

324 Commits

Author SHA1 Message Date
Kornel Benko
82a0b09322 Final check for invalid urls
These slipped the previos commits
	-https://www.ctan.org/tex-archive/macros/latex/contrib/covington/
	+https://www.ctan.org/pkg/covington

	-https://git.lyx.org/gitweb/?p=lyx.git;a=tree;f=lib/doc/fr;hb=HEAD
	+https://www.lyx.org/trac/browser/lyxgit/lib/doc/fr?order=name&rev=HEAD

	-https://git.lyx.org/gitweb/?p=lyx.git;a=tree;f=lib/doc;hb=HEAD
	+https://www.lyx.org/trac/browser/lyxgit/lib/doc?order=name&rev=HEAD

The following are only cosmetics
	-https://www.ctan.org/
	+https://www.ctan.org

	-http://mirrors.ctan.org/macros/latex/contrib/fixme/fixme.pdf
	+https://mirrors.ctan.org/macros/latex/contrib/fixme/fixme.pdf
2024-10-12 18:33:01 +02:00
Kornel Benko
5598946335 Amend(10) of c0ee28a7
Hopefully the last one
2024-10-10 20:34:50 +02:00
Kornel Benko
5ac4411920 Amend(9) of c0ee28a7 2024-10-10 15:53:10 +02:00
Kornel Benko
9b1ac44613 Amend(6) of c0ee28a7 2024-10-08 16:51:19 +02:00
Kornel Benko
c0ee28a7c9 Corrected some used URL's in our lyx files
Thanks Jean-Pierre, Pavel, Scott
2024-10-07 12:22:45 +02:00
Juergen Spitzmueller
5002da6070 Fix font def 2024-09-16 08:48:28 +02:00
Juergen Spitzmueller
649c5e9b0a Uee a more accesible JP mono font 2024-09-15 17:34:28 +02:00
Juergen Spitzmueller
e256357509 Fixup polyglossia-languages test file
* Workaround for churchslavonic
2024-09-15 15:21:46 +02:00
Juergen Spitzmueller
e7c5b8aecc Fixup polyglossia-languages test file
* Branch Kazakh as it is now babel-only
* Setup fonts for Chinese via fontspec
* Setup proper fonts for Japanese
* Use proper Japanese language variant
2024-09-15 15:09:08 +02:00
Juergen Spitzmueller
52157c9318 Set appropriate tt font that supports CJK
The actual font should be discussed. This one is OSS and works well:
https://github.com/adobe-fonts/source-han-code-jp
2024-09-14 14:46:29 +02:00
Juergen Spitzmueller
c167bc90f5 Fixup test file for texF tests
Use proper fonts basically (the rest is format conversion)
2024-09-14 12:48:57 +02:00
Udi Fogiel
54601b5578 update test 2024-09-10 15:44:42 +03:00
Scott Kostyshak
ceb7e3ef14 ctests: mark a fixed export test as fixed
The ed62816e test file was fixed at 6ef18c35.
2024-05-20 10:21:10 -04:00
Scott Kostyshak
d61bf9f166 Test file with knitr chunk in beamer
This file fails to compile starting with ed62816e.
2024-05-19 12:17:10 -04:00
Thibaut Cuvelier
fd37845075 Amend 16660d12.
The previous commit introduced wrong behaviours for <>. The new code carefully escapes what needs to be escaped from LaTeX, using the now-standard XML tools (XMLStream).
2024-03-21 21:32:45 +01:00
Thibaut Cuvelier
16660d12b4 MathML in HTML: don't escape <> for a raw LaTeX output.
In some cases (I only found numbered equations), the LaTeX output still has a bit of HTML. For numbered equations, using \tag{X} (as suggested in https://www.lyx.org/trac/ticket/13048) would require fiddling with the output. KaTeX doesn't support \label. This patch is probably the easiest and most reliable fix.

Fixes https://www.lyx.org/trac/ticket/13048.
2024-03-21 00:29:23 +01:00
Thibaut Cuvelier
011c3d73c0 MathML: consider ordinary and alphabetical characters as identifiers instead of operators.
The goal is to consider all Greek letters as identifiers instead of operators.

Solves: https://www.lyx.org/trac/ticket/12948.
2024-03-09 20:59:12 +01:00
Thibaut Cuvelier
5c5765061f DocBook: amend e3020a6b.
Book authorship and authorship can be quite distinct. As far as I know, there is no standard way to represent book authorship in DocBook bibliographies.
2024-03-01 13:45:28 +01:00
Thibaut Cuvelier
e3020a6b2d DocBook: support bookauthor in bibliographies. 2024-03-01 13:22:34 +01:00
Thibaut Cuvelier
baccce7d2d DocBook: in a table, fix a typo in a condition.
Before this patch, all table cells had a semicolon at the beginning of their style:

<td style='; border-bottom:

This unwanted behaviour is only due to a typo in a condition when concatenating two styles: the previous code was checking the second part of the style once the first was output, instead of the first one.
2024-02-26 16:09:52 +01:00
Thibaut Cuvelier
8e0bc01d50 DocBook: when a similar tag is present multiple times in the bibliography entry, output it only once.
Other copies have an error message.
2024-02-26 16:06:26 +01:00
Thibaut Cuvelier
2be72a1534 DocBook: in bibliographies, fix support for editors.
Also, add TODOs for similar problems lurking around.
2024-02-26 15:52:35 +01:00
Thibaut Cuvelier
c71f703914 DocBook: update bibliography handling for 337f953426. 2024-02-26 14:58:35 +01:00
Scott Kostyshak
7e0d41ce51 ctests: categorize #12708 test file as resolved
From Jürgen:

  the bug was fixed in the recent refstyle release:
  https://ctan.org/ctan-ann/id/mailman.6197.1706904970.3764.ctan-ann@ctan.org
2024-02-20 11:00:09 -05:00
Juergen Spitzmueller
22d8a0cbc9 Add missing language markup 2024-02-17 11:18:47 +01:00
Scott Kostyshak
65f3677145 Amend previous commit
Set the default document output format to PDF (pdflatex), because
the test file fails to export with LuaTeX (in both 2.3.x and master).

This commit amends 6094a56b.
2024-01-26 10:34:06 -05:00
Scott Kostyshak
6094a56b1d Add export test for #13036 2024-01-26 10:18:05 -05:00
Scott Kostyshak
f11a529698 Add export test for #13022 2024-01-26 10:16:13 -05:00
Scott Kostyshak
a7f331d9e4 ctests: move fixed bug test to regression tests
The export has been fixed as of 37dce940.
2024-01-12 13:07:10 -05:00
Scott Kostyshak
f59c088b5c Add an export test for #13022
Original file provided by Jéssica Milaré, and simplified to this
simple example by Udi.
2023-12-30 11:07:43 -05:00
Scott Kostyshak
294a18b643 ctests: add regression test for #13019
File was posted by Udi.
2023-12-29 17:03:53 -05:00
Thibaut Cuvelier
43921861b9 DocBook: in InsetInfo, ensure that no db:date is inserted within a db:date. 2023-10-10 09:57:17 -04:00
Thibaut Cuvelier
78b157b61e DocBook: fix closing formatting after deleted text.
Previously, when closing font tags, only the previous character's font was used. However, if that character is deleted, it had no change of having the right font tags opened/closed. Hence, look further to compare the font of the current character to output with the font of the previously output character.
2023-10-10 09:57:17 -04:00
Thibaut Cuvelier
0c2f3dedd6 DocBook: add support for InsetInfo.
A similar patch would be required for LyXHTML, but it will come later. The main impact is that some text isn't output in XHTML (like DocBook before this patch).

The code isn't as clean as it could be. I avoided touching anything not related to DocBook, as the release of 2.4 is nearing, while leaving comments for parts to improve for the next release cycle. Given that the code compiles, there are no risks for TeX or XHTML outputs; for DocBook, less content is skipped, which is a net improvement for users.
2023-10-10 09:57:17 -04:00
Scott Kostyshak
1e63aebc3e ctests: add test cases for DocBook
Patch from Thibaut Cuvelier.
2023-10-07 14:57:30 -04:00
Scott Kostyshak
ccd88246a9 supported-languages: update info on font subs
Consistent with 008e1cc9.
2023-08-18 11:24:34 -04:00
Scott Kostyshak
946b750090 supported-languages.lyx: update format 2023-08-18 11:22:07 -04:00
Scott Kostyshak
8490b3e73b ctests: move #12734 testfile thanks to fix
Categorize a 'lyxbugs' testfile as fixed thanks to a15bc829.
2023-04-15 07:45:26 -04:00
Scott Kostyshak
a5ebeb3b46 ctests: test file for #12734 2023-04-11 23:44:49 -04:00
Scott Kostyshak
3a9bd79536 ctests: add a test file for #12708
The file is taken from #12727 which is a duplicate.
2023-04-11 23:07:42 -04:00
Thibaut Cuvelier
96023697f5 Amend 16a1aa99
With the current settings, a theorem with several paragraphs will have several wrapper tags (i.e. two `<db:figure>`, with one paragraph each, one next to the other when it's the same theorem), while there should be only one (one `<db:figure>` with two paragraphs).

It makes me wonder whether DocBookWrapperMergeWithPrevious should be the default value. I don't see a case where it would be set to `false` with a wrapper tag, but the test suite isn't developed enough to make the change with peace of mind (i.e. remove the parameter `DocBookWrapperMergeWithPrevious` and consider it is always `true` in the code).

For the record, the current code also works with two subsequent theorems with two paragraphs each (see new test case).
2023-01-07 03:06:44 +01:00
Thibaut Cuvelier
017588973f Revert "New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing list. Rebased on top of master."
This reverts commit 42c2a25fb8.
2022-12-31 11:28:56 +01:00
Thibaut Cuvelier
42c2a25fb8 New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing list. Rebased on top of master.
I've modified all the non-AMS theorem modules so they would be independent of packages. currently
	the code support \theoremstyle, but only with definition, plain and remark.

	I'v added a new theorem module that support the thmtools \listoftheorems.

	I've modified the syntax of all theorem modules, such that it would be easier to
	create a new one, or maintaining the ones that exists. Instead of using \newtheorem
	in the preamble of a lyaout, I wrote \lyx@newtheorem, and in each module I've defiened
	\lyx@newtheorem as fitted. This way, there is only need in the files thorems-base, and theorems-extended,
	instead of an .inc file for each module.

	I've added theorems-labels.inc, a file that suppose to be included in a "Numbered by type" module,
	to change the Label and the LabelCounter of the layouts in theorems-base.inc.

	Note that in this configuration, all non-AMS modules will clash with the AMS ones, and so as the
	proof versions. theorems-proof-std.inc suppose to be in the non-AMS while theorems-proof.inc
	should be included only in AMS variants.
2022-12-31 01:56:51 +01:00
Thibaut Cuvelier
16a1aa9901 DocBook: add support for DocBookGenerateTitle.
The new parameter allows more flexibility when encoding some elements that have a poor mapping in DocBook, like theorems. The major use is to wrap the environment in a generic container, figure, which requires a title (but none is available).
2022-12-27 15:52:26 +01:00
Thibaut Cuvelier
e6af50108a XHTML: add new test case that uses the new NONE HTML tag (Verbatim environment).
Excerpt from https://www.lyx.org/trac/ticket/10553.
2022-12-09 02:55:32 +01:00
Juergen Spitzmueller
077ccf905d Rename subindex to subentry
Makes more sense, and distinguishes it better from printsubindex
2022-10-31 06:51:38 +01:00
Thibaut Cuvelier
35a752e6db DocBook: add test case for multiple indices 2022-09-01 01:17:58 +02:00
Thibaut Cuvelier
07380a3bc1 DocBook: add missing test case for index 2022-09-01 00:14:41 +02:00
Juergen Spitzmueller
047004cb0f Merge branch 'master' into features/indexmacros 2022-05-14 16:29:46 +02:00
Thibaut Cuvelier
f352a375d9 InsetIndex: revamp IndexEntry to handle both legacy and modern index insets; simplify and adapt the XHTML code.
DocBook comes in another commit, as the modifications are not required to keep the code compilable.

A semicolon is no more used between an index term and the places it appears, because some languages need a space before it and others not: this wasn't handled at all. With a dash, this problem disappears.
2022-05-05 04:16:51 +02:00