diff options
author | Norbert Preining <norbert@preining.info> | 2022-11-01 03:01:47 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-11-01 03:01:47 +0000 |
commit | 7ad25021e74ea26e33d705fbb402d29aabaf6314 (patch) | |
tree | 56c2d0c14fba2ebe57cb45ad1a2eff04f901378d /macros/generic/markdown/examples | |
parent | c7892fe1a11367872de6f3ee0fa074b39824e59c (diff) |
CTAN sync 202211010301
Diffstat (limited to 'macros/generic/markdown/examples')
-rw-r--r-- | macros/generic/markdown/examples/README.md | 7 | ||||
-rw-r--r-- | macros/generic/markdown/examples/context-mkii.pdf | bin | 0 -> 213638 bytes | |||
-rw-r--r-- | macros/generic/markdown/examples/context-mkii.tex | 19 | ||||
-rw-r--r-- | macros/generic/markdown/examples/context-mkiv.pdf | bin | 0 -> 57852 bytes | |||
-rw-r--r-- | macros/generic/markdown/examples/context-mkiv.tex | 19 | ||||
-rw-r--r-- | macros/generic/markdown/examples/example.md | 22 | ||||
-rw-r--r-- | macros/generic/markdown/examples/latex-luatex.pdf | bin | 0 -> 89912 bytes | |||
-rw-r--r-- | macros/generic/markdown/examples/latex-pdftex.pdf | bin | 0 -> 334207 bytes | |||
-rw-r--r-- | macros/generic/markdown/examples/latex-tex4ht.css | 219 | ||||
-rw-r--r-- | macros/generic/markdown/examples/latex-tex4ht.html | 452 | ||||
-rw-r--r-- | macros/generic/markdown/examples/latex-xetex.pdf | bin | 0 -> 61861 bytes | |||
-rw-r--r-- | macros/generic/markdown/examples/latex.tex | 21 |
12 files changed, 723 insertions, 36 deletions
diff --git a/macros/generic/markdown/examples/README.md b/macros/generic/markdown/examples/README.md new file mode 100644 index 0000000000..0d32d16ec4 --- /dev/null +++ b/macros/generic/markdown/examples/README.md @@ -0,0 +1,7 @@ +This directory contains example LaTeX and ConTeXt documents. These documents +can be typeset by running the GNU `make` program in this directory. It is +expected that your TeX installation contains the `pdflatex`, `xelatex`, +`lualatex`, `texexec`, and `context` executables. + +The `markdown.dtx` file in the root directory contains documentation in the +markdown language and can also serve as an example LaTeX document. diff --git a/macros/generic/markdown/examples/context-mkii.pdf b/macros/generic/markdown/examples/context-mkii.pdf Binary files differnew file mode 100644 index 0000000000..2f2f8e11cf --- /dev/null +++ b/macros/generic/markdown/examples/context-mkii.pdf diff --git a/macros/generic/markdown/examples/context-mkii.tex b/macros/generic/markdown/examples/context-mkii.tex index 77809fa16b..b2c48ac00a 100644 --- a/macros/generic/markdown/examples/context-mkii.tex +++ b/macros/generic/markdown/examples/context-mkii.tex @@ -9,21 +9,22 @@ % Set options of the Markdown module. \setupmarkdown [ - hashEnumerators = yes, + contentBlocks = yes, debugExtensions = yes, definitionLists = yes, - smartEllipses = yes, - footnotes = yes, - inlineFootnotes = yes, + fancy_lists = yes, fencedCode = yes, - contentBlocks = yes, + hashEnumerators = yes, + inlineNotes = yes, + notes = yes, pipeTables = yes, + rawAttribute = yes, + smartEllipses = yes, + strikethrough = yes, + subscripts = yes, + superscripts = yes, tableCaptions = yes, taskLists = yes, - strikeThrough = yes, - superscripts = yes, - subscripts = yes, - fancyLists = yes, ] % Set renderers of the Markdown module. diff --git a/macros/generic/markdown/examples/context-mkiv.pdf b/macros/generic/markdown/examples/context-mkiv.pdf Binary files differnew file mode 100644 index 0000000000..51246ff4a7 --- /dev/null +++ b/macros/generic/markdown/examples/context-mkiv.pdf diff --git a/macros/generic/markdown/examples/context-mkiv.tex b/macros/generic/markdown/examples/context-mkiv.tex index 8849e7bd66..b91ab03d99 100644 --- a/macros/generic/markdown/examples/context-mkiv.tex +++ b/macros/generic/markdown/examples/context-mkiv.tex @@ -9,21 +9,22 @@ % Set options of the Markdown module. \setupmarkdown [ - hashEnumerators = yes, + contentBlocks = yes, debugExtensions = yes, definitionLists = yes, - smartEllipses = yes, - footnotes = yes, - inlineFootnotes = yes, + fancy_lists = yes, fencedCode = yes, - contentBlocks = yes, + hashEnumerators = yes, + inlineNotes = yes, + notes = yes, pipeTables = yes, + rawAttribute = yes, + smartEllipses = yes, + strikethrough = yes, + subscripts = yes, + superscripts = yes, tableCaptions = yes, taskLists = yes, - strikeThrough = yes, - superscripts = yes, - subscripts = yes, - fancyLists = yes, ] % Set renderers of the Markdown module. diff --git a/macros/generic/markdown/examples/example.md b/macros/generic/markdown/examples/example.md index 24ca2c6362..f697bcff57 100644 --- a/macros/generic/markdown/examples/example.md +++ b/macros/generic/markdown/examples/example.md @@ -10,7 +10,7 @@ ###### This is an H6 -This is a text paragraph containing an ellipsis ... and followed by a horizontal rule. +This is a text paragraph containing an ellipsis ... and followed by a thematic break. *** @@ -148,20 +148,26 @@ This is a block quote: > > Back to the first level. -Here is a footnote reference[^1] and another.[^longnote] +Here is a note reference[^1] and another.[^longnote] Here is an inline note.^[Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note.] - -[^1]: Here is the footnote. + +[^1]: Here is the note. [^longnote]: Here's one with multiple blocks. - + Subsequent paragraphs are indented to show that they -belong to the previous footnote. - +belong to the previous note. + Some code The whole paragraph can be indented, or just the first - line. In this way, multi-paragraph footnotes work like + line. In this way, multi-paragraph notes work like multi-paragraph list items. + +This is raw `\TeX`{=tex} code: + +``` {=tex} +$$ x^n + y^n = z^n $$ +``` diff --git a/macros/generic/markdown/examples/latex-luatex.pdf b/macros/generic/markdown/examples/latex-luatex.pdf Binary files differnew file mode 100644 index 0000000000..7777fae525 --- /dev/null +++ b/macros/generic/markdown/examples/latex-luatex.pdf diff --git a/macros/generic/markdown/examples/latex-pdftex.pdf b/macros/generic/markdown/examples/latex-pdftex.pdf Binary files differnew file mode 100644 index 0000000000..10024e87b2 --- /dev/null +++ b/macros/generic/markdown/examples/latex-pdftex.pdf diff --git a/macros/generic/markdown/examples/latex-tex4ht.css b/macros/generic/markdown/examples/latex-tex4ht.css new file mode 100644 index 0000000000..1a76a03921 --- /dev/null +++ b/macros/generic/markdown/examples/latex-tex4ht.css @@ -0,0 +1,219 @@ + +/* start css.sty */ +.ec-lmr-17{font-size:170%;} +.ec-lmri-12x-x-144{font-size:172%; font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmri-12x-x-144{ font-style:italic;} +.ec-lmr-12{font-size:120%;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmtt-10{ font-family: monospace,monospace;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmbx-10{ font-weight: bold;} +.ec-lmr-9{font-size:90%;} +.ec-lmr-8{font-size:80%;} +.ec-lmtt-8{font-size:80%; font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmtt-8{ font-family: monospace,monospace;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.ec-lmri-10{ font-style:italic;} +.lmmi-7{font-size:70%;} +p{margin-top:0;margin-bottom:0} +p.indent{text-indent:0;} +p + p{margin-top:1em;} +p + div, p + pre {margin-top:1em;} +div + p, pre + p {margin-top:1em;} +a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; hyphens: auto; } +@media print {div.crosslinks {visibility:hidden;}} +table.tabular{border-collapse: collapse; border-spacing: 0;} +a img { border-top: 0; border-left: 0; border-right: 0; } +center { margin-top:1em; margin-bottom:1em; } +td center { margin-top:0em; margin-bottom:0em; } +.Canvas { position:relative; } +img.math{vertical-align:middle;} +div.par-math-display, div.math-display{text-align:center;} +li p.indent { text-indent: 0em } +li p:first-child{ margin-top:0em; } +li p:last-child, li div:last-child { margin-bottom:0.5em; } +li p:first-child{ margin-bottom:0; } +li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; } +.enumerate1 {list-style-type:decimal;} +.enumerate2 {list-style-type:lower-alpha;} +.enumerate3 {list-style-type:lower-roman;} +.enumerate4 {list-style-type:upper-alpha;} +div.newtheorem { margin-bottom: 2em; margin-top: 2em;} +div.newtheorem .head{font-weight: bold;} +.obeylines-h,.obeylines-v {white-space: nowrap; } +div.obeylines-v p { margin-top:0; margin-bottom:0; } +.overline{ text-decoration:overline; } +.overline img{ border-top: 1px solid black; } +td.displaylines {text-align:center; white-space:nowrap;} +.centerline {text-align:center;} +.rightline {text-align:right;} +pre.verbatim {font-family: monospace,monospace; text-align:left; clear:both; } +.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } +div.fbox {display:table} +div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } +div.minipage{width:100%;} +div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;} +div.center div {text-align: left;} +div.flushright, div.flushright div.flushright {text-align: right;} +div.flushright div {text-align: left;} +div.flushleft {text-align: left;} +.underline{ text-decoration:underline; } +.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; } +.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } +.framebox-c {text-align:center;} +.framebox-l {text-align:left;} +.framebox-r {text-align:right;} +span.thank-mark{ vertical-align: super } +span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; } +div.footnotes{border-top:solid 1px black; border-bottom:solid 1px black; padding-bottom:1ex; padding-top:0.5ex; margin-right:15%; margin-top:2ex; font-style:italic; font-size:85%;} +div.footnotes p{margin-top:0; margin-bottom:0; text-indent:0;} +div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; } +table.tabular td p{margin-top:0em;} +table.tabular {margin-left: auto; margin-right: auto;} +td p:first-child{ margin-top:0em; } +td p:last-child{ margin-bottom:0em; } +div.td00{ margin-left:0pt; margin-right:0pt; } +div.td01{ margin-left:0pt; margin-right:5pt; } +div.td10{ margin-left:5pt; margin-right:0pt; } +div.td11{ margin-left:5pt; margin-right:5pt; } +table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } +td.td00{ padding-left:0pt; padding-right:0pt; } +td.td01{ padding-left:0pt; padding-right:5pt; } +td.td10{ padding-left:5pt; padding-right:0pt; } +td.td11{ padding-left:5pt; padding-right:5pt; } +table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} +.hline {border-top: 1px solid black;} +.tabbing-right {text-align:right;} +div.float, div.figure {margin-left: auto; margin-right: auto;} +div.float img {text-align:center;} +div.figure img {text-align:center;} +.marginpar,.reversemarginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;} +.marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;} +.reversemarginpar{float:left;} +table.equation {width:100%;} +.equation td{text-align:center; } +td.equation { margin-top:1em; margin-bottom:1em; } +td.equation-label { width:5%; text-align:center; } +td.eqnarray4 { width:5%; white-space: normal; } +td.eqnarray2 { width:5%; } +table.eqnarray-star, table.eqnarray {width:100%;} +div.eqnarray{text-align:center;} +div.array {text-align:center;} +div.pmatrix {text-align:center;} +table.pmatrix {width:100%;} +span.pmatrix img{vertical-align:middle;} +div.pmatrix {text-align:center;} +table.pmatrix {width:100%;} +span.bar-css {text-decoration:overline;} +img.cdots{vertical-align:middle;} +.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;} +.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc, .appendixToc a, .appendixToc {line-height: 200%; font-weight:bold;} +.index-item, .index-subitem, .index-subsubitem {display:block} +div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:left;} +div.caption span.id{font-weight: bold; white-space: nowrap; } +h1.partHead{text-align: center} +p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; } +p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; } +.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;} +.subparagraphHead, .likesubparagraphHead { font-weight: bold;} +.verse{white-space:nowrap; margin-left:2em} +div.maketitle {text-align:center;} +h2.titleHead{text-align:center;} +div.maketitle{ margin-bottom: 2em; } +div.author, div.date {text-align:center;} +div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } +h1.partHead{text-align: center} + .chapterToc, .likechapterToc {margin-left:0em;} + .chapterToc ~ .likesectionToc, .chapterToc ~ .sectionToc, .likechapterToc ~ .likesectionToc, .likechapterToc ~ .sectionToc {margin-left:2em;} + .chapterToc ~ .likesectionToc ~ .likesubsectionToc, .chapterToc ~ .likesectionToc ~ .subsectionToc, .chapterToc ~ .sectionToc ~ .likesubsectionToc, .chapterToc ~ .sectionToc ~ .subsectionToc, .likechapterToc ~ .likesectionToc ~ .likesubsectionToc, .likechapterToc ~ .likesectionToc ~ .subsectionToc, .likechapterToc ~ .sectionToc ~ .likesubsectionToc, .likechapterToc ~ .sectionToc ~ .subsectionToc {margin-left:4em;} +.chapterToc ~ .likesectionToc ~ .likesubsectionToc ~ .likesubsubsectionToc, .chapterToc ~ .likesectionToc ~ .likesubsectionToc ~ .subsubsectionToc, .chapterToc ~ .likesectionToc ~ .subsectionToc ~ .likesubsubsectionToc, .chapterToc ~ .likesectionToc ~ .subsectionToc ~ .subsubsectionToc, .chapterToc ~ .sectionToc ~ .likesubsectionToc ~ .likesubsubsectionToc, .chapterToc ~ .sectionToc ~ .likesubsectionToc ~ .subsubsectionToc, .chapterToc ~ .sectionToc ~ .subsectionToc ~ .likesubsubsectionToc, .chapterToc ~ .sectionToc ~ .subsectionToc ~ .subsubsectionToc, .likechapterToc ~ .likesectionToc ~ .likesubsectionToc ~ .likesubsubsectionToc, .likechapterToc ~ .likesectionToc ~ .likesubsectionToc ~ .subsubsectionToc, .likechapterToc ~ .likesectionToc ~ .subsectionToc ~ .likesubsubsectionToc, .likechapterToc ~ .likesectionToc ~ .subsectionToc ~ .subsubsectionToc, .likechapterToc ~ .sectionToc ~ .likesubsectionToc ~ .likesubsubsectionToc, .likechapterToc ~ .sectionToc ~ .likesubsectionToc ~ .subsubsectionToc, .likechapterToc ~ .sectionToc ~ .subsectionToc ~ .likesubsubsectionToc .likechapterToc ~ .sectionToc ~ .subsectionToc ~ .subsubsectionToc {margin-left:6em;} + .likesectionToc , .sectionToc {margin-left:0em;} + .likesectionToc ~ .likesubsectionToc, .likesectionToc ~ .subsectionToc, .sectionToc ~ .likesubsectionToc, .sectionToc ~ .subsectionToc {margin-left:2em;} +.likesectionToc ~ .likesubsectionToc ~ .likesubsubsectionToc, .likesectionToc ~ .likesubsectionToc ~ .subsubsectionToc, .likesectionToc ~ .subsectionToc ~ .likesubsubsectionToc, .likesectionToc ~ .subsectionToc ~ .subsubsectionToc, .sectionToc ~ .likesubsectionToc ~ .likesubsubsectionToc, .sectionToc ~ .likesubsectionToc ~ .subsubsectionToc, .sectionToc ~ .subsectionToc ~ .likesubsubsectionToc, .sectionToc ~ .subsectionToc ~ .subsubsectionToc {margin-left:4em;} + .likesubsectionToc, .subsectionToc {margin-left:0em;} + .likesubsectionToc ~ .subsubsectionToc, .subsectionToc ~ .subsubsectionToc {margin-left:2em;} +figure.float, div.figure {margin-left: auto; margin-right: auto;} +figure.figure {text-align:center;} +figcaption.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:center;} +figcaption.caption span.id{font-weight: bold; white-space: nowrap; } +p + figcaption, img + figcaption{margin-top: 1em;} +dt.enumerate{float:left; clear:left; margin-right:0.2em; margin-left:2em;} +dt.compactenum{float:left; clear:left; margin-right:0.2em; margin-left:2em;} +.equation td{text-align:center; } +.equation-star td{text-align:center; } +table.equation-star { width:100%; } +table.equation { width:100%; } +table.align, table.alignat, table.xalignat, table.xxalignat, table.flalign {width:95%; margin-left:5%; white-space: nowrap;} +table.align-star, table.alignat-star, table.xalignat-star, table.flalign-star {margin-left:auto; margin-right:auto; white-space: nowrap;} +td.align-label { width:5%; text-align:center; } +td.align-odd { text-align:right; padding-right:0.3em;} +td.align-even { text-align:left; padding-right:0.6em;} +table.multline, table.multline-star {width:100%;} +td.gather {text-align:center; } +table.gather {width:100%;} +div.gather-star {text-align:center;} +pre.fancyvrb {white-space: pre-wrap; margin:0em;font-family:monospace,monospace;} +.rotatebox{display: inline-block;} +span.textso{letter-spacing: 0.3em; word-spacing: 0.3em} +span.textul{text-decoration:underline} +span.textst{text-decoration:line-through} +span.textcaps{font-variant:small-caps} +#TBL-2-1{border-left: 1px solid black;} +#TBL-2-1{border-right:1px solid black;} +#TBL-2-2{border-right:1px solid black;} +#TBL-2-3{border-right:1px solid black;} +tr#TBL-3-1- {border-top:0.11197em solid #000;} +tr#TBL-3-1- {border-bottom:0.06998em solid #000} +tr#TBL-3-4- {border-bottom:0.11197em solid #000} +#TBL-4-1{border-left: 1px solid black;} +#TBL-4-1{border-right:1px solid black;} +#TBL-4-2{border-right:1px solid black;} +#TBL-4-3{border-right:1px solid black;} +tr#TBL-5-1- {border-top:0.11197em solid #000;} +tr#TBL-5-1- {border-bottom:0.06998em solid #000} +tr#TBL-5-4- {border-bottom:0.11197em solid #000} +/* end css.sty */ + diff --git a/macros/generic/markdown/examples/latex-tex4ht.html b/macros/generic/markdown/examples/latex-tex4ht.html new file mode 100644 index 0000000000..225e65c8f7 --- /dev/null +++ b/macros/generic/markdown/examples/latex-tex4ht.html @@ -0,0 +1,452 @@ +<div class='maketitle'> + + + + +<h2 class='titleHead'>An Example Markdown Document</h2> +<div class='author'><span class='ec-lmr-12'>Vít Novotný</span></div><br /> +<div class='date'><span class='ec-lmr-12'>October 30, 2022</span></div> + + </div><!DOCTYPE html> +<html lang='en' xml:lang='en'> +<head><title>An Example Markdown Document</title> +<meta charset='utf-8' /> +<meta content='TeX4ht (https://tug.org/tex4ht/)' name='generator' /> +<meta content='width=device-width,initial-scale=1' name='viewport' /> +<link href='latex-tex4ht.css' rel='stylesheet' type='text/css' /> +<meta content='latex-tex4ht.tex' name='src' /> +</head><body> + + <h2 class='chapterHead' id='this-is-an-h'><span class='titlemark'>Chapter 1</span><br /><a id='x1-10001'></a>This is an H1</h2> + <h3 class='sectionHead' id='this-is-an-h1'><span class='titlemark'>1.1 </span> <a id='x1-20001.1'></a>This is an H2</h3> +<!-- l. 4 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='this-is-an-h2'><span class='titlemark'>1.1.1 </span> <a id='x1-30001.1.1'></a>This is an H3</h4> +<!-- l. 5 --><p class='noindent'> +</p> + <h5 class='subsubsectionHead' id='this-is-an-h3'><a id='x1-4000'></a>This is an H4</h5> +<!-- l. 6 --><p class='noindent'><span class='paragraphHead' id='this-is-an-h4'><a id='x1-5000'></a><span class='ec-lmbx-10'>This is an H5</span></span> +</p> +<!-- l. 7 --><p class='indent'> <span class='subparagraphHead' id='this-is-an-h5'> <a id='x1-6000'></a><span class='ec-lmbx-10'>This is an H6</span></span> + This is a text paragraph containing an ellipsis … and followed by a thematic +break. +</p><!-- l. 9 --><p class='noindent'>__________________________________________________________________ +</p><!-- l. 10 --><p class='indent'> This is inline <span class='ec-lmtt-10'>code</span>. This is a link<span class='footnote-mark'><a href='#fn1x2' id='fn1x2-bk'><sup class='textsuperscript'>1</sup></a></span><a id='x1-6001f1'></a>. +<span class='ec-lmri-10'>This is an </span>emphasized <span class='ec-lmri-10'>span of text</span>. <span class='ec-lmbx-10'>This is a </span>strongly emphasized <span class='ec-lmbx-10'>span of +</span><span class='ec-lmbx-10'>text</span>. +</p> + <figure class='figure' id='-an-example-image-from-martin-scharrers-mwe-package'> + + +<a id='x1-60021'></a> + +<div class='center'> +<!-- l. 11 --><p class='noindent'> +</p><!-- l. 11 --><p class='noindent'><img alt='PIC' src='example-image.png' /></p></div> +<figcaption class='caption'><span class='id'>Figure 1.1: </span><span class='content'>An example image from Martin Scharrer’s mwe package</span></figcaption><!-- tex4ht:label?: x1-60021 --> + + </figure> + <div class='table'> + +<!-- l. 12 --><p class='indent' id='-the-great-minds-of-the-th-century-rendered-via-a-content-block'> <a id='x1-60031'></a></p><figure class='float'> + +<div class='center'> +<!-- l. 12 --><p class='noindent'> +</p> +<div class='tabular'> <table class='tabular' id='TBL-2'><colgroup id='TBL-2-1g'><col id='TBL-2-1' /></colgroup><colgroup id='TBL-2-2g'><col id='TBL-2-2' /></colgroup><colgroup id='TBL-2-3g'><col id='TBL-2-3' /></colgroup><tr class='hline'><td></td><td></td><td></td></tr><tr id='TBL-2-1-' style='vertical-align:baseline;'><td class='td11' id='TBL-2-1-1' style='white-space:nowrap; text-align:left;'>Name </td><td class='td11' id='TBL-2-1-2' style='white-space:nowrap; text-align:left;'>Surname</td><td class='td11' id='TBL-2-1-3' style='white-space:nowrap; text-align:left;'>Born</td></tr><tr class='hline'><td></td><td></td><td></td></tr><tr id='TBL-2-2-' style='vertical-align:baseline;'><td class='td11' id='TBL-2-2-1' style='white-space:nowrap; text-align:left;'>Albert </td><td class='td11' id='TBL-2-2-2' style='white-space:nowrap; text-align:left;'>Einstein </td><td class='td11' id='TBL-2-2-3' style='white-space:nowrap; text-align:left;'>1879</td> +</tr><tr id='TBL-2-3-' style='vertical-align:baseline;'><td class='td11' id='TBL-2-3-1' style='white-space:nowrap; text-align:left;'>Marie </td><td class='td11' id='TBL-2-3-2' style='white-space:nowrap; text-align:left;'>Curie </td><td class='td11' id='TBL-2-3-3' style='white-space:nowrap; text-align:left;'>1867</td> +</tr><tr id='TBL-2-4-' style='vertical-align:baseline;'><td class='td11' id='TBL-2-4-1' style='white-space:nowrap; text-align:left;'>Thomas</td><td class='td11' id='TBL-2-4-2' style='white-space:nowrap; text-align:left;'>Edison </td><td class='td11' id='TBL-2-4-3' style='white-space:nowrap; text-align:left;'>1847</td> +</tr><tr class='hline'><td></td><td></td><td></td></tr></table> </div></div> +<figcaption class='caption'><span class='id'>Table 1.1: </span><span class='content'>The great minds of the 19th century rendered via a content block</span></figcaption><!-- tex4ht:label?: x1-60031 --> + + </figure> + </div> +<!-- l. 13 --><p class='indent'> This is a fenced code block: +</p> + <pre class='fancyvrb' id='fancyvrb1'> +<a id='x1-6005r1'></a><span class='ec-lmtt-10'>\documentclass{article}</span> + +<a id='x1-6007r2'></a><span class='ec-lmtt-10'>\begin{document}</span> + +<a id='x1-6009r3'></a><span class='ec-lmtt-10'> Hello world!</span> + +<a id='x1-6011r4'></a><span class='ec-lmtt-10'>\end{document}</span> + </pre> +<!-- l. 15 --><p class='indent'> This is a table: +</p> + <div class='table'> + +<!-- l. 16 --><p class='indent' id='-demonstration-of-pipe-table-syntax'> <a id='x1-60122'></a></p><figure class='float'> + +<div class='tabular'> + <table class='tabular' id='TBL-3'><colgroup id='TBL-3-1g'><col id='TBL-3-1' /><col id='TBL-3-2' /><col id='TBL-3-3' /><col id='TBL-3-4' /></colgroup><tr id='TBL-3-1-' style='vertical-align:baseline;'><td class='td11' id='TBL-3-1-1' style='white-space:nowrap; text-align:right;'>Right</td><td class='td11' id='TBL-3-1-2' style='white-space:nowrap; text-align:left;'>Left</td><td class='td11' id='TBL-3-1-3' style='white-space:nowrap; text-align:left;'>Default</td><td class='td11' id='TBL-3-1-4' style='white-space:nowrap; text-align:center;'>Center</td> +</tr><tr id='TBL-3-2-' style='vertical-align:baseline;'><td class='td11' id='TBL-3-2-1' style='white-space:nowrap; text-align:right;'> 12</td><td class='td11' id='TBL-3-2-2' style='white-space:nowrap; text-align:left;'>12 </td><td class='td11' id='TBL-3-2-3' style='white-space:nowrap; text-align:left;'>12 </td><td class='td11' id='TBL-3-2-4' style='white-space:nowrap; text-align:center;'> 12 </td> +</tr><tr id='TBL-3-3-' style='vertical-align:baseline;'><td class='td11' id='TBL-3-3-1' style='white-space:nowrap; text-align:right;'> 123</td><td class='td11' id='TBL-3-3-2' style='white-space:nowrap; text-align:left;'>123 </td><td class='td11' id='TBL-3-3-3' style='white-space:nowrap; text-align:left;'>123 </td><td class='td11' id='TBL-3-3-4' style='white-space:nowrap; text-align:center;'> 123 </td> +</tr><tr id='TBL-3-4-' style='vertical-align:baseline;'><td class='td11' id='TBL-3-4-1' style='white-space:nowrap; text-align:right;'> 1</td><td class='td11' id='TBL-3-4-2' style='white-space:nowrap; text-align:left;'>1 </td><td class='td11' id='TBL-3-4-3' style='white-space:nowrap; text-align:left;'>1 </td><td class='td11' id='TBL-3-4-4' style='white-space:nowrap; text-align:center;'> 1 </td> +</tr></table> </div> +<figcaption class='caption'><span class='id'>Table 1.2: </span><span class='content'>Demonstration of pipe table syntax.</span></figcaption><!-- tex4ht:label?: x1-60122 --> + + </figure> + </div> +<!-- l. 17 --><p class='indent'> This is a bullet list: + </p><ul> + <li class='compactitem'>The first item of a bullet list</li></ul> +<!-- l. 21 --><p class='indent'> that spans several paragraphs, +</p> + <ul class='itemize1'> + <li class='itemize'>the second item of a bullet list, + </li> + <li class='itemize'>the third item of a bullet list.</li></ul> +<!-- l. 26 --><p class='indent'> This is a compact bullet list: + </p><ul> + <li class='compactitem'>The first item of a bullet list, + </li> + <li class='compactitem'>the second item of a bullet list, + </li> + <li class='compactitem'>the third item of a bullet list.</li></ul> +<!-- l. 32 --><p class='indent'> This is an ordered list: + </p><dl class='compactenum'><dt class='compactenum'> +5. </dt><dd class='compactenum'>The first item of an ordered list</dd></dl> +<!-- l. 35 --><p class='indent'> that spans several paragraphs, + </p><dl class='enumerate'><dt class='enumerate'> +6. </dt><dd class='enumerate'>the second item of an ordered list, + </dd><dt class='enumerate'> +7. </dt><dd class='enumerate'>the third item of an ordered list.</dd></dl> +<!-- l. 39 --><p class='indent'> This is a fancy ordered list: + </p><dl class='compactenum'><dt class='compactenum'> +e) </dt><dd class='compactenum'>The first item of an ordered list</dd></dl> +<!-- l. 42 --><p class='indent'> that spans several paragraphs, + </p><dl class='enumerate'><dt class='enumerate'> + f) </dt><dd class='enumerate'>the second item of an ordered list, + </dd><dt class='enumerate'> +g) </dt><dd class='enumerate'>the third item of an ordered list.</dd></dl> +<!-- l. 46 --><p class='indent'> This is an ordered list using hash enumerators: + </p><dl class='compactenum'><dt class='compactenum'> +1. </dt><dd class='compactenum'>The first item of an ordered list</dd></dl> + +<!-- l. 49 --><p class='indent'> that spans several paragraphs, + </p><dl class='enumerate'><dt class='enumerate'> +1. </dt><dd class='enumerate'>the second item of an ordered list, + </dd><dt class='enumerate'> +2. </dt><dd class='enumerate'>the third item of an ordered list.</dd></dl> +<!-- l. 53 --><p class='indent'> This is a compact ordered list: + </p><dl class='compactenum'><dt class='compactenum'> +5. </dt><dd class='compactenum'>The first item of an ordered list, + </dd><dt class='compactenum'> +6. </dt><dd class='compactenum'>the second item of an ordered list, + </dd><dt class='compactenum'> +7. </dt><dd class='compactenum'>the third item of an ordered list.</dd></dl> +<!-- l. 58 --><p class='indent'> This is a compact ordered list using hash enumerators: + </p><dl class='compactenum'><dt class='compactenum'> +1. </dt><dd class='compactenum'>The first item of an ordered list, + </dd><dt class='compactenum'> +2. </dt><dd class='compactenum'>the second item of an ordered list, + </dd><dt class='compactenum'> +3. </dt><dd class='compactenum'>the third item of an ordered list.</dd></dl> +<!-- l. 63 --><p class='indent'> This is a compact fancy ordered list using hash enumerators: + </p><dl class='compactenum'><dt class='compactenum'> +1. </dt><dd class='compactenum'>The first item of an ordered list, + </dd><dt class='compactenum'> +2. </dt><dd class='compactenum'>the second item of an ordered list, + </dd><dt class='compactenum'> +3. </dt><dd class='compactenum'>the third item of an ordered list.</dd></dl> +<!-- l. 68 --><p class='indent'> This is a task list: + </p><ul> + <li class='compactitem'> Some unfinished task + </li> + <li class='compactitem'> Some half-finished task + </li> + <li class='compactitem'> Some finished task + </li> + <li class='compactitem'>An item of an unordered list + <dl class='compactenum'><dt class='compactenum'> + 1. </dt><dd class='compactenum'><span class='msam-10'>□ </span>Some unfinished subtask + </dd><dt class='compactenum'> + 2. </dt><dd class='compactenum'><span class='msam-10'>⊡ </span>Some half-finished subtask + </dd><dt class='compactenum'> + 3. </dt><dd class='compactenum'><span class='msam-10'>⊠ </span>Some finished subtask + </dd><dt class='compactenum'> + 4. </dt><dd class='compactenum'>An item of an ordered list</dd></dl> + </li></ul> + +<!-- l. 80 --><p class='indent'> This is a definition list: + </p><dl class='description'><dt class='description'> + <!-- l. 82 --><p class='noindent'> +<span class='ec-lmbx-10'>Term 1</span> </p></dt><dd class='description'> + <!-- l. 82 --><p class='noindent'>Definition 1 with some <span class='textst'>removed text</span> + </p></dd><dt class='description'> + <!-- l. 82 --><p class='noindent'> +<span class='ec-lmbx-10'>Term 2</span> </p></dt><dd class='description'> + <!-- l. 82 --><p class='noindent'>Definition 2 +</p> + <pre class='fancyvrb' id='fancyvrb2'> +<a id='x1-6014r1'></a><span class='ec-lmtt-10'>Some code, part of Definition 2</span> +</pre> + <!-- l. 84 --><p class='noindent'>Third paragraph of Definition 2. + </p><!-- l. 84 --><p class='noindent'>Definition 3 +</p> + </dd></dl> +<!-- l. 86 --><p class='indent'> This is a compact definition list: + </p><dl class='compactdesc'><dt class='compactdesc'> +<span class='ec-lmbx-10'>Term 1</span> </dt><dd class='compactdesc'>Definition 1 + </dd><dt class='compactdesc'> +<span class='ec-lmbx-10'>Term 2</span> </dt><dd class='compactdesc'>Definition 2 + <!-- l. 88 --><p class='noindent'>Definition 3 +</p> + </dd></dl> +<!-- l. 90 --><p class='indent'> This is a <sup class='textsuperscript'><span class='ec-lmr-9'>superscript</span></sup> and a <sub class='textsubscript'><span class='ec-lmr-9'>subscript</span></sub>. +</p><!-- l. 91 --><p class='indent'> This is a block quote: + </p><blockquote class='quotation'> + <!-- l. 93 --><p class='indent'> This is the first level of quoting. + </p><blockquote class='quotation'> + <!-- l. 95 --><p class='indent'> This is nested blockquote.</p></blockquote> + <!-- l. 97 --><p class='indent'> Back to the first level.</p></blockquote> + +<!-- l. 99 --><p class='indent'> Here is a note reference<span class='footnote-mark'><a href='#fn2x2' id='fn2x2-bk'><sup class='textsuperscript'>2</sup></a></span><a id='x1-6015f2'></a> +and another.<span class='footnote-mark'><a href='#fn3x2' id='fn3x2-bk'><sup class='textsuperscript'>3</sup></a></span><a id='x1-6016f3'></a> Here +is an inline note.<span class='footnote-mark'><a href='#fn4x2' id='fn4x2-bk'><sup class='textsuperscript'>4</sup></a></span><a id='x1-6019f4'></a> +</p><!-- l. 103 --><p class='indent'> This is raw TeX code: +</p><!-- l. 1 --><p class='indent'> +</p> + <div class='math-display'> +<img alt='xn + yn = zn +' class='math-display' src='latex-tex4ht0x.png' /></div> + +<!-- l. 2 --><p class='indent'> + +</p> + <h2 class='chapterHead' id='this-is-an-h6'><span class='titlemark'>Chapter 2</span><br /><a id='x1-70002'></a>This is an H1</h2> + <h3 class='sectionHead' id='this-is-an-h7'><span class='titlemark'>2.1 </span> <a id='x1-80002.1'></a>This is an H2</h3> +<!-- l. 4 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='this-is-an-h8'><span class='titlemark'>2.1.1 </span> <a id='x1-90002.1.1'></a>This is an H3</h4> +<!-- l. 5 --><p class='noindent'> +</p> + <h5 class='subsubsectionHead' id='this-is-an-h9'><a id='x1-10000'></a>This is an H4</h5> +<!-- l. 6 --><p class='noindent'><span class='paragraphHead' id='this-is-an-h10'><a id='x1-11000'></a><span class='ec-lmbx-10'>This is an H5</span></span> +</p> +<!-- l. 7 --><p class='indent'> <span class='subparagraphHead' id='this-is-an-h11'> <a id='x1-12000'></a><span class='ec-lmbx-10'>This is an H6</span></span> + This is a text paragraph containing an ellipsis … and followed by a thematic +break. +</p><!-- l. 9 --><p class='noindent'>__________________________________________________________________ +</p><!-- l. 10 --><p class='indent'> This is inline <span class='ec-lmtt-10'>code</span>. This is a link<span class='footnote-mark'><a href='#fn1x3' id='fn1x3-bk'><sup class='textsuperscript'>1</sup></a></span><a id='x1-12001f1'></a>. +<span class='ec-lmri-10'>This is an </span>emphasized <span class='ec-lmri-10'>span of text</span>. <span class='ec-lmbx-10'>This is a </span>strongly emphasized <span class='ec-lmbx-10'>span of +</span><span class='ec-lmbx-10'>text</span>. +</p> + <figure class='figure' id='-an-example-image-from-martin-scharrers-mwe-package1'> + + +<a id='x1-120021'></a> + +<div class='center'> +<!-- l. 11 --><p class='noindent'> +</p><!-- l. 11 --><p class='noindent'><img alt='PIC' src='example-image.png' /></p></div> +<figcaption class='caption'><span class='id'>Figure 2.1: </span><span class='content'>An example image from Martin Scharrer’s mwe package</span></figcaption><!-- tex4ht:label?: x1-120021 --> + + </figure> + <div class='table'> + +<!-- l. 12 --><p class='indent' id='-the-great-minds-of-the-th-century-rendered-via-a-content-block1'> <a id='x1-120031'></a></p><figure class='float'> + +<div class='center'> +<!-- l. 12 --><p class='noindent'> +</p> +<div class='tabular'> <table class='tabular' id='TBL-4'><colgroup id='TBL-4-1g'><col id='TBL-4-1' /></colgroup><colgroup id='TBL-4-2g'><col id='TBL-4-2' /></colgroup><colgroup id='TBL-4-3g'><col id='TBL-4-3' /></colgroup><tr class='hline'><td></td><td></td><td></td></tr><tr id='TBL-4-1-' style='vertical-align:baseline;'><td class='td11' id='TBL-4-1-1' style='white-space:nowrap; text-align:left;'>Name </td><td class='td11' id='TBL-4-1-2' style='white-space:nowrap; text-align:left;'>Surname</td><td class='td11' id='TBL-4-1-3' style='white-space:nowrap; text-align:left;'>Born</td></tr><tr class='hline'><td></td><td></td><td></td></tr><tr id='TBL-4-2-' style='vertical-align:baseline;'><td class='td11' id='TBL-4-2-1' style='white-space:nowrap; text-align:left;'>Albert </td><td class='td11' id='TBL-4-2-2' style='white-space:nowrap; text-align:left;'>Einstein </td><td class='td11' id='TBL-4-2-3' style='white-space:nowrap; text-align:left;'>1879</td> +</tr><tr id='TBL-4-3-' style='vertical-align:baseline;'><td class='td11' id='TBL-4-3-1' style='white-space:nowrap; text-align:left;'>Marie </td><td class='td11' id='TBL-4-3-2' style='white-space:nowrap; text-align:left;'>Curie </td><td class='td11' id='TBL-4-3-3' style='white-space:nowrap; text-align:left;'>1867</td> +</tr><tr id='TBL-4-4-' style='vertical-align:baseline;'><td class='td11' id='TBL-4-4-1' style='white-space:nowrap; text-align:left;'>Thomas</td><td class='td11' id='TBL-4-4-2' style='white-space:nowrap; text-align:left;'>Edison </td><td class='td11' id='TBL-4-4-3' style='white-space:nowrap; text-align:left;'>1847</td> +</tr><tr class='hline'><td></td><td></td><td></td></tr></table> </div></div> +<figcaption class='caption'><span class='id'>Table 2.1: </span><span class='content'>The great minds of the 19th century rendered via a content block</span></figcaption><!-- tex4ht:label?: x1-120031 --> + + </figure> + </div> +<!-- l. 13 --><p class='indent'> This is a fenced code block: +</p> + <pre class='fancyvrb' id='fancyvrb4'> +<a id='x1-12005r1'></a><span class='ec-lmtt-10'>\documentclass{article}</span> + +<a id='x1-12007r2'></a><span class='ec-lmtt-10'>\begin{document}</span> + +<a id='x1-12009r3'></a><span class='ec-lmtt-10'> Hello world!</span> + +<a id='x1-12011r4'></a><span class='ec-lmtt-10'>\end{document}</span> + </pre> +<!-- l. 15 --><p class='indent'> This is a table: +</p> + <div class='table'> + +<!-- l. 16 --><p class='indent' id='-demonstration-of-pipe-table-syntax1'> <a id='x1-120122'></a></p><figure class='float'> + +<div class='tabular'> + <table class='tabular' id='TBL-5'><colgroup id='TBL-5-1g'><col id='TBL-5-1' /><col id='TBL-5-2' /><col id='TBL-5-3' /><col id='TBL-5-4' /></colgroup><tr id='TBL-5-1-' style='vertical-align:baseline;'><td class='td11' id='TBL-5-1-1' style='white-space:nowrap; text-align:right;'>Right</td><td class='td11' id='TBL-5-1-2' style='white-space:nowrap; text-align:left;'>Left</td><td class='td11' id='TBL-5-1-3' style='white-space:nowrap; text-align:left;'>Default</td><td class='td11' id='TBL-5-1-4' style='white-space:nowrap; text-align:center;'>Center</td> +</tr><tr id='TBL-5-2-' style='vertical-align:baseline;'><td class='td11' id='TBL-5-2-1' style='white-space:nowrap; text-align:right;'> 12</td><td class='td11' id='TBL-5-2-2' style='white-space:nowrap; text-align:left;'>12 </td><td class='td11' id='TBL-5-2-3' style='white-space:nowrap; text-align:left;'>12 </td><td class='td11' id='TBL-5-2-4' style='white-space:nowrap; text-align:center;'> 12 </td> +</tr><tr id='TBL-5-3-' style='vertical-align:baseline;'><td class='td11' id='TBL-5-3-1' style='white-space:nowrap; text-align:right;'> 123</td><td class='td11' id='TBL-5-3-2' style='white-space:nowrap; text-align:left;'>123 </td><td class='td11' id='TBL-5-3-3' style='white-space:nowrap; text-align:left;'>123 </td><td class='td11' id='TBL-5-3-4' style='white-space:nowrap; text-align:center;'> 123 </td> +</tr><tr id='TBL-5-4-' style='vertical-align:baseline;'><td class='td11' id='TBL-5-4-1' style='white-space:nowrap; text-align:right;'> 1</td><td class='td11' id='TBL-5-4-2' style='white-space:nowrap; text-align:left;'>1 </td><td class='td11' id='TBL-5-4-3' style='white-space:nowrap; text-align:left;'>1 </td><td class='td11' id='TBL-5-4-4' style='white-space:nowrap; text-align:center;'> 1 </td> +</tr></table> </div> +<figcaption class='caption'><span class='id'>Table 2.2: </span><span class='content'>Demonstration of pipe table syntax.</span></figcaption><!-- tex4ht:label?: x1-120122 --> + + </figure> + </div> +<!-- l. 17 --><p class='indent'> This is a bullet list: + </p><ul> + <li class='compactitem'>The first item of a bullet list</li></ul> +<!-- l. 21 --><p class='indent'> that spans several paragraphs, +</p> + <ul class='itemize1'> + <li class='itemize'>the second item of a bullet list, + </li> + <li class='itemize'>the third item of a bullet list.</li></ul> +<!-- l. 26 --><p class='indent'> This is a compact bullet list: + </p><ul> + <li class='compactitem'>The first item of a bullet list, + </li> + <li class='compactitem'>the second item of a bullet list, + </li> + <li class='compactitem'>the third item of a bullet list.</li></ul> +<!-- l. 32 --><p class='indent'> This is an ordered list: + </p><dl class='compactenum'><dt class='compactenum'> +5. </dt><dd class='compactenum'>The first item of an ordered list</dd></dl> +<!-- l. 35 --><p class='indent'> that spans several paragraphs, + </p><dl class='enumerate'><dt class='enumerate'> +6. </dt><dd class='enumerate'>the second item of an ordered list, + </dd><dt class='enumerate'> +7. </dt><dd class='enumerate'>the third item of an ordered list.</dd></dl> +<!-- l. 39 --><p class='indent'> This is a fancy ordered list: + </p><dl class='compactenum'><dt class='compactenum'> +e) </dt><dd class='compactenum'>The first item of an ordered list</dd></dl> +<!-- l. 42 --><p class='indent'> that spans several paragraphs, + </p><dl class='enumerate'><dt class='enumerate'> + f) </dt><dd class='enumerate'>the second item of an ordered list, + </dd><dt class='enumerate'> +g) </dt><dd class='enumerate'>the third item of an ordered list.</dd></dl> +<!-- l. 46 --><p class='indent'> This is an ordered list using hash enumerators: + </p><dl class='compactenum'><dt class='compactenum'> +1. </dt><dd class='compactenum'>The first item of an ordered list</dd></dl> + +<!-- l. 49 --><p class='indent'> that spans several paragraphs, + </p><dl class='enumerate'><dt class='enumerate'> +1. </dt><dd class='enumerate'>the second item of an ordered list, + </dd><dt class='enumerate'> +2. </dt><dd class='enumerate'>the third item of an ordered list.</dd></dl> +<!-- l. 53 --><p class='indent'> This is a compact ordered list: + </p><dl class='compactenum'><dt class='compactenum'> +5. </dt><dd class='compactenum'>The first item of an ordered list, + </dd><dt class='compactenum'> +6. </dt><dd class='compactenum'>the second item of an ordered list, + </dd><dt class='compactenum'> +7. </dt><dd class='compactenum'>the third item of an ordered list.</dd></dl> +<!-- l. 58 --><p class='indent'> This is a compact ordered list using hash enumerators: + </p><dl class='compactenum'><dt class='compactenum'> +1. </dt><dd class='compactenum'>The first item of an ordered list, + </dd><dt class='compactenum'> +2. </dt><dd class='compactenum'>the second item of an ordered list, + </dd><dt class='compactenum'> +3. </dt><dd class='compactenum'>the third item of an ordered list.</dd></dl> +<!-- l. 63 --><p class='indent'> This is a compact fancy ordered list using hash enumerators: + </p><dl class='compactenum'><dt class='compactenum'> +1. </dt><dd class='compactenum'>The first item of an ordered list, + </dd><dt class='compactenum'> +2. </dt><dd class='compactenum'>the second item of an ordered list, + </dd><dt class='compactenum'> +3. </dt><dd class='compactenum'>the third item of an ordered list.</dd></dl> +<!-- l. 68 --><p class='indent'> This is a task list: + </p><ul> + <li class='compactitem'> Some unfinished task + </li> + <li class='compactitem'> Some half-finished task + </li> + <li class='compactitem'> Some finished task + </li> + <li class='compactitem'>An item of an unordered list + <dl class='compactenum'><dt class='compactenum'> + 1. </dt><dd class='compactenum'><span class='msam-10'>□ </span>Some unfinished subtask + </dd><dt class='compactenum'> + 2. </dt><dd class='compactenum'><span class='msam-10'>⊡ </span>Some half-finished subtask + </dd><dt class='compactenum'> + 3. </dt><dd class='compactenum'><span class='msam-10'>⊠ </span>Some finished subtask + </dd><dt class='compactenum'> + 4. </dt><dd class='compactenum'>An item of an ordered list</dd></dl> + </li></ul> + +<!-- l. 80 --><p class='indent'> This is a definition list: + </p><dl class='description'><dt class='description'> + <!-- l. 82 --><p class='noindent'> +<span class='ec-lmbx-10'>Term 1</span> </p></dt><dd class='description'> + <!-- l. 82 --><p class='noindent'>Definition 1 with some <span class='textst'>removed text</span> + </p></dd><dt class='description'> + <!-- l. 82 --><p class='noindent'> +<span class='ec-lmbx-10'>Term 2</span> </p></dt><dd class='description'> + <!-- l. 82 --><p class='noindent'>Definition 2 +</p> + <pre class='fancyvrb' id='fancyvrb5'> +<a id='x1-12014r1'></a><span class='ec-lmtt-10'>Some code, part of Definition 2</span> +</pre> + <!-- l. 84 --><p class='noindent'>Third paragraph of Definition 2. + </p><!-- l. 84 --><p class='noindent'>Definition 3 +</p> + </dd></dl> +<!-- l. 86 --><p class='indent'> This is a compact definition list: + </p><dl class='compactdesc'><dt class='compactdesc'> +<span class='ec-lmbx-10'>Term 1</span> </dt><dd class='compactdesc'>Definition 1 + </dd><dt class='compactdesc'> +<span class='ec-lmbx-10'>Term 2</span> </dt><dd class='compactdesc'>Definition 2 + <!-- l. 88 --><p class='noindent'>Definition 3 +</p> + </dd></dl> +<!-- l. 90 --><p class='indent'> This is a <sup class='textsuperscript'><span class='ec-lmr-9'>superscript</span></sup> and a <sub class='textsubscript'><span class='ec-lmr-9'>subscript</span></sub>. +</p><!-- l. 91 --><p class='indent'> This is a block quote: + </p><blockquote class='quotation'> + <!-- l. 93 --><p class='indent'> This is the first level of quoting. + </p><blockquote class='quotation'> + <!-- l. 95 --><p class='indent'> This is nested blockquote.</p></blockquote> + <!-- l. 97 --><p class='indent'> Back to the first level.</p></blockquote> + +<!-- l. 99 --><p class='indent'> Here is a note reference<span class='footnote-mark'><a href='#fn2x3' id='fn2x3-bk'><sup class='textsuperscript'>2</sup></a></span><a id='x1-12015f2'></a> +and another.<span class='footnote-mark'><a href='#fn3x3' id='fn3x3-bk'><sup class='textsuperscript'>3</sup></a></span><a id='x1-12016f3'></a> Here +is an inline note.<span class='footnote-mark'><a href='#fn4x3' id='fn4x3-bk'><sup class='textsuperscript'>4</sup></a></span><a id='x1-12019f4'></a> +</p><!-- l. 103 --><p class='indent'> This is raw TeX code: +</p><!-- l. 1 --><p class='indent'> +</p> + <div class='math-display'> +<img alt='xn + yn = zn +' class='math-display' src='latex-tex4ht1x.png' /></div> +<!-- l. 2 --><p class='indent'> Here are some non-ASCII characters: <span class='ec-lmri-10'>ěščřžýáíé</span>. +</p><!-- l. 2 --><p class='indent'> Here is some <b>HTML code</b> mixed <span class='ec-lmri-10'>with Markdown</span>. In TeX, the HTML code will be +silently ignored, whereas in TeX4ht, the HTML code will be passed through to the +output: +</p><table border='1'> + <tr> + <td>Emil</td> + <td>Tobias</td> + <td>Linus</td> + </tr> + <tr> + <td>16</td> + <td>14</td> + <td>10</td> + </tr> +</table> + <div class='footnotes'><!-- l. 10 --><p class='indent'> <span class='footnote-mark'><a href='#fn1x2-bk' id='fn1x2'><sup class='textsuperscript'>1</sup></a></span><span class='ec-lmr-8'>Google: </span><a class='url' href='http://google.cz'><span class='ec-lmtt-8'>http://google.cz</span></a></p> +<!-- l. 99 --><p class='indent'> <span class='footnote-mark'><a href='#fn2x2-bk' id='fn2x2'><sup class='textsuperscript'>2</sup></a></span><span class='ec-lmr-8'>Here is the note.</span></p><!-- l. 102 --><p class='indent'> <span class='footnote-mark'><a href='#fn3x2-bk' id='fn3x2'><sup class='textsuperscript'>3</sup></a></span><span class='ec-lmr-8'>Here’s one with multiple blocks.</span> +</p><!-- l. 102 --><p class='indent'> <span class='ec-lmr-8'>Subsequent paragraphs are indented to show that they belong to the previous note.</span> +</p> + <pre class='fancyvrb' id='fancyvrb3'> +<a id='x1-6018r1'></a><span class='ec-lmtt-8'>Some code</span> + </pre> +<!-- l. 102 --><p class='indent'> <span class='ec-lmr-8'>The whole paragraph can be indented, or just the first line. In this way, multi-paragraph notes +</span><span class='ec-lmr-8'>work like multi-paragraph list items.</span></p> +<!-- l. 102 --><p class='indent'> <span class='footnote-mark'><a href='#fn4x2-bk' id='fn4x2'><sup class='textsuperscript'>4</sup></a></span><span class='ec-lmr-8'>Inlines notes are easier to write, since you don’t have to pick an identifier and move down to +</span><span class='ec-lmr-8'>type the note.</span></p> +<!-- l. 10 --><p class='indent'> <span class='footnote-mark'><a href='#fn1x3-bk' id='fn1x3'><sup class='textsuperscript'>1</sup></a></span><span class='ec-lmr-8'>Google: </span><a class='url' href='http://google.cz'><span class='ec-lmtt-8'>http://google.cz</span></a></p> +<!-- l. 99 --><p class='indent'> <span class='footnote-mark'><a href='#fn2x3-bk' id='fn2x3'><sup class='textsuperscript'>2</sup></a></span><span class='ec-lmr-8'>Here is the note.</span></p><!-- l. 102 --><p class='indent'> <span class='footnote-mark'><a href='#fn3x3-bk' id='fn3x3'><sup class='textsuperscript'>3</sup></a></span><span class='ec-lmr-8'>Here’s one with multiple blocks.</span> +</p><!-- l. 102 --><p class='indent'> <span class='ec-lmr-8'>Subsequent paragraphs are indented to show that they belong to the previous note.</span> +</p> + <pre class='fancyvrb' id='fancyvrb6'> +<a id='x1-12018r1'></a><span class='ec-lmtt-8'>Some code</span> + </pre> +<!-- l. 102 --><p class='indent'> <span class='ec-lmr-8'>The whole paragraph can be indented, or just the first line. In this way, multi-paragraph notes +</span><span class='ec-lmr-8'>work like multi-paragraph list items.</span></p> +<!-- l. 102 --><p class='indent'> <span class='footnote-mark'><a href='#fn4x3-bk' id='fn4x3'><sup class='textsuperscript'>4</sup></a></span><span class='ec-lmr-8'>Inlines notes are easier to write, since you don’t have to pick an identifier and move down to +</span><span class='ec-lmr-8'>type the note.</span></p> </div> + +</body> +</html>
\ No newline at end of file diff --git a/macros/generic/markdown/examples/latex-xetex.pdf b/macros/generic/markdown/examples/latex-xetex.pdf Binary files differnew file mode 100644 index 0000000000..cfbebde5e3 --- /dev/null +++ b/macros/generic/markdown/examples/latex-xetex.pdf diff --git a/macros/generic/markdown/examples/latex.tex b/macros/generic/markdown/examples/latex.tex index 2403caf1e9..c14bc4bd47 100644 --- a/macros/generic/markdown/examples/latex.tex +++ b/macros/generic/markdown/examples/latex.tex @@ -16,22 +16,23 @@ \fi\fi \usepackage{booktabs} \usepackage[ - hashEnumerators, + contentBlocks, debugExtensions, definitionLists, - footnotes, - inlineFootnotes, - jekyllData, - smartEllipses, + fancy_lists, fencedCode, - contentBlocks, + hashEnumerators, + inlineNotes, + jekyllData, + notes, pipeTables, - tableCaptions, - taskLists, + rawAttribute, + smartEllipses, strikeThrough, - superscripts, subscripts, - fancyLists, + superscripts, + tableCaptions, + taskLists, ]{markdown} \begin{markdown*}{hybrid} --- |