Albert Krewinkel
afee37abc7
Lua tests: add more tests for pandoc.mediabag.
2023-03-19 22:38:08 +01:00
Albert Krewinkel
7743c5287a
Lua: add info on when functions became available in pandoc
2023-03-19 15:09:23 +01:00
Albert Krewinkel
07c56322c2
lua-filters.md: generate docs from Haskell for pandoc.structure
2023-03-19 13:35:02 +01:00
Albert Krewinkel
ec1a06f5ef
lua-filters.md: autogenerate parts of the Lua API docs
2023-03-19 12:33:04 +01:00
Albert Krewinkel
203a652e43
Lua: add pandoc.cli.repl function
2023-03-18 15:00:45 -07:00
Albert Krewinkel
f9b6777a92
pandoc-cli: require hslua-cli-1.4.1
...
This fixes a bug where the program would not enter interactive mode if
`-v`, `-e`, or `-l` was used together with the `-i` command line flag.
2023-03-18 18:26:12 +01:00
Albert Krewinkel
e110da44ef
stack.yaml: more version updates
2023-03-18 09:20:56 +01:00
Albert Krewinkel
4b80cc6eef
stack.yaml: Use newest hslua-* versions
2023-03-18 09:18:24 +01:00
John MacFarlane
7f1a8f9cee
Update docx golden tests for style changes.
2023-03-17 22:27:52 -07:00
John MacFarlane
80e750aa5e
Docx writer: include abstract title.
...
Closes #8702 .
Uses localized term for abstract.
2023-03-17 20:06:17 -07:00
Albert Krewinkel
a23d14079c
pandoc-cli: add a Lua REPL
2023-03-17 09:18:41 -07:00
John MacFarlane
74328eba7e
CI/Nightly: use ghc 9.4 for windows build.
2023-03-16 09:27:51 -07:00
John MacFarlane
84262f2d06
CI: use latest point release for each ghc version.
2023-03-16 08:49:28 -07:00
John MacFarlane
3c1fe09b1f
nightly: install ghc 9.4.4 for linux.
...
Otherwise it will use 9.6.1 which doesn't yet work.
2023-03-16 08:49:28 -07:00
Albert Krewinkel
b5b9edf564
Lua: keep the Lua stack clean
...
A metatable used during initialization was not properly removed from the
stack. Likewise, accessing the CommonState from Lua previously led to
the pollution of the Lua stack with a left-over value.
2023-03-15 20:57:45 +01:00
John MacFarlane
369e7b52e8
Fix template for babelfonts so it conforms with documentation.
...
Closes #8697 .
2023-03-15 09:20:39 -07:00
John MacFarlane
774e3be265
HTML writer: use img element instead of embed for .svg.gz...
...
and .png.gz etc.
Closes #8699 .
2023-03-15 09:15:01 -07:00
John MacFarlane
1c70458f3e
Add some notes on using NiX to develop pandoc.
2023-03-15 09:14:41 -07:00
John MacFarlane
1bfab1d11e
HTML writer footnotes changes:
...
When `--reference-location=section` or `=block`, use an
`aside` element for the notes rather than a `section`.
When `--reference-location=section`, include the `aside`
element inside the section element, rather than outside.
(In slide shows, this option causes footnotes on a slide
to be displayed at the bottom of the slide.)
Closes #8695 .
2023-03-14 21:49:05 -07:00
John MacFarlane
03d80ccd38
Remove confusing comment.
2023-03-14 19:36:36 -07:00
John MacFarlane
7ce7c74711
Add doc/extras.md.
...
This was in the website repo; now we'll keep it here and copy it over.
2023-03-14 16:02:46 -07:00
John MacFarlane
c4e7723101
Linux builds: Update ghc-musl URL.
2023-03-14 09:56:35 -07:00
Amy de Buitléir
6f2b21b556
Expose formatFromFilePaths ( #8693 )
...
Expose Text.Pandoc.App.FormatHeuristics (formatFromFilePaths) [API change]
Closes #7590 .
2023-03-14 08:43:58 -07:00
Albert Krewinkel
effca7f7cf
Markdown writer: use implicit figures if there's a caption but no alt.
...
Closes : #8689
2023-03-14 07:22:11 +01:00
John MacFarlane
32e351ba8b
doc/org.md: suggest use of -s to get metadata fields.
...
See #8688 . Obsoletes #8690 .
2023-03-13 19:28:15 -07:00
Pablo Rodríguez
49f748ca0e
use Windows %APPDATA% variable to describe user data dir.
...
Closes #8686 .
2023-03-13 16:16:07 -07:00
Albert Krewinkel
421884717d
Fix stack.yaml once more
2023-03-13 22:26:21 +01:00
Albert Krewinkel
830b1e3c99
Require jira-wiki-markup 1.5.1
...
This fixes a bug in the parser that caused text between two exclamation
marks to be parsed as an image. The first `!` of image markup must now
be followed by a non-space character; otherwise, the enclosed text is
parsed as normal content.
Fixes : #8680
2023-03-13 17:55:17 +01:00
Albert Krewinkel
51750d6d9a
Jira reader: add panel title as nested div
...
The title of a jira panel is added in a nested div as the first element
of the div panel.
Fixes : #8681
2023-03-13 17:31:12 +01:00
Albert Krewinkel
39eb4145ba
Fix testing with stack
2023-03-13 13:46:15 +01:00
Albert Krewinkel
8a89a7f31c
Fix stack build after updating to new hslua version
2023-03-13 13:34:27 +01:00
Albert Krewinkel
0f7653cd10
Switch to hslua-2.3
2023-03-13 13:23:43 +01:00
John MacFarlane
7916940c23
More macos release candidate tweaks.
2023-03-12 20:36:45 -07:00
John MacFarlane
2c7b7620ab
Fix macos release candidate on GitHub actions.
...
Change name of release candidate.
Remove linux rc build, as we're building on cirrus.
2023-03-12 19:43:28 -07:00
John MacFarlane
c51c3d3f92
Update RELEASE-CHECKLIST to integrate the new cirrus builds.
2023-03-12 18:38:41 -07:00
John MacFarlane
e6d4af1a67
Cirrus: more build improvements.
...
Name artifact directories with the architecture type.
2023-03-12 17:09:17 -07:00
John MacFarlane
3626724817
Cirrus: Use bash to run linux build script.
...
Needed for pushd, popd.
2023-03-12 15:48:48 -07:00
John MacFarlane
c454777a93
Cirrus: brew update so we get more recent ghc.
2023-03-12 15:36:37 -07:00
John MacFarlane
63b67af129
linux/make_artifacts.sh: fix syntax for pushd, popd.
2023-03-12 15:31:42 -07:00
John MacFarlane
3175be75ad
Fix BINPATH issues in linux and macos release build scripts.
2023-03-12 13:59:46 -07:00
John MacFarlane
a30927bb95
linux/make_artifacts.sh: fix typo.
2023-03-12 13:36:48 -07:00
John MacFarlane
fa62239a5d
More cirrus fixes.
2023-03-12 13:26:54 -07:00
John MacFarlane
692023cc45
Cirrus: Fix CABALOPTS env variable.
2023-03-12 12:54:27 -07:00
John MacFarlane
5159109d9a
More cirrus tweaks.
...
Use cabal build rather than install.
2023-03-12 12:51:46 -07:00
John MacFarlane
5033687724
More cirrus tweaks.
...
Ensure that the binary is built again even if it exists in the cache.
2023-03-12 12:25:22 -07:00
John MacFarlane
fcb8f07077
Cirrus linux: tweak artifacts step.
2023-03-12 12:17:41 -07:00
John MacFarlane
da7f54e88b
linux/make_artifacts.sh: add diagnostics.
2023-03-12 12:17:41 -07:00
Albert Krewinkel
be6ec92608
Lua: allow to get the JSON encoding of log messages
2023-03-12 18:23:40 +01:00
John MacFarlane
7a8be77869
linux release builds: split build and package steps.
2023-03-12 10:15:53 -07:00
John MacFarlane
b79775991f
linux/make_artifacts.sh: more changes for Cirrus.
2023-03-12 09:14:02 -07:00