Albert Krewinkel
ad68ff34ae
Lua: add function pandoc.utils.run_lua_filter ( #9803 )
2024-05-27 14:20:31 -07:00
John MacFarlane
205e54c245
RST reader: tighten up rules fro when emphasis can start.
...
Closes #9805 .
2024-05-27 14:11:43 -07:00
John MacFarlane
a7c6a290dc
Markdown writer: ensure blank line after HTML blocks...
...
in commonmark-based formats. Closes #9792 .
2024-05-27 13:37:59 -07:00
John MacFarlane
4dd021d108
Bump checkout version for nightlies.
2024-05-27 13:08:14 -07:00
Albert Krewinkel
5492abe6bf
MANUAL: fix markup of babelfonts example code.
2024-05-27 16:25:50 +02:00
Albert Krewinkel
f3ed3b3614
doc/custom-writers.md: fix usage of Template in example
2024-05-24 19:51:46 +02:00
John MacFarlane
d01f2ac515
Use dev typst-hs.
2024-05-19 23:18:15 -07:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
94eb6e0cfd
Bump cachix/install-nix-action from 26 to 27 ( #9774 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-19 19:39:19 -07:00
John MacFarlane
9753f5c114
Update reference docx for docx test.
2024-05-19 19:37:30 -07:00
John MacFarlane
1b006989b3
Fix validation errors in docx golden test.
2024-05-19 19:26:06 -07:00
John MacFarlane
f874997f18
Fix abstract-title in openxml template.
2024-05-19 19:20:08 -07:00
John MacFarlane
db559e100c
Allow OpenXML templates to be used with docx.
...
The `--reference-doc` option allows customization of styles in docx
output, but it does not allow one to adjust the content of the output
(e.g., changing the order in which metadata, the table of contents,
and the body of the document are displayed), or adding boilerplate
text before or after the document body. For these changes, one can
now use `--template` with an OpenXML template. (See the default
`openxml` template for a sample.)
This patch also allows `--include-before-body` and
`--include-after-body` to be used with `docx` output.
The included files must be OpenXML fragments suitable for
inclusion in the document body.
Closes #8338 (`--include-before-body`, `--include-after-body`).
Closes #9069 (a custom template can be used to omit the
title page).
Closes #7256 .
Closes #2928 .
2024-05-19 13:09:21 -07:00
John MacFarlane
e8f44a8543
Tweak imports to fix ghc 9.4 build failure.
2024-05-18 23:45:45 -07:00
John MacFarlane
f73c610ae0
Factor out T.P.Writers.Docx.OpenXML (internal module).
2024-05-18 21:10:22 -07:00
John MacFarlane
c26211b0c9
Cleaned up Abstract Title and Subtitle in default reference docx.
...
Center Subtitle, remove color.
2024-05-18 10:50:07 -07:00
John MacFarlane
3e4f61f385
Allow time 1.14.
2024-05-18 10:27:59 -07:00
John MacFarlane
57908f5fcf
Allow crypton-connection 0.4
2024-05-18 10:27:55 -07:00
John MacFarlane
2d74c75666
Allow author-only textual citations.
...
E.g. `-@reese2002` outside of brackets.
Closes #7219 .
2024-05-18 10:26:27 -07:00
John MacFarlane
0c5fd01cb8
Update texinfo test
2024-05-15 18:08:13 -07:00
John MacFarlane
dbef49050e
texinfo template: add variables for filename and version
2024-05-15 17:42:41 -07:00
John MacFarlane
911edb7a8a
MANUAL.txt: add anchor for tagging extension.
2024-05-15 17:21:48 -07:00
John MacFarlane
6c214ad82c
MANUAL.txt: remove explicit refs to generate anchors.
...
These will be linkified automatically.
2024-05-15 17:21:29 -07:00
John MacFarlane
d0b8237c3d
Texinfo writer: improve menus.
...
Properly handle the case where the node name is different from
the descriptive title.
2024-05-15 17:08:42 -07:00
John MacFarlane
a898be8b78
Texinfo writer: avoid duplicate node names.
2024-05-15 16:45:26 -07:00
John MacFarlane
d4871faa23
MANUAL: use level-3 headings for extensions (to avoid gaps).
2024-05-15 16:42:55 -07:00
John MacFarlane
133c59151c
Texinfo writer: don't add anchors to headings.
...
We don't need them, now that we make internal links use the node.
2024-05-15 15:16:35 -07:00
John MacFarlane
d12ab5fc55
Texinfo writer: Ensure proper escaping in all node/link contexts.
2024-05-15 12:45:33 -07:00
John MacFarlane
aabca2eb6a
Texinfo writer: target node rather than anchor when possible...
...
in internal links.
2024-05-15 12:15:50 -07:00
John MacFarlane
74f533396a
Texinfo writer improvements.
...
- Remove illegal characters from internal link anchors (closes #6177 ).
- Use two commas not one in @ref.
2024-05-15 09:46:06 -07:00
John MacFarlane
adcc8b2c96
Revert "texinfo writer: use node names for @ref when possible."
...
This reverts commit 33142af323 .
2024-05-15 09:19:46 -07:00
John MacFarlane
13c8e7c9f0
pandoc-cli: constrain pandoc-server version.
pandoc-server-0.1.0.6
2024-05-15 08:24:34 -07:00
John MacFarlane
e4e125d61b
pandoc-server: depend on pandoc >= 3.2.
2024-05-15 08:16:05 -07:00
John MacFarlane
f3708ed738
Bump pandoc-server to 0.1.0.6
2024-05-15 08:15:17 -07:00
John MacFarlane
33142af323
texinfo writer: use node names for @ref when possible.
...
References to an anchor don't seem to work when viewing
info files generated from the texi. So we create a table
of node names corresponding to identifiers, and use these
when possible for internal links.
2024-05-14 22:03:10 -07:00
Ian Max Andolina
60533f107e
Update MANUAL.txt to remove false info on Lua mode not supporting -i ( #9757 )
...
Current pandoc-lua does support REPL and `-i` as far as I understand.
2024-05-13 21:32:14 -07:00
John MacFarlane
e267e1d7be
pandoc-lua-engine: depend on pandoc >= 3.2.
...
See https://github.com/jgm/pandoc/issues/9755
2024-05-13 08:03:08 -07:00
Mickaël Canouil
fef5f2d94c
Add subtitle to Typst template ( #9747 )
2024-05-12 09:39:27 -07:00
John MacFarlane
12de77958f
Update AUTHORS.
pandoc-cli-3.2
pandoc-lua-engine-0.2.1.5
3.2
2024-05-11 12:36:02 -07:00
John MacFarlane
8188eec85f
Updaet manual date and man pages.
2024-05-11 12:32:43 -07:00
John MacFarlane
1cdda054de
Bump tls and zip-archive in stack.yaml, update README.md.
2024-05-11 12:31:00 -07:00
John MacFarlane
b419770850
Bump pandoc, pandoc-cli to 3.2, update changelog.
...
Also bump pandoc-lua-engine to 0.2.1.5 and allow pandoc 3.2.
2024-05-11 12:01:16 -07:00
John MacFarlane
469ba09f20
Provisional changelog updates.
2024-05-11 10:00:01 -07:00
John MacFarlane
7349bed982
Use new releases texmath, skylighting, djot
2024-05-10 23:50:28 -07:00
John MacFarlane
73bbff51a2
Bump skylighting version.
2024-05-10 23:20:09 -07:00
Albert Krewinkel
e5c135e68e
Lua: add a pandoc.log module.
2024-05-10 19:03:29 -07:00
Albert Krewinkel
673edabac0
Logging: add new log message type ScriptingInfo [API change]
2024-05-10 19:03:29 -07:00
John MacFarlane
e13845d085
Document handout variable for beamer.
...
Cloess #9742 .
2024-05-10 16:44:53 -07:00
John MacFarlane
3d8c70e611
Document formats affected by --slide-level.
...
Closes #9745 .
2024-05-10 16:43:16 -07:00
Gokul Rajiv
74add4b126
RST reader: fix figclass and align annotations for figures ( #9744 )
...
Fixes #7473
Previously, `figclass`es weren't being extracted correctly.
`figclass` and `align` annotations are now implemented following the rst docs: these options apply to the figure while other options are passed onto the underlying image.
2024-05-10 15:55:06 -07:00
Albert Krewinkel
7394bc920c
Collect transforms in new module T.P.Transforms. [API change]
...
Bundles all document transformations, i.e., functions that run
predefined filters on Pandoc documents.
2024-05-10 11:16:41 -07:00