Commit Graph
18220 Commits
Author SHA1 Message Date
John MacFarlane a3230bbceb Bump manual date. 2025-05-16 20:51:28 -07:00
John MacFarlane aa97bf94d2 Bump pandoc/pandoc-cli to 3.7.0.1, update changelog. 2025-05-16 20:50:02 -07:00
John MacFarlane ca321e1b75 Fix problems with gridTable and add tests.
Closes #10848.
2025-05-16 18:10:06 -07:00
John MacFarlane 24cbdbdda5 gridTable: don't ignore row heads. 2025-05-16 11:00:19 -07:00
John MacFarlane 6cd6e81ddd gridTable: fix remaining formatting issues for complex tables. 2025-05-16 10:39:47 -07:00
John MacFarlane e158921412 gridTable: improve merging of borders. 2025-05-15 23:00:58 -07:00
John MacFarlane 5af4c7024c Add failing test for complex grid tables with row/colspans.
See #10848.
2025-05-15 15:02:37 -07:00
John MacFarlane adc05a6cd4 gridTable: more improvements to colspan handling. 2025-05-15 14:57:45 -07:00
John MacFarlane 7aed3b2693 gridTable: partially fix problems with colspans. 2025-05-15 13:28:29 -07:00
John MacFarlane 1f290db770 Add a failing test for #10848 grid table. 2025-05-15 13:28:18 -07:00
John MacFarlane cf795b0cf5 Fix context writer/template to produce tagged PDFs.
As before, the `tagging` extension must be enabled.
We now add the command that tells ConTeXt to start tagging.

Closes #10846.
2025-05-15 11:37:50 -07:00
John MacFarlane 2918ac41b3 Minor changelog tweaks. 2025-05-14 22:46:57 -07:00
John MacFarlane ba0dfe56b2 Small changelog tweak. 2025-05-14 22:31:51 -07:00
John MacFarlane 44ca2b1174 Minor fix in changelog. 2025-05-14 21:41:53 -07:00
John MacFarlane 77f3afc828 Fix typo that crept into AUTHORS. 2025-05-14 21:39:46 -07:00
John MacFarlane 68e69eb6c1 RELEASE-CHECKLIST template: improve copying binary to server. 2025-05-14 21:35:44 -07:00
John MacFarlane 72aa57d11b Go back to tls 2.1.7 in stack.yaml. pandoc-lua-engine-0.4.2 3.7 pandoc-cli-3.7 pandoc-server-0.1.0.11 2025-05-14 18:38:58 -07:00
John MacFarlane 447c7d8888 Add tls 2.1.10 dependencies to stack.yaml. 2025-05-14 18:19:08 -07:00
John MacFarlane e5e5432271 Update AUTHORS. 2025-05-14 17:37:20 -07:00
John MacFarlane 70cd6ef3ed RELEASE-CHECKLIST-TEMPLATE.org: change output option for prerelease. 2025-05-14 17:35:14 -07:00
John MacFarlane 97b6e7660d Makefile: tweaks in prerelease 2025-05-14 17:30:35 -07:00
John MacFarlane 05df3e844c Update stack.yaml to latest resolver 2025-05-14 17:30:23 -07:00
John MacFarlane 087c4e62c0 Update changelog. 2025-05-14 16:12:51 -07:00
John MacFarlane 7b1add7c73 Update manual and man pages. 2025-05-14 14:52:12 -07:00
John MacFarlane fdec82c5d8 pandoc-lua-engine: bump to 0.4.2, bump pandoc bounds. 2025-05-14 14:42:28 -07:00
John MacFarlane bb41fcd6ec Bump pandoc-server to 0.1.0.11 2025-05-14 14:40:13 -07:00
John MacFarlane 0d00a3867d pandoc-server.cabal: bump versions for container, pandoc. 2025-05-14 14:37:50 -07:00
John MacFarlane 3238ce12f0 Bump pandoc-cli version and pin to pandoc 3.7 2025-05-14 14:32:56 -07:00
John MacFarlane 56ba4dcde8 Bump version to 0.7 2025-05-14 14:32:19 -07:00
John MacFarlane 01257ef6eb T.P.Writers.Shared: New version of gridTable.
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-14 14:31:39 -07:00
Albert Krewinkel 992842d07b Lua: accept filename-contents pairs as env for pandoc.read
Key-value pairs, mapping from filename to contents, can be used to fill
the ersatz file system used in the reader sandbox.
2025-05-14 09:17:24 -07:00
Albert Krewinkel fb24d42ab7 T.P.Class.Sandbox: add function that can take a FileTree 2025-05-14 09:17:24 -07:00
Albert Krewinkel 5b896bc1a9 Lua: allow to pass files to the pandoc.read sandbox
The sandbox is now enabled if the fourth parameter is a list of files.
The files are read and then made available in the sandbox via a mock
file system.
2025-05-14 09:17:24 -07:00
Albert Krewinkel be9fbb3f67 pandoc-lua-engine: add all test files to the cabal file 2025-05-13 23:41:03 +02:00
Albert Krewinkel 31f74fac06 Lua: support sandboxed parsing with pandoc.read.
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-13 23:38:36 +02:00
Andrew Dunning 2196609989 Add footnote block text sample 2025-05-13 10:31:14 -07:00
Andrew Dunning 3d9d35a371 Remove extra spaces in default reference docx
The line breaks are interpreted as whitespace, resulting in extra leading and trailing spaces in the reference file.
2025-05-13 10:30:53 -07:00
John MacFarlane 605c1d4cde Markdown writer: omit initial newlines in gfm math blocks.
When the input is of the form
```
$$
x=y
$$
```
we would previously get:
````
``` math

x=y
```
````
which is ugly.
2025-05-13 10:18:40 -07:00
John MacFarlane f4676c7dfb Use citeproc 0.9.0.1 2025-05-12 16:07:23 -07:00
John MacFarlane d8efc79dde Use released typst 0.8. 2025-05-12 13:57:08 -07:00
John MacFarlane f239a45b3e Use latest texmath and dev typst. 2025-05-12 13:50:32 -07:00
John MacFarlane d3d5366e51 Use texmath-0.12.10.1 2025-05-12 11:03:27 -07:00
John MacFarlane edc99d4ad5 Update flake.lock. 2025-05-12 10:19:16 -07:00
John MacFarlane 9bb805adb0 Use citeproc-0.9. Bump citeproc bounds for pandoc, pandoc-lua-engine. 2025-05-12 00:43:39 -07:00
John MacFarlane ddcc4e0c65 Remove some redundant code in test. 2025-05-11 18:17:21 -07:00
John MacFarlane 1239eaa4be Add new option --variable-json.
This allows non-string values (booleans, lists, maps)
to be given to template variables on the command line.

Closes #10341.
Supersedes #10342.
2025-05-11 18:10:11 -07:00
John MacFarlane 5901d1ca86 Improve documentation of --variable option. 2025-05-11 18:06:44 -07:00
John MacFarlane bfcff3eb99 Org reader: change handling of inline TeX.
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-11 17:38:18 -07:00
John MacFarlane 1ce62c95f2 T.P.Readers.LaTeX.Math: export inlineEnvironmentNames.
Internal module, not a change to the public API.
2025-05-11 15:49:56 -07:00
John MacFarlane 3fe70cb7a9 Remove old default.nix. 2025-05-11 11:08:36 -07:00