Commit Graph
16290 Commits
Author SHA1 Message Date
John MacFarlane ad3d7c1914 Add exit trapping code back to make_artifacts.sh.
Otherwise it never exits!
3.0.1
2023-01-25 10:27:39 -08:00
John MacFarlane d3f0cb7a2f Update changelog. 2023-01-25 09:54:43 -08:00
John MacFarlane 131f546282 Ensure that automatically set variables ...
`pandoc-version`, `outputfile`, `title-prefix`, `epub-cover-image`,
`curdir`, `dzslides-core` can be overridden by `--variable` on the
command line.

Previously they would create lists in the template Context,
which is not desirable.
2023-01-25 09:51:59 -08:00
John MacFarlane 5d25e56eec Bump to 3.0.1. 2023-01-25 08:58:11 -08:00
John MacFarlane bf36333faa Update AUTHORS.md 2023-01-25 08:34:52 -08:00
John MacFarlane 0dd8f0b883 Update changelog. 2023-01-25 08:32:36 -08:00
John MacFarlane 50eb8a1d86 Update man pages. 2023-01-25 08:32:27 -08:00
John MacFarlane d784c20213 Update manual date. 2023-01-25 08:31:10 -08:00
John MacFarlane 2e0a3d448f stack.yaml - use latest hslua-list 2023-01-25 08:30:43 -08:00
John MacFarlane 8cb98f841e stack.yaml - bump texmath version. 2023-01-25 08:10:02 -08:00
John MacFarlane 57ae2ed1c7 Require texmath 0.12.6 - for better MathML output. 2023-01-24 21:37:59 -08:00
John MacFarlane b2db85f626 pandoc.cabal: fix upper bound for texmath. 2023-01-23 21:20:08 -08:00
John MacFarlane 23178ec96e LaTeX reader: Fix bug in macro resolution for environments.
This is a regression in pandoc 3.0 that affects environments
with arguments.  Closes #8573.
2023-01-23 12:48:49 -08:00
John MacFarlane 14acf8ee68 LaTeX reader: Fix small logic error in macro parsing code. 2023-01-23 12:48:49 -08:00
John MacFarlane 80c045fb02 Makefile: use -f-export-dynamic in CABALOPTS
This is helpful when building in nix shell.
2023-01-23 12:48:49 -08:00
Carlos Scheidegger b1e4a9eecf Fix typo
`#types-chunkeddoc` -> `#type-chunkeddoc`
2023-01-23 20:32:36 +01:00
John MacFarlane 6182f1a81d Fix use of extensions with custom readers.
Closes #8571.
2023-01-21 21:21:49 -08:00
John MacFarlane ee3180160b T.P.Writers.Shared: export setupTranslations [API change].
Use this in HTML and OpenDocument writers.
2023-01-21 10:18:55 -08:00
John MacFarlane c30ffca70f make_artifacts.sh: fix quoting. 2023-01-20 15:10:42 -08:00
John MacFarlane 0a88d1f44b Fix another bug in make_artifacts.sh. 2023-01-20 13:06:38 -08:00
John MacFarlane 02b72150a7 Fix two small problems in make_artifacts.sh 2023-01-20 12:17:08 -08:00
John MacFarlane 2a8b6783fd make_artifacts.sh: Back to cabal build/test approach. 2023-01-20 11:38:59 -08:00
John MacFarlane dacdd0a56e Chunked HTML writer: Fix handling of images with absolute URLs.
Cloess #8567.
2023-01-20 11:07:14 -08:00
John MacFarlane 4d1d956dc8 make_artifacts.sh: add diagnostic. 2023-01-20 10:53:25 -08:00
John MacFarlane 48b1370f94 make_artifacts.sh: remove cabal test, add sanity checks.
Check that the binary has lua and server support, and that
it contains baked-in templates.
2023-01-20 10:41:58 -08:00
John MacFarlane 6ebabd2118 HTML writer: don't omit newlines in task lists. 2023-01-20 10:29:40 -08:00
John MacFarlane 62e14233cd HTML writer: don't disable checkboxes in task lists.
Closes #8562.
2023-01-20 09:53:33 -08:00
John MacFarlane 8180635220 make_artifacts.sh: roll back quoting of CABALOPTS. 2023-01-20 09:36:21 -08:00
John MacFarlane adf9e9088d Apply shellcheck improvements to make_artifacts.sh. 2023-01-20 09:14:41 -08:00
John MacFarlane e680aa18e2 Fix man page copying in linux/make_artifacts.sh.
Previously we were copying the pandoc-server.1 pandoc page to pandoc-lua.1.

This should resolve #8566, but it should be tested after a
new release candidate is generated.
2023-01-20 08:52:36 -08:00
John MacFarlane 1a4ba584e6 pandoc.cabal: remove pandoc.cabal, stack.cabal from extra-source-files.
The problem is that if these are in extra-source-files, then they
get put in the tarball, and then anyone trying to build the source
from an unpacked tarball will run into the problem that cabal.project
and stack.yaml refer to pandoc-server, pandoc-lua-engine, and
pandoc-cli, which aren't in the tarball.

See #8560.
2023-01-19 16:36:47 -08:00
James Scott-Brown 456bd09877 fix formatting of link in pandoc-server.md 2023-01-20 00:10:25 +01:00
John MacFarlane 535bd0393f Fix date and a few minor things in changelog. 2023-01-18 15:14:29 -08:00
Albert Krewinkel 415b286acb changelog.md: fix minor typo. 2023-01-18 23:46:13 +01:00
John MacFarlane 538e63846d Macos release candidate action: fix version.txt. pandoc-cli-0.1 pandoc-lua-engine-0.1 3.0 pandoc-server-0.1 2023-01-18 13:07:54 -08:00
John MacFarlane 28e535926a Regenerate man page. 2023-01-18 12:15:16 -08:00
John MacFarlane f66d5f4215 Fix version for pandoc-lua-marshall in stack.yaml. 2023-01-18 11:26:35 -08:00
John MacFarlane 8a1f4ad513 Add param to tocToList for numberSections.
Otherwise sections are always numbered in the TOC,
even if `--number-sections` is not used.
2023-01-18 11:15:57 -08:00
John MacFarlane 27d2dc6821 Small changelog fixes. 2023-01-18 11:05:09 -08:00
John MacFarlane 2c299d7991 Use released versions of packages. 2023-01-18 11:05:09 -08:00
Albert Krewinkel 71078d6546 AUTHORS.md: cleanup
Removed duplicates: badumont is Bastien Dumont, argent0 is Aner Lucero,
danse is Francesco Occhipinti.
2023-01-18 19:21:19 +01:00
Albert Krewinkel 3a0fc17880 Lua: add function pandoc.format.extensions.
This simplifies the creation of custom readers and writers that are
based on built-in formats.
2023-01-18 08:59:53 -08:00
Ilona Silverwood 671cfcd869 doc/custom-reader.md: rewrite BytestringReader paragraph 2023-01-18 17:24:00 +01:00
Albert KrewinkelandIlona Silverwood 86a7e34a85 MANUAL: improve phrasing in PDF accessibility section
Co-authored-by: Ilona Silverwood <ilonasilverwood@gmail.com>
2023-01-18 17:11:49 +01:00
Albert Krewinkel 39830e1f61 Fix line lengths in Markdown reader, DocBook writer
Trying to limit lines to 80 chars.
2023-01-18 16:02:57 +01:00
John MacFarlane 8a9116e159 Remove superfluous extra-packages in stack.yaml. 2023-01-17 21:35:44 -08:00
John MacFarlane 0eb4f9c03d Use latest dev pandoc-lua-marshall. 2023-01-17 21:32:32 -08:00
John MacFarlane aff768e28b Add some test files to pandoc.cabal. 2023-01-17 21:30:40 -08:00
John MacFarlane 383ac41a76 Regenerate README.md. 2023-01-17 21:29:05 -08:00
John MacFarlane 2b19d29910 Fix spacing errors. 2023-01-17 21:28:49 -08:00