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
John MacFarlane
9a09ed52ad
flake.nix: add stylish-haskell.
2025-05-11 11:04:06 -07:00
John MacFarlane
f37b12d941
Use jq instead of json_reformat in validate-docx-golden-tests2.
2025-05-11 11:01:44 -07:00
John MacFarlane
ab67c02359
flake.nix: more dependencies for tests
2025-05-11 11:01:40 -07:00
John MacFarlane
04f27deaf5
flake.nix: add weeder, cabal-plan, hpc.
2025-05-11 10:42:00 -07:00
John MacFarlane
bd7d5ae7f1
Makefile: fix typo in latex-package-dependencies target.
2025-05-11 10:41:25 -07:00
John MacFarlane
5d0a395ed9
Flake - require ripgrep.
2025-05-11 10:38:14 -07:00
John MacFarlane
c355be2a8e
Makefile: use pandoc lua instead of lua.
...
Reduces dependencies.
2025-05-11 10:38:03 -07:00
John MacFarlane
1f2675e4bb
flake.nix; ensure epubcheck is present.
2025-05-11 10:31:19 -07:00
John MacFarlane
de13b8338f
Makefile: install @daisy/ace from npm if not present.
2025-05-11 10:30:55 -07:00
John MacFarlane
7bd26b515e
New, simpler shell.nix.
2025-05-11 10:20:05 -07:00
R. N. West (Nat)
f66481f96e
Powerpoint writer: use reference-doc font for captions. ( #10835 )
...
Closes #9896 .
2025-05-10 16:03:56 -07:00
R. N. West (Nat)
4fbc57a278
CONTRIBUTING: fix link to discussion forum. ( #10834 )
2025-05-10 11:03:46 -07:00
John MacFarlane
8e327ea4e3
DocBook writer: use literallayout element for LineBlock.
...
See #10825 .
2025-05-08 11:28:00 -07:00
John MacFarlane
60b4011902
DocBook reader: improve handling of literallayout.
...
This is now only made a CodeBlock when there is a `monospaced`
class.
Otherwise it is made a LineBlock.
Closes #10825 .
2025-05-08 11:19:54 -07:00
John MacFarlane
6a1679921b
Declare git in flake.nix
...
Otherwise it isn't found when we look for it in the Makefile.
2025-05-08 11:19:54 -07:00
Niklas Eicker
82ff661b1a
Mention in the docs, that typst:no-figure is a class, not an attribute ( #10826 )
2025-05-07 14:56:29 -07:00