aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-14T.P.Writers.Shared: New version of `gridTable`.issue6344John MacFarlane
This handles row and colspans. Partially addresses #6344. It also ensures that cells won't wrap text in places where it wouldn't normally wrap, even if this means making the cells wider than requested by the colspec. (Closes #9001. Closes 7641.) Parameters are different, so this is a breaking [API change]. Markdown, RST, and Muse writers have been adjusted to use the new `gridTable`.
2025-05-13pandoc-lua-engine: add all test files to the cabal fileAlbert Krewinkel
2025-05-13Lua: support sandboxed parsing with `pandoc.read`.Albert Krewinkel
The function `pandoc.read` is now taking an optional fourth parameter that specifies the environment in which the parser will be run. Passing the string `sandbox` as the argument causes the reader to run in a sandbox, thereby preventing all access to the network and file system. Closes: #10831
2025-05-13Add footnote block text sampleAndrew Dunning
2025-05-13Remove extra spaces in default reference docxAndrew Dunning
The line breaks are interpreted as whitespace, resulting in extra leading and trailing spaces in the reference file.
2025-05-13Markdown writer: omit initial newlines in gfm `math` blocks.John MacFarlane
When the input is of the form ``` $$ x=y $$ ``` we would previously get: ```` ``` math x=y ``` ```` which is ugly.
2025-05-12Use citeproc 0.9.0.1John MacFarlane
2025-05-12Use released typst 0.8.John MacFarlane
2025-05-12Use latest texmath and dev typst.John MacFarlane
2025-05-12Use texmath-0.12.10.1John MacFarlane
2025-05-12Update flake.lock.John MacFarlane
2025-05-12Use citeproc-0.9. Bump citeproc bounds for pandoc, pandoc-lua-engine.John MacFarlane
2025-05-11Remove some redundant code in test.John MacFarlane
2025-05-11Add new option `--variable-json`.John MacFarlane
This allows non-string values (booleans, lists, maps) to be given to template variables on the command line. Closes #10341. Supersedes #10342.
2025-05-11Improve documentation of `--variable` option.John MacFarlane
2025-05-11Org reader: change handling of inline TeX.John MacFarlane
Previously inline TeX was handled in a way that was different from org's own export, and that could lead to information loss. This was particularly noticeable for inline math environments such as `equation`. Previously, an `equation` environment starting at the beginning of a line would create a raw block, splitting up the paragraph containing it (see #10836). On the other hand, an `equation` environment not at the beginning of a line would be turned into regular inline elements representing the math. (This would cause the equation number to go missing and in some cases degrade the math formatting.) Now, we parse all of these as raw "latex" inlines, which will be omitted when converting to formats other than LaTeX (and other formats like pandoc's Markdown that allow raw LaTex). Closes #10836.
2025-05-11T.P.Readers.LaTeX.Math: export `inlineEnvironmentNames`.John MacFarlane
Internal module, not a change to the public API.
2025-05-11Remove old default.nix.John MacFarlane
2025-05-11flake.nix: add stylish-haskell.John MacFarlane
2025-05-11Use jq instead of json_reformat in validate-docx-golden-tests2.John MacFarlane
2025-05-11flake.nix: more dependencies for testsJohn MacFarlane
2025-05-11flake.nix: add weeder, cabal-plan, hpc.John MacFarlane
2025-05-11Makefile: fix typo in latex-package-dependencies target.John MacFarlane
2025-05-11Flake - require ripgrep.John MacFarlane
2025-05-11Makefile: use pandoc lua instead of lua.John MacFarlane
Reduces dependencies.
2025-05-11flake.nix; ensure epubcheck is present.John MacFarlane
2025-05-11Makefile: install @daisy/ace from npm if not present.John MacFarlane
2025-05-11New, simpler shell.nix.John MacFarlane
2025-05-10Powerpoint writer: use reference-doc font for captions. (#10835)R. N. West (Nat)
Closes #9896.
2025-05-10CONTRIBUTING: fix link to discussion forum. (#10834)R. N. West (Nat)
2025-05-08DocBook writer: use literallayout element for LineBlock.John MacFarlane
See #10825.
2025-05-08DocBook reader: improve handling of literallayout.John MacFarlane
This is now only made a CodeBlock when there is a `monospaced` class. Otherwise it is made a LineBlock. Closes #10825.
2025-05-08Declare git in flake.nixJohn MacFarlane
Otherwise it isn't found when we look for it in the Makefile.
2025-05-07Mention in the docs, that typst:no-figure is a class, not an attribute (#10826)Niklas Eicker
2025-05-04flake.nix - include commented out example of overrides.John MacFarlane
2025-05-04New working flake.nix.John MacFarlane
2025-04-29Use released texmath 0.12.10.John MacFarlane
2025-04-28Plain writer: Support the four_space_rule extension. (#10813)Manolis Stamatogiannakis
Allows using `-t plain+four_space_rule` to emulate the output of pandoc before #7172. This is useful for users that use pandoc e.g. to autoformat commit messages.
2025-04-26Typst writer: handle equation labels with spaces.John MacFarlane
Closes #10805.
2025-04-25Typst writer: add equation label if math contains `\label{..}`.John MacFarlane
Closes #10805.
2025-04-25Revert "Use `int-native` subtagged image (#10799)" (#10804)Olivier Benz
This reverts commit a14997f92e702fca997e4483b34be30c22025c50.
2025-04-23COPYRIGHT: fix link to source code.John MacFarlane
2025-04-23Use `int-native` subtagged image (#10799)Olivier Benz
2025-04-18OpenDocument writer: fix character styles in footnotes.John MacFarlane
Character styles governing the position of the footnote reference should not be imposed on the footnote text. Closes #10791.
2025-04-15Use latest dev texmath.John MacFarlane
2025-04-15Use latest dev texmath.John MacFarlane
2025-04-15Use latest dev texmath.John MacFarlane
2025-04-15Use latest dev texmath.John MacFarlane
2025-04-14LaTeX reader: support more symbol commands.John MacFarlane
Closes #10782. `\textbaht`, `\textblank`, `\textbigcircle`, `\textbrokenbar`, `\textbullet`, `\textcentoldstyle`, `\textcopyright`, `\textdagger`, `\textdegree`, `\textdollar`, `\textdong`, `\textlira`, `\textmu`, `\textmusicalnote`, `\textonehalf`, `\textonequarter`, `\textparagraph`, `\textpertenthousand`, `\textpeso`, `\textquotesingle`, `\textregistered`, `\textsection`, `\textsterling`, `\textthreequarters`, `\textthreesuperior`, `\texttwosuperior`, `\textyen`.
2025-04-14LaTeX reader: disable ligatures inside `\texttt`.John MacFarlane
Closes #10781.