git.iko.soy/typeable/pandoc
on 8ef7aa1 help sign in
cabal.project+1−1
since splitsnapshots
unifiedsplit
@@ -10,4 +10,4 @@ source-repository-package
10source-repository-package
10source-repository-package
11 type: git
11 type: git
12 location: https://github.com/jgm/citeproc
12 location: https://github.com/jgm/citeproc
13− tag: 4ce0501cd6f9c86eee087afcf878c256e49b9615
13+ tag: 85277c4baa6c0350baf29247583ae0f438f7c9c5
data/templates/default.latex+29−29
@@ -36,6 +36,35 @@ $for(classoption)$
36 $classoption$$sep$,
36 $classoption$$sep$,
37$endfor$
37$endfor$
38]{$documentclass$}
38]{$documentclass$}
39+$if(title)$
40+\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
41+$endif$
42+$if(subtitle)$
43+$if(beamer)$
44+$else$
45+\usepackage{etoolbox}
46+\makeatletter
47+\providecommand{\subtitle}[1]{% add subtitle to \maketitle
48+ \apptocmd{\@title}{\par {\large #1 \par}}{}{}
49+}
50+\makeatother
51+$endif$
52+\subtitle{$subtitle$}
53+$endif$
54+\author{$for(author)$$author$$sep$ \and $endfor$}
55+\date{$date$}
56+$if(beamer)$
57+$if(institute)$
58+\institute{$for(institute)$$institute$$sep$ \and $endfor$}
59+$endif$
60+$if(titlegraphic)$
61+\titlegraphic{\includegraphics{$titlegraphic$}}
62+$endif$
63+$if(logo)$
64+\logo{\includegraphics{$logo$}}
65+$endif$
66+$endif$
67+
39$if(beamer)$
68$if(beamer)$
40$if(background-image)$
69$if(background-image)$
41\usebackgroundtemplate{%
70\usebackgroundtemplate{%
@@ -423,35 +452,6 @@ $if(csquotes)$
423\usepackage{csquotes}
452\usepackage{csquotes}
424$endif$
453$endif$
425
454
426−$if(title)$
427−\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
428−$endif$
429−$if(subtitle)$
430−$if(beamer)$
431−$else$
432−\usepackage{etoolbox}
433−\makeatletter
434−\providecommand{\subtitle}[1]{% add subtitle to \maketitle
435− \apptocmd{\@title}{\par {\large #1 \par}}{}{}
436−}
437−\makeatother
438−$endif$
439−\subtitle{$subtitle$}
440−$endif$
441−\author{$for(author)$$author$$sep$ \and $endfor$}
442−\date{$date$}
443−$if(beamer)$
444−$if(institute)$
445−\institute{$for(institute)$$institute$$sep$ \and $endfor$}
446−$endif$
447−$if(titlegraphic)$
448−\titlegraphic{\includegraphics{$titlegraphic$}}
449−$endif$
450−$if(logo)$
451−\logo{\includegraphics{$logo$}}
452−$endif$
453−$endif$
454−
455\begin{document}
455\begin{document}
456$if(has-frontmatter)$
456$if(has-frontmatter)$
457\frontmatter
457\frontmatter
data/templates/styles.html+1−2
@@ -14,7 +14,7 @@ body {
14 padding-top: $if(margin-top)$$margin-top$$else$50px$endif$;
14 padding-top: $if(margin-top)$$margin-top$$else$50px$endif$;
15 padding-bottom: $if(margin-bottom)$$margin-bottom$$else$50px$endif$;
15 padding-bottom: $if(margin-bottom)$$margin-bottom$$else$50px$endif$;
16 hyphens: auto;
16 hyphens: auto;
17− overflow-wrap: break-word;
17+ word-wrap: break-word;
18 text-rendering: optimizeLegibility;
18 text-rendering: optimizeLegibility;
19 font-kerning: normal;
19 font-kerning: normal;
20}
20}
@@ -93,7 +93,6 @@ $endif$
93pre code {
93pre code {
94 padding: 0;
94 padding: 0;
95 overflow: visible;
95 overflow: visible;
96− overflow-wrap: normal;
97}
96}
98.sourceCode {
97.sourceCode {
99 background-color: transparent;
98 background-color: transparent;
doc/faqs.mddeleted−128
@@ -1,128 +0,0 @@
1−% FAQs
2−
3−::: faqs
4−
5−## How can I convert a whole directory of files from Markdown to RTF?
6−
7−On linux or OSX:
8−
9− for f in *.txt; do pandoc "$f" -s -o "${f%.txt}.rtf"; done
10−
11−
12−In Windows Powershell:
13−
14− gci -r -i *.txt |foreach{$rtf=$_.directoryname+"\"+$_.basename+".rtf";pandoc -f markdown -s $_.name -o $rtf}
15−
16−## I used pandoc to convert a document to ICML (or OPML or RTF), and when I try to open it I'm told it's invalid. What have I done wrong?
17−
18−Be sure to use the `-s` or `--standalone` flag, or you just get a
19−fragment, not a full document with the required header:
20−
21− pandoc -s -f markdown -t icml -o my.icml my.md
22−
23−## I get a blank document when I try to convert a markdown document in Chinese to PDF.
24−
25−By default, pandoc uses pdflatex to generate the PDF, and pdflatex
26−doesn't handle Chinese characters. But you can change the default to
27−use xelatex instead. You should also make sure you're using a font
28−with Chinese glyphs. For example:
29−
30− pandoc -o c.pdf --pdf-engine=xelatex -V mainfont='Adobe Ming Std'
31−
32−## The Windows installer does a single user install, rather than installing pandoc for all users. How can I install pandoc for all users?
33−
34−Run the following command as admin:
35−
36− msiexec /i pandoc-VERSION.msi ALLUSERS=1
37−
38−This will put pandoc in `C:\Program Files\Pandoc`.
39−You can install Pandoc to a different directory by setting APPLICATIONFOLDER parameter,
40−for example:
41−
42− msiexec /i pandoc-1.11.1.msi ALLUSERS=1 APPLICATIONFOLDER="C:\Pandoc"
43−
44−## How do I change the margins in PDF output?
45−
46−The option
47−
48− -V geometry:margin=1in
49−
50−will set the margins to one inch on each side. If you don't want uniform
51−margins, you can do something like
52−
53− -V geometry:"top=2cm, bottom=1.5cm, left=1cm, right=1cm"
54−
55−Or
56−
57− -V geometry:"left=3cm, width=10cm"
58−
59−For more options, see the documentation for the LaTeX [geometry
60−package](https://www.ctan.org/pkg/geometry).
61−
62−## How does pandoc compare to multimarkdown?
63−
64−Here is a [wiki
65−page](https://github.com/jgm/pandoc/wiki/Pandoc-vs-Multimarkdown)
66−comparing the two.
67−
68−## When I specify an image width of 50% and convert to LaTeX, pandoc sets the height to textheight and the aspect ratio isn't preserved. How can I prevent this?
69−
70−For example, if you convert an image with `{width="50%"}`, the LaTeX produced
71−will be `\includegraphics[width=0.5\textwidth,height=\textheight]`.
72−
73−This output presupposes the following code in pandoc's default latex
74−template:
75−
76−```
77−% Scale images if necessary, so that they will not overflow the page
78−% margins by default, and it is still possible to overwrite the defaults
79−% using explicit options in \includegraphics[width, height, ...]{}
80−\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
81−```
82−
83−If you don't have this in your custom template, you should
84−add it. If we didn't set the `height` explicitly in this way,
85−the image would not be resized correctly unless it was
86−being resized to smaller than its original size.
87−
88−## Pandoc sometimes uses too much memory. How can I limit the memory used by pandoc?
89−
90−`pandoc +RTS -M30m -RTS` will limit heap memory to 30MB.
91−When converting a document requires more than this, an out of
92−memory error will be issued.
93−
94−## When using `--include-in-header` with PDF or LaTeX output, how do I reference tex declarations coming after `$header-includes$` in the default template?
95−
96−For various reasons, the `$header-includes$` are not at the very
97−end of the LaTeX preamble. This poses a problem when the code
98−you are inserting depends on declarations in the preamble coming
99−after the `$header-includes$` location. For example, you might
100−want to reference the `\author` and `\title` metadata values
101−(set at the very bottom of the preamble) and present them in
102−margins. In that case you can wrap your code in `etoolbox`'s
103−`\AtEndPreamble`. The technique is demonstrated in [this
104−gist](https://gist.github.com/JohnLukeBentley/9dda6166b9ee5c4127afd2b8cd16b70a).
105−When using `\AtEndPreamble`, keep any `makeatletter` or
106−`makeatother` outside of the `\AtEndPreamble`, as shown in the
107−example.
108−
109−## How can I convert PDFs to other formats using pandoc?
110−
111−You can't. You can try opening the PDF in Word or Google Docs
112−and saving in a format from which pandoc can convert directly.
113−
114−## Do I really need to install a 1 GB TeX installation to produce a PDF using pandoc?
115−
116−No. You can get by with a relatively small TeX installation,
117−for example, by starting with MacTeX's Basic TeX distribution
118−and using the `tlmgr` tool to install a few packages required by pandoc
119−(see https://pandoc.org/MANUAL.html#creating-a-pdf).
120−
121−Or, you can produce PDFs via HTML and `wkhtmltopdf`,
122−or via groff ms and `pdfroff`. (These don't produce as nice
123−topography as TeX, particularly when it comes to math, but they
124−may be fine for many purposes.)
125−
126−
127−:::
128−
src/Text/Pandoc/Citeproc.hs+26−49
@@ -27,7 +27,7 @@ import Text.Pandoc.Error (PandocError(..))
27import Text.Pandoc.Extensions (pandocExtensions)
27import Text.Pandoc.Extensions (pandocExtensions)
28import Text.Pandoc.Logging (LogMessage(..))
28import Text.Pandoc.Logging (LogMessage(..))
29import Text.Pandoc.Options (ReaderOptions(..))
29import Text.Pandoc.Options (ReaderOptions(..))
30−import Text.Pandoc.Shared (stringify, ordNub, tshow)
30+import Text.Pandoc.Shared (stringify, ordNub, blocksToInlines, tshow)
31import qualified Text.Pandoc.UTF8 as UTF8
31import qualified Text.Pandoc.UTF8 as UTF8
32import Text.Pandoc.Walk (query, walk, walkM)
32import Text.Pandoc.Walk (query, walk, walkM)
33import Control.Applicative ((<|>))
33import Control.Applicative ((<|>))
@@ -49,7 +49,6 @@ import qualified Data.Text as T
49import System.FilePath (takeExtension)
49import System.FilePath (takeExtension)
50import Safe (lastMay, initSafe)
50import Safe (lastMay, initSafe)
51
51
52−
53processCitations :: PandocMonad m => Pandoc -> m Pandoc
52processCitations :: PandocMonad m => Pandoc -> m Pandoc
54processCitations (Pandoc meta bs) = do
53processCitations (Pandoc meta bs) = do
55 style <- getStyle (Pandoc meta bs)
54 style <- getStyle (Pandoc meta bs)
@@ -99,10 +98,8 @@ processCitations (Pandoc meta bs) = do
99 let metanocites = lookupMeta "nocite" meta
98 let metanocites = lookupMeta "nocite" meta
100 let Pandoc meta'' bs' =
99 let Pandoc meta'' bs' =
101 maybe id (setMeta "nocite") metanocites .
100 maybe id (setMeta "nocite") metanocites .
102− walk (mvPunct moveNotes locale) .
101+ walk (map capitalizeNoteCitation . mvPunct moveNotes locale) .
103− (if styleIsNoteStyle sopts
104− then walk addNote . walk deNote
102+ walk deNote .
105− else id) .
106 evalState (walkM insertResolvedCitations $ Pandoc meta' bs)
103 evalState (walkM insertResolvedCitations $ Pandoc meta' bs)
107 $ cits
104 $ cits
108 return $ Pandoc meta''
105 return $ Pandoc meta''
@@ -564,62 +561,42 @@ extractText (FancyVal x) = toText x
564extractText (NumVal n) = T.pack (show n)
561extractText (NumVal n) = T.pack (show n)
565extractText _ = mempty
562extractText _ = mempty
566
563
567−-- Here we take the Spans with class csl-note that are left
568−-- after deNote has removed nested ones, and convert them
569−-- into real notes.
570−addNote :: Inline -> Inline
564+capitalizeNoteCitation :: Inline -> Inline
571−addNote (Span ("",["csl-note"],[]) ils) =
565+capitalizeNoteCitation (Cite cs [Note [Para ils]]) =
572− Note [Para $
566+ Cite cs
573− B.toList . addTextCase Nothing CapitalizeFirst . B.fromList $ ils]
567+ [Note [Para $ B.toList $ addTextCase Nothing CapitalizeFirst
574−addNote x = x
568+ $ B.fromList ils]]
575−
569+capitalizeNoteCitation x = x
576−-- Here we handle citation notes that occur inside footnotes
570+
577−-- or other citation notes, in a note style. We don't want
578−-- notes inside notes, so we convert these to parenthesized
579−-- or comma-separated citations.
580−deNote :: Inline -> Inline
571+deNote :: [Inline] -> [Inline]
581−deNote (Note bs) =
572+deNote [] = []
582− case bs of
573+deNote (Note bs:rest) =
583− [Para (cit@(Cite (c:_) _) : ils)]
574+ Note (walk go bs) : deNote rest
584− | citationMode c /= AuthorInText ->
585− -- if citation is first in note, no need to parenthesize.
586− Note [Para (walk removeNotes $ cit : walk addParens ils)]
587− _ -> Note (walk removeNotes . walk addParens $ bs)
588−
589 where
575 where
590− addParens [] = []
576+ go [] = []
591− addParens (Cite (c:cs) ils : zs)
577+ go (Cite (c:cs) ils : zs)
592 | citationMode c == AuthorInText
578 | citationMode c == AuthorInText
593− = Cite (c:cs) (concatMap (noteAfterComma (needsPeriod zs)) ils) :
579+ = Cite (c:cs) (concatMap (noteAfterComma (needsPeriod zs)) ils) : go zs
594− addParens zs
595 | otherwise
580 | otherwise
596− = Cite (c:cs) (concatMap noteInParens ils) : addParens zs
581+ = Cite (c:cs) (concatMap noteInParens ils) : go zs
597− addParens (x:xs) = x : addParens xs
582+ go (x:xs) = x : go xs
598−
599− removeNotes (Span ("",["csl-note"],[]) ils) = Span ("",[],[]) ils
600− removeNotes x = x
601−
602 needsPeriod [] = True
583 needsPeriod [] = True
603 needsPeriod (Str t:_) = case T.uncons t of
584 needsPeriod (Str t:_) = case T.uncons t of
604 Nothing -> False
585 Nothing -> False
605 Just (c,_) -> isUpper c
586 Just (c,_) -> isUpper c
606 needsPeriod (Space:zs) = needsPeriod zs
587 needsPeriod (Space:zs) = needsPeriod zs
607 needsPeriod _ = False
588 needsPeriod _ = False
608−
609− noteInParens (Span ("",["csl-note"],[]) ils)
589+ noteInParens (Note bs')
610 = Space : Str "(" :
590 = Space : Str "(" :
611− removeFinalPeriod ils ++ [Str ")"]
591+ removeFinalPeriod (blocksToInlines bs') ++ [Str ")"]
612 noteInParens x = [x]
592 noteInParens x = [x]
613−
614− noteAfterComma needsPer (Span ("",["csl-note"],[]) ils)
593+ noteAfterComma needsPer (Note bs')
615− | not (null ils)
616 = Str "," : Space :
594 = Str "," : Space :
617− if needsPer
595+ (if needsPer
618− then ils
596+ then id
619− else removeFinalPeriod ils
597+ else removeFinalPeriod) (blocksToInlines bs')
620 noteAfterComma _ x = [x]
598 noteAfterComma _ x = [x]
621−
622−deNote x = x
599+deNote (x:xs) = x : deNote xs
623
600
624-- Note: we can't use dropTextWhileEnd indiscriminately,
601-- Note: we can't use dropTextWhileEnd indiscriminately,
625-- because this would remove the final period on abbreviations like Ibid.
602-- because this would remove the final period on abbreviations like Ibid.
src/Text/Pandoc/Writers/HTML.hs+1−6
@@ -26,13 +26,8 @@ module Text.Pandoc.Writers.HTML (
26 writeSlideous,
26 writeSlideous,
27 writeDZSlides,
27 writeDZSlides,
28 writeRevealJs,
28 writeRevealJs,
29− tagWithAttributes,
29+ tagWithAttributes
30− inlineToHtml,
31− blockToHtml,
32− WriterState(..),
33− defaultWriterState
34 ) where
30 ) where
35−
36import Control.Monad.State.Strict
31import Control.Monad.State.Strict
37import Data.Char (ord)
32import Data.Char (ord)
38import Data.List (intercalate, intersperse, partition, delete, (\\), foldl')
33import Data.List (intercalate, intersperse, partition, delete, (\\), foldl')
stack.yaml+1−1
@@ -14,7 +14,7 @@ extra-deps:
14- git: https://github.com/jgm/doctemplates
14- git: https://github.com/jgm/doctemplates
15 commit: 428c26d5303cf7a2b1051fe1ffd9aafe9ba71c81
15 commit: 428c26d5303cf7a2b1051fe1ffd9aafe9ba71c81
16- git: https://github.com/jgm/citeproc
16- git: https://github.com/jgm/citeproc
17− commit: 4ce0501cd6f9c86eee087afcf878c256e49b9615
17+ commit: 85277c4baa6c0350baf29247583ae0f438f7c9c5
18ghc-options:
18ghc-options:
19 "$locals": -fhide-source-paths -Wno-missing-home-modules
19 "$locals": -fhide-source-paths -Wno-missing-home-modules
20resolver: lts-18.0
20resolver: lts-18.0
test/command/7394.mddeleted−85
@@ -1,85 +0,0 @@
1−```
2−% pandoc -f markdown -t plain --citeproc
3−---
4−csl: command/chicago-fullnote-bibliography.csl
5−references:
6−- author:
7− - family: Wandt
8− given: Manfred
9− edition: 6
10− id: wandt2014ges-sv
11− issued: 2014
12− publisher: Franz Vahlen
13− publisher-place: München
14− title: Gesetzliche schuldverhältnisse
15− title-short: Gesetzl SV
16− type: book
17−- author:
18− - family: Smith
19− given: Zenda
20− edition: 6
21− id: smith2015
22− issued: 2015
23− publisher: Macmillan
24− publisher-place: New York
25− title: A verb and a noun
26− type: book
27−---
28−
29−Hi^[@wandt2014ges-sv.].
30−
31−Hi^[[@wandt2014ges-sv].].
32−
33−Hi^[[See also @wandt2014ges-sv].].
34−
35−Hi^[See also @wandt2014ges-sv.].
36−
37−Hi^[@wandt2014ges-sv [@smith2015].].
38−
39−Hi^[[@wandt2014ges-sv; @smith2015].].
40−
41−Hi [@wandt2014ges-sv].
42−
43−Hi [see also @wandt2014ges-sv].
44−
45−^D
46−Hi[1].
47−
48−Hi[2].
49−
50−Hi[3].
51−
52−Hi[4].
53−
54−Hi[5].
55−
56−Hi[6].
57−
58−Hi.[7]
59−
60−Hi.[8]
61−
62−Smith, Zenda. A Verb and a Noun. 6th ed. New York: Macmillan, 2015.
63−
64−Wandt, Manfred. Gesetzliche Schuldverhältnisse. 6th ed. München: Franz
65−Vahlen, 2014.
66−
67−[1] Manfred Wandt, Gesetzliche Schuldverhältnisse, 6th ed. (München:
68−Franz Vahlen, 2014).
69−
70−[2] Wandt.
71−
72−[3] See also Wandt.
73−
74−[4] See also Wandt.
75−
76−[5] Wandt, Zenda Smith, A Verb and a Noun, 6th ed. (New York: Macmillan,
77−2015).
78−
79−[6] Wandt, Gesetzl SV; Smith, A Verb and a Noun.
80−
81−[7] Wandt, Gesetzl SV.
82−
83−[8] See also Wandt.
84−```
85−
test/lhs-test.html+1−2
@@ -21,7 +21,7 @@
21 padding-top: 50px;
21 padding-top: 50px;
22 padding-bottom: 50px;
22 padding-bottom: 50px;
23 hyphens: auto;
23 hyphens: auto;
24− overflow-wrap: break-word;
24+ word-wrap: break-word;
25 text-rendering: optimizeLegibility;
25 text-rendering: optimizeLegibility;
26 font-kerning: normal;
26 font-kerning: normal;
27 }
27 }
@@ -92,7 +92,6 @@
92 pre code {
92 pre code {
93 padding: 0;
93 padding: 0;
94 overflow: visible;
94 overflow: visible;
95− overflow-wrap: normal;
96 }
95 }
97 .sourceCode {
96 .sourceCode {
98 background-color: transparent;
97 background-color: transparent;
test/lhs-test.html+lhs+1−2
@@ -21,7 +21,7 @@
21 padding-top: 50px;
21 padding-top: 50px;
22 padding-bottom: 50px;
22 padding-bottom: 50px;
23 hyphens: auto;
23 hyphens: auto;
24− overflow-wrap: break-word;
24+ word-wrap: break-word;
25 text-rendering: optimizeLegibility;
25 text-rendering: optimizeLegibility;
26 font-kerning: normal;
26 font-kerning: normal;
27 }
27 }
@@ -92,7 +92,6 @@
92 pre code {
92 pre code {
93 padding: 0;
93 padding: 0;
94 overflow: visible;
94 overflow: visible;
95− overflow-wrap: normal;
96 }
95 }
97 .sourceCode {
96 .sourceCode {
98 background-color: transparent;
97 background-color: transparent;
test/lhs-test.latex+3−3
@@ -4,6 +4,9 @@
4%
4%
5\documentclass[
5\documentclass[
6]{article}
6]{article}
7+\author{}
8+\date{}
9+
7\usepackage{amsmath,amssymb}
10\usepackage{amsmath,amssymb}
8\usepackage{lmodern}
11\usepackage{lmodern}
9\usepackage{iftex}
12\usepackage{iftex}
@@ -85,9 +88,6 @@
85 \usepackage{selnolig} % disable illegal ligatures
88 \usepackage{selnolig} % disable illegal ligatures
86\fi
89\fi
87
90
88−\author{}
89−\date{}
90−
91\begin{document}
91\begin{document}
92
92
93\hypertarget{lhs-test}{%
93\hypertarget{lhs-test}{%
test/lhs-test.latex+lhs+3−3
@@ -4,6 +4,9 @@
4%
4%
5\documentclass[
5\documentclass[
6]{article}
6]{article}
7+\author{}
8+\date{}
9+
7\usepackage{amsmath,amssymb}
10\usepackage{amsmath,amssymb}
8\usepackage{lmodern}
11\usepackage{lmodern}
9\usepackage{iftex}
12\usepackage{iftex}
@@ -52,9 +55,6 @@
52 \usepackage{selnolig} % disable illegal ligatures
55 \usepackage{selnolig} % disable illegal ligatures
53\fi
56\fi
54
57
55−\author{}
56−\date{}
57−
58\begin{document}
58\begin{document}
59
59
60\hypertarget{lhs-test}{%
60\hypertarget{lhs-test}{%
test/writer.html4+1−2
@@ -24,7 +24,7 @@
24 padding-top: 50px;
24 padding-top: 50px;
25 padding-bottom: 50px;
25 padding-bottom: 50px;
26 hyphens: auto;
26 hyphens: auto;
27− overflow-wrap: break-word;
27+ word-wrap: break-word;
28 text-rendering: optimizeLegibility;
28 text-rendering: optimizeLegibility;
29 font-kerning: normal;
29 font-kerning: normal;
30 }
30 }
@@ -95,7 +95,6 @@
95 pre code {
95 pre code {
96 padding: 0;
96 padding: 0;
97 overflow: visible;
97 overflow: visible;
98− overflow-wrap: normal;
99 }
98 }
100 .sourceCode {
99 .sourceCode {
101 background-color: transparent;
100 background-color: transparent;
test/writer.html5+1−2
@@ -24,7 +24,7 @@
24 padding-top: 50px;
24 padding-top: 50px;
25 padding-bottom: 50px;
25 padding-bottom: 50px;
26 hyphens: auto;
26 hyphens: auto;
27− overflow-wrap: break-word;
27+ word-wrap: break-word;
28 text-rendering: optimizeLegibility;
28 text-rendering: optimizeLegibility;
29 font-kerning: normal;
29 font-kerning: normal;
30 }
30 }
@@ -95,7 +95,6 @@
95 pre code {
95 pre code {
96 padding: 0;
96 padding: 0;
97 overflow: visible;
97 overflow: visible;
98− overflow-wrap: normal;
99 }
98 }
100 .sourceCode {
99 .sourceCode {
101 background-color: transparent;
100 background-color: transparent;
test/writer.latex+4−4
@@ -4,6 +4,10 @@
4%
4%
5\documentclass[
5\documentclass[
6]{article}
6]{article}
7+\title{Pandoc Test Suite}
8+\author{John MacFarlane \and Anonymous}
9+\date{July 17, 2006}
10+
7\usepackage{amsmath,amssymb}
11\usepackage{amsmath,amssymb}
8\usepackage{lmodern}
12\usepackage{lmodern}
9\usepackage{iftex}
13\usepackage{iftex}
@@ -67,10 +71,6 @@
67 \usepackage{selnolig} % disable illegal ligatures
71 \usepackage{selnolig} % disable illegal ligatures
68\fi
72\fi
69
73
70−\title{Pandoc Test Suite}
71−\author{John MacFarlane \and Anonymous}
72−\date{July 17, 2006}
73−
74\begin{document}
74\begin{document}
75\maketitle
75\maketitle
76
76
test/writers-lang-and-dir.latex+3−3
@@ -5,6 +5,9 @@
5\documentclass[
5\documentclass[
6 english,
6 english,
7]{article}
7]{article}
8+\author{}
9+\date{}
10+
8\usepackage{amsmath,amssymb}
11\usepackage{amsmath,amssymb}
9\usepackage{lmodern}
12\usepackage{lmodern}
10\usepackage{iftex}
13\usepackage{iftex}
@@ -84,9 +87,6 @@
84 \newenvironment{LTR}{\beginL}{\endL}
87 \newenvironment{LTR}{\beginL}{\endL}
85\fi
88\fi
86
89
87−\author{}
88−\date{}
89−
90\begin{document}
90\begin{document}
91
91
92\hypertarget{empty-divs-and-spans}{%
92\hypertarget{empty-divs-and-spans}{%
tools/build-arm.sh+1−3
@@ -1,8 +1,6 @@
1#!/bin/sh
1#!/bin/sh
2
2
3−#old version:
4−#IMAGE_ID=ami-0fa8979d18f69948b
3+IMAGE_ID=ami-0fa8979d18f69948b
5−IMAGE_ID=ami-0cd6b53a434812702
6INSTANCE_TYPE=t4g.2xlarge
4INSTANCE_TYPE=t4g.2xlarge
7KEY_NAME=debian-arm-us-east-2
5KEY_NAME=debian-arm-us-east-2
8SECURITY_GROUP_ID=sg-086ffbadc286c5c00
6SECURITY_GROUP_ID=sg-086ffbadc286c5c00