Commit Graph

8 Commits

Author SHA1 Message Date
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
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
Thibaut Cuvelier
e7ed8213ac DocBook: fix a test to ensure that the DocBook document is valid.
A book cannot directly contain paragraphs, they must be within a chapter.
2022-04-03 03:41:02 +02:00
Thibaut Cuvelier
544adb065b XHTML tables: fix borders and implement booktabs.
https://www.lyx.org/trac/ticket/10154

Contributed by raccoon.
2022-04-02 03:34:33 +02:00
Thibaut Cuvelier
c83fd0eb06 XHTML sections: saner code to close the section.
It only caused troubles in corner cases...
2020-09-19 20:43:42 +02:00
Thibaut Cuvelier
a85b4b88ed XHTML sections: only filter out things that are not Sectioning, not based on the level. 2020-09-19 20:43:42 +02:00
Günter Milde
74b1b9d86f ctest update
Separate xetex-inputenc test sample in working and non-working parts.

Sort HTML-only tests.

Update tagging and ignore-rules.

Change inputencoding to utf8 in dedicated tests (get pdf4_texF working).
2019-04-29 21:13:33 +02:00