Commit Graph
17571 Commits
Author SHA1 Message Date
John MacFarlane 7200b2bbfc Bump pandoc-lua-engine version to 0.3.1, depend on it in pandoc-cli 2024-07-28 13:44:12 -07:00
John MacFarlane ab94daf416 Bump to 3.3, update changelog 2024-07-28 13:41:56 -07:00
John MacFarlane d34430e1e5 Use released typst 0.5.0.5. 2024-07-28 13:34:12 -07:00
John MacFarlane 7bc4f60789 Update FAQ for converting a directory of files in Windows.
Use fullname rather than name (#5429 comment).
2024-07-28 09:13:56 -07:00
John MacFarlane d299328022 Allow --number-sections to take an optional true|false argument.
This was omitted when we allowed this for other boolean flags.
2024-07-27 21:01:00 -07:00
John MacFarlane 6c43c03398 Docx writer: fix regression with nested lists.
Closes #9994.  The bug affects e.g. ordered lists with bullet
sublists; after the sublist the top-level list reverts to bullets
instead of being properly numbered.

This regression was introduced in version 3.2.1 and was caused by
commit f5531f1.
2024-07-27 21:01:00 -07:00
John MacFarlane 9cdc99cb7d RTF reader: handle \*\shppict without dropping image.
Closes #10025.
2024-07-27 21:01:00 -07:00
Albert Krewinkel 2f36df65e6 MANUAL: fix copyright years 2024-07-19 14:40:30 +02:00
John MacFarlane 8613aa39e8 BibTeX writer: ensure that "literal" names are enclosed in braces.
Closes #9987.
2024-07-15 18:23:20 +03:00
Albert Krewinkel 790abcf414 lua-filters.md: Partially autogenerate docs for module "pandoc"
The documentation system isn't powerful enough to generate the full
documentation automatically.
2024-07-08 16:30:45 +02:00
Albert Krewinkel 73ce302479 Harmonize maintainer email addresses in module headers. 2024-07-08 13:27:45 +02:00
John MacFarlane 36debf75a6 Typst reader: ignore 'pad' and just parse its body.
See #9958.
2024-07-06 23:25:49 -07:00
Stephen Huan 9aea033cc6 Change sr -> sr-Latn in translation tests 2024-07-05 13:04:15 -07:00
Stephen Huan d945c989eb Makefile: add update-translations target 2024-07-05 13:04:15 -07:00
Stephen Huan 2d60d006d7 Add new translations 2024-07-05 13:04:15 -07:00
Stephen Huan b61868d8f0 Update existing translations 2024-07-05 13:04:15 -07:00
Stephen Huan d913289054 tools/update-translations.py: translation script 2024-07-05 13:04:15 -07:00
Stephen Huan 764782a129 Remove colon from pl translation 2024-07-05 13:04:15 -07:00
Stephen Huan 87bc3be656 Sort ar translation 2024-07-05 13:04:15 -07:00
Stephen Huan 0b5285d26f Fix YAML in translation files for is 2024-07-05 13:04:15 -07:00
John MacFarlane 95bff94ae5 MANUAL.txt: Make documentation of extensions clearer.
Add `(org)` to heading of documentation for extensions that
affect org differently than markdown, e.g. `citations`.

See #9060.
2024-07-04 09:31:55 -07:00
John MacFarlane 7726902816 MANUAL: fix section level for two Extensions entries. 2024-07-04 09:24:43 -07:00
John MacFarlane 2befcb007b Adjust test for #9943 so it works with Windows. 2024-07-03 22:36:21 -07:00
John MacFarlane b65006d3e6 Avoid 'head' in JATS reader, DocBook writer. 2024-07-03 22:26:51 -07:00
John MacFarlane c4cf6b2663 Haddock reader: Avoid use of 'head'. 2024-07-03 22:05:20 -07:00
John MacFarlane 2d12ee3f4c TWiki reader: use isUpper/isLower...
instead of the new isUpperCase/isLowerCase, for portability
across base versions.
2024-07-03 22:01:00 -07:00
John MacFarlane 60c0149084 Man writer: use default middle header when metadata does not...
include `header`.  This change causes pandoc to omit the middle
header parameter when `header` is not set, rather than
emitting `""`.  The parameter is optional and man will use
a default based on the section if it is not specified.

Closes #9943.
2024-07-03 16:25:55 -06:00
John MacFarlane 5604ca612c TWiki Reader: recognize WikiWords as internal links.
Fixes #9941.
2024-07-03 15:45:52 -06:00
John MacFarlane e594cea9ca TWiki reader: avoid partial function. 2024-07-03 15:45:07 -06:00
John MacFarlane c723014d94 Fix some mistakes with Japanese language code.
In several places we were mistakenly assuming that the BCP 47 code for
Japanese language was `jp`.  It is `ja`.

Closes #9938.
2024-07-02 18:31:38 -06:00
John MacFarlane f1799505a9 Add option to link rather than embedding images in ODT.
New cli option: `--link-images`.  This causes images to be linked
rather than embedded in ODT.

New field in WriterOptions: `writerLinkImages` [API change].

New field in Opt: `optLinkImages` [API change].

Closes #9815.
2024-07-01 10:11:26 -06:00
Jens Oehlschlägel 217adafcb5 add ua.yaml 2024-06-30 17:00:13 -06:00
Stephen Huan f0bc45aa93 Add Japanese translations 2024-06-30 10:31:58 -06:00
John MacFarlane 51f3da649c Use dev version of typst-hs.
Fixes parsing of equations like `$1.$`.
2024-06-29 10:30:28 -06:00
Albert Krewinkel 78405f51ae Lua: keep lpeg and re as "loaded" modules.
The modules `lpeg` and `re` are now treated as if they had been
loaded with `require`. Previously the modules were only assigned
to global values, but could be loaded again via `require`,
thereby allowing to use a system-wide installation. However, this
proved to be confusing.

The old behavior can be restored by adding the following lines to
the top of Lua scripts, or to the `init.lua` in the data dir.

    debug.registry()['_LOADED'].lpeg = nil
    debug.registry()['_LOADED'].re = nil
2024-06-28 09:24:41 -06:00
Albert Krewinkel 22ca9e7a20 pandoc-cli: Include pandoc copyright in Lua version info 2024-06-28 11:10:58 +02:00
Albert Krewinkel 522302a97e pandoc-cli: Refer printing of version info to the Lua interpreter
The Lua interpreter no longer terminates when called with `-v` or
`--version` arguments, thus improving compatibility with the default
`lua` interpreter program.
2024-06-28 10:03:14 +02:00
John MacFarlane 59cc5c3725 HTML templates: don't load polyfill.
This was added in a period when MathJaX required polyfill.
MathJaX no longer recommends this and polyfill should no
longer be necessary on any reasonably modern browser.

Closes #9918.
2024-06-26 23:46:18 -06:00
John MacFarlane 5450dc05d8 Allow tls 2.1.x. 2024-06-26 23:45:49 -06:00
John MacFarlane 9f32f07bca Changelog fixes. 2024-06-24 14:35:43 -07:00
John MacFarlane 501d7cc02d Updated AUTHORS.md. pandoc-lua-engine-0.3 3.2.1 pandoc-cli-3.2.1 2024-06-24 12:47:00 -07:00
John MacFarlane d0e77eb576 stack.yaml - bump versions for tls, toml-parser 2024-06-24 12:44:09 -07:00
John MacFarlane f5b43c10d3 Bump pandoc version bound in pandoc-lua-engine. 2024-06-24 12:38:38 -07:00
John MacFarlane d8be1feb32 Update manual date and man pages. 2024-06-24 12:37:25 -07:00
John MacFarlane d44060477d Bump pandoc to 3.2.1, update changelog. 2024-06-24 12:30:23 -07:00
John MacFarlane ea74c90aff Update pandoc-cli to 3.2.1, bump dependency versions 2024-06-24 12:30:15 -07:00
John MacFarlane 7ca6a2b776 Update pandoc-lua-engine to 0.3 2024-06-24 12:29:52 -07:00
John MacFarlane 8f91958f47 Use typst 0.5.0.4. 2024-06-24 11:47:02 -07:00
John MacFarlane 8bdea3f331 Use djot 0.1.2.1. 2024-06-24 11:47:02 -07:00
John MacFarlane c5efa6b600 Use citeproc 0.8.1.1. 2024-06-24 11:47:02 -07:00