Commit Graph
17835 Commits
Author SHA1 Message Date
Kolen Cheung 0494f71e4c Document the use of luatexja
when CJKmainfont is used with lualatex
C.f. #3873
2024-07-31 08:17:17 -07:00
John MacFarlane edb9e049ca Fix asciidoc link in MANUAL. See #10039. 2024-07-30 14:46:44 -07:00
John MacFarlane a2cae348b9 VimWiki reader: remove partial functions. 2024-07-30 10:17:57 -07:00
John MacFarlane bc3eaf0724 Chunks: replace partial function tail with drop 1. 2024-07-30 09:52:56 -07:00
John MacFarlane 1aeb4a2ebe Todo comment in cabal.project. 2024-07-29 19:47:04 -07:00
Jonathan d89681179d default.latex: wrong beamer color in (sub)section page
The default.latex template defines "part title", "section title" and
"subsection title" via \setbeamertemplate. But for "section title" and
"subsection title", the beamercolorbox also used the "part title"
parameter instead of the "(sub)section title". This had the effect that
for (sub)section pages the color attributes of the part title were used.
2024-07-29 10:52:16 -07:00
John MacFarlane aa5ad5cff4 Add a citations (typst) section to the manual.
Also clarify that `citations` affects both input and output for
`org`.

See #9127.
2024-07-29 09:08:24 -07:00
John MacFarlane b8ed3718b8 Add note on --citeproc that you may need to disable citations...
extension on the output format (e.g., `-t markdown-citations`) to
see the rendered citation.

Supersedes #9127.
See #10012.
2024-07-29 09:05:31 -07:00
John MacFarlane 9a778e01cc Revert "Bump tls version in stack.yaml."
This reverts commit ad69e03dd4.

crypton-connection isn't compatible with the latest tls.
pandoc-lua-engine-0.3.1 pandoc-cli-3.3 pandoc-server-0.1.0.7 3.3
2024-07-28 16:52:12 -07:00
John MacFarlane 1a4f7726ed Update AUTHORS.md 2024-07-28 14:18:42 -07:00
John MacFarlane ad69e03dd4 Bump tls version in stack.yaml. 2024-07-28 14:16:19 -07:00
John MacFarlane 092af7ff5d Update MANUAL date and man pages. 2024-07-28 14:13:20 -07:00
John MacFarlane cb605bb7bf Bump pandoc-server to 0.1.0.7, depend on latest pandoc 2024-07-28 13:46:42 -07:00
John MacFarlane ac98a22bee Bump pandoc version in pandoc-lua-engine. 2024-07-28 13:45:13 -07:00
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