John MacFarlane
e89a3edf24
Typst writer: omit bibliography if citations not enabled.
...
With this change, the typst writer will omit the `#bibliography`
command when `citations` is not enabled. (If you want to use
pandoc's own `--citeproc`, you should combine it with
`-t typst-citations` to disable native typst citations.
Closes #8763 .
2023-04-07 08:24:47 -07:00
Albert Krewinkel
483bfa4b7f
DocBook reader: support more emphasis roles.
...
The role "bf" is taken to indicate "bold face", i.e., "strongly emphasized"
text, while "underline" leads to underlined text.
2023-04-07 16:05:40 +02:00
John MacFarlane
826b8912ad
Typst writer: use <..> for labels, create internal links.
...
Internal links to labels are now supported.
2023-04-05 12:57:25 -07:00
Noah Malmed
0353e11e27
Add rowspan, colspan and alignment to cells in jats table reader ( #8726 )
...
Partially addresses #8408
2023-04-05 12:37:22 -07:00
Toni Dietze
9f718da38a
doc/lua-filters.md: fix wrong anchor ( #8753 )
2023-04-05 12:35:52 -07:00
John MacFarlane
cf9f4833cc
Fix pdf output via typst for the typst 0.1.0 release.
...
One must now use `typst compile` rather than `typst`.
Closes #8754 .
2023-04-05 12:23:42 -07:00
Toni Dietze
2b420a1f89
doc/lua-filters.md: fix wrong anchor
2023-04-05 18:46:10 +02:00
wgevaert and Wout Gevaert
ce4e4d2c84
Remove links from inside links in mediawiki writer ( #8739 )
...
Co-authored-by: Wout Gevaert <wout@wikibase.nl >
2023-04-05 08:04:14 -07:00
wgevaert and Wout Gevaert
fd0f7332ed
Remove links from inside links in mediawiki writer ( #8739 )
...
Co-authored-by: Wout Gevaert <wout@wikibase.nl >
2023-04-05 08:03:46 -07:00
Andreas Scherer
6da429f829
Purge double space.
2023-04-05 07:52:52 -07:00
Albert Krewinkel
b8c7678fcf
Org reader: treat #+NAME as synonym for #+LABEL.
...
Closes : #8578
2023-04-05 14:50:52 +02:00
Albert Krewinkel
ef16a88cde
Org reader: require abstract environment to use lowercase
2023-04-01 17:46:08 +02:00
John MacFarlane
509cb9b8fe
MANUAL: Better link to citation syntax.
2023-03-31 14:01:16 -07:00
Albert Krewinkel
0d038fccf4
Fix cabal install instructions.
2023-03-31 20:54:16 +02:00
John MacFarlane
3f7c17ce16
stack.yaml - adjust texmath version.
2023-03-30 14:40:19 -07:00
John MacFarlane
cd299fb0a7
Require texmath 0.12.7.1.
...
Improves typst math output.
2023-03-30 13:26:59 -07:00
perro tuerto
2007fdd575
doc/lua-filter.md: Fix typos. ( #8734 )
2023-03-30 07:18:41 +02:00
Albert Krewinkel
d27878063e
MANUAL: update link to custom djot writer.
2023-03-29 21:46:06 +02:00
Albert Krewinkel
832d66e8a3
styles.html: fix task-list styling in reveal.js
...
Fixes : #8731
2023-03-29 11:15:47 -07:00
Albert Krewinkel
96c2ad7d49
HTML writer: use first paragraph in task item as checkbox label.
...
Closes : #8729
2023-03-29 19:13:39 +02:00
Ilona
f0ded7bbb6
Add wikilinks to non-default extensions
2023-03-29 08:27:32 -07:00
Albert Krewinkel
1b1e7271b7
Revert "HTML writer: wrap task items in labels."
...
This reverts commit b208eb2a56 .
2023-03-29 15:44:17 +02:00
Albert Krewinkel
b208eb2a56
HTML writer: wrap task items in labels.
...
The `<label>` element ensures that the item description is associated
with the checkbox, which is important for accessibility.
See: #8729
2023-03-29 15:21:04 +02:00
John MacFarlane
930335a45b
Added note that the user will need to create the user data dir.
...
See #8727 .
2023-03-28 19:03:09 -07:00
John MacFarlane
a5159c2c50
Fix \babelfont in default latex template.
...
The first invocation should not specify a language, because
it's the default. If we specify a language, we get an error
in some cases. Closes #8728 .
2023-03-28 16:23:51 -07:00
Christian Christiansen
8db71cecb5
Update documentation for org-mode
...
Add zero width space to the default values of pandoc-emphasis-pre and
pandoc-emphasis-post. Zero width space was added to solve issue #8716 .
2023-03-28 09:32:34 -07:00
John MacFarlane
ae8ba75c0a
Typst writer: fix alignment issue in lists.
...
It's an aesthetic issue only; the first line had an
extra space indent after the list marker.
2023-03-27 18:52:57 -07:00
John MacFarlane
f97ab76f81
Bump pandoc-cli to 0.1.1, depend on latest pandoc-lua-engine
pandoc-cli-0.1.1
pandoc-lua-engine-0.2
2023-03-27 16:55:35 -07:00
John MacFarlane
509adf7cbf
Bump pandoc-lua-engine to 0.2, depend on latest pandoc
2023-03-27 16:55:18 -07:00
John MacFarlane
1f6fa8784e
macos release build: store architecture in a file.
3.1.2
2023-03-27 15:48:17 -07:00
John MacFarlane
a53d08c871
Fix macos release Makefile (syntax for ARCHITECTURE).
2023-03-27 14:25:48 -07:00
John MacFarlane
c9a04e5cec
Fix release-candidate build for macos.
...
Use ghc 9.4 and cabal 3.10.
2023-03-27 13:31:22 -07:00
John MacFarlane
021dd495d5
Another try at cirrus artifacts...
2023-03-27 13:17:19 -07:00
John MacFarlane
d39921ea82
Cirrus: another attempt to name artifacts.
2023-03-27 12:59:53 -07:00
John MacFarlane
6e45e0e449
Add alias to cirrus tasks.
2023-03-27 11:58:19 -07:00
John MacFarlane
f347fa4041
Another try at compressed cirrus artifacts.
2023-03-27 11:30:22 -07:00
John MacFarlane
881d234e73
Cirrus: try pre-zipping artifacts.
2023-03-27 10:52:32 -07:00
John MacFarlane
fd85560b84
Typst: Use customized term instead of custom macro for def lists.
2023-03-27 10:47:15 -07:00
John MacFarlane
cf6a742710
Typst writer: support column aligns in tables.
2023-03-27 10:47:15 -07:00
Albert Krewinkel
ba911cce33
Typst: fix output for syntax-highlighted inline code.
2023-03-27 11:00:10 +02:00
John MacFarlane
a160d37338
Ensure that macos release packages are named after architecture.
2023-03-26 23:34:49 -07:00
John MacFarlane
4780b4760d
More Typst writer improvements.
...
+ Update manual with variables for Typst.
+ Split `lang` metadata into separate `lang` and `region` for Typst.
+ Fix label positioning in Divs.
+ Fix text customizations (lang, region, font, size) so they actually
work.
+ Update tests and man page.
2023-03-26 21:32:31 -07:00
John MacFarlane
cd6b3bde62
Typst writer improvements.
...
+ Fix non-decimal enumerated lists.
+ Fix endnotes ending with code blocks.
+ Improve default template to use a typst template.
+ Factor out definitions and typst template into partials.
+ Properly escape backslash and quote inside double quotes.
+ Update tests.
2023-03-26 19:02:05 -07:00
John MacFarlane
657ebffd8f
Update authors.
2023-03-26 11:54:49 -07:00
John MacFarlane
5dc3dd5e80
Small update to package description.
2023-03-26 11:53:17 -07:00
John MacFarlane
bb697284c3
Bump to 3.1.2, update changelog.
2023-03-26 11:52:16 -07:00
John MacFarlane
0cba767bd6
Update manual date and man page
2023-03-26 11:11:05 -07:00
John MacFarlane
9919d62df2
Moved a misplaced command test.
2023-03-26 11:09:58 -07:00
John MacFarlane
2a1d5c49d0
Support typst as a pdf-engine.
2023-03-26 10:25:07 -07:00
Albert Krewinkel
2821ca72ff
Use released version of hslua-module-{system,text}
2023-03-26 18:28:46 +02:00