summaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-07-05 09:10:36 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2023-07-05 09:10:36 -0700
commitadba9d460cdf97acd706218c25d16a9337de1834 (patch)
tree50589e7d13b8c065fb19ac501a39b2fc931a06dd /MANUAL.txt
parent7ba9ecfb5a3ef1fe8193daae240761f5b95a6ff3 (diff)
Make modern AsciiDoc the target for `asciidoc`.
The AsciiDoc community now regards the dialect parsed by `asciidoctor` as the official AsciiDoc syntax, so it should be the target of our `asciidoc` format. Closes #8936. The `asciidoc` output format now behaves like `asciidoctor` used to. `asciidoctor` is a deprecated synonynm. For the old `asciidoc` behavior (targeting the Python script), use `asciidoc_legacy`. The templates have been consolidated. Instead of separate `default.asciidoctor` and `default.asciidoc` templates, there is just `default.asciidoc`. Text.Pandoc.Writers.AsciiDoc API changes: - `writeAsciiDoc` now behaves like `writeAsciiDoctor` used to. - `writeAsciiDoctor` is now a deprecated synonym for `writeAsciiDoc`. - New exported function `writeAsciiDocLegacy` behaves like `writeAsciDoc` used to.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index a30b15beb..9f79f4a97 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -284,7 +284,9 @@ header when requesting a document from a URL:
: Specify output format. *FORMAT* can be:
::: {#output-formats}
- - `asciidoc` ([AsciiDoc]) or `asciidoctor` ([AsciiDoctor])
+ - `asciidoc` (modern [AsciiDoc] as interpreted by [AsciiDoctor])
+ - `asciidoc_legacy` ([AsciiDoc] as interpreted by [`asciidoc-py`]).
+ - `asciidoctor` (deprecated synonym for `asciidoc`)
- `beamer` ([LaTeX beamer][`beamer`] slide show)
- `bibtex` ([BibTeX] bibliography)
- `biblatex` ([BibLaTeX] bibliography)
@@ -503,6 +505,7 @@ header when requesting a document from a URL:
[Emacs Org mode]: https://orgmode.org
[AsciiDoc]: https://www.methods.co.nz/asciidoc/
[AsciiDoctor]: https://asciidoctor.org/
+[`asciidoc-py`]: https://github.com/asciidoc-py/asciidoc-py
[DZSlides]: https://paulrouget.com/dzslides/
[Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML
[PDF]: https://www.adobe.com/pdf/
@@ -5017,11 +5020,9 @@ reStructuredText
~ It will be rendered using an [interpreted text role `:math:`].
AsciiDoc
- ~ For AsciiDoc output format (`-t asciidoc`) it will appear verbatim
- surrounded by `latexmath:[$...$]` (for inline math) or
- `[latexmath]++++\[...\]+++` (for display math).
- For AsciiDoctor output format (`-t asciidoctor`) the LaTeX delimiters
- (`$..$` and `\[..\]`) are omitted.
+ ~ For AsciiDoc output math will appear verbatim surrounded by
+ `latexmath:[...]`. For `asciidoc_legacy` the bracketed
+ material will also include inline or display math delimiters.
Texinfo
~ It will be rendered inside a `@math` command.