git.iko.soy/typeable/pandoc
on master help sign in
Replaced tabs with spaces in MANUAL.txt.

@jkr - the tabs were inserted by your 624abeec5c3b9f5c27cffe6d157617aa97367e92, presumably through some automatic setting in your editor that replaced 8 spaces with a tab. This messed up indented formatting in the manual.

commitd57ff311e54e6fbdbdbace3467d8610d4b9dfee1 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 18 Jan 2018, 08:16 (9 years ago) parent49c395e
3 files changed+337−253
MANUAL.txt+157−157 README.md+1−1 man/pandoc.1+179−95
MANUAL.txt+157−157
@@ -1,6 +1,6 @@
11% Pandoc User's Guide
22% John MacFarlane
3−% January 7, 2018
3+% January 18, 2018
44
55Synopsis
66========
@@ -349,15 +349,15 @@ General options
349349 If this option is not specified, the default user data directory
350350 will be used. This is, in UNIX:
351351
352− $HOME/.pandoc
352+ $HOME/.pandoc
353353
354354 in Windows XP:
355355
356− C:\Documents And Settings\USERNAME\Application Data\pandoc
356+ C:\Documents And Settings\USERNAME\Application Data\pandoc
357357
358358 and in Windows Vista or later:
359359
360− C:\Users\USERNAME\AppData\Roaming\pandoc
360+ C:\Users\USERNAME\AppData\Roaming\pandoc
361361
362362 You can find the default user data directory on your system by
363363 looking at the output of `pandoc --version`.
@@ -370,7 +370,7 @@ General options
370370: Generate a bash completion script. To enable bash completion
371371 with pandoc, add this to your `.bashrc`:
372372
373− eval "$(pandoc --bash-completion)"
373+ eval "$(pandoc --bash-completion)"
374374
375375`--verbose`
376376
@@ -468,11 +468,11 @@ Reader options
468468 JSON input and output. The name of the output format will be
469469 passed to the filter as the first argument. Hence,
470470
471− pandoc --filter ./caps.py -t latex
471+ pandoc --filter ./caps.py -t latex
472472
473473 is equivalent to
474474
475− pandoc -t json | ./caps.py latex | pandoc -f json -t latex
475+ pandoc -t json | ./caps.py latex | pandoc -f json -t latex
476476
477477 The latter form may be useful for debugging filters.
478478
@@ -511,15 +511,15 @@ Reader options
511511
512512 The following is an example lua script for macro-expansion:
513513
514− function expand_hello_world(inline)
515− if inline.c == '{{helloworld}}' then
516− return pandoc.Emph{ pandoc.Str "Hello, World" }
517− else
518− return inline
519− end
520− end
514+ function expand_hello_world(inline)
515+ if inline.c == '{{helloworld}}' then
516+ return pandoc.Emph{ pandoc.Str "Hello, World" }
517+ else
518+ return inline
519+ end
520+ end
521521
522− return {{Str = expand_hello_world}}
522+ return {{Str = expand_hello_world}}
523523
524524
525525`-M` *KEY*[`=`*VAL*], `--metadata=`*KEY*[`:`*VAL*]
@@ -919,48 +919,48 @@ Options affecting specific writers
919919 Docx
920920
921921 : For best results, the reference docx should be a modified
922− version of a docx file produced using pandoc. The contents
923− of the reference docx are ignored, but its stylesheets and
924− document properties (including margins, page size, header,
925− and footer) are used in the new docx. If no reference docx
926− is specified on the command line, pandoc will look for a
927− file `reference.docx` in the user data directory (see
928− `--data-dir`). If this is not found either, sensible
929− defaults will be used.
930−
931− To produce a custom `reference.docx`, first get a copy of
932− the default `reference.docx`: `pandoc
933− --print-default-data-file reference.docx >
934− custom-reference.docx`. Then open `custom-reference.docx`
935− in Word, modify the styles as you wish, and save the file.
936− For best results, do not make changes to this file other
937− than modifying the styles used by pandoc: [paragraph]
938− Normal, Body Text, First Paragraph, Compact, Title,
939− Subtitle, Author, Date, Abstract, Bibliography, Heading 1,
940− Heading 2, Heading 3, Heading 4, Heading 5, Heading 6,
941− Heading 7, Heading 8, Heading 9, Block Text, Footnote Text,
942− Definition Term, Definition, Caption, Table Caption,
943− Image Caption, Figure, Captioned Figure, TOC Heading;
944− [character] Default Paragraph Font, Body Text Char,
945− Verbatim Char, Footnote Reference, Hyperlink; [table]
946− Table.
922+ version of a docx file produced using pandoc. The contents
923+ of the reference docx are ignored, but its stylesheets and
924+ document properties (including margins, page size, header,
925+ and footer) are used in the new docx. If no reference docx
926+ is specified on the command line, pandoc will look for a
927+ file `reference.docx` in the user data directory (see
928+ `--data-dir`). If this is not found either, sensible
929+ defaults will be used.
930+
931+ To produce a custom `reference.docx`, first get a copy of
932+ the default `reference.docx`: `pandoc
933+ --print-default-data-file reference.docx >
934+ custom-reference.docx`. Then open `custom-reference.docx`
935+ in Word, modify the styles as you wish, and save the file.
936+ For best results, do not make changes to this file other
937+ than modifying the styles used by pandoc: [paragraph]
938+ Normal, Body Text, First Paragraph, Compact, Title,
939+ Subtitle, Author, Date, Abstract, Bibliography, Heading 1,
940+ Heading 2, Heading 3, Heading 4, Heading 5, Heading 6,
941+ Heading 7, Heading 8, Heading 9, Block Text, Footnote Text,
942+ Definition Term, Definition, Caption, Table Caption,
943+ Image Caption, Figure, Captioned Figure, TOC Heading;
944+ [character] Default Paragraph Font, Body Text Char,
945+ Verbatim Char, Footnote Reference, Hyperlink; [table]
946+ Table.
947947
948948 ODT
949949
950950 : For best results, the reference ODT should be a modified
951− version of an ODT produced using pandoc. The contents of
952− the reference ODT are ignored, but its stylesheets are used
953− in the new ODT. If no reference ODT is specified on the
954− command line, pandoc will look for a file `reference.odt` in
955− the user data directory (see `--data-dir`). If this is not
956− found either, sensible defaults will be used.
957−
958− To produce a custom `reference.odt`, first get a copy of
959− the default `reference.odt`: `pandoc
960− --print-default-data-file reference.odt >
961− custom-reference.odt`. Then open `custom-reference.odt` in
962− LibreOffice, modify the styles as you wish, and save the
963− file.
951+ version of an ODT produced using pandoc. The contents of
952+ the reference ODT are ignored, but its stylesheets are used
953+ in the new ODT. If no reference ODT is specified on the
954+ command line, pandoc will look for a file `reference.odt` in
955+ the user data directory (see `--data-dir`). If this is not
956+ found either, sensible defaults will be used.
957+
958+ To produce a custom `reference.odt`, first get a copy of
959+ the default `reference.odt`: `pandoc
960+ --print-default-data-file reference.odt >
961+ custom-reference.odt`. Then open `custom-reference.odt` in
962+ LibreOffice, modify the styles as you wish, and save the
963+ file.
964964
965965`--epub-cover-image=`*FILE*
966966
@@ -975,8 +975,8 @@ Options affecting specific writers
975975 The file should contain a series of [Dublin Core elements].
976976 For example:
977977
978− <dc:rights>Creative Commons</dc:rights>
979− <dc:language>es-AR</dc:language>
978+ <dc:rights>Creative Commons</dc:rights>
979+ <dc:language>es-AR</dc:language>
980980
981981 By default, pandoc will include the following metadata elements:
982982 `<dc:title>` (from the document title), `<dc:creator>` (from the
@@ -1000,31 +1000,31 @@ Options affecting specific writers
10001000 embedded fonts, you will need to add declarations like the following
10011001 to your CSS (see `--css`):
10021002
1003− @font-face {
1004− font-family: DejaVuSans;
1005− font-style: normal;
1006− font-weight: normal;
1007− src:url("DejaVuSans-Regular.ttf");
1008− }
1009− @font-face {
1010− font-family: DejaVuSans;
1011− font-style: normal;
1012− font-weight: bold;
1013− src:url("DejaVuSans-Bold.ttf");
1014− }
1015− @font-face {
1016− font-family: DejaVuSans;
1017− font-style: italic;
1018− font-weight: normal;
1019− src:url("DejaVuSans-Oblique.ttf");
1020− }
1021− @font-face {
1022− font-family: DejaVuSans;
1023− font-style: italic;
1024− font-weight: bold;
1025− src:url("DejaVuSans-BoldOblique.ttf");
1026− }
1027− body { font-family: "DejaVuSans"; }
1003+ @font-face {
1004+ font-family: DejaVuSans;
1005+ font-style: normal;
1006+ font-weight: normal;
1007+ src:url("DejaVuSans-Regular.ttf");
1008+ }
1009+ @font-face {
1010+ font-family: DejaVuSans;
1011+ font-style: normal;
1012+ font-weight: bold;
1013+ src:url("DejaVuSans-Bold.ttf");
1014+ }
1015+ @font-face {
1016+ font-family: DejaVuSans;
1017+ font-style: italic;
1018+ font-weight: normal;
1019+ src:url("DejaVuSans-Oblique.ttf");
1020+ }
1021+ @font-face {
1022+ font-family: DejaVuSans;
1023+ font-style: italic;
1024+ font-weight: bold;
1025+ src:url("DejaVuSans-BoldOblique.ttf");
1026+ }
1027+ body { font-family: "DejaVuSans"; }
10281028
10291029`--epub-chapter-level=`*NUMBER*
10301030
@@ -1177,9 +1177,9 @@ of the following options.
11771177 formulas and an HTML file with links to these images.
11781178 So, the procedure is:
11791179
1180− pandoc -s --gladtex input.md -o myfile.htex
1181− gladtex -d myfile-images myfile.htex
1182− # produces myfile.html and images in myfile-images
1180+ pandoc -s --gladtex input.md -o myfile.htex
1181+ gladtex -d myfile-images myfile.htex
1182+ # produces myfile.html and images in myfile-images
11831183
11841184`--mimetex`[`=`*URL*]
11851185
@@ -1216,11 +1216,11 @@ Options for wrapper scripts
12161216: Ignore command-line arguments (for use in wrapper scripts).
12171217 Regular pandoc options are not ignored. Thus, for example,
12181218
1219− pandoc --ignore-args -o foo.html -s foo.txt -- -e latin1
1219+ pandoc --ignore-args -o foo.html -s foo.txt -- -e latin1
12201220
12211221 is equivalent to
12221222
1223− pandoc -o foo.html -s
1223+ pandoc -o foo.html -s
12241224
12251225Templates
12261226=========
@@ -1266,13 +1266,13 @@ as the following:
12661266 if input is from stdin. You can use the following snippet in your template
12671267 to distinguish them:
12681268
1269− $if(sourcefile)$
1270− $for(sourcefile)$
1271− $sourcefile$
1272− $endfor$
1273− $else$
1274− (stdin)
1275− $endif$
1269+ $if(sourcefile)$
1270+ $for(sourcefile)$
1271+ $sourcefile$
1272+ $endfor$
1273+ $else$
1274+ (stdin)
1275+ $endif$
12761276
12771277 Similarly, `outputfile` can be `-` if output goes to the terminal.
12781278
@@ -1282,11 +1282,11 @@ as the following:
12821282 through a [pandoc title block][Extension: `pandoc_title_block`],
12831283 which allows for multiple authors, or through a YAML metadata block:
12841284
1285− ---
1286− author:
1287− - Aristotle
1288− - Peter Abelard
1289− ...
1285+ ---
1286+ author:
1287+ - Aristotle
1288+ - Peter Abelard
1289+ ...
12901290
12911291`subtitle`
12921292: document subtitle, included in HTML, EPUB, LaTeX, ConTeXt, and Word docx;
@@ -1334,11 +1334,11 @@ as the following:
13341334[^subtitle]: To make `subtitle` work with other LaTeX
13351335 document classes, you can add the following to `header-includes`:
13361336
1337− \providecommand{\subtitle}[1]{%
1338− \usepackage{titling}
1339− \posttitle{%
1340− \par\large#1\end{center}}
1341− }
1337+ \providecommand{\subtitle}[1]{%
1338+ \usepackage{titling}
1339+ \posttitle{%
1340+ \par\large#1\end{center}}
1341+ }
13421342
13431343Language variables
13441344------------------
@@ -2208,9 +2208,9 @@ A block of text indented four spaces (or one tab) is treated as verbatim
22082208text: that is, special characters do not trigger special formatting,
22092209and all spaces and line breaks are preserved. For example,
22102210
2211− if (a > 3) {
2212− moveShip(5 * gravity, DOWN);
2213− }
2211+ if (a > 3) {
2212+ moveShip(5 * gravity, DOWN);
2213+ }
22142214
22152215The initial (four space or one tab) indentation is not considered part
22162216of the verbatim text, and is removed in the output.
@@ -2259,7 +2259,7 @@ this syntax:
22592259 ~~~~ {#mycode .haskell .numberLines startFrom="100"}
22602260 qsort [] = []
22612261 qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++
2262− qsort (filter (>= x) xs)
2262+ qsort (filter (>= x) xs)
22632263 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22642264
22652265Here `mycode` is an identifier, `haskell` and `numberLines` are classes, and
@@ -2383,12 +2383,12 @@ the list marker.
23832383
23842384 * First paragraph.
23852385
2386− Continued.
2386+ Continued.
23872387
23882388 * Second paragraph. With a code block, which must be indented
2389− eight spaces:
2389+ eight spaces:
23902390
2391− { code }
2391+ { code }
23922392
23932393Exception: if the list marker is followed by an indented code
23942394block, which must begin 5 spaces after the list marker, then
@@ -2406,8 +2406,8 @@ containing list item.
24062406
24072407 * fruits
24082408 + apples
2409− - macintosh
2410− - red delicious
2409+ - macintosh
2410+ - red delicious
24112411 + pears
24122412 + peaches
24132413 * vegetables
@@ -2424,7 +2424,7 @@ other blocks in a list item, the first line of each must be indented.
24242424 + Another one; this looks
24252425 bad but is legal.
24262426
2427− Second paragraph of second
2427+ Second paragraph of second
24282428 list item.
24292429
24302430### Ordered lists ###
@@ -2458,18 +2458,18 @@ capital letter with a period, by at least two spaces.[^2]
24582458[^2]: The point of this rule is to ensure that normal paragraphs
24592459 starting with people's initials, like
24602460
2461− B. Russell was an English philosopher.
2461+ B. Russell was an English philosopher.
24622462
24632463 do not get treated as list items.
24642464
24652465 This rule will not prevent
24662466
2467− (C) 2007 Joe Smith
2467+ (C) 2007 Joe Smith
24682468
24692469 from being interpreted as a list item. In this case, a backslash
24702470 escape can be used:
24712471
2472− (C\) 2007 Joe Smith
2472+ (C\) 2007 Joe Smith
24732473
24742474The `fancy_lists` extension also allows '`#`' to be used as an
24752475ordered list marker in place of a numeral:
@@ -2488,9 +2488,9 @@ roman numerals:
24882488 9) Ninth
24892489 10) Tenth
24902490 11) Eleventh
2491− i. subone
2492− ii. subtwo
2493− iii. subthree
2491+ i. subone
2492+ ii. subtwo
2493+ iii. subthree
24942494
24952495Pandoc will start a new list each time a different type of list
24962496marker is used. So, the following will create three lists:
@@ -2522,9 +2522,9 @@ Pandoc supports definition lists, using the syntax of
25222522
25232523 : Definition 2
25242524
2525− { some code, part of Definition 2 }
2525+ { some code, part of Definition 2 }
25262526
2527− Third paragraph of definition 2.
2527+ Third paragraph of definition 2.
25282528
25292529Each term must fit on one line, which may optionally be followed by
25302530a blank line, and must be followed by one or more definitions.
@@ -2543,7 +2543,7 @@ at the beginning of a paragraph or other block element:
25432543 : Definition
25442544 with lazy continuation.
25452545
2546− Second paragraph of the definition.
2546+ Second paragraph of the definition.
25472547
25482548If you leave space before the definition (as in the example above),
25492549the text of the definition will be treated as a paragraph. In some
@@ -2606,9 +2606,9 @@ cases" involving lists. Consider this source:
26062606
26072607 + First
26082608 + Second:
2609− - Fee
2610− - Fie
2611− - Foe
2609+ - Fee
2610+ - Fie
2611+ - Foe
26122612
26132613 + Third
26142614
@@ -2631,7 +2631,7 @@ What if you want to put an indented code block after a list?
26312631 - item one
26322632 - item two
26332633
2634− { my code block }
2634+ { my code block }
26352635
26362636Trouble! Here pandoc (like other Markdown implementations) will treat
26372637`{ my code block }` as the second paragraph of item two, and not as
@@ -2646,7 +2646,7 @@ any format:
26462646
26472647 <!-- end of list -->
26482648
2649− { my code block }
2649+ { my code block }
26502650
26512651You can use the same trick if you want two consecutive lists instead
26522652of one big list:
@@ -2692,9 +2692,9 @@ Simple tables look like this:
26922692
26932693 Right Left Center Default
26942694 ------- ------ ---------- -------
2695− 12 12 12 12
2696− 123 123 123 123
2697− 1 1 1 1
2695+ 12 12 12 12
2696+ 123 123 123 123
2697+ 1 1 1 1
26982698
26992699 Table: Demonstration of simple table syntax.
27002700
@@ -2721,9 +2721,9 @@ The column headers may be omitted, provided a dashed line is used
27212721to end the table. For example:
27222722
27232723 ------- ------ ---------- -------
2724− 12 12 12 12
2725− 123 123 123 123
2726− 1 1 1 1
2724+ 12 12 12 12
2725+ 123 123 123 123
2726+ 1 1 1 1
27272727 ------- ------ ---------- -------
27282728
27292729When headers are omitted, column alignments are determined on the basis
@@ -2741,11 +2741,11 @@ not supported). Here is an example:
27412741 Header Aligned Aligned Aligned
27422742 ----------- ------- --------------- -------------------------
27432743 First row 12.0 Example of a row that
2744− spans multiple lines.
2744+ spans multiple lines.
27452745
27462746 Second row 5.0 Here's another one. Note
2747− the blank line between
2748− rows.
2747+ the blank line between
2748+ rows.
27492749 -------------------------------------------------------------
27502750
27512751 Table: Here's the caption. It, too, may span
@@ -2767,11 +2767,11 @@ Headers may be omitted in multiline tables as well as simple tables:
27672767
27682768 ----------- ------- --------------- -------------------------
27692769 First row 12.0 Example of a row that
2770− spans multiple lines.
2770+ spans multiple lines.
27712771
27722772 Second row 5.0 Here's another one. Note
2773− the blank line between
2774− rows.
2773+ the blank line between
2774+ rows.
27752775 ----------- ------- --------------- -------------------------
27762776
27772777 : Here's a multiline table without headers.
@@ -3664,14 +3664,14 @@ Pandoc's Markdown allows footnotes, using the following syntax:
36643664
36653665 [^longnote]: Here's one with multiple blocks.
36663666
3667− Subsequent paragraphs are indented to show that they
3667+ Subsequent paragraphs are indented to show that they
36683668 belong to the previous footnote.
36693669
3670− { some.code }
3670+ { some.code }
36713671
3672− The whole paragraph can be indented, or just the first
3673− line. In this way, multi-paragraph footnotes work like
3674− multi-paragraph list items.
3672+ The whole paragraph can be indented, or just the first
3673+ line. In this way, multi-paragraph footnotes work like
3674+ multi-paragraph list items.
36753675
36763676 This paragraph won't be part of the note, because it
36773677 isn't indented.
@@ -3771,16 +3771,16 @@ YAML-encoded references, for example:
37713771 id: WatsonCrick1953
37723772 author:
37733773 - family: Watson
3774− given: J. D.
3774+ given: J. D.
37753775 - family: Crick
3776− given: F. H. C.
3776+ given: F. H. C.
37773777 issued:
3778− date-parts:
3779− - - 1953
3780− - 4
3781− - 25
3778+ date-parts:
3779+ - - 1953
3780+ - 4
3781+ - 25
37823782 title: 'Molecular structure of nucleic acids: a structure for deoxyribose
3783− nucleic acid'
3783+ nucleic acid'
37843784 title-short: Molecular structure of nucleic acids
37853785 container-title: Nature
37863786 volume: 171
@@ -3981,7 +3981,7 @@ the document, for example:
39813981 Author: John Doe
39823982 Date: September 1, 2008
39833983 Comment: This is a sample mmd title block, with
3984− a field spanning multiple lines.
3984+ a field spanning multiple lines.
39853985
39863986See the MultiMarkdown documentation for details. If `pandoc_title_block` or
39873987`yaml_metadata_block` is enabled, it will take precedence over
@@ -4011,7 +4011,7 @@ and image references. This extension should not be confused with the
40114011 This is a reference ![image][ref] with multimarkdown attributes.
40124012
40134013 [ref]: http://path.to/image "Image title" width=20px height=30px
4014− id=myId class="myClass1 myClass2"
4014+ id=myId class="myClass1 myClass2"
40154015
40164016#### Extension: `mmd_header_identifiers` ####
40174017
@@ -4035,10 +4035,10 @@ in several respects:
40354035[^6]: To see why laziness is incompatible with relaxing the requirement
40364036 of a blank line between items, consider the following example:
40374037
4038− bar
4039− : definition
4040− foo
4041− : definition
4038+ bar
4039+ : definition
4040+ foo
4041+ : definition
40424042
40434043 Is this a single list item with two definitions of "bar," the first of
40444044 which is lazily wrapped, or two list items? To remove the ambiguity
@@ -4440,7 +4440,7 @@ with the `src` attribute. For example:
44404440
44414441 <audio controls="1">
44424442 <source src="http://example.com/music/toccata.mp3"
4443− data-external="1" type="audio/mpeg">
4443+ data-external="1" type="audio/mpeg">
44444444 </source>
44454445 </audio>
44464446
README.md+1−1
@@ -83,7 +83,7 @@ man](http://man7.org/linux/man-pages/man7/groff_man.7.html), [groff
8383ms](http://man7.org/linux/man-pages/man7/groff_ms.7.html), [Emacs Org
8484mode](http://orgmode.org),
8585[AsciiDoc](http://www.methods.co.nz/asciidoc/), [InDesign
86−ICML](https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf),
86+ICML](http://wwwimages.adobe.com/www.adobe.com/content/dam/acom/en/devnet/indesign/sdk/cs6/idml/idml-cookbook.pdf),
8787[TEI Simple](https://github.com/TEIC/TEI-Simple),
8888[Muse](https://amusewiki.org/library/manual),
8989[PowerPoint](https://en.wikipedia.org/wiki/Microsoft_PowerPoint) slide
man/pandoc.1+179−95
@@ -1,5 +1,5 @@
11.\"t
2−.TH PANDOC 1 "January 7, 2018" "pandoc 2.1.1"
2+.TH PANDOC 1 "January 18, 2018" "pandoc 2.1.1"
33.SH NAME
44pandoc - general markup converter
55.SH SYNOPSIS
@@ -307,16 +307,28 @@ If this option is not specified, the default user data directory will be
307307used.
308308This is, in UNIX:
309309.RS
310−.PP
310+.IP
311+.nf
312+\f[C]
311313$HOME/.pandoc
314+\f[]
315+.fi
312316.PP
313317in Windows XP:
314−.PP
315−C:And SettingsData
318+.IP
319+.nf
320+\f[C]
321+C:\\Documents\ And\ Settings\\USERNAME\\Application\ Data\\pandoc
322+\f[]
323+.fi
316324.PP
317325and in Windows Vista or later:
318−.PP
319−C:
326+.IP
327+.nf
328+\f[C]
329+C:\\Users\\USERNAME\\AppData\\Roaming\\pandoc
330+\f[]
331+.fi
320332.PP
321333You can find the default user data directory on your system by looking
322334at the output of \f[C]pandoc\ \-\-version\f[].
@@ -331,8 +343,12 @@ Generate a bash completion script.
331343To enable bash completion with pandoc, add this to your
332344\f[C]\&.bashrc\f[]:
333345.RS
334−.PP
335−eval "$(pandoc \-\-bash\-completion)"
346+.IP
347+.nf
348+\f[C]
349+eval\ "$(pandoc\ \-\-bash\-completion)"
350+\f[]
351+.fi
336352.RE
337353.TP
338354.B \f[C]\-\-verbose\f[]
@@ -446,12 +462,20 @@ The name of the output format will be passed to the filter as the first
446462argument.
447463Hence,
448464.RS
449−.PP
450−pandoc \-\-filter ./caps.py \-t latex
465+.IP
466+.nf
467+\f[C]
468+pandoc\ \-\-filter\ ./caps.py\ \-t\ latex
469+\f[]
470+.fi
451471.PP
452472is equivalent to
453−.PP
454−pandoc \-t json | ./caps.py latex | pandoc \-f json \-t latex
473+.IP
474+.nf
475+\f[C]
476+pandoc\ \-t\ json\ |\ ./caps.py\ latex\ |\ pandoc\ \-f\ json\ \-t\ latex
477+\f[]
478+.fi
455479.PP
456480The latter form may be useful for debugging filters.
457481.PP
@@ -493,12 +517,20 @@ creation.
493517It is always loaded into the script\[aq]s lua environment.
494518.PP
495519The following is an example lua script for macro\-expansion:
496−.PP
497−function expand_hello_world(inline) if inline.c ==
498−\[aq]{{helloworld}}\[aq] then return pandoc.Emph{ pandoc.Str "Hello,
499−World" } else return inline end end
500−.PP
501−return {{Str = expand_hello_world}}
520+.IP
521+.nf
522+\f[C]
523+function\ expand_hello_world(inline)
524+\ \ if\ inline.c\ ==\ \[aq]{{helloworld}}\[aq]\ then
525+\ \ \ \ return\ pandoc.Emph{\ pandoc.Str\ "Hello,\ World"\ }
526+\ \ else
527+\ \ \ \ return\ inline
528+\ \ end
529+end
530+
531+return\ {{Str\ =\ expand_hello_world}}
532+\f[]
533+.fi
502534.RE
503535.TP
504536.B \f[C]\-M\f[] \f[I]KEY\f[][\f[C]=\f[]\f[I]VAL\f[]], \f[C]\-\-metadata=\f[]\f[I]KEY\f[][\f[C]:\f[]\f[I]VAL\f[]]
@@ -978,7 +1010,6 @@ for a file \f[C]reference.docx\f[] in the user data directory (see
9781010\f[C]\-\-data\-dir\f[]).
9791011If this is not found either, sensible defaults will be used.
9801012.RS
981−.RE
9821013.PP
9831014To produce a custom \f[C]reference.docx\f[], first get a copy of the
9841015default \f[C]reference.docx\f[]:
@@ -994,6 +1025,7 @@ Definition Term, Definition, Caption, Table Caption, Image Caption,
9941025Figure, Captioned Figure, TOC Heading; [character] Default Paragraph
9951026Font, Body Text Char, Verbatim Char, Footnote Reference, Hyperlink;
9961027[table] Table.
1028+.RE
9971029.TP
9981030.B ODT
9991031For best results, the reference ODT should be a modified version of an
@@ -1005,7 +1037,6 @@ for a file \f[C]reference.odt\f[] in the user data directory (see
10051037\f[C]\-\-data\-dir\f[]).
10061038If this is not found either, sensible defaults will be used.
10071039.RS
1008−.RE
10091040.PP
10101041To produce a custom \f[C]reference.odt\f[], first get a copy of the
10111042default \f[C]reference.odt\f[]:
@@ -1013,6 +1044,7 @@ default \f[C]reference.odt\f[]:
10131044Then open \f[C]custom\-reference.odt\f[] in LibreOffice, modify the
10141045styles as you wish, and save the file.
10151046.RE
1047+.RE
10161048.TP
10171049.B \f[C]\-\-epub\-cover\-image=\f[]\f[I]FILE\f[]
10181050Use the specified image as the EPUB cover.
@@ -1029,8 +1061,13 @@ Look in the specified XML file for metadata for the EPUB.
10291061The file should contain a series of Dublin Core elements.
10301062For example:
10311063.RS
1032−.PP
1033−Creative Commons es\-AR
1064+.IP
1065+.nf
1066+\f[C]
1067+\ <dc:rights>Creative\ Commons</dc:rights>
1068+\ <dc:language>es\-AR</dc:language>
1069+\f[]
1070+.fi
10341071.PP
10351072By default, pandoc will include the following metadata elements:
10361073\f[C]<dc:title>\f[] (from the document title), \f[C]<dc:creator>\f[]
@@ -1055,16 +1092,36 @@ being interpreted by the shell.
10551092To use the embedded fonts, you will need to add declarations like the
10561093following to your CSS (see \f[C]\-\-css\f[]):
10571094.RS
1058−.PP
1059−\@font\-face { font\-family: DejaVuSans; font\-style: normal;
1060−font\-weight: normal; src:url("DejaVuSans\-Regular.ttf"); } \@font\-face
1061−{ font\-family: DejaVuSans; font\-style: normal; font\-weight: bold;
1062−src:url("DejaVuSans\-Bold.ttf"); } \@font\-face { font\-family:
1063−DejaVuSans; font\-style: italic; font\-weight: normal;
1064−src:url("DejaVuSans\-Oblique.ttf"); } \@font\-face { font\-family:
1065−DejaVuSans; font\-style: italic; font\-weight: bold;
1066−src:url("DejaVuSans\-BoldOblique.ttf"); } body { font\-family:
1067−"DejaVuSans"; }
1095+.IP
1096+.nf
1097+\f[C]
1098+\@font\-face\ {
1099+font\-family:\ DejaVuSans;
1100+font\-style:\ normal;
1101+font\-weight:\ normal;
1102+src:url("DejaVuSans\-Regular.ttf");
1103+}
1104+\@font\-face\ {
1105+font\-family:\ DejaVuSans;
1106+font\-style:\ normal;
1107+font\-weight:\ bold;
1108+src:url("DejaVuSans\-Bold.ttf");
1109+}
1110+\@font\-face\ {
1111+font\-family:\ DejaVuSans;
1112+font\-style:\ italic;
1113+font\-weight:\ normal;
1114+src:url("DejaVuSans\-Oblique.ttf");
1115+}
1116+\@font\-face\ {
1117+font\-family:\ DejaVuSans;
1118+font\-style:\ italic;
1119+font\-weight:\ bold;
1120+src:url("DejaVuSans\-BoldOblique.ttf");
1121+}
1122+body\ {\ font\-family:\ "DejaVuSans";\ }
1123+\f[]
1124+.fi
10681125.RE
10691126.TP
10701127.B \f[C]\-\-epub\-chapter\-level=\f[]\f[I]NUMBER\f[]
@@ -1249,10 +1306,14 @@ The resulting HTML can then be processed by gladTeX to produce images of
12491306the typeset formulas and an HTML file with links to these images.
12501307So, the procedure is:
12511308.RS
1252−.PP
1253−pandoc \-s \-\-gladtex input.md \-o myfile.htex gladtex \-d
1254−myfile\-images myfile.htex # produces myfile.html and images in
1255−myfile\-images
1309+.IP
1310+.nf
1311+\f[C]
1312+pandoc\ \-s\ \-\-gladtex\ input.md\ \-o\ myfile.htex
1313+gladtex\ \-d\ myfile\-images\ myfile.htex
1314+#\ produces\ myfile.html\ and\ images\ in\ myfile\-images
1315+\f[]
1316+.fi
12561317.RE
12571318.TP
12581319.B \f[C]\-\-mimetex\f[][\f[C]=\f[]\f[I]URL\f[]]
@@ -1285,12 +1346,20 @@ Ignore command\-line arguments (for use in wrapper scripts).
12851346Regular pandoc options are not ignored.
12861347Thus, for example,
12871348.RS
1288−.PP
1289−pandoc \-\-ignore\-args \-o foo.html \-s foo.txt \-\- \-e latin1
1349+.IP
1350+.nf
1351+\f[C]
1352+pandoc\ \-\-ignore\-args\ \-o\ foo.html\ \-s\ foo.txt\ \-\-\ \-e\ latin1
1353+\f[]
1354+.fi
12901355.PP
12911356is equivalent to
1292−.PP
1293−pandoc \-o foo.html \-s
1357+.IP
1358+.nf
1359+\f[C]
1360+pandoc\ \-o\ foo.html\ \-s
1361+\f[]
1362+.fi
12941363.RE
12951364.SH TEMPLATES
12961365.PP
@@ -1344,13 +1413,18 @@ source and destination filenames, as given on the command line.
13441413files, or empty if input is from stdin.
13451414You can use the following snippet in your template to distinguish them:
13461415.RS
1347−.PP
1348−\f[I]i\f[]\f[I]f\f[](\f[I]s\f[]\f[I]o\f[]\f[I]u\f[]\f[I]r\f[]\f[I]c\f[]\f[I]e\f[]\f[I]f\f[]\f[I]i\f[]\f[I]l\f[]\f[I]e\f[])
1349−\f[I]f\f[]\f[I]o\f[]\f[I]r\f[](\f[I]s\f[]\f[I]o\f[]\f[I]u\f[]\f[I]r\f[]\f[I]c\f[]\f[I]e\f[]\f[I]f\f[]\f[I]i\f[]\f[I]l\f[]\f[I]e\f[])
1350−\f[I]s\f[]\f[I]o\f[]\f[I]u\f[]\f[I]r\f[]\f[I]c\f[]\f[I]e\f[]\f[I]f\f[]\f[I]i\f[]\f[I]l\f[]\f[I]e\f[]
1351−\f[I]e\f[]\f[I]n\f[]\f[I]d\f[]\f[I]f\f[]\f[I]o\f[]\f[I]r\f[]
1352−\f[I]e\f[]\f[I]l\f[]\f[I]s\f[]\f[I]e\f[] (stdin)
1353−\f[I]e\f[]\f[I]n\f[]\f[I]d\f[]\f[I]i\f[]\f[I]f\f[]
1416+.IP
1417+.nf
1418+\f[C]
1419+$if(sourcefile)$
1420+$for(sourcefile)$
1421+$sourcefile$
1422+$endfor$
1423+$else$
1424+(stdin)
1425+$endif$
1426+\f[]
1427+.fi
13541428.PP
13551429Similarly, \f[C]outputfile\f[] can be \f[C]\-\f[] if output goes to the
13561430terminal.
@@ -1362,6 +1436,16 @@ Included in PDF metadata through LaTeX and ConTeXt.
13621436These can be set through a pandoc title block, which allows for multiple
13631437authors, or through a YAML metadata block:
13641438.RS
1439+.IP
1440+.nf
1441+\f[C]
1442+\-\-\-
1443+author:
1444+\-\ Aristotle
1445+\-\ Peter\ Abelard
1446+\&...
1447+\f[]
1448+.fi
13651449.RE
13661450.TP
13671451.B \f[C]subtitle\f[]
@@ -2588,9 +2672,9 @@ For example,
25882672.IP
25892673.nf
25902674\f[C]
2591−if\ (a\ >\ 3)\ {
2592−\ \ moveShip(5\ *\ gravity,\ DOWN);
2593−}
2675+\ \ \ \ if\ (a\ >\ 3)\ {
2676+\ \ \ \ \ \ moveShip(5\ *\ gravity,\ DOWN);
2677+\ \ \ \ }
25942678\f[]
25952679.fi
25962680.PP
@@ -2647,7 +2731,7 @@ using this syntax:
26472731~~~~\ {#mycode\ .haskell\ .numberLines\ startFrom="100"}
26482732qsort\ []\ \ \ \ \ =\ []
26492733qsort\ (x:xs)\ =\ qsort\ (filter\ (<\ x)\ xs)\ ++\ [x]\ ++
2650−\ \ \ \ \ \ \ qsort\ (filter\ (>=\ x)\ xs)
2734+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ qsort\ (filter\ (>=\ x)\ xs)
26512735~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26522736\f[]
26532737.fi
@@ -2809,12 +2893,12 @@ marker.
28092893\f[C]
28102894\ \ *\ First\ paragraph.
28112895
2812−Continued.
2896+\ \ \ \ Continued.
28132897
28142898\ \ *\ Second\ paragraph.\ With\ a\ code\ block,\ which\ must\ be\ indented
2815−eight\ spaces:
2899+\ \ \ \ eight\ spaces:
28162900
2817−\ \ \ \ {\ code\ }
2901+\ \ \ \ \ \ \ \ {\ code\ }
28182902\f[]
28192903.fi
28202904.PP
@@ -2840,8 +2924,8 @@ character after the list marker of the containing list item.
28402924\f[C]
28412925*\ fruits
28422926\ \ +\ apples
2843−\-\ macintosh
2844−\-\ red\ delicious
2927+\ \ \ \ \-\ macintosh
2928+\ \ \ \ \-\ red\ delicious
28452929\ \ +\ pears
28462930\ \ +\ peaches
28472931*\ vegetables
@@ -2863,7 +2947,7 @@ item.
28632947+\ Another\ one;\ this\ looks
28642948bad\ but\ is\ legal.
28652949
2866−Second\ paragraph\ of\ second
2950+\ \ \ \ Second\ paragraph\ of\ second
28672951list\ item.
28682952\f[]
28692953.fi
@@ -2928,9 +3012,9 @@ numerals:
29283012\ 9)\ \ Ninth
2929301310)\ \ Tenth
2930301411)\ \ Eleventh
2931−\ \ \ i.\ subone
2932−\ \ ii.\ subtwo
2933−\ iii.\ subthree
3015+\ \ \ \ \ \ \ i.\ subone
3016+\ \ \ \ \ \ ii.\ subtwo
3017+\ \ \ \ \ iii.\ subthree
29343018\f[]
29353019.fi
29363020.PP
@@ -2972,9 +3056,9 @@ Term\ 2\ with\ *inline\ markup*
29723056
29733057:\ \ \ Definition\ 2
29743058
2975−\ \ \ \ {\ some\ code,\ part\ of\ Definition\ 2\ }
3059+\ \ \ \ \ \ \ \ {\ some\ code,\ part\ of\ Definition\ 2\ }
29763060
2977−Third\ paragraph\ of\ definition\ 2.
3061+\ \ \ \ Third\ paragraph\ of\ definition\ 2.
29783062\f[]
29793063.fi
29803064.PP
@@ -2998,7 +3082,7 @@ Term\ 1
29983082:\ \ \ Definition
29993083with\ lazy\ continuation.
30003084
3001−Second\ paragraph\ of\ the\ definition.
3085+\ \ \ \ Second\ paragraph\ of\ the\ definition.
30023086\f[]
30033087.fi
30043088.PP
@@ -3076,9 +3160,9 @@ Consider this source:
30763160\f[C]
30773161+\ \ \ First
30783162+\ \ \ Second:
3079−\-\ \ \ Fee
3080−\-\ \ \ Fie
3081−\-\ \ \ Foe
3163+\ \ \ \ \-\ \ \ Fee
3164+\ \ \ \ \-\ \ \ Fie
3165+\ \ \ \ \-\ \ \ Foe
30823166
30833167+\ \ \ Third
30843168\f[]
@@ -3107,7 +3191,7 @@ What if you want to put an indented code block after a list?
31073191\-\ \ \ item\ one
31083192\-\ \ \ item\ two
31093193
3110−{\ my\ code\ block\ }
3194+\ \ \ \ {\ my\ code\ block\ }
31113195\f[]
31123196.fi
31133197.PP
@@ -3126,7 +3210,7 @@ any format:
31263210
31273211<!\-\-\ end\ of\ list\ \-\->
31283212
3129−{\ my\ code\ block\ }
3213+\ \ \ \ {\ my\ code\ block\ }
31303214\f[]
31313215.fi
31323216.PP
@@ -3181,9 +3265,9 @@ Simple tables look like this:
31813265\f[C]
31823266\ \ Right\ \ \ \ \ Left\ \ \ \ \ Center\ \ \ \ \ Default
31833267\-\-\-\-\-\-\-\ \ \ \ \ \-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\ \ \ \-\-\-\-\-\-\-
3184−\ 12\ \ \ \ \ 12\ \ \ \ \ \ \ \ 12\ \ \ \ \ \ \ \ \ \ \ \ 12
3185−123\ \ \ \ \ 123\ \ \ \ \ \ \ 123\ \ \ \ \ \ \ \ \ \ 123
3186−\ \ 1\ \ \ \ \ 1\ \ \ \ \ \ \ \ \ \ 1\ \ \ \ \ \ \ \ \ \ \ \ \ 1
3268+\ \ \ \ \ 12\ \ \ \ \ 12\ \ \ \ \ \ \ \ 12\ \ \ \ \ \ \ \ \ \ \ \ 12
3269+\ \ \ \ 123\ \ \ \ \ 123\ \ \ \ \ \ \ 123\ \ \ \ \ \ \ \ \ \ 123
3270+\ \ \ \ \ \ 1\ \ \ \ \ 1\ \ \ \ \ \ \ \ \ \ 1\ \ \ \ \ \ \ \ \ \ \ \ \ 1
31873271
31883272Table:\ \ Demonstration\ of\ simple\ table\ syntax.
31893273\f[]
@@ -3215,9 +3299,9 @@ For example:
32153299.nf
32163300\f[C]
32173301\-\-\-\-\-\-\-\ \ \ \ \ \-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\ \ \ \-\-\-\-\-\-\-
3218−\ 12\ \ \ \ \ 12\ \ \ \ \ \ \ \ 12\ \ \ \ \ \ \ \ \ \ \ \ \ 12
3219−123\ \ \ \ \ 123\ \ \ \ \ \ \ 123\ \ \ \ \ \ \ \ \ \ \ 123
3220−\ \ 1\ \ \ \ \ 1\ \ \ \ \ \ \ \ \ \ 1\ \ \ \ \ \ \ \ \ \ \ \ \ \ 1
3302+\ \ \ \ \ 12\ \ \ \ \ 12\ \ \ \ \ \ \ \ 12\ \ \ \ \ \ \ \ \ \ \ \ \ 12
3303+\ \ \ \ 123\ \ \ \ \ 123\ \ \ \ \ \ \ 123\ \ \ \ \ \ \ \ \ \ \ 123
3304+\ \ \ \ \ \ 1\ \ \ \ \ 1\ \ \ \ \ \ \ \ \ \ 1\ \ \ \ \ \ \ \ \ \ \ \ \ \ 1
32213305\-\-\-\-\-\-\-\ \ \ \ \ \-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\ \ \ \-\-\-\-\-\-\-
32223306\f[]
32233307.fi
@@ -3240,11 +3324,11 @@ Here is an example:
32403324\ \ Header\ \ \ \ Aligned\ \ \ \ \ \ \ \ \ Aligned\ Aligned
32413325\-\-\-\-\-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
32423326\ \ \ First\ \ \ \ row\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 12.0\ Example\ of\ a\ row\ that
3243−\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ spans\ multiple\ lines.
3327+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ spans\ multiple\ lines.
32443328
32453329\ \ Second\ \ \ \ row\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 5.0\ Here\[aq]s\ another\ one.\ Note
3246−\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ the\ blank\ line\ between
3247−\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ rows.
3330+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ the\ blank\ line\ between
3331+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ rows.
32483332\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
32493333
32503334Table:\ Here\[aq]s\ the\ caption.\ It,\ too,\ may\ span
@@ -3273,11 +3357,11 @@ Headers may be omitted in multiline tables as well as simple tables:
32733357\f[C]
32743358\-\-\-\-\-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
32753359\ \ \ First\ \ \ \ row\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 12.0\ Example\ of\ a\ row\ that
3276−\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ spans\ multiple\ lines.
3360+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ spans\ multiple\ lines.
32773361
32783362\ \ Second\ \ \ \ row\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 5.0\ Here\[aq]s\ another\ one.\ Note
3279−\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ the\ blank\ line\ between
3280−\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ rows.
3363+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ the\ blank\ line\ between
3364+\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ rows.
32813365\-\-\-\-\-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
32823366
32833367:\ Here\[aq]s\ a\ multiline\ table\ without\ headers.
@@ -4431,14 +4515,14 @@ Here\ is\ a\ footnote\ reference,[^1]\ and\ another.[^longnote]
44314515
44324516[^longnote]:\ Here\[aq]s\ one\ with\ multiple\ blocks.
44334517
4434−Subsequent\ paragraphs\ are\ indented\ to\ show\ that\ they
4518+\ \ \ \ Subsequent\ paragraphs\ are\ indented\ to\ show\ that\ they
44354519belong\ to\ the\ previous\ footnote.
44364520
4437−\ \ \ \ {\ some.code\ }
4521+\ \ \ \ \ \ \ \ {\ some.code\ }
44384522
4439−The\ whole\ paragraph\ can\ be\ indented,\ or\ just\ the\ first
4440−line.\ \ In\ this\ way,\ multi\-paragraph\ footnotes\ work\ like
4441−multi\-paragraph\ list\ items.
4523+\ \ \ \ The\ whole\ paragraph\ can\ be\ indented,\ or\ just\ the\ first
4524+\ \ \ \ line.\ \ In\ this\ way,\ multi\-paragraph\ footnotes\ work\ like
4525+\ \ \ \ multi\-paragraph\ list\ items.
44424526
44434527This\ paragraph\ won\[aq]t\ be\ part\ of\ the\ note,\ because\ it
44444528isn\[aq]t\ indented.
@@ -4617,16 +4701,16 @@ references:
46174701\ \ id:\ WatsonCrick1953
46184702\ \ author:
46194703\ \ \-\ family:\ Watson
4620−given:\ J.\ D.
4704+\ \ \ \ given:\ J.\ D.
46214705\ \ \-\ family:\ Crick
4622−given:\ F.\ H.\ C.
4706+\ \ \ \ given:\ F.\ H.\ C.
46234707\ \ issued:
4624−date\-parts:
4625−\-\ \-\ 1953
4626−\ \ \-\ 4
4627−\ \ \-\ 25
4708+\ \ \ \ date\-parts:
4709+\ \ \ \ \-\ \-\ 1953
4710+\ \ \ \ \ \ \-\ 4
4711+\ \ \ \ \ \ \-\ 25
46284712\ \ title:\ \[aq]Molecular\ structure\ of\ nucleic\ acids:\ a\ structure\ for\ deoxyribose
4629−nucleic\ acid\[aq]
4713+\ \ \ \ nucleic\ acid\[aq]
46304714\ \ title\-short:\ Molecular\ structure\ of\ nucleic\ acids
46314715\ \ container\-title:\ Nature
46324716\ \ volume:\ 171
@@ -4856,7 +4940,7 @@ Title:\ \ \ My\ title
48564940Author:\ \ John\ Doe
48574941Date:\ \ \ \ September\ 1,\ 2008
48584942Comment:\ This\ is\ a\ sample\ mmd\ title\ block,\ with
4859−\ \ \ \ \ a\ field\ spanning\ multiple\ lines.
4943+\ \ \ \ \ \ \ \ \ a\ field\ spanning\ multiple\ lines.
48604944\f[]
48614945.fi
48624946.PP
@@ -4892,7 +4976,7 @@ extension.
48924976This\ is\ a\ reference\ ![image][ref]\ with\ multimarkdown\ attributes.
48934977
48944978[ref]:\ http://path.to/image\ "Image\ title"\ width=20px\ height=30px
4895−\ \ \ id=myId\ class="myClass1\ myClass2"
4979+\ \ \ \ \ \ \ id=myId\ class="myClass1\ myClass2"
48964980\f[]
48974981.fi
48984982.SS Extension: \f[C]mmd_header_identifiers\f[]
@@ -5425,7 +5509,7 @@ For example:
54255509\f[C]
54265510<audio\ controls="1">
54275511\ \ <source\ src="http://example.com/music/toccata.mp3"
5428−\ \ \ \ \ \ data\-external="1"\ type="audio/mpeg">
5512+\ \ \ \ \ \ \ \ \ \ data\-external="1"\ type="audio/mpeg">
54295513\ \ </source>
54305514</audio>
54315515\f[]