Skip to content

Commit 93e8027

Browse files
committed
Bump to 3.6.4 (also in pandoc-cli), update changelog.
1 parent 5e44f7a commit 93e8027

File tree

3 files changed

+153
-3
lines changed

3 files changed

+153
-3
lines changed

changelog.md

+150
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,155 @@
11
# Revision history for pandoc
22

3+
## pandoc 3.6.4 (2025-03-16)
4+
5+
* Disable `citations` extension in writers if `--citeproc` is used (#10662).
6+
Otherwise we get undesirable results, as the format's native
7+
citation mechanism is used instead of (or in addition to) the
8+
citeproc-generated citations.
9+
10+
* Markdown reader:
11+
12+
+ Allow line break between URL and title of link (#10621).
13+
+ Give better position information when YAML metadata parsing fails
14+
with a YAML exception (#10231).
15+
+ Fixed `escapedChar'` parser (#10672). It should not accept
16+
escaped newlines.
17+
+ Remove some misguided list fanciness (#9865, #7778, cf. #5628).
18+
Previously we tried to handle things like commented out list items:
19+
```
20+
- one
21+
<!--
22+
- two
23+
-->
24+
- three
25+
```
26+
and also things like:
27+
```
28+
- one `and
29+
- two` and
30+
```
31+
But the code we added to handle these cases caused problems with
32+
other, more straightforward things, like:
33+
````
34+
- one
35+
- ```
36+
code
37+
```
38+
- three
39+
````
40+
So we are rolling back all the fanciness, so that the markdown
41+
parser now behaves more like the commonmark parser, in which
42+
indicators of block-level structure always take priority over
43+
indicators of inline structure.
44+
45+
* HTML reader:
46+
47+
+ Skip MathJaX-introduced cruft (#10673).
48+
+ Ignore style tags in the body (#10643).
49+
50+
* LaTeX reader:
51+
52+
+ Better handle comments/whitespace in option lists and includes (#10659).
53+
+ Support `\newline`, `\linebreak`.
54+
55+
* Docx reader/writer:
56+
57+
+ Revert commit adding row heads
58+
(cbe67b9602a736976ef6921aefbbc60d51c6755a) (#10627).
59+
Word sets `w:firstColumn="1"` by default for tables. You have to find
60+
the Table Design tab and explicitly uncheck "First Column" to make this
61+
go away. In most cases, I don't think writers intend to designate
62+
the first column as a row head, so this commit is going to produce
63+
unexpected results. In addition, because of the table normalization
64+
done by pandoc-type's `tableWith`, any table containing a colspanned
65+
cell in the left-hand column will get broken if the first column is
66+
designated a row head. For these reasons it seems best to revert this
67+
change, which was made in response to #9495.
68+
69+
* LaTeX writer and template:
70+
71+
+ Remove `selnolig-langs` (#9863). We now specify the language as
72+
a global option again, so we no longer need to specify it when
73+
invoking selnolig.
74+
+ Use babel options `shorthands=off` (#6817).
75+
+ Use `*` for multirow width when no colwidth specified (#10685).
76+
Otherwise the multirow will be excessively wide.
77+
+ Protect `\phantomsection` (#10688, etclub).
78+
79+
* Markdown writer:
80+
81+
+ Omit extra space after bullets (#7172). Those who want the old
82+
behavior can obtain it by using `-t markdown+four_space_rule`.
83+
+ Treat `Emph [Emph ils]]` as `ils` (#10642). Otherwise we get
84+
`**content**` which means strong emphasis.
85+
86+
* EPUB writer:
87+
88+
+ Use a nonbreaking space after section number in nav.xhtml.
89+
This seems to be required for iOS books app to display the space.
90+
91+
* Typst writer:
92+
93+
+ Better heuristics for escaping potential list markers (#10650).
94+
+ Ensure that `citation-style` works as well as `csl` (#10661).
95+
96+
* Powerpoint writer:
97+
98+
+ Avoid extra blank lines before author when there is no
99+
subtitle (#10619).
100+
101+
* JATS template:
102+
103+
+ Fix typo in author prefix in article.jats_publishing template
104+
(#10622, Tiago-Manzato).
105+
106+
* Text.Pandoc.Parsing:
107+
108+
+ Smart quote parsing: ignore curly quotes (#10610). Previously we
109+
tried to match curly quotes as well as straight quotes,
110+
producing Quoted inlines. But it seems better just to assume
111+
that those who use curly quotes want them passed through
112+
verbatim. This also fixes an (unintended) bug whereby curly
113+
single left quotes would sometimes be changed to single right quotes.
114+
115+
* Text.Pandoc.Shared:
116+
117+
+ `makeSections`: put some attributes on section element only.
118+
Certain `role` and `epub:type` attributes should only be on the section
119+
(and indeed, many `role`s give a validation error if left on the
120+
heading element).
121+
122+
* Text.Pandoc.Logging:
123+
124+
+ Change NoTitleElement from WARNING to INFO (#10671). Users
125+
commonly complain about the warning when producing HTML
126+
documents without an explicit title. It seems that an info
127+
message is more appropriate, since pandoc's default here (using
128+
the input's base name) ensures compliance with the standard and
129+
many users are happy with that default. Those who want to make
130+
sure the message is seen can use `--verbose`.
131+
132+
* Beamer template: only emit `\date` if set (#10687, josch).
133+
134+
* Fix invalid OOXML in definition_list.docx test (#10394).
135+
136+
* MANUAL.txt:
137+
138+
+ Correct typo: 'date' for doubled 'title' (#10654, Olivier Dossmann).
139+
+ Add note about `template` variable for typst.
140+
+ Change maxwidth default in MANUAL.txt (#10683).
141+
+ Improve EPUB metadata documentation.
142+
+ In Security section, alert readers to a threat relating to iframe in
143+
HTML, and add LaTeX, Typst to the list of formats that have an
144+
`include` (#10682).
145+
146+
* `doc/lua-filters.md`: Add missing html_math_method 'katex' (R. N. West).
147+
148+
* Use texmath 0.12.9.
149+
150+
* Use typst 0.7. Fixes an issue with package loading, a regression
151+
in pandoc 3.6.3.
152+
3153
## pandoc 3.6.3 (2025-02-09)
4154

5155
* Track wikilinks with a class instead of a title (Evan Silberman).

pandoc-cli/pandoc-cli.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: pandoc-cli
3-
version: 3.6.3
3+
version: 3.6.4
44
build-type: Simple
55
license: GPL-2.0-or-later
66
license-file: COPYING.md
@@ -70,7 +70,7 @@ executable pandoc
7070
buildable: True
7171
-- Note: we always link to an exact version of pandoc, with the
7272
-- same version as this package:
73-
build-depends: pandoc == 3.6.3,
73+
build-depends: pandoc == 3.6.4,
7474
text
7575
other-modules: PandocCLI.Lua
7676
, PandocCLI.Server

pandoc.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: pandoc
3-
version: 3.6.3
3+
version: 3.6.4
44
build-type: Simple
55
license: GPL-2.0-or-later
66
license-file: COPYING.md

0 commit comments

Comments
 (0)