John MacFarlane
bc9f990256
OpenDocument writer: implement custom-style for spans.
...
Closes #9657 .
2024-04-14 11:29:56 -07:00
John MacFarlane
ad6b9dd974
Use dev version of djot.
2024-04-14 09:48:30 -07:00
John MacFarlane
066d1ba7ef
reference.docx: use current standard Word theme.
...
This includes using the sans-serif font Aptos instead of
the serif font Cambria.
See #7280 .
2024-04-13 22:31:20 -07:00
John MacFarlane
14f69c60ef
reference.docx: Remove duplicate DefaultParagraphFont in styles.xml.
2024-04-13 22:12:11 -07:00
John MacFarlane
e0f37996b3
reference.docx: stay closer to Word's current defaults.
...
We use the default styles for headings and the title instead
of what pandoc was using.
See #7280 .
2024-04-13 18:15:04 -07:00
John MacFarlane
11050df108
Fix ooxml for b6b668ee3f
2024-04-13 17:54:33 -07:00
John MacFarlane
b6b668ee3f
Use conventional styles/indents for Word bullet lists.
...
See #7280 .
2024-04-13 11:44:09 -07:00
John MacFarlane
a0c1bdeb8b
Markdown reader: auto-close unclosed divs.
...
This applies to both fenced and HTML-ish varieties.
Otherwise we face an exponential performance problem with
backtracking.
This also accords with the behavior of the `fenced_divs`
extension in commonmark.
A warning is issued when a div is implicitly closed.
Closes #9635 .
2024-04-10 17:18:05 -07:00
John MacFarlane
820e371d94
Logging: Add UnclosedDiv constructor for LogMessage.
...
[API change]
2024-04-10 17:17:45 -07:00
John MacFarlane
4b5409acf2
Use dev version of texmath.
2024-04-10 12:28:57 -07:00
John MacFarlane
f43331b9dd
Add clarification about toc-title in docx, pptx.
...
See #9645 .
2024-04-09 08:02:46 -07:00
James P. Ascher
a062ebbc4a
ConTeXt writer: replace depreciated \sc with \setsmallcaps
...
ConTeXt now depreciates `\sc` in favor of `\setsmallcaps`, see #9618
2024-04-08 20:35:22 -07:00
John MacFarlane
91e758590d
LaTeX writer: improve treatment of math inside soul commands.
...
soul commands (`ul`, `hl`, `st`) are very fragile and the math
must be handled specially. In #9597 we improved this for strikethrough
but omitted the other soul environments. This patch generalizes the
fix and a related fix for verbatim (#1294 , #5529 ).
2024-04-08 08:53:47 -07:00
John MacFarlane
226c76b4c2
Fix bug in changelog.
2024-04-07 10:13:08 -07:00
John MacFarlane
038c4dbc8a
release-candidate build: use most recent version of checkout action.
2024-04-07 08:54:58 -07:00
John MacFarlane
cb281aed0e
Bump pandoc-lua-engine to 0.2.1.4.
pandoc-lua-engine-0.2.1.4
2024-04-07 08:40:45 -07:00
John MacFarlane
ab2b5e8bcd
Update AUTHORS.md.
pandoc-cli-3.1.13
3.1.13
2024-04-06 23:27:46 -07:00
John MacFarlane
af338be45b
Bump tls version in stack.yaml
2024-04-06 23:26:06 -07:00
John MacFarlane
409658d16d
Bump to 3.1.13, update changelog and man page
2024-04-06 23:24:24 -07:00
John MacFarlane
21d9970383
Update changelog.
2024-04-06 23:19:36 -07:00
John MacFarlane
5b13a47e33
Use released texmath, typst libraries.
2024-04-06 23:06:52 -07:00
John MacFarlane
c0768e87cf
Org reader: Fix treatment of id property under heading.
...
Cloess #9639 .
2024-04-06 18:24:54 -07:00
Chandrahas77
5e507024b9
fixed typo in doc/org.md ( #9634 )
2024-04-04 23:13:00 -07:00
John MacFarlane
e1f4594272
DokuWiki reader: fix issues with links.
...
- Link text cannot contain formatting (e.g., `//` is not italics).
Closes #9630 .
- An explicitly empty link text (`[[url|]]`) works the same as an omitted
link text. Closes #9632 .
2024-04-04 10:13:02 -07:00
John MacFarlane
c29c18a003
Put $ or $$ around math in csljson output.
...
Closes #9616 .
2024-04-01 12:54:12 -07:00
John MacFarlane
6ee03849aa
Use current dev version of texmath.
2024-03-30 19:32:07 -07:00
Albert Krewinkel
2792d218b1
Require pandoc-lua-marshal 0.2.6
...
Fixes an issue arising when the value of `content` properties
on *BlockQuote*, *Figure*, and *Div* elements was an empty list.
Fixes : #9613
2024-03-29 19:03:05 +01:00
Carlos Scheidegger
e4ac26d255
Update lua-filters.md ( #9611 )
...
Fix formatting of `pandoc.utils.type` usage entry
2024-03-27 12:22:10 -06:00
John MacFarlane
4c16d721d6
ConTeXt writer: fix options order with \externalfigure.
...
The dimensions should come before the class if both are present.
See https://github.com/jgm/pandoc/discussions/9604#discussioncomment-8913491
2024-03-26 09:41:55 -06:00
John MacFarlane
db59b8ed08
Typst writer: put label after Span, not before.
...
Labels get applied to preceding markup item.
2024-03-22 22:38:34 -07:00
John MacFarlane
354e0fd349
Minor comment and indentation fixes.
2024-03-22 16:53:50 -07:00
John MacFarlane
0b28b55902
Typst reader: support Typst 0.11 table features.
...
Colspans, rowspans, table head and foot.
See #9588 .
2024-03-22 16:39:36 -07:00
John MacFarlane
b28dc15817
LaTeX writer: fix math inside strikeout ( closes #9597 ).
2024-03-22 08:50:20 -07:00
John MacFarlane
a70399d7a0
Typst reader: parse cell col/rowspans.
...
TODO:
- Handle table header and footer.
- Assign columns to rows in a way that respects col/rowspans.
2024-03-21 14:40:36 -07:00
John MacFarlane
4c55471851
Fix typo in stack.yaml.
2024-03-21 11:49:21 -07:00
John MacFarlane
1ce61fbd7f
stack.yaml - use typst-symbols 0.1.6.
2024-03-21 11:00:05 -07:00
John MacFarlane
1ce43d8a4b
Typst reader: Further refactoring on the way to improved table support.
2024-03-21 10:59:04 -07:00
John MacFarlane
4f34236ddc
Typst reader: refactor out parseTable.
2024-03-21 10:12:09 -07:00
John MacFarlane
59ebf84137
Use dev texmath and typst-hs.
2024-03-21 09:59:23 -07:00
John MacFarlane
604f541b0f
Typst writer: support Typst 0.11 table features. ( #9593 )
...
* Typst writer: support Typst 0.11 table features.
- colspans
- rowspans
- cell alignment overrides
- relative column widths
- header and footer
- multiple table bodies with intermediate headers
Row heads are not yet supported.
The default typst template has been modified so that tables
don't have lines by default. As is standard with pandoc, we only
add a line under a header or over a footer. However, a different
default stroke pattern can easily be added in a template.
Closes #9588 .
2024-03-20 14:25:08 -07:00
John MacFarlane
ebcae86cf4
DocBook reader: add empty title to admonition div if not present.
...
This allows admonition elements (e.g. `<note>`) to work with
gfm admonitions even if the `<title>` is not present.
Closes #9569 .
2024-03-19 08:09:54 -07:00
John MacFarlane
27ee5a7696
Change lhs tests so they don't use --standalone.
...
This will avoid test failures due to minor changes in
skylighting versions, e.g. #9589 .
2024-03-19 07:58:42 -07:00
John MacFarlane
d89167d25f
Typst writer: more reliable escaping in inline [..] contexts.
...
For example, we need to escape `[\1. April]` or it will be
treated as an ordered list.
Closes #9586 .
2024-03-18 11:43:41 -07:00
John MacFarlane
eca2c82abd
Export isOrderedListMarker from T.P.Writers.Shared.
...
[API change]
This was formerly in T.P.Writers.Markdown.Inline, but we need
to use it in the Typst writer too.
2024-03-18 11:26:32 -07:00
John MacFarlane
c5c7022ac5
Typst writer: handle unnumbered on headings.
...
Closes #9585 .
2024-03-18 10:13:51 -07:00
John MacFarlane
602cf00dfc
Fix typo in changelog
2024-03-17 22:33:22 -07:00
John MacFarlane
b1e2e452de
release-candidate action: update WiX path.
...
3.14 is now used.
3.1.12.3
pandoc-cli-3.1.12.3
2024-03-17 21:35:23 -07:00
John MacFarlane
a32942e428
Update date in manual and regenerate man pages.
2024-03-17 19:30:05 -07:00
John MacFarlane
a68e440eb0
Update changelog.
2024-03-17 19:29:32 -07:00
John MacFarlane
a1aca22e0d
LaTeX reader: better handling of colwidths.
...
Previously the parser just failed if the column width
specified in `p{}` wasn't a multiple of `\linewidth`.
This led to cases where content was skipped.
Now we treat these as ColWidthDefault and silently
parse the table.
A future improvement could be to guess relative column
widths from the dimensions specified, based on a default
line width.
Closes #9579 .
2024-03-17 19:15:49 -07:00