Commit Graph
18058 Commits
Author SHA1 Message Date
John MacFarlane 7301daa799 Use lastest dev typst. 2025-03-13 23:17:02 -07:00
John MacFarlane 523148844e Use latest dev typst-hs 2025-03-13 14:06:16 -07:00
John MacFarlane ef822ef8e7 Improve EPUB metadata documentation. 2025-03-12 09:35:41 -07:00
John MacFarlane b37420bddc Change maxwidth default in MANUAL.txt.
Closes #10683.
2025-03-12 09:27:27 -07:00
John MacFarlane 67edf7ce7c Update Security section in manual.
Alert readers to a threat relating to iframe in HTML.
Add LaTeX, Typst to the list of formats that have an `include`.

Closes #10682.
2025-03-12 09:02:37 -07:00
John MacFarlane d68f8d2e67 Markdown writer: treat Emph [Emph ils]] as ils.
Otherwise we get `**content**` which means strong emphasis.

This is a more robust solution than using `_`, which won't work
for intraword emphasis.

Closes #10642.
2025-03-10 14:48:57 -07:00
John MacFarlane 7fe8c92821 HTML reader: ignore style tags in the body.
They are invalid but do occur in the wild.
Closes #10643.
2025-03-10 14:41:46 -07:00
John MacFarlane d73475cec8 HTML reader: skip MathJaX-introduced cruft.
See #10673.
2025-03-08 09:57:03 -08:00
John MacFarlane b7d2c4815f Markdown reader: fixed escapedChar' parser.
It should not accept escaped newlines.
See #10672.
2025-03-07 14:28:10 -08:00
John MacFarlane 5a360f1abe T.P.Logging: Change NoTitleElement from WARNING to INFO.
Users commonly complain about the warning when producing HTML
documents without an explicit title. It seems that an info message
is more appropriate, since pandoc's default here (using the input's
base name) ensures compliance with the standard and many users
are happy with that default.  Those who want to make sure the
message is seen can use `--verbose`.

Closes #10671.
2025-03-07 08:32:35 -08:00
John MacFarlane 45fdd1de10 Fix invalid OOXML in definition_list.docx test.
Closes #10394.
2025-03-05 21:41:30 -08:00
John MacFarlane e73b9ee1d8 Disable citations extension in writers if --citeproc is used.
Otherwise we get undesirable results, as the format's native
citation mechanism is used instead of (or in addition to) the
citeproc-generated citations. Closes #10662.
2025-03-05 13:24:05 -08:00
John MacFarlane b58381a0d4 Typst writer: ensure that citation-style works as well as csl.
Closes #10661.
2025-03-04 23:25:48 -08:00
John MacFarlane 0d9fbc9410 LaTeX reader: support \newline, \linebreak. 2025-03-04 23:25:48 -08:00
John MacFarlane 6c3e43dc57 LaTeX reader: better handle comments/whitespace in option lists and includes.
Closes #10659.
2025-03-04 15:00:37 -08:00
John MacFarlane 96c052a2a7 MANUAL.txt: Note about template variable for typst. 2025-03-03 23:19:18 -08:00
Olivier DOSSMANN d4bfc9ac8c MANUAL: correct typo: 'date' for doubled 'title' (#10654) 2025-03-02 09:02:43 -08:00
John MacFarlane 4ba0bac5c1 Update JATS tests for mathml rendering changes. 2025-03-01 22:14:40 -08:00
John MacFarlane 135e7bbeaf Use latest dev texmath. 2025-03-01 20:37:05 -08:00
John MacFarlane a0078910fc Use latest texmath. 2025-03-01 20:05:40 -08:00
John MacFarlane feaf525461 Use latest dev texmath. 2025-03-01 10:56:03 -08:00
John MacFarlane 97ec88a16c Update typst test. 2025-02-28 22:55:39 -08:00
John MacFarlane 085c4ffbc0 Use lastest dev typst. 2025-02-28 22:47:36 -08:00
John MacFarlane ac79938043 Typst writer: better heuristics for escaping potential list markers.
Closes #10650.
2025-02-27 13:37:25 -08:00
John MacFarlane 954067474d Use latest dev texmath. 2025-02-26 14:03:30 -08:00
John MacFarlane 002510ffed Use latest dev texmath. 2025-02-26 10:08:21 -08:00
John MacFarlane e2a0cc9dda Use latest dev texmath. 2025-02-25 22:49:50 -08:00
John MacFarlane 295fafc5bd Use latest dev texmath. 2025-02-24 09:09:15 -08:00
R. N. West 7930fd143d doc/lua-filters.md: Add missing html_math_method 'katex' 2025-02-24 16:45:13 +01:00
John MacFarlane e8b987250c Use latest dev texmath. 2025-02-20 23:29:22 -08:00
John MacFarlane 3caf2b1e3a Revert "Docx reader and writer: support row heads."
This reverts commit cbe67b9602.

Word sets `w:firstColumn="1"` by default for tables.  You have to find
the Table Design tab and explicitly uncheck "First Column" to make this
go away.  In most cases, I don't think writers intend to designate
the first column as a row head, so this commit is going to produce
unexpected results.  In addition, because of the table normalization
done by pandoc-type's `tableWith`, any table containing a colspanned
cell in the left-hand column will get broken if the first column is
designated a row head.  For these reasons it seems best to revert this
change, which was made in response to #9495.

Closes #10627.
2025-02-19 10:02:50 -08:00
John MacFarlane 3528f405b1 Use latest dev texmath. 2025-02-18 14:38:57 -08:00
John MacFarlane 2530422b74 Give better position information when YAML metadata parsing fails...
with a YAML exception.  See #10231.
2025-02-18 08:42:18 -08:00
John MacFarlane dbe2495ad4 EPUB writer: use a nonbreaking space after section number in nav.xhtml.
This seems to be required for iOS books app to display the space.
2025-02-16 14:43:37 -08:00
John MacFarlane abf0b5123b T.P.Shared, makeSections: put some attributes on section element only.
Certain `role` and `epub:type` attributes should only be on the section
(and indeed, many `role`s give a validation error if left on the heading
element).
2025-02-16 11:15:41 -08:00
Tiago-Manzato 2d2570881b Update article.jats_publishing template (#10622)
Just a typo for author prefix that was causing authors to have the suffix as
prefix and suffix in the XML.
2025-02-14 13:08:34 -08:00
John MacFarlane 3048261fd9 Use dev version of texmath. 2025-02-14 11:45:31 -08:00
John MacFarlane bf1c17c883 Markdown reader: allow line break between URL and title of link.
Closes #10621.
2025-02-14 10:17:26 -08:00
John MacFarlane f5d41a0c3f Powerpoint writer: avoid extra blank lines before author.
(In the case where there is no subtitle.)

Closes #10619.
2025-02-13 14:35:08 -08:00
John MacFarlane 54039e392d Update pandoc-citeproc-320a test.
See #10610.
2025-02-13 14:19:58 -08:00
John MacFarlane c21177b113 Smart quote parsing: ignore curly quotes.
Previously we tried to match curly quotes as well as straight
quotes, producing Quoted inlines.  But it seems better just to
assume that those who use curly quotes want them passed through
verbatim.

This also fixes an (unintended) bug whereby curly single left
quotes would sometimes be changed to single right quotes.

Closes #10610.
2025-02-13 13:58:53 -08:00
John MacFarlane 0fe6254535 Markdown writer: omit extra space after bullets.
We used to insert extra spaces to ensure that the content respected
the four-space rule.  That is not really necessary now, since pandoc's
markdown and most markdowns don't follow the four-space rule.

Those who want the old behavior can obtain it by using
`-t markdown+four_space_rule`.

Closes #7172.
2025-02-12 09:41:20 -08:00
John MacFarlane 1a8db18d6a Stack.yaml - fix typo. 2025-02-11 22:32:53 -08:00
John MacFarlane 1d76380769 Fix typo in stack.yaml. 2025-02-11 19:32:16 -08:00
John MacFarlane 233417bb7a Use dev typst-hs.
Fixes an issue with package loading, a regression in pandoc 3.6.3.
2025-02-11 18:38:49 -08:00
John MacFarlane 49d154c769 Use babel options shorthands=off.
This has been fixed now in Babel for some time.  So we can now
get rid of the ugly code that disabled language-specific shorthands
(see e26d31d).

Closes #6817.
2025-02-10 13:22:33 -08:00
John MacFarlane 4948d27fee Remove selnolig-langs.
We now specify the language as a global option again, so we
no longer need to specify it when invoking selnolig.

See #9863.
2025-02-10 13:02:58 -08:00
John MacFarlane 786356ace4 Update AUTHORS.md. 3.6.3 pandoc-cli-3.6.3 2025-02-09 12:55:30 -08:00
John MacFarlane 0d0f5e596d stack.yaml - use tls-2.1.7 2025-02-09 12:39:41 -08:00
John MacFarlane 01a7e6f070 pandoc-server: use https: for git repo. 2025-02-09 12:24:56 -08:00