Commit Graph
17421 Commits
Author SHA1 Message Date
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
Albert Krewinkel edf21e6dab MANUAL: update the list of required LaTeX packages (#9728) 2024-05-07 08:03:50 -07:00
Albert Krewinkel ddc66cad0b Lua: update to pandoc-lua-marshal version 0.2.7.
This fixes counterintuitive behavior of the `content` property on
BulletList and OrderedList items. Unmarshalling of that field now
matches the behavior of the constructor.

Fixes: #8916
2024-05-06 17:06:43 +02:00
Albert Krewinkel 0f29d8195e Lua: use hslua-module-zip-1.1.3 to fix the windows build 2024-05-05 21:16:31 +02:00
Albert Krewinkel 018922d10f Lua: use newest zip module.
This adds a `symlink` function to Entry objects, allowing to check if an
entry represents a symbolic link.
2024-05-05 17:54:33 +02:00
Albert Krewinkel 32f0ed9ea3 Lua: improve pandoc.json.decode docs. 2024-05-05 00:25:29 +02:00
Albert Krewinkel 1a15c9f6a9 tools/update-lua-module-docs.lua: cleanup, fix code 2024-05-04 23:56:01 +02:00
Albert Krewinkel e8cb6449dc tools/update-lua-module-docs.lua: improve script-internal docs 2024-05-04 23:27:07 +02:00
Albert Krewinkel c45f163b4d Lua: fix generated docs.
Update and fix docs for `pandoc.types.Version` and `pandoc.utils.type`.
2024-05-04 22:17:01 +02:00
John MacFarlane 6000a17394 Markdown reader: allow repeated labels in numbered example lists.
Previously if you tried to use the same label as an earlier
example list item, you'd get a new number, not the old one,
and references to the label would go to the second occurrence.

Now an existing label will be reused, and no new number will
be generated.  Caveat:  this only works reliably when the
re-used example list item occurs by itself in a list, or
occurs in a list of previously used example list items that
occur in exactly the same order as previously.
2024-05-03 12:25:55 -07:00
John MacFarlane 2da454d36b Markdown reader: fix normalCite so it doesn't consume...
...past a closing `]` boundary.  This was causing an
exponential performance bug on long lists of links
containing potential emphasis characters.

Closes #9710.
2024-05-02 13:02:41 -07:00
John MacFarlane 517f6bb711 Markdown reader: generalize inlinesInBalancedBrackets...
to `inBalancedBrackets`, with a parameter for the inner parser.
2024-05-02 13:02:41 -07:00
Guilhem Saurel bd8529257e LaTeX template: add titlegraphicoptions variable (#9207)
Including a title graphic on a beamer template might require some
options, like e.g. `height=1.5cm` to ensure some image will fit at its
place in a given template.
2024-05-02 09:35:29 -07:00
Albert Krewinkel 509cc3ac87 T.P.Error: Improve reporting of unsupported extensions errors.
Amend the error message with instructions on how to list all supported
extensions.

Closes: #9247
2024-04-30 10:54:24 +02:00
Salim B c18fd22045 Use latest KaTeX CDN asset (#9707) 2024-04-29 15:40:17 -07:00
Leo Heitmann Ruiz 7c47a214ed INSTALL.md: Minor tweaks. (#9705) 2024-04-29 00:45:38 -04:00
John MacFarlane 5b9a8ea99c Typst writer: add blank line in definition lists with multiple definitions.
See discussion #9704.
2024-04-28 14:58:18 -04:00