aboutsummaryrefslogtreecommitdiff
path: root/test/writer.muse
AgeCommit message (Collapse)AuthorFilesLines
2019-07-28Update muse template to handle multiple authors better.John MacFarlane1-1/+1
2019-07-28Use doctemplates 0.3, change type of writerTemplate.John MacFarlane1-1/+1
* Require recent doctemplates. It is more flexible and supports partials. * Changed type of writerTemplate to Maybe Template instead of Maybe String. * Remove code from the LaTeX, Docbook, and JATS writers that looked in the template for strings to determine whether it is a book or an article, or whether csquotes is used. This was always kludgy and unreliable. To use csquotes for LaTeX, set `csquotes` in your variables or metadata. It is no longer sufficient to put `\usepackage{csquotes}` in your template or header includes. To specify a book style, use the `documentclass` variable or `--top-level-division`. * Change template code to use new API for doctemplates.
2018-09-02Muse writer: use lightweight markup when possibleAlexander Krotov1-39/+36
2018-08-15Markdown reader: Use "tex" instead of "latex" for raw tex-ish content.John MacFarlane1-1/+1
We can't always tell if it's LaTeX, ConTeXt, or plain TeX. Better just to use "tex" always. Also changed: ConTeXt writer: now outputs raw "tex" blocks as well as "context". (Closes #969). RST writer: uses ".. raw:: latex" for "tex" content. (RST doesn't support raw context anyway.) Note that if "context" or "latex" specifically is desired, you can still force that in a markdown document by using the raw attribute (see MANUAL.txt): ```{=latex} \foo ``` Note that this change may affect some filters, if they assume that raw tex parsed by the Markdown reader will be RawBlock (Format "latex"). In most cases it should be trivial to modify the filters to accept "tex" as well.
2018-04-10Muse writer: escape > less oftenAlexander Krotov1-3/+3
> should be escaped only when it can start verse, i.e., at the beginning of the line.
2018-04-01Muse writer: only escape brackets when necessaryAlexander Krotov1-6/+6
It includes cases when they can be mistaken for footnotes and links, as well as inside link description.
2018-03-31Muse writer: do not escape list markers unless preceded by spaceAlexander Krotov1-2/+2
2018-03-28Muse writer: escape semicolons and markers after line breakAlexander Krotov1-1/+1
2018-03-25Muse writer: escape ordered list markersAlexander Krotov1-2/+2
Also reduced amount of <verbatim> tags in output to avoid escaping every "-" and word that ends in a full stop.
2018-03-21Muse writer: don't align ordered list itemsAlexander Krotov1-3/+3
It leads to problems with round-trip test, because aligned line blocks can't be read back.
2018-03-07Muse writer: escape "-" to avoid creating bullet listsAlexander Krotov1-1/+1
2018-03-02Muse writer: update writer.museAlexander Krotov1-1/+1
2018-02-15Muse writer: use unicode quotes for quoted textAlexander Krotov1-8/+8
2018-01-30Muse writer: don't wrap displayMath into <verse>Alexander Krotov1-1/+1
<verse> is a block tag and displayMath is an inline element. Writing <verse> around displayMath could result in nested <verse> tags.
2018-01-19Muse writer: support definitions with multiple descriptionsAlexander Krotov1-8/+5
Muse reader does not support this syntax yet, but Emacs Muse parses it correctly.
2017-11-22Muse writer: escape hash symbolAlexander Krotov1-1/+1
2017-11-22Muse writer: escape only </code> inside code tagAlexander Krotov1-9/+6
Additional <verbatim> is not needed as <code> is verbatim already.
2017-08-08Muse writer: update test results (#3845)Alexander1-3/+6
2017-07-12Muse writer: indent lists inside <quote> with at least one space (#3795)Alexander Krotov1-3/+3
2017-05-25Added `spaced_reference_links` extension.John MacFarlane1-4/+0
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
2017-05-04Muse writer: omit automatic header identifiers (#3633)Alexander Krotov1-40/+0
2017-03-10Add Muse writer (#3489)Alexander Krotov1-0/+772
* Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests