Switch from pretty-simple to pretty-show for native output.
Update tests. Reason: it turns out that the native output generated by pretty-simple isn't always readable by the native reader. According to https://github.com/cdepillabout/pretty-simple/issues/99 it is not a design goal of the library that the rendered values be readable using 'read'. This makes it unsuitable for our purposes. pretty-show is a bit slower and it uses 4-space indents (non-configurable), but it doesn't have this serious drawback.
This commit is contained in:
parent
8018179b3d
commit
0bdcf415e4
228 changed files with 53152 additions and 54511 deletions
|
@ -584,7 +584,8 @@ library
|
|||
unicode-collation >= 0.1.1 && < 0.2,
|
||||
zip-archive >= 0.2.3.4 && < 0.5,
|
||||
zlib >= 0.5 && < 0.7,
|
||||
pretty-simple >= 4.0 && < 4.1
|
||||
pretty-show >= 1.10 && < 1.11,
|
||||
pretty >= 1.1 && < 1.2
|
||||
if os(windows) && arch(i386)
|
||||
build-depends: basement >= 0.0.10,
|
||||
foundation >= 0.0.23
|
||||
|
|
|
@ -13,23 +13,19 @@ Conversion of a 'Pandoc' document to a string representation.
|
|||
module Text.Pandoc.Writers.Native ( writeNative )
|
||||
where
|
||||
import Data.Text (Text)
|
||||
import qualified Data.Text.Lazy as TL
|
||||
import qualified Data.Text as T
|
||||
import Text.Pandoc.Class.PandocMonad (PandocMonad)
|
||||
import Text.Pandoc.Definition
|
||||
import Text.Pandoc.Options (WriterOptions (..))
|
||||
import Text.Pretty.Simple (pShowOpt, defaultOutputOptionsNoColor,
|
||||
OutputOptions(..), StringOutputStyle(..))
|
||||
import Text.Show.Pretty (ppDoc)
|
||||
import Text.PrettyPrint (renderStyle, Style(..), style, char)
|
||||
|
||||
-- | Prettyprint Pandoc document.
|
||||
writeNative :: PandocMonad m => WriterOptions -> Pandoc -> m Text
|
||||
writeNative opts (Pandoc meta blocks) = do
|
||||
let popts = defaultOutputOptionsNoColor{
|
||||
outputOptionsIndentAmount = 2,
|
||||
outputOptionsPageWidth = writerColumns opts,
|
||||
outputOptionsCompact = True,
|
||||
outputOptionsCompactParens = False,
|
||||
outputOptionsStringStyle = Literal }
|
||||
return $
|
||||
let style' = style{ lineLength = writerColumns opts,
|
||||
ribbonsPerLine = 1.2 }
|
||||
return $ T.pack $ renderStyle style' $
|
||||
case writerTemplate opts of
|
||||
Just _ -> TL.toStrict $ pShowOpt popts (Pandoc meta blocks) <> "\n"
|
||||
Nothing -> TL.toStrict $ pShowOpt popts blocks
|
||||
Just _ -> ppDoc (Pandoc meta blocks) <> char '\n'
|
||||
Nothing -> ppDoc blocks
|
||||
|
|
|
@ -4,7 +4,11 @@
|
|||
Testing: $\mu\foo\eta$.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Testing:", Space, Math InlineMath "\\mu+\\eta", Str "." ]
|
||||
[ Str "Testing:"
|
||||
, Space
|
||||
, Math InlineMath "\\mu+\\eta"
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -51,7 +51,9 @@
|
|||
% pandoc -f html -t native
|
||||
<bdo dir="ltr">foo</bdo>
|
||||
^D
|
||||
[ Plain [ Span ( "", [], [ ( "dir", "ltr" ) ] ) [ Str "foo" ] ] ]
|
||||
[ Plain
|
||||
[ Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "foo" ] ]
|
||||
]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -59,15 +61,13 @@
|
|||
<bdo dir="rtl">foo<bdo dir="ltr">bar</bdo>baz</bdo>
|
||||
^D
|
||||
[ Plain
|
||||
[ Span
|
||||
( "", [], [ ( "dir", "rtl" ) ] )
|
||||
[ Str "foo"
|
||||
, Span
|
||||
( "", [], [ ( "dir", "ltr" ) ] )
|
||||
[ Str "bar" ]
|
||||
, Str "baz"
|
||||
[ Span
|
||||
( "" , [] , [ ( "dir" , "rtl" ) ] )
|
||||
[ Str "foo"
|
||||
, Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "bar" ]
|
||||
, Str "baz"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -77,22 +77,22 @@
|
|||
to left.</bdo></p>
|
||||
^D
|
||||
[ Para
|
||||
[ Span
|
||||
( "", [], [ ( "dir", "rtl" ) ] )
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "text"
|
||||
, Space
|
||||
, Str "will"
|
||||
, Space
|
||||
, Str "go"
|
||||
, Space
|
||||
, Str "right"
|
||||
, SoftBreak
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "left."
|
||||
[ Span
|
||||
( "" , [] , [ ( "dir" , "rtl" ) ] )
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "text"
|
||||
, Space
|
||||
, Str "will"
|
||||
, Space
|
||||
, Str "go"
|
||||
, Space
|
||||
, Str "right"
|
||||
, SoftBreak
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "left."
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -29,182 +29,177 @@ These are all pretty interesting facts.
|
|||
\end{remark}
|
||||
^D
|
||||
[ Div
|
||||
( "def:tri", [ "definition" ], [] )
|
||||
[ Para
|
||||
[ Strong
|
||||
[ Str "Definition", Space, Str "1" ]
|
||||
, Space
|
||||
, Str "(right-angled"
|
||||
, Space
|
||||
, Str "triangles)."
|
||||
, Space
|
||||
, Space
|
||||
, Str "A"
|
||||
, Space
|
||||
, Emph
|
||||
[ Str "right-angled", Space, Str "triangle" ]
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "triangle"
|
||||
, Space
|
||||
, Str "whose"
|
||||
, Space
|
||||
, Str "sides"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "length\160"
|
||||
, Math InlineMath "a"
|
||||
, Str ","
|
||||
, Space
|
||||
, Math InlineMath "b"
|
||||
, Space
|
||||
, Str "and\160"
|
||||
, Math InlineMath "c"
|
||||
, Str ","
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "some"
|
||||
, Space
|
||||
, Str "permutation"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "order,"
|
||||
, Space
|
||||
, Str "satisfies"
|
||||
, Space
|
||||
, Math InlineMath "a^2+b^2=c^2"
|
||||
, Str "."
|
||||
( "def:tri" , [ "definition" ] , [] )
|
||||
[ Para
|
||||
[ Strong [ Str "Definition" , Space , Str "1" ]
|
||||
, Space
|
||||
, Str "(right-angled"
|
||||
, Space
|
||||
, Str "triangles)."
|
||||
, Space
|
||||
, Space
|
||||
, Str "A"
|
||||
, Space
|
||||
, Emph [ Str "right-angled" , Space , Str "triangle" ]
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "triangle"
|
||||
, Space
|
||||
, Str "whose"
|
||||
, Space
|
||||
, Str "sides"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "length\160"
|
||||
, Math InlineMath "a"
|
||||
, Str ","
|
||||
, Space
|
||||
, Math InlineMath "b"
|
||||
, Space
|
||||
, Str "and\160"
|
||||
, Math InlineMath "c"
|
||||
, Str ","
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "some"
|
||||
, Space
|
||||
, Str "permutation"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "order,"
|
||||
, Space
|
||||
, Str "satisfies"
|
||||
, Space
|
||||
, Math InlineMath "a^2+b^2=c^2"
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
]
|
||||
, Div
|
||||
( "", [ "lemma" ], [] )
|
||||
[ Para
|
||||
[ Strong
|
||||
[ Str "Lemma", Space, Str "2" ]
|
||||
, Str "."
|
||||
, Space
|
||||
, Space
|
||||
, Emph
|
||||
[ Str "The"
|
||||
, Space
|
||||
, Str "triangle"
|
||||
, Space
|
||||
, Str "with"
|
||||
, Space
|
||||
, Str "sides"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "length\160"
|
||||
, Math InlineMath "3"
|
||||
, Str ","
|
||||
, Space
|
||||
, Math InlineMath "4"
|
||||
, Space
|
||||
, Str "and\160"
|
||||
, Math InlineMath "5"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "right-angled."
|
||||
]
|
||||
( "" , [ "lemma" ] , [] )
|
||||
[ Para
|
||||
[ Strong [ Str "Lemma" , Space , Str "2" ]
|
||||
, Str "."
|
||||
, Space
|
||||
, Space
|
||||
, Emph
|
||||
[ Str "The"
|
||||
, Space
|
||||
, Str "triangle"
|
||||
, Space
|
||||
, Str "with"
|
||||
, Space
|
||||
, Str "sides"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "length\160"
|
||||
, Math InlineMath "3"
|
||||
, Str ","
|
||||
, Space
|
||||
, Math InlineMath "4"
|
||||
, Space
|
||||
, Str "and\160"
|
||||
, Math InlineMath "5"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "right-angled."
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
, Div
|
||||
( "", [ "proof" ], [] )
|
||||
[ Para
|
||||
[ Emph
|
||||
[ Str "Proof." ]
|
||||
, Space
|
||||
, Str "This"
|
||||
, Space
|
||||
, Str "lemma"
|
||||
, Space
|
||||
, Str "follows"
|
||||
, Space
|
||||
, Str "from"
|
||||
, Space
|
||||
, Link
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[ ( "reference-type", "ref" ), ( "reference", "def:tri" ) ]
|
||||
)
|
||||
[ Str "Definition\160\&1" ]
|
||||
( "#def:tri", "" )
|
||||
, Space
|
||||
, Str "since"
|
||||
, Space
|
||||
, Math InlineMath "3^2+4^2=9+16=25=5^2"
|
||||
, Str "."
|
||||
, Str "\160\9723"
|
||||
( "" , [ "proof" ] , [] )
|
||||
[ Para
|
||||
[ Emph [ Str "Proof." ]
|
||||
, Space
|
||||
, Str "This"
|
||||
, Space
|
||||
, Str "lemma"
|
||||
, Space
|
||||
, Str "follows"
|
||||
, Space
|
||||
, Str "from"
|
||||
, Space
|
||||
, Link
|
||||
( ""
|
||||
, []
|
||||
, [ ( "reference-type" , "ref" )
|
||||
, ( "reference" , "def:tri" )
|
||||
]
|
||||
)
|
||||
[ Str "Definition\160\&1" ]
|
||||
( "#def:tri" , "" )
|
||||
, Space
|
||||
, Str "since"
|
||||
, Space
|
||||
, Math InlineMath "3^2+4^2=9+16=25=5^2"
|
||||
, Str "."
|
||||
, Str "\160\9723"
|
||||
]
|
||||
]
|
||||
]
|
||||
, Div
|
||||
( "thm:py", [ "theorem" ], [] )
|
||||
[ Para
|
||||
[ Strong
|
||||
[ Str "Theorem", Space, Str "3" ]
|
||||
, Space
|
||||
, Str "(Pythagorean"
|
||||
, Space
|
||||
, Str "triplets)."
|
||||
, Space
|
||||
, Space
|
||||
, Emph
|
||||
[ Str "Triangles"
|
||||
, Space
|
||||
, Str "with"
|
||||
, Space
|
||||
, Str "sides"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "length"
|
||||
, Space
|
||||
, Math InlineMath "a=p^2-q^2"
|
||||
, Str ","
|
||||
, Space
|
||||
, Math InlineMath "b=2pq"
|
||||
, Space
|
||||
, Str "and"
|
||||
, Space
|
||||
, Math InlineMath "c=p^2+q^2"
|
||||
, Space
|
||||
, Str "are"
|
||||
, Space
|
||||
, Str "right-angled"
|
||||
, Space
|
||||
, Str "triangles."
|
||||
]
|
||||
( "thm:py" , [ "theorem" ] , [] )
|
||||
[ Para
|
||||
[ Strong [ Str "Theorem" , Space , Str "3" ]
|
||||
, Space
|
||||
, Str "(Pythagorean"
|
||||
, Space
|
||||
, Str "triplets)."
|
||||
, Space
|
||||
, Space
|
||||
, Emph
|
||||
[ Str "Triangles"
|
||||
, Space
|
||||
, Str "with"
|
||||
, Space
|
||||
, Str "sides"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "length"
|
||||
, Space
|
||||
, Math InlineMath "a=p^2-q^2"
|
||||
, Str ","
|
||||
, Space
|
||||
, Math InlineMath "b=2pq"
|
||||
, Space
|
||||
, Str "and"
|
||||
, Space
|
||||
, Math InlineMath "c=p^2+q^2"
|
||||
, Space
|
||||
, Str "are"
|
||||
, Space
|
||||
, Str "right-angled"
|
||||
, Space
|
||||
, Str "triangles."
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
, Div
|
||||
( "", [ "remark" ], [] )
|
||||
[ Para
|
||||
[ Emph
|
||||
[ Str "Remark", Space, Str "1" ]
|
||||
, Str "."
|
||||
, Space
|
||||
, Space
|
||||
, Str "These"
|
||||
, Space
|
||||
, Str "are"
|
||||
, Space
|
||||
, Str "all"
|
||||
, Space
|
||||
, Str "pretty"
|
||||
, Space
|
||||
, Str "interesting"
|
||||
, Space
|
||||
, Str "facts."
|
||||
( "" , [ "remark" ] , [] )
|
||||
[ Para
|
||||
[ Emph [ Str "Remark" , Space , Str "1" ]
|
||||
, Str "."
|
||||
, Space
|
||||
, Space
|
||||
, Str "These"
|
||||
, Space
|
||||
, Str "are"
|
||||
, Space
|
||||
, Str "all"
|
||||
, Space
|
||||
, Str "pretty"
|
||||
, Space
|
||||
, Str "interesting"
|
||||
, Space
|
||||
, Str "facts."
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -12,23 +12,23 @@ nested div
|
|||
:::::::::::::::::::::::::::::::
|
||||
^D
|
||||
[ Div
|
||||
( "", [ "warning" ], [] )
|
||||
[ Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "warning!"
|
||||
( "" , [ "warning" ] , [] )
|
||||
[ Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "warning!"
|
||||
]
|
||||
, OrderedList
|
||||
( 1 , Decimal , Period )
|
||||
[ [ Plain [ Str "list" ] ] , [ Plain [ Str "another" ] ] ]
|
||||
, Div
|
||||
( "myid" , [ "class" ] , [ ( "key" , "val" ) ] )
|
||||
[ Para [ Str "nested" , Space , Str "div" ] ]
|
||||
]
|
||||
, OrderedList
|
||||
( 1, Decimal, Period )
|
||||
[ [ Plain [ Str "list" ] ], [ Plain [ Str "another" ] ] ]
|
||||
, Div
|
||||
( "myid", [ "class" ], [ ( "key", "val" ) ] )
|
||||
[ Para [ Str "nested", Space, Str "div" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -38,7 +38,14 @@ foo
|
|||
:::
|
||||
bar
|
||||
^D
|
||||
[ Para [ Str "foo", SoftBreak, Str ":::", SoftBreak, Str "bar" ] ]
|
||||
[ Para
|
||||
[ Str "foo"
|
||||
, SoftBreak
|
||||
, Str ":::"
|
||||
, SoftBreak
|
||||
, Str "bar"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -50,18 +57,17 @@ And another.
|
|||
:::::
|
||||
^D
|
||||
[ Div
|
||||
( "", [ "Warning" ], [] )
|
||||
[ Para
|
||||
[ Str "Here"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "paragraph."
|
||||
( "" , [ "Warning" ] , [] )
|
||||
[ Para
|
||||
[ Str "Here"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "paragraph."
|
||||
]
|
||||
, Para [ Str "And" , Space , Str "another." ]
|
||||
]
|
||||
, Para
|
||||
[ Str "And", Space, Str "another." ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -8,10 +8,12 @@ Note[^1].
|
|||
^D
|
||||
[WARNING] Note with key '2' defined at line 5 column 1 but not used.
|
||||
[ Para
|
||||
[ Str "Note"
|
||||
, Note
|
||||
[ Para [ Str "the", Space, Str "first", Space, Str "note." ] ]
|
||||
, Str "."
|
||||
]
|
||||
[ Str "Note"
|
||||
, Note
|
||||
[ Para
|
||||
[ Str "the" , Space , Str "first" , Space , Str "note." ]
|
||||
]
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -2,5 +2,7 @@
|
|||
% pandoc -f latex+raw_tex -t native
|
||||
\noindent hi
|
||||
^D
|
||||
[ Para [ RawInline ( Format "latex" ) "\\noindent ", Str "hi" ] ]
|
||||
[ Para
|
||||
[ RawInline (Format "latex") "\\noindent " , Str "hi" ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -21,86 +21,90 @@
|
|||
</table>
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing
|
||||
[ Plain
|
||||
[ Str "Demonstration"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "simple"
|
||||
, Space
|
||||
, Str "table"
|
||||
, Space
|
||||
, Str "syntax."
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption
|
||||
Nothing
|
||||
[ Plain
|
||||
[ Str "Demonstration"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "simple"
|
||||
, Space
|
||||
, Str "table"
|
||||
, Space
|
||||
, Str "syntax."
|
||||
]
|
||||
])
|
||||
[ ( AlignRight , ColWidthDefault )
|
||||
, ( AlignLeft , ColWidthDefault )
|
||||
, ( AlignCenter , ColWidthDefault )
|
||||
, ( AlignDefault , ColWidthDefault )
|
||||
]
|
||||
)
|
||||
[
|
||||
( AlignRight, ColWidthDefault )
|
||||
,
|
||||
( AlignLeft, ColWidthDefault )
|
||||
,
|
||||
( AlignCenter, ColWidthDefault )
|
||||
,
|
||||
( AlignDefault, ColWidthDefault )
|
||||
]
|
||||
( TableHead
|
||||
( "", [], [] )
|
||||
[ Row
|
||||
( "", [ "header" ], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignRight
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Right" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignLeft
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Left" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignCenter
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Center" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Default" ] ]
|
||||
]
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [ "header" ] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignRight
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Right" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignLeft
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Left" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignCenter
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Center" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Default" ] ]
|
||||
]
|
||||
])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [ "odd" ] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignRight
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignLeft
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignCenter
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "12" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
)
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [ "odd" ], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignRight
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignLeft
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignCenter
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "12" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -116,47 +120,48 @@
|
|||
</table>
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[
|
||||
( AlignRight, ColWidthDefault )
|
||||
,
|
||||
( AlignLeft, ColWidthDefault )
|
||||
,
|
||||
( AlignCenter, ColWidthDefault )
|
||||
,
|
||||
( AlignRight, ColWidthDefault )
|
||||
]
|
||||
( TableHead ( "", [], [] ) [] )
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [ "odd" ], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignRight
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignLeft
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignCenter
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignRight
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "12" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignRight , ColWidthDefault )
|
||||
, ( AlignLeft , ColWidthDefault )
|
||||
, ( AlignCenter , ColWidthDefault )
|
||||
, ( AlignRight , ColWidthDefault )
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableHead ( "" , [] , [] ) [])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [ "odd" ] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignRight
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignLeft
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignCenter
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "12" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignRight
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "12" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
\end{figure}
|
||||
^D
|
||||
[ Para
|
||||
[ Image
|
||||
( "fig:setminus", [], [ ( "width", "80%" ) ] )
|
||||
[ Str "Set", Space, Str "subtraction" ]
|
||||
( "setminus.png", "fig:" )
|
||||
]
|
||||
[ Image
|
||||
( "fig:setminus" , [] , [ ( "width" , "80%" ) ] )
|
||||
[ Str "Set" , Space , Str "subtraction" ]
|
||||
( "setminus.png" , "fig:" )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
\section{A section}\label{foo}
|
||||
}
|
||||
^D
|
||||
[ Header 1 ( "foo", [], [] ) [ Str "A", Space, Str "section" ] ]
|
||||
[ Header
|
||||
1 ( "foo" , [] , [] ) [ Str "A" , Space , Str "section" ]
|
||||
]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -14,8 +16,10 @@
|
|||
}
|
||||
^D
|
||||
[ Div
|
||||
( "bar", [], [] )
|
||||
[ Header 1 ( "foo", [], [] ) [ Str "A", Space, Str "section" ] ]
|
||||
( "bar" , [] , [] )
|
||||
[ Header
|
||||
1 ( "foo" , [] , [] ) [ Str "A" , Space , Str "section" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -23,7 +27,12 @@
|
|||
% pandoc -f latex -t native
|
||||
Bar \hypertarget{foo}{Foo}
|
||||
^D
|
||||
[ Para [ Str "Bar", Space, Span ( "foo", [], [] ) [ Str "Foo" ] ] ]
|
||||
[ Para
|
||||
[ Str "Bar"
|
||||
, Space
|
||||
, Span ( "foo" , [] , [] ) [ Str "Foo" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -34,6 +43,8 @@ bar
|
|||
\end{verbatim}
|
||||
}
|
||||
^D
|
||||
[ Div ( "foo", [], [] ) [ CodeBlock ( "", [], [] ) "bar" ] ]
|
||||
[ Div
|
||||
( "foo" , [] , [] ) [ CodeBlock ( "" , [] , [] ) "bar" ]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
Foo. bar baz h.k. and e.g. and Mr. Brown.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Foo.\160bar"
|
||||
, Space
|
||||
, Str "baz"
|
||||
, Space
|
||||
, Str "h.k.\160and"
|
||||
, Space
|
||||
, Str "e.g."
|
||||
, Space
|
||||
, Str "and"
|
||||
, Space
|
||||
, Str "Mr."
|
||||
, Space
|
||||
, Str "Brown."
|
||||
]
|
||||
[ Str "Foo.\160bar"
|
||||
, Space
|
||||
, Str "baz"
|
||||
, Space
|
||||
, Str "h.k.\160and"
|
||||
, Space
|
||||
, Str "e.g."
|
||||
, Space
|
||||
, Str "and"
|
||||
, Space
|
||||
, Str "Mr."
|
||||
, Space
|
||||
, Str "Brown."
|
||||
]
|
||||
]
|
||||
```
|
||||
```
|
||||
|
@ -24,19 +24,19 @@ Foo. bar baz h.k. and e.g. and Mr. Brown.
|
|||
Foo. bar baz h.k. and e.g. and Mr. Brown.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Foo."
|
||||
, Space
|
||||
, Str "bar"
|
||||
, Space
|
||||
, Str "baz"
|
||||
, Space
|
||||
, Str "h.k."
|
||||
, Space
|
||||
, Str "and"
|
||||
, Space
|
||||
, Str "e.g.\160and"
|
||||
, Space
|
||||
, Str "Mr.\160Brown."
|
||||
]
|
||||
[ Str "Foo."
|
||||
, Space
|
||||
, Str "bar"
|
||||
, Space
|
||||
, Str "baz"
|
||||
, Space
|
||||
, Str "h.k."
|
||||
, Space
|
||||
, Str "and"
|
||||
, Space
|
||||
, Str "e.g.\160and"
|
||||
, Space
|
||||
, Str "Mr.\160Brown."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -9,7 +9,10 @@ E&=&F
|
|||
\end{eqnarray}
|
||||
^D
|
||||
[ Para
|
||||
[ Math DisplayMath "\\begin{aligned}\nA&=&B,\\\\\nC&=&D,\\\\\n%\\end{eqnarray}\n%\\begin{eqnarray}\nE&=&F\\end{aligned}" ]
|
||||
[ Math
|
||||
DisplayMath
|
||||
"\\begin{aligned}\nA&=&B,\\\\\nC&=&D,\\\\\n%\\end{eqnarray}\n%\\begin{eqnarray}\nE&=&F\\end{aligned}"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
a<?php echo "1" ; ?>
|
||||
^D
|
||||
[ Para
|
||||
[ Str "a", RawInline ( Format "html" ) "<?php echo \"1\" ; ?>" ]
|
||||
[ Str "a"
|
||||
, RawInline (Format "html") "<?php echo \"1\" ; ?>"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -6,16 +6,16 @@
|
|||
Magnificent \mycolor{} header.
|
||||
^D
|
||||
[ Para
|
||||
[ Image
|
||||
( "", [], [ ( "width", "17cm" ) ] )
|
||||
[ Str "image" ]
|
||||
( "red/header", "" )
|
||||
, SoftBreak
|
||||
, Str "Magnificent"
|
||||
, Space
|
||||
, Str "red"
|
||||
, Space
|
||||
, Str "header."
|
||||
]
|
||||
[ Image
|
||||
( "" , [] , [ ( "width" , "17cm" ) ] )
|
||||
[ Str "image" ]
|
||||
( "red/header" , "" )
|
||||
, SoftBreak
|
||||
, Str "Magnificent"
|
||||
, Space
|
||||
, Str "red"
|
||||
, Space
|
||||
, Str "header."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -9,5 +9,5 @@
|
|||
% pandoc -t native
|
||||
i<j-1, j>k
|
||||
^D
|
||||
[ Para [ Str "i<j-1,", Space, Str "j>k" ] ]
|
||||
[ Para [ Str "i<j-1," , Space , Str "j>k" ] ]
|
||||
```
|
||||
|
|
|
@ -8,60 +8,63 @@
|
|||
----- ------------------------------------------------
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[
|
||||
( AlignRight, ColWidth 8.333333333333333 e- 2 )
|
||||
,
|
||||
( AlignLeft, ColWidth 0.6805555555555556 )
|
||||
]
|
||||
( TableHead ( "", [], [] ) [] )
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "foo" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "bar" ] ]
|
||||
]
|
||||
, Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "foo" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain
|
||||
[ Str "this"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "long"
|
||||
, SoftBreak
|
||||
, Str "line"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "text"
|
||||
]
|
||||
]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignRight , ColWidth 8.333333333333333e-2 )
|
||||
, ( AlignLeft , ColWidth 0.6805555555555556 )
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableHead ( "" , [] , [] ) [])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "foo" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "bar" ] ]
|
||||
]
|
||||
, Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "foo" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain
|
||||
[ Str "this"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "long"
|
||||
, SoftBreak
|
||||
, Str "line"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "text"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
|
|
@ -5,7 +5,7 @@ See #3401 and <http://orgmode.org/manual/Macro-replacement.html>
|
|||
#+MACRO: HELLO /Hello, $1/
|
||||
{{{HELLO(World)}}}
|
||||
^D
|
||||
[ Para [ Emph [ Str "Hello,", Space, Str "World" ] ] ]
|
||||
[ Para [ Emph [ Str "Hello," , Space , Str "World" ] ] ]
|
||||
```
|
||||
|
||||
Inverted argument order
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
:foo:`text`
|
||||
^D
|
||||
[ Para
|
||||
[ Code ( "", [ "interpreted-text" ], [ ( "role", "foo" ) ] ) "text" ]
|
||||
[ Code
|
||||
( "" , [ "interpreted-text" ] , [ ( "role" , "foo" ) ] )
|
||||
"text"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -10,20 +10,13 @@ Text
|
|||
|
||||
More text
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Text" ]
|
||||
, Header 1
|
||||
( "subsection", [], [] )
|
||||
[ Str "Subsection" ]
|
||||
, Para
|
||||
[ Str "Included", Space, Str "text" ]
|
||||
, Plain
|
||||
[ Str "Lorem", Space, Str "ipsum." ]
|
||||
[ Para [ Str "Text" ]
|
||||
, Header 1 ( "subsection" , [] , [] ) [ Str "Subsection" ]
|
||||
, Para [ Str "Included" , Space , Str "text" ]
|
||||
, Plain [ Str "Lorem" , Space , Str "ipsum." ]
|
||||
, CodeBlock
|
||||
( "", [ "haskell" ], [] ) "putStrLn outString\n"
|
||||
, RawBlock
|
||||
( Format "latex" ) "\\emph{Hello}"
|
||||
, Para
|
||||
[ Str "More", Space, Str "text" ]
|
||||
( "" , [ "haskell" ] , [] ) "putStrLn outString\n"
|
||||
, RawBlock (Format "latex") "\\emph{Hello}"
|
||||
, Para [ Str "More" , Space , Str "text" ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -11,20 +11,18 @@
|
|||
not continuation
|
||||
^D
|
||||
[ BulletList
|
||||
[
|
||||
[ Plain
|
||||
[ Str "a" ]
|
||||
, BulletList
|
||||
[ [ Plain [ Str "b" ], BulletList [ [ Plain [ Str "c" ] ] ] ] ]
|
||||
[ [ Plain [ Str "a" ]
|
||||
, BulletList
|
||||
[ [ Plain [ Str "b" ]
|
||||
, BulletList [ [ Plain [ Str "c" ] ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
, [ CodeBlock ( "" , [] , [] ) "code" ]
|
||||
]
|
||||
,
|
||||
[ CodeBlock ( "", [], [] ) "code" ]
|
||||
]
|
||||
, OrderedList
|
||||
( 1000, Decimal, Period )
|
||||
[ [ Plain [ Str "one" ] ] ]
|
||||
, CodeBlock
|
||||
( "", [], [] ) "not continuation"
|
||||
( 1000 , Decimal , Period ) [ [ Plain [ Str "one" ] ] ]
|
||||
, CodeBlock ( "" , [] , [] ) "not continuation"
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -41,15 +39,14 @@
|
|||
continuation
|
||||
^D
|
||||
[ BulletList
|
||||
[
|
||||
[ Plain [ Str "a" ] ]
|
||||
,
|
||||
[ Plain [ Str "b" ], BulletList [ [ Plain [ Str "c" ] ] ] ]
|
||||
,
|
||||
[ CodeBlock ( "", [], [] ) "not code" ]
|
||||
]
|
||||
[ [ Plain [ Str "a" ] ]
|
||||
, [ Plain [ Str "b" ]
|
||||
, BulletList [ [ Plain [ Str "c" ] ] ]
|
||||
]
|
||||
, [ CodeBlock ( "" , [] , [] ) "not code" ]
|
||||
]
|
||||
, OrderedList
|
||||
( 1000, Decimal, Period )
|
||||
[ [ Para [ Str "one" ], Para [ Str "continuation" ] ] ]
|
||||
( 1000 , Decimal , Period )
|
||||
[ [ Para [ Str "one" ] , Para [ Str "continuation" ] ] ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -25,44 +25,41 @@ on Windows builds.
|
|||
+---+---+
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[
|
||||
( AlignDefault, ColWidth 5.555555555555555 e- 2 )
|
||||
,
|
||||
( AlignDefault, ColWidth 5.555555555555555 e- 2 )
|
||||
]
|
||||
( TableHead ( "", [], [] ) [] )
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "2" ] ]
|
||||
]
|
||||
, Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 ) []
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 ) []
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignDefault , ColWidth 5.555555555555555e-2 )
|
||||
, ( AlignDefault , ColWidth 5.555555555555555e-2 )
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableHead ( "" , [] , [] ) [])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "2" ] ]
|
||||
]
|
||||
, Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
|
||||
, Cell
|
||||
( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
|
||||
]
|
||||
]
|
||||
]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -3,52 +3,54 @@
|
|||
\subfile{command/sub-file-chapter-1}
|
||||
\subfile{command/sub-file-chapter-2}
|
||||
^D
|
||||
[ Header 1
|
||||
( "chapter-1", [], [] )
|
||||
[ Str "Chapter", Space, Str "1" ]
|
||||
[ Header
|
||||
1
|
||||
( "chapter-1" , [] , [] )
|
||||
[ Str "Chapter" , Space , Str "1" ]
|
||||
, Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "Chapter"
|
||||
, Space
|
||||
, Str "1,"
|
||||
, Space
|
||||
, Str "provided"
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "sub"
|
||||
, Space
|
||||
, Str "file."
|
||||
]
|
||||
, Header 1
|
||||
( "chapter-2", [], [] )
|
||||
[ Str "Chapter", Space, Str "2" ]
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "Chapter"
|
||||
, Space
|
||||
, Str "1,"
|
||||
, Space
|
||||
, Str "provided"
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "sub"
|
||||
, Space
|
||||
, Str "file."
|
||||
]
|
||||
, Header
|
||||
1
|
||||
( "chapter-2" , [] , [] )
|
||||
[ Str "Chapter" , Space , Str "2" ]
|
||||
, Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "Chapter"
|
||||
, Space
|
||||
, Str "2,"
|
||||
, Space
|
||||
, Str "provided"
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "second"
|
||||
, Space
|
||||
, Str "sub"
|
||||
, Space
|
||||
, Str "file."
|
||||
]
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "Chapter"
|
||||
, Space
|
||||
, Str "2,"
|
||||
, Space
|
||||
, Str "provided"
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "second"
|
||||
, Space
|
||||
, Str "sub"
|
||||
, Space
|
||||
, Str "file."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -58,8 +60,8 @@
|
|||
\subfile{command/sub-file-chapter-2}
|
||||
^D
|
||||
[ RawBlock
|
||||
( Format "latex" ) "\\subfile{command/sub-file-chapter-1}"
|
||||
(Format "latex") "\\subfile{command/sub-file-chapter-1}"
|
||||
, RawBlock
|
||||
( Format "latex" ) "\\subfile{command/sub-file-chapter-2}"
|
||||
(Format "latex") "\\subfile{command/sub-file-chapter-2}"
|
||||
]
|
||||
```
|
||||
|
|
|
@ -6,106 +6,119 @@
|
|||
:file: command/3533-rst-csv-tables.csv
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [ Plain [ Str "Test" ] ] )
|
||||
[
|
||||
( AlignDefault, ColWidth 0.4 )
|
||||
,
|
||||
( AlignDefault, ColWidth 0.2 )
|
||||
,
|
||||
( AlignDefault, ColWidth 0.4 )
|
||||
]
|
||||
( TableHead
|
||||
( "", [], [] )
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Flavor" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Price" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Slogan" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [ Plain [ Str "Test" ] ])
|
||||
[ ( AlignDefault , ColWidth 0.4 )
|
||||
, ( AlignDefault , ColWidth 0.2 )
|
||||
, ( AlignDefault , ColWidth 0.4 )
|
||||
]
|
||||
)
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Albatross" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "2.99" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "On", Space, Str "a", Space, Str "stick!" ] ]
|
||||
]
|
||||
, Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Crunchy", Space, Str "Frog" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "1.49" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain
|
||||
[ Str "If"
|
||||
, Space
|
||||
, Str "we"
|
||||
, Space
|
||||
, Str "took"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "bones"
|
||||
, Space
|
||||
, Str "out,"
|
||||
, Space
|
||||
, Str "it"
|
||||
, Space
|
||||
, Str "wouldn't"
|
||||
, Space
|
||||
, Str "be"
|
||||
, SoftBreak
|
||||
, Str "crunchy,"
|
||||
, Space
|
||||
, Str "now"
|
||||
, Space
|
||||
, Str "would"
|
||||
, Space
|
||||
, Str "it?"
|
||||
]
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Flavor" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Price" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Slogan" ] ]
|
||||
]
|
||||
])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Albatross" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "2.99" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain
|
||||
[ Str "On"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "stick!"
|
||||
]
|
||||
]
|
||||
]
|
||||
, Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Crunchy" , Space , Str "Frog" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "1.49" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain
|
||||
[ Str "If"
|
||||
, Space
|
||||
, Str "we"
|
||||
, Space
|
||||
, Str "took"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "bones"
|
||||
, Space
|
||||
, Str "out,"
|
||||
, Space
|
||||
, Str "it"
|
||||
, Space
|
||||
, Str "wouldn't"
|
||||
, Space
|
||||
, Str "be"
|
||||
, SoftBreak
|
||||
, Str "crunchy,"
|
||||
, Space
|
||||
, Str "now"
|
||||
, Space
|
||||
, Str "would"
|
||||
, Space
|
||||
, Str "it?"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -121,78 +134,81 @@
|
|||
'dog''s' 2 3
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [ Plain [ Str "Test" ] ] )
|
||||
[
|
||||
( AlignDefault, ColWidthDefault )
|
||||
,
|
||||
( AlignDefault, ColWidthDefault )
|
||||
,
|
||||
( AlignDefault, ColWidthDefault )
|
||||
]
|
||||
( TableHead
|
||||
( "", [], [] )
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 ) []
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "a" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "b" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [ Plain [ Str "Test" ] ])
|
||||
[ ( AlignDefault , ColWidthDefault )
|
||||
, ( AlignDefault , ColWidthDefault )
|
||||
, ( AlignDefault , ColWidthDefault )
|
||||
]
|
||||
)
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "cat's" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "3" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "4" ] ]
|
||||
]
|
||||
, Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "dog's" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "2" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "3" ] ]
|
||||
]
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "a" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "b" ] ]
|
||||
]
|
||||
])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "cat's" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "3" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "4" ] ]
|
||||
]
|
||||
, Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "dog's" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "2" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "3" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -204,33 +220,34 @@
|
|||
"1","\""
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [ Plain [ Str "Test" ] ] )
|
||||
[
|
||||
( AlignDefault, ColWidthDefault )
|
||||
,
|
||||
( AlignDefault, ColWidthDefault )
|
||||
]
|
||||
( TableHead ( "", [], [] ) [] )
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "\"" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [ Plain [ Str "Test" ] ])
|
||||
[ ( AlignDefault , ColWidthDefault )
|
||||
, ( AlignDefault , ColWidthDefault )
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableHead ( "" , [] , [] ) [])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "\"" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -19,24 +19,23 @@ I want to explain the interface of \lstinline{public class MyClass}.
|
|||
I want to explain the interface of \lstinline[language=Java]{public class MyClass}.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "I"
|
||||
, Space
|
||||
, Str "want"
|
||||
, Space
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "explain"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "interface"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Code
|
||||
( "", [ "java" ], [] ) "public class MyClass"
|
||||
, Str "."
|
||||
]
|
||||
[ Str "I"
|
||||
, Space
|
||||
, Str "want"
|
||||
, Space
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "explain"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "interface"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Code ( "" , [ "java" ] , [] ) "public class MyClass"
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -61,23 +60,22 @@ I want to explain the interface of \mintinline{java}|public class MyClass|.
|
|||
I want to explain the interface of \mintinline[linenos]{java}{public class MyClass}.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "I"
|
||||
, Space
|
||||
, Str "want"
|
||||
, Space
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "explain"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "interface"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Code
|
||||
( "", [ "java" ], [] ) "public class MyClass"
|
||||
, Str "."
|
||||
]
|
||||
[ Str "I"
|
||||
, Space
|
||||
, Str "want"
|
||||
, Space
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "explain"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "interface"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Code ( "" , [ "java" ] , [] ) "public class MyClass"
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -7,7 +7,7 @@ Generalized raw attributes.
|
|||
foo bar
|
||||
```
|
||||
^D
|
||||
[ RawBlock ( Format "ms" ) ".MACRO\nfoo bar" ]
|
||||
[ RawBlock (Format "ms") ".MACRO\nfoo bar" ]
|
||||
````
|
||||
|
||||
````
|
||||
|
@ -24,5 +24,5 @@ Hi `there`{=ms}.
|
|||
foo bar
|
||||
~~~
|
||||
^D
|
||||
[ RawBlock ( Format "ms" ) ".MACRO\nfoo bar" ]
|
||||
[ RawBlock (Format "ms") ".MACRO\nfoo bar" ]
|
||||
````
|
||||
|
|
|
@ -5,45 +5,43 @@
|
|||
Many programming languages provide \glspl{API}. Each \gls{API} should provide a documentation.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Many"
|
||||
, Space
|
||||
, Str "programming"
|
||||
, Space
|
||||
, Str "languages"
|
||||
, Space
|
||||
, Str "provide"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[ ( "acronym-label", "API" ), ( "acronym-form", "plural+short" ) ]
|
||||
)
|
||||
[ Str "APIs" ]
|
||||
, Str "."
|
||||
, Space
|
||||
, Str "Each"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+short" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "provide"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "documentation."
|
||||
]
|
||||
[ Str "Many"
|
||||
, Space
|
||||
, Str "programming"
|
||||
, Space
|
||||
, Str "languages"
|
||||
, Space
|
||||
, Str "provide"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "plural+short" )
|
||||
]
|
||||
)
|
||||
[ Str "APIs" ]
|
||||
, Str "."
|
||||
, Space
|
||||
, Str "Each"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+short" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "provide"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "documentation."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -52,44 +50,38 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a
|
|||
\Glsdesc{API} XYZ ist not as performant as \glsdesc{API} ZXY.
|
||||
^D
|
||||
[ Para
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+long" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "XYZ"
|
||||
, Space
|
||||
, Str "ist"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Str "performant"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+long" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "ZXY."
|
||||
]
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+long" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "XYZ"
|
||||
, Space
|
||||
, Str "ist"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Str "performant"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+long" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "ZXY."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -98,44 +90,38 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a
|
|||
\Acrlong{API} XYZ ist not as performant as \acrlong{API} ZXY.
|
||||
^D
|
||||
[ Para
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+long" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "XYZ"
|
||||
, Space
|
||||
, Str "ist"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Str "performant"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+long" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "ZXY."
|
||||
]
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+long" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "XYZ"
|
||||
, Space
|
||||
, Str "ist"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Str "performant"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+long" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "ZXY."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -144,44 +130,38 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a
|
|||
\Acrfull{API} XYZ ist not as performant as \acrfull{API} ZXY.
|
||||
^D
|
||||
[ Para
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+full" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "XYZ"
|
||||
, Space
|
||||
, Str "ist"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Str "performant"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+full" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "ZXY."
|
||||
]
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+full" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "XYZ"
|
||||
, Space
|
||||
, Str "ist"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Str "performant"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+full" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "ZXY."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -190,44 +170,38 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a
|
|||
\Acrshort{API} XYZ ist not as performant as \acrshort{API} ZXY.
|
||||
^D
|
||||
[ Para
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+abbrv" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "XYZ"
|
||||
, Space
|
||||
, Str "ist"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Str "performant"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+abbrv" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "ZXY."
|
||||
]
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+abbrv" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "XYZ"
|
||||
, Space
|
||||
, Str "ist"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Str "performant"
|
||||
, Space
|
||||
, Str "as"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+abbrv" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "ZXY."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -238,44 +212,42 @@ Many programming languages provide \glspl{API}. Each \gls{API} should provide a
|
|||
Many programming languages provide \acp{API}. Each \ac{API} should provide a documentation.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Many"
|
||||
, Space
|
||||
, Str "programming"
|
||||
, Space
|
||||
, Str "languages"
|
||||
, Space
|
||||
, Str "provide"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[ ( "acronym-label", "API" ), ( "acronym-form", "plural+short" ) ]
|
||||
)
|
||||
[ Str "APIs" ]
|
||||
, Str "."
|
||||
, Space
|
||||
, Str "Each"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[
|
||||
( "acronym-label", "API" )
|
||||
,
|
||||
( "acronym-form", "singular+short" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "provide"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "documentation."
|
||||
]
|
||||
[ Str "Many"
|
||||
, Space
|
||||
, Str "programming"
|
||||
, Space
|
||||
, Str "languages"
|
||||
, Space
|
||||
, Str "provide"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "plural+short" )
|
||||
]
|
||||
)
|
||||
[ Str "APIs" ]
|
||||
, Str "."
|
||||
, Space
|
||||
, Str "Each"
|
||||
, Space
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "acronym-label" , "API" )
|
||||
, ( "acronym-form" , "singular+short" )
|
||||
]
|
||||
)
|
||||
[ Str "API" ]
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "provide"
|
||||
, Space
|
||||
, Str "a"
|
||||
, Space
|
||||
, Str "documentation."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -6,11 +6,8 @@ hello
|
|||
|
||||
\endmulti
|
||||
^D
|
||||
[ RawBlock
|
||||
( Format "tex" ) "\\multi"
|
||||
, Para
|
||||
[ Str "hello" ]
|
||||
, RawBlock
|
||||
( Format "tex" ) "\\endmulti"
|
||||
[ RawBlock (Format "tex") "\\multi"
|
||||
, Para [ Str "hello" ]
|
||||
, RawBlock (Format "tex") "\\endmulti"
|
||||
]
|
||||
```
|
||||
|
|
|
@ -4,29 +4,26 @@
|
|||
|
||||
Same but bzip2 it and nice it <tt>zfs send tank/storage/data/svn@daily-2014-03-20_00.00.00--2w | nice -15 bzip2 | ssh user@hyper.somewhere.org "> /storage/c-3po/tank-storage-data-svn.dmp.bz2"</tt>
|
||||
^D
|
||||
[ Para
|
||||
[ Quoted DoubleQuote [ Str "Hello" ] ]
|
||||
[ Para [ Quoted DoubleQuote [ Str "Hello" ] ]
|
||||
, Para
|
||||
[ Str "Same"
|
||||
, Space
|
||||
, Str "but"
|
||||
, Space
|
||||
, Str "bzip2"
|
||||
, Space
|
||||
, Str "it"
|
||||
, Space
|
||||
, Str "and"
|
||||
, Space
|
||||
, Str "nice"
|
||||
, Space
|
||||
, Str "it"
|
||||
, Space
|
||||
, Code
|
||||
( ""
|
||||
, []
|
||||
, []
|
||||
) "zfs send tank/storage/data/svn@daily-2014-03-20_00.00.00--2w | nice -15 bzip2 | ssh user@hyper.somewhere.org \"> /storage/c-3po/tank-storage-data-svn.dmp.bz2\""
|
||||
]
|
||||
[ Str "Same"
|
||||
, Space
|
||||
, Str "but"
|
||||
, Space
|
||||
, Str "bzip2"
|
||||
, Space
|
||||
, Str "it"
|
||||
, Space
|
||||
, Str "and"
|
||||
, Space
|
||||
, Str "nice"
|
||||
, Space
|
||||
, Str "it"
|
||||
, Space
|
||||
, Code
|
||||
( "" , [] , [] )
|
||||
"zfs send tank/storage/data/svn@daily-2014-03-20_00.00.00--2w | nice -15 bzip2 | ssh user@hyper.somewhere.org \"> /storage/c-3po/tank-storage-data-svn.dmp.bz2\""
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -3,16 +3,16 @@
|
|||
\SI[round-precision=2]{1}{m} is equal to \SI{1000}{mm}
|
||||
^D
|
||||
[ Para
|
||||
[ Str "1\160m"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "equal"
|
||||
, Space
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "1000\160mm"
|
||||
]
|
||||
[ Str "1\160m"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "equal"
|
||||
, Space
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "1000\160mm"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -21,16 +21,16 @@
|
|||
\SI[round-precision=2]{1}[\$]{} is equal to \SI{0.938094}{\euro}
|
||||
^D
|
||||
[ Para
|
||||
[ Str "$\160\&1"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "equal"
|
||||
, Space
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "0.938094\160\8364"
|
||||
]
|
||||
[ Str "$\160\&1"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "equal"
|
||||
, Space
|
||||
, Str "to"
|
||||
, Space
|
||||
, Str "0.938094\160\8364"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
|||
% pandoc -f latex -t native
|
||||
\SI{25}{\square\meter}
|
||||
^D
|
||||
[ Para [ Str "25\160m", Superscript [ Str "2" ] ] ]
|
||||
[ Para [ Str "25\160m" , Superscript [ Str "2" ] ] ]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -109,13 +109,11 @@
|
|||
\SIrange{10}{20}{\square\meter}
|
||||
^D
|
||||
[ Para
|
||||
[ Str "10\160m"
|
||||
, Superscript
|
||||
[ Str "2" ]
|
||||
, Str "\8211\&20\160m"
|
||||
, Superscript
|
||||
[ Str "2" ]
|
||||
]
|
||||
[ Str "10\160m"
|
||||
, Superscript [ Str "2" ]
|
||||
, Str "\8211\&20\160m"
|
||||
, Superscript [ Str "2" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -139,13 +137,11 @@
|
|||
\SIrange{10}{20}{\raisetothe{4}\meter}
|
||||
^D
|
||||
[ Para
|
||||
[ Str "10\160m"
|
||||
, Superscript
|
||||
[ Str "4" ]
|
||||
, Str "\8211\&20\160m"
|
||||
, Superscript
|
||||
[ Str "4" ]
|
||||
]
|
||||
[ Str "10\160m"
|
||||
, Superscript [ Str "4" ]
|
||||
, Str "\8211\&20\160m"
|
||||
, Superscript [ Str "4" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -155,13 +151,11 @@
|
|||
\SIrange{10}{20}{\meter\squared}
|
||||
^D
|
||||
[ Para
|
||||
[ Str "10\160m"
|
||||
, Superscript
|
||||
[ Str "2" ]
|
||||
, Str "\8211\&20\160m"
|
||||
, Superscript
|
||||
[ Str "2" ]
|
||||
]
|
||||
[ Str "10\160m"
|
||||
, Superscript [ Str "2" ]
|
||||
, Str "\8211\&20\160m"
|
||||
, Superscript [ Str "2" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -185,13 +179,11 @@
|
|||
\SIrange{10}{20}{\meter\tothe{4}}
|
||||
^D
|
||||
[ Para
|
||||
[ Str "10\160m"
|
||||
, Superscript
|
||||
[ Str "4" ]
|
||||
, Str "\8211\&20\160m"
|
||||
, Superscript
|
||||
[ Str "4" ]
|
||||
]
|
||||
[ Str "10\160m"
|
||||
, Superscript [ Str "4" ]
|
||||
, Str "\8211\&20\160m"
|
||||
, Superscript [ Str "4" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -5,32 +5,32 @@
|
|||
Software developers create \cicd pipelines to… Following issue can be resolved by \cicd:
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Software"
|
||||
, Space
|
||||
, Str "developers"
|
||||
, Space
|
||||
, Str "create"
|
||||
, Space
|
||||
, Str "CI/CD"
|
||||
, Space
|
||||
, Str "pipelines"
|
||||
, Space
|
||||
, Str "to\8230"
|
||||
, Space
|
||||
, Str "Following"
|
||||
, Space
|
||||
, Str "issue"
|
||||
, Space
|
||||
, Str "can"
|
||||
, Space
|
||||
, Str "be"
|
||||
, Space
|
||||
, Str "resolved"
|
||||
, Space
|
||||
, Str "by"
|
||||
, Space
|
||||
, Str "CI/CD:"
|
||||
]
|
||||
[ Str "Software"
|
||||
, Space
|
||||
, Str "developers"
|
||||
, Space
|
||||
, Str "create"
|
||||
, Space
|
||||
, Str "CI/CD"
|
||||
, Space
|
||||
, Str "pipelines"
|
||||
, Space
|
||||
, Str "to\8230"
|
||||
, Space
|
||||
, Str "Following"
|
||||
, Space
|
||||
, Str "issue"
|
||||
, Space
|
||||
, Str "can"
|
||||
, Space
|
||||
, Str "be"
|
||||
, Space
|
||||
, Str "resolved"
|
||||
, Space
|
||||
, Str "by"
|
||||
, Space
|
||||
, Str "CI/CD:"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -41,20 +41,20 @@ Software developers create \cicd pipelines to… Following issue can be resolved
|
|||
\cicd\footnote{\url{https://en.wikipedia.org/wiki/CI/CD}} is awesome.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "CI/CD"
|
||||
, Note
|
||||
[ Para
|
||||
[ Link
|
||||
( "", [], [] )
|
||||
[ Str "https://en.wikipedia.org/wiki/CI/CD" ]
|
||||
( "https://en.wikipedia.org/wiki/CI/CD", "" )
|
||||
]
|
||||
[ Str "CI/CD"
|
||||
, Note
|
||||
[ Para
|
||||
[ Link
|
||||
( "" , [] , [] )
|
||||
[ Str "https://en.wikipedia.org/wiki/CI/CD" ]
|
||||
( "https://en.wikipedia.org/wiki/CI/CD" , "" )
|
||||
]
|
||||
]
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "awesome."
|
||||
]
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "awesome."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -65,5 +65,5 @@ Software developers create \cicd pipelines to… Following issue can be resolved
|
|||
|
||||
\cicd\pipeline.
|
||||
^D
|
||||
[ Para [ Str "CI/CD", Space, Str "pipeline." ] ]
|
||||
[ Para [ Str "CI/CD" , Space , Str "pipeline." ] ]
|
||||
```
|
||||
|
|
|
@ -16,78 +16,84 @@ Results marker can be hidden in block attributes (#3706)
|
|||
| 3 | La |
|
||||
^D
|
||||
[ Div
|
||||
( "tab", [], [] )
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [ Plain [ Str "Lalelu." ] ] )
|
||||
[
|
||||
( AlignDefault, ColWidthDefault )
|
||||
,
|
||||
( AlignDefault, ColWidthDefault )
|
||||
( "tab" , [] , [] )
|
||||
[ Table
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [ Plain [ Str "Lalelu." ] ])
|
||||
[ ( AlignDefault , ColWidthDefault )
|
||||
, ( AlignDefault , ColWidthDefault )
|
||||
]
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Id" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Desc" ] ]
|
||||
]
|
||||
])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "La" ] ]
|
||||
]
|
||||
, Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "2" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "La" ] ]
|
||||
]
|
||||
, Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "3" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "La" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
( TableHead
|
||||
( "", [], [] )
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Id" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Desc" ] ]
|
||||
]
|
||||
]
|
||||
)
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "La" ] ]
|
||||
]
|
||||
, Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "2" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "La" ] ]
|
||||
]
|
||||
, Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "3" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "La" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -6,41 +6,48 @@
|
|||
\end{tabular}
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[ ( AlignCenter, ColWidthDefault ), ( AlignCenter, ColWidthDefault ) ]
|
||||
( TableHead ( "", [], [] ) [] )
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "A" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "B&1" ] ]
|
||||
]
|
||||
, Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "C" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "D" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignCenter , ColWidthDefault )
|
||||
, ( AlignCenter , ColWidthDefault )
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableHead ( "" , [] , [] ) [])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "A" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "B&1" ] ]
|
||||
]
|
||||
, Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "C" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "D" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
|
|
@ -7,8 +7,7 @@ some: code
|
|||
```
|
||||
^D
|
||||
[ BulletList
|
||||
[ [ Plain [ Str "Item1" ] ], [ Plain [ Str "Item2" ] ] ]
|
||||
, CodeBlock
|
||||
( "", [ "yaml" ], [] ) "some: code"
|
||||
[ [ Plain [ Str "Item1" ] ] , [ Plain [ Str "Item2" ] ] ]
|
||||
, CodeBlock ( "" , [ "yaml" ] , [] ) "some: code"
|
||||
]
|
||||
````
|
||||
|
|
|
@ -6,18 +6,17 @@ date: '22. Juni 2017'
|
|||
---
|
||||
^D
|
||||
Pandoc
|
||||
( Meta
|
||||
{ unMeta = fromList
|
||||
[
|
||||
( "date"
|
||||
, MetaInlines
|
||||
[ Str "22.", Space, Str "Juni", Space, Str "2017" ]
|
||||
)
|
||||
,
|
||||
( "title", MetaInlines [ Str "Titel" ] )
|
||||
]
|
||||
Meta
|
||||
{ unMeta =
|
||||
fromList
|
||||
[ ( "date"
|
||||
, MetaInlines
|
||||
[ Str "22." , Space , Str "Juni" , Space , Str "2017" ]
|
||||
)
|
||||
, ( "title" , MetaInlines [ Str "Titel" ] )
|
||||
]
|
||||
}
|
||||
) []
|
||||
[]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -29,23 +28,22 @@ date: |
|
|||
---
|
||||
^D
|
||||
Pandoc
|
||||
( Meta
|
||||
{ unMeta = fromList
|
||||
[
|
||||
( "date"
|
||||
, MetaBlocks
|
||||
[ OrderedList
|
||||
( 22, Decimal, Period )
|
||||
[ [ Plain [ Str "Juni", Space, Str "2017" ] ] ]
|
||||
Meta
|
||||
{ unMeta =
|
||||
fromList
|
||||
[ ( "date"
|
||||
, MetaBlocks
|
||||
[ OrderedList
|
||||
( 22 , Decimal , Period )
|
||||
[ [ Plain [ Str "Juni" , Space , Str "2017" ] ] ]
|
||||
]
|
||||
)
|
||||
, ( "title"
|
||||
, MetaBlocks
|
||||
[ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ]
|
||||
)
|
||||
]
|
||||
)
|
||||
,
|
||||
( "title"
|
||||
, MetaBlocks
|
||||
[ Div ( "", [], [] ) [ Plain [ Str "foo" ] ] ]
|
||||
)
|
||||
]
|
||||
}
|
||||
) []
|
||||
[]
|
||||
```
|
||||
|
||||
|
|
|
@ -21,39 +21,37 @@
|
|||
}
|
||||
^D
|
||||
[ BulletList
|
||||
[
|
||||
[ Para
|
||||
[ Str "Pandoc"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "100%"
|
||||
, Space
|
||||
, Str "awesome."
|
||||
[ [ Para
|
||||
[ Str "Pandoc"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "100%"
|
||||
, Space
|
||||
, Str "awesome."
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
, BulletList
|
||||
[
|
||||
[ Para
|
||||
[ Str "Pandoc"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "200%"
|
||||
, Space
|
||||
, Str "awesome."
|
||||
[ [ Para
|
||||
[ Str "Pandoc"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "200%"
|
||||
, Space
|
||||
, Str "awesome."
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
, Para
|
||||
[ Str "Pandoc"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "300%"
|
||||
, Space
|
||||
, Str "awesome."
|
||||
]
|
||||
[ Str "Pandoc"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "300%"
|
||||
, Space
|
||||
, Str "awesome."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
% pandoc -f html -t native
|
||||
<div><p>hello</div>
|
||||
^D
|
||||
[ Div ( "", [], [] ) [ Para [ Str "hello" ] ] ]
|
||||
[ Div ( "" , [] , [] ) [ Para [ Str "hello" ] ] ]
|
||||
```
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
\titleformat{\chapter}[display]{\normalfont\large\bfseries}{第\thechapter{}章}{20pt}{\Huge}
|
||||
^D
|
||||
[ RawBlock
|
||||
( Format "tex" ) "\\titleformat{\\chapter}[display]{\\normalfont\\large\\bfseries}{\31532\\thechapter{}\31456}{20pt}{\\Huge}"
|
||||
(Format "tex")
|
||||
"\\titleformat{\\chapter}[display]{\\normalfont\\large\\bfseries}{\31532\\thechapter{}\31456}{20pt}{\\Huge}"
|
||||
]
|
||||
```
|
||||
|
|
|
@ -20,11 +20,9 @@ more
|
|||
|
||||
hello \iftoggle{ebook}{ebook}{noebook}
|
||||
^D
|
||||
[ Para
|
||||
[ Str "ebook", SoftBreak, Str "more" ]
|
||||
[ Para [ Str "ebook" , SoftBreak , Str "more" ]
|
||||
, Para
|
||||
[ Str "not", Space, Str "ebook", SoftBreak, Str "more" ]
|
||||
, Para
|
||||
[ Str "hello", Space, Str "noebook" ]
|
||||
[ Str "not" , Space , Str "ebook" , SoftBreak , Str "more" ]
|
||||
, Para [ Str "hello" , Space , Str "noebook" ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -5,15 +5,11 @@
|
|||
# more
|
||||
^D
|
||||
[ OrderedList
|
||||
( 1, DefaultStyle, DefaultDelim )
|
||||
[
|
||||
[ Plain
|
||||
[ Str "text", Space, Str "text" ]
|
||||
, CodeBlock
|
||||
( "", [], [] ) "blabla"
|
||||
( 1 , DefaultStyle , DefaultDelim )
|
||||
[ [ Plain [ Str "text" , Space , Str "text" ]
|
||||
, CodeBlock ( "" , [] , [] ) "blabla"
|
||||
]
|
||||
, [ Plain [ Str "more" ] ]
|
||||
]
|
||||
,
|
||||
[ Plain [ Str "more" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -6,9 +6,8 @@
|
|||
|
||||
Another Code block
|
||||
^D
|
||||
[ RawBlock
|
||||
( Format "tex" ) "\\newpage"
|
||||
[ RawBlock (Format "tex") "\\newpage"
|
||||
, CodeBlock
|
||||
( "", [], [] ) "Code block\n\nAnother Code block"
|
||||
( "" , [] , [] ) "Code block\n\nAnother Code block"
|
||||
]
|
||||
```
|
||||
|
|
|
@ -2,19 +2,19 @@
|
|||
% pandoc -f latex -t native
|
||||
\texttt{"hi"}
|
||||
^D
|
||||
[ Para [ Code ( "", [], [] ) "\"hi\"" ] ]
|
||||
[ Para [ Code ( "" , [] , [] ) "\"hi\"" ] ]
|
||||
```
|
||||
|
||||
```
|
||||
% pandoc -f latex -t native
|
||||
\texttt{``hi''}
|
||||
^D
|
||||
[ Para [ Code ( "", [], [] ) "\8220hi\8221" ] ]
|
||||
[ Para [ Code ( "" , [] , [] ) "\8220hi\8221" ] ]
|
||||
```
|
||||
|
||||
```
|
||||
% pandoc -f latex -t native
|
||||
\texttt{`hi'}
|
||||
^D
|
||||
[ Para [ Code ( "", [], [] ) "\8216hi\8217" ] ]
|
||||
[ Para [ Code ( "" , [] , [] ) "\8216hi\8217" ] ]
|
||||
```
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
\code{f}
|
||||
\end{document}
|
||||
^D
|
||||
[ Para [ Code ( "", [], [] ) "f" ] ]
|
||||
[ Para [ Code ( "" , [] , [] ) "f" ] ]
|
||||
```
|
||||
|
|
|
@ -19,10 +19,8 @@
|
|||
\DeclareRobustCommand{\urlfootnote}{\hyper@normalise\urlfootnote@}
|
||||
\makeatother
|
||||
^D
|
||||
[ RawBlock
|
||||
( Format "latex" ) "\\makeatletter"
|
||||
, RawBlock
|
||||
( Format "latex" ) "\\makeatother"
|
||||
[ RawBlock (Format "latex") "\\makeatletter"
|
||||
, RawBlock (Format "latex") "\\makeatother"
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -31,5 +29,5 @@
|
|||
\def\foo{bar}
|
||||
\expandafter\bam\foo
|
||||
^D
|
||||
[ RawBlock ( Format "latex" ) "\\bambar" ]
|
||||
[ RawBlock (Format "latex") "\\bambar" ]
|
||||
```
|
||||
|
|
|
@ -4,21 +4,19 @@
|
|||
<span title="1st line of text <br> 2nd line of text">foo</span>
|
||||
^D
|
||||
[ Para
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[ ( "title", "1st line of text <br> 2nd line of text" ) ]
|
||||
)
|
||||
[ Str "foo" ]
|
||||
, SoftBreak
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
,
|
||||
[ ( "title", "1st line of text <br> 2nd line of text" ) ]
|
||||
)
|
||||
[ Str "foo" ]
|
||||
]
|
||||
[ Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "title" , "1st line of text <br> 2nd line of text" ) ]
|
||||
)
|
||||
[ Str "foo" ]
|
||||
, SoftBreak
|
||||
, Span
|
||||
( ""
|
||||
, []
|
||||
, [ ( "title" , "1st line of text <br> 2nd line of text" ) ]
|
||||
)
|
||||
[ Str "foo" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -3,16 +3,19 @@
|
|||
% Old
|
||||
^D
|
||||
Pandoc
|
||||
( Meta { unMeta = fromList [ ( "title", MetaString "New" ) ] } ) []
|
||||
Meta
|
||||
{ unMeta = fromList [ ( "title" , MetaString "New" ) ] }
|
||||
[]
|
||||
```
|
||||
|
||||
```
|
||||
% pandoc -t native -s -M foo=1 -M foo=2
|
||||
^D
|
||||
Pandoc
|
||||
( Meta
|
||||
{ unMeta = fromList
|
||||
[ ( "foo", MetaList [ MetaString "1", MetaString "2" ] ) ]
|
||||
Meta
|
||||
{ unMeta =
|
||||
fromList
|
||||
[ ( "foo" , MetaList [ MetaString "1" , MetaString "2" ] ) ]
|
||||
}
|
||||
) []
|
||||
[]
|
||||
```
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
}
|
||||
^D
|
||||
[ RawBlock
|
||||
( Format "tex" ) "\\parbox[t]{0.4\\textwidth}{\n\\begin{shaded}\n\\end{shaded}\n}"
|
||||
(Format "tex")
|
||||
"\\parbox[t]{0.4\\textwidth}{\n\\begin{shaded}\n\\end{shaded}\n}"
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -17,39 +18,40 @@ Blah & Foo & Bar \\
|
|||
\end{tabular}
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[
|
||||
( AlignLeft, ColWidthDefault )
|
||||
,
|
||||
( AlignRight, ColWidthDefault )
|
||||
,
|
||||
( AlignRight, ColWidthDefault )
|
||||
]
|
||||
( TableHead ( "", [], [] ) [] )
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Blah" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Foo" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Bar" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignLeft , ColWidthDefault )
|
||||
, ( AlignRight , ColWidthDefault )
|
||||
, ( AlignRight , ColWidthDefault )
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableHead ( "" , [] , [] ) [])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Blah" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Foo" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Bar" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
|
|
@ -12,28 +12,33 @@
|
|||
</table>
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[ ( AlignDefault, ColWidth 0.3 ), ( AlignDefault, ColWidth 0.7 ) ]
|
||||
( TableHead ( "", [], [] ) [] )
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "2" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignDefault , ColWidth 0.3 )
|
||||
, ( AlignDefault , ColWidth 0.7 )
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableHead ( "" , [] , [] ) [])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "2" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
|
|
@ -5,24 +5,29 @@
|
|||
[http://domain.com?a=. open productname bugs]
|
||||
^D
|
||||
[ Para
|
||||
[ Link
|
||||
( "", [], [] )
|
||||
[ Str "open", Space, Str "productname", Space, Str "bugs" ]
|
||||
( "https://domain.com/script.php?a=1&b=2&c=&d=4", "" )
|
||||
]
|
||||
[ Link
|
||||
( "" , [] , [] )
|
||||
[ Str "open"
|
||||
, Space
|
||||
, Str "productname"
|
||||
, Space
|
||||
, Str "bugs"
|
||||
]
|
||||
( "https://domain.com/script.php?a=1&b=2&c=&d=4" , "" )
|
||||
]
|
||||
, Para
|
||||
[ Str "["
|
||||
, Link
|
||||
( "", [], [] )
|
||||
[ Str "http://domain.com?a=" ]
|
||||
( "http://domain.com?a=", "" )
|
||||
, Str "."
|
||||
, Space
|
||||
, Str "open"
|
||||
, Space
|
||||
, Str "productname"
|
||||
, Space
|
||||
, Str "bugs]"
|
||||
]
|
||||
[ Str "["
|
||||
, Link
|
||||
( "" , [] , [] )
|
||||
[ Str "http://domain.com?a=" ]
|
||||
( "http://domain.com?a=" , "" )
|
||||
, Str "."
|
||||
, Space
|
||||
, Str "open"
|
||||
, Space
|
||||
, Str "productname"
|
||||
, Space
|
||||
, Str "bugs]"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -9,51 +9,55 @@ not a caption!
|
|||
::::::::::::::::
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[
|
||||
( AlignDefault, ColWidthDefault )
|
||||
,
|
||||
( AlignDefault, ColWidthDefault )
|
||||
]
|
||||
( TableHead
|
||||
( "", [], [] )
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "col1" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "col2" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignDefault , ColWidthDefault )
|
||||
, ( AlignDefault , ColWidthDefault )
|
||||
]
|
||||
)
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "2" ] ]
|
||||
]
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "col1" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "col2" ] ]
|
||||
]
|
||||
])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "1" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "2" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
, Div
|
||||
( "", [ "notes" ], [] )
|
||||
[ Para [ Str "not", Space, Str "a", Space, Str "caption!" ] ]
|
||||
( "" , [ "notes" ] , [] )
|
||||
[ Para
|
||||
[ Str "not" , Space , Str "a" , Space , Str "caption!" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -20,5 +20,5 @@ Hello.\
|
|||
|
||||
World.
|
||||
^D
|
||||
[ Para [ Str "Hello.\160" ], Para [ Str "World." ] ]
|
||||
[ Para [ Str "Hello.\160" ] , Para [ Str "World." ] ]
|
||||
```
|
||||
|
|
|
@ -3,9 +3,7 @@
|
|||
\newcommand{\gen}{a\ Gen\ b}
|
||||
abc
|
||||
^D
|
||||
[ RawBlock
|
||||
( Format "tex" ) "\\newcommand{\\gen}{a\\ Gen\\ b}"
|
||||
, Para
|
||||
[ Str "abc" ]
|
||||
[ RawBlock (Format "tex") "\\newcommand{\\gen}{a\\ Gen\\ b}"
|
||||
, Para [ Str "abc" ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
<div class="line-block">hi<br /><br>
|
||||
there</div>
|
||||
^D
|
||||
[ LineBlock [ [ Str "hi" ], [], [ Str "\160there" ] ] ]
|
||||
[ LineBlock [ [ Str "hi" ] , [] , [ Str "\160there" ] ] ]
|
||||
```
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
</figcaption>
|
||||
</figure>
|
||||
^D
|
||||
[ Para [ Image ( "", [], [] ) [ Str "baz" ] ( "foo", "fig:" ) ] ]
|
||||
[ Para
|
||||
[ Image ( "" , [] , [] ) [ Str "baz" ] ( "foo" , "fig:" ) ]
|
||||
]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -29,6 +31,8 @@
|
|||
</figure>
|
||||
^D
|
||||
[ Para
|
||||
[ Image ( "", [], [] ) [ Emph [ Str "baz" ] ] ( "foo", "fig:" ) ]
|
||||
[ Image
|
||||
( "" , [] , [] ) [ Emph [ Str "baz" ] ] ( "foo" , "fig:" )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -5,10 +5,8 @@
|
|||
#+end_example
|
||||
^D
|
||||
[ CodeBlock
|
||||
( ""
|
||||
, [ "example" ]
|
||||
, []
|
||||
) " This should retain the four leading spaces\n"
|
||||
( "" , [ "example" ] , [] )
|
||||
" This should retain the four leading spaces\n"
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -4,5 +4,7 @@
|
|||
a
|
||||
- b
|
||||
^D
|
||||
[ BulletList [ [ Plain [ Str "a" ] ], [ Plain [ Str "b" ] ] ] ]
|
||||
[ BulletList
|
||||
[ [ Plain [ Str "a" ] ] , [ Plain [ Str "b" ] ] ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -2,5 +2,8 @@
|
|||
% pandoc -f latex -t native
|
||||
\foreignlanguage{ngerman}{foo}
|
||||
^D
|
||||
[ Para [ Span ( "", [], [ ( "lang", "de-DE" ) ] ) [ Str "foo" ] ] ]
|
||||
[ Para
|
||||
[ Span ( "" , [] , [ ( "lang" , "de-DE" ) ] ) [ Str "foo" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -26,26 +26,19 @@ header4
|
|||
~~~~~~~
|
||||
^D
|
||||
Pandoc
|
||||
( Meta
|
||||
{ unMeta = fromList
|
||||
[
|
||||
( "subtitle", MetaInlines [ Str "Subtitle" ] )
|
||||
,
|
||||
( "title", MetaInlines [ Str "Title" ] )
|
||||
]
|
||||
Meta
|
||||
{ unMeta =
|
||||
fromList
|
||||
[ ( "subtitle" , MetaInlines [ Str "Subtitle" ] )
|
||||
, ( "title" , MetaInlines [ Str "Title" ] )
|
||||
]
|
||||
}
|
||||
)
|
||||
[ Header 1
|
||||
( "header1", [], [] )
|
||||
[ Str "header1" ]
|
||||
, Header 2
|
||||
( "header2", [], [] )
|
||||
[ Str "header2" ]
|
||||
, Header 3
|
||||
( "id", [], [] )
|
||||
[ Str "header3" ]
|
||||
, Header 3
|
||||
( "id3", [], [] )
|
||||
[ Str "header4", Span ( "id2", [], [] ) [] ]
|
||||
[ Header 1 ( "header1" , [] , [] ) [ Str "header1" ]
|
||||
, Header 2 ( "header2" , [] , [] ) [ Str "header2" ]
|
||||
, Header 3 ( "id" , [] , [] ) [ Str "header3" ]
|
||||
, Header
|
||||
3
|
||||
( "id3" , [] , [] )
|
||||
[ Str "header4" , Span ( "id2" , [] , [] ) [] ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
Driver
|
||||
------
|
||||
^D
|
||||
[ Header 1 ( "driver", [], [] ) [ Str "Driver" ] ]
|
||||
[ Header 1 ( "driver" , [] , [] ) [ Str "Driver" ] ]
|
||||
```
|
||||
|
|
|
@ -10,17 +10,12 @@
|
|||
::::
|
||||
^D
|
||||
[ Div
|
||||
( "", [ "a" ], [] )
|
||||
[ BulletList
|
||||
[
|
||||
[ Div
|
||||
( "", [ "b" ], [] )
|
||||
[ Para [ Str "text" ] ]
|
||||
, Div
|
||||
( "", [ "c" ], [] )
|
||||
[ Para [ Str "text" ] ]
|
||||
]
|
||||
( "" , [ "a" ] , [] )
|
||||
[ BulletList
|
||||
[ [ Div ( "" , [ "b" ] , [] ) [ Para [ Str "text" ] ]
|
||||
, Div ( "" , [ "c" ] , [] ) [ Para [ Str "text" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -8,30 +8,33 @@
|
|||
** Children of headers with excluded tags should not appear :xylophone:
|
||||
* This should not appear :%:
|
||||
^D
|
||||
[ Header 1
|
||||
( "noexport-should-appear-if-not-specified-in-excludetags", [], [] )
|
||||
[ Str "NOEXPORT"
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "appear"
|
||||
, Space
|
||||
, Str "if"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "specified"
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "EXCLUDE"
|
||||
, Subscript
|
||||
[ Str "TAGS" ]
|
||||
, Space
|
||||
, Span
|
||||
( "", [ "tag" ], [ ( "tag-name", "noexport" ) ] )
|
||||
[ SmallCaps [ Str "noexport" ] ]
|
||||
]
|
||||
[ Header
|
||||
1
|
||||
( "noexport-should-appear-if-not-specified-in-excludetags"
|
||||
, []
|
||||
, []
|
||||
)
|
||||
[ Str "NOEXPORT"
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "appear"
|
||||
, Space
|
||||
, Str "if"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "specified"
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "EXCLUDE"
|
||||
, Subscript [ Str "TAGS" ]
|
||||
, Space
|
||||
, Span
|
||||
( "" , [ "tag" ] , [ ( "tag-name" , "noexport" ) ] )
|
||||
[ SmallCaps [ Str "noexport" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -41,18 +44,19 @@
|
|||
* This should not appear :elephant:
|
||||
* This should appear :fawn:
|
||||
^D
|
||||
[ Header 1
|
||||
( "this-should-appear", [], [] )
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "appear"
|
||||
, Space
|
||||
, Span
|
||||
( "", [ "tag" ], [ ( "tag-name", "fawn" ) ] )
|
||||
[ SmallCaps [ Str "fawn" ] ]
|
||||
]
|
||||
[ Header
|
||||
1
|
||||
( "this-should-appear" , [] , [] )
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "appear"
|
||||
, Space
|
||||
, Span
|
||||
( "" , [ "tag" ] , [ ( "tag-name" , "fawn" ) ] )
|
||||
[ SmallCaps [ Str "fawn" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -64,18 +68,19 @@
|
|||
* This should not appear :hippo:
|
||||
* This should appear :noexport:
|
||||
^D
|
||||
[ Header 1
|
||||
( "this-should-appear", [], [] )
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "appear"
|
||||
, Space
|
||||
, Span
|
||||
( "", [ "tag" ], [ ( "tag-name", "noexport" ) ] )
|
||||
[ SmallCaps [ Str "noexport" ] ]
|
||||
]
|
||||
[ Header
|
||||
1
|
||||
( "this-should-appear" , [] , [] )
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "appear"
|
||||
, Space
|
||||
, Span
|
||||
( "" , [ "tag" ] , [ ( "tag-name" , "noexport" ) ] )
|
||||
[ SmallCaps [ Str "noexport" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -84,29 +89,32 @@
|
|||
#+EXCLUDE_TAGS:
|
||||
* NOEXPORT should appear if not specified in EXCLUDE_TAGS :noexport:
|
||||
^D
|
||||
[ Header 1
|
||||
( "noexport-should-appear-if-not-specified-in-excludetags", [], [] )
|
||||
[ Str "NOEXPORT"
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "appear"
|
||||
, Space
|
||||
, Str "if"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "specified"
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "EXCLUDE"
|
||||
, Subscript
|
||||
[ Str "TAGS" ]
|
||||
, Space
|
||||
, Span
|
||||
( "", [ "tag" ], [ ( "tag-name", "noexport" ) ] )
|
||||
[ SmallCaps [ Str "noexport" ] ]
|
||||
]
|
||||
[ Header
|
||||
1
|
||||
( "noexport-should-appear-if-not-specified-in-excludetags"
|
||||
, []
|
||||
, []
|
||||
)
|
||||
[ Str "NOEXPORT"
|
||||
, Space
|
||||
, Str "should"
|
||||
, Space
|
||||
, Str "appear"
|
||||
, Space
|
||||
, Str "if"
|
||||
, Space
|
||||
, Str "not"
|
||||
, Space
|
||||
, Str "specified"
|
||||
, Space
|
||||
, Str "in"
|
||||
, Space
|
||||
, Str "EXCLUDE"
|
||||
, Subscript [ Str "TAGS" ]
|
||||
, Space
|
||||
, Span
|
||||
( "" , [ "tag" ] , [ ( "tag-name" , "noexport" ) ] )
|
||||
[ SmallCaps [ Str "noexport" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -7,17 +7,16 @@ The file id is \nolinkurl{ESP_123_5235}.
|
|||
\end{document}
|
||||
^D
|
||||
[ Para
|
||||
[ Str "The"
|
||||
, Space
|
||||
, Str "file"
|
||||
, Space
|
||||
, Str "id"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Code
|
||||
( "", [], [] ) "ESP_123_5235"
|
||||
, Str "."
|
||||
]
|
||||
[ Str "The"
|
||||
, Space
|
||||
, Str "file"
|
||||
, Space
|
||||
, Str "id"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Code ( "" , [] , [] ) "ESP_123_5235"
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -4,17 +4,17 @@
|
|||
}
|
||||
^D
|
||||
[ Para
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "a"
|
||||
, citationPrefix = []
|
||||
, citationSuffix = []
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "a"
|
||||
, citationPrefix = []
|
||||
, citationSuffix = []
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
]
|
||||
[ RawInline (Format "latex") "\\cite{a%\n}" ]
|
||||
]
|
||||
[ RawInline ( Format "latex" ) "\\cite{a%\n}" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
=====
|
||||
^D
|
||||
[ BulletList [ [] ], HorizontalRule ]
|
||||
[ BulletList [ [] ] , HorizontalRule ]
|
||||
```
|
||||
|
|
|
@ -3,5 +3,7 @@
|
|||
• a
|
||||
• b
|
||||
^D
|
||||
[ BulletList [ [ Plain [ Str "a" ] ], [ Plain [ Str "b" ] ] ] ]
|
||||
[ BulletList
|
||||
[ [ Plain [ Str "a" ] ] , [ Plain [ Str "b" ] ] ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
% pandoc -f latex+raw_tex -t native
|
||||
\mbox{abc def}
|
||||
^D
|
||||
[ Para [ RawInline ( Format "latex" ) "\\mbox{abc def}" ] ]
|
||||
[ Para [ RawInline (Format "latex") "\\mbox{abc def}" ] ]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -53,7 +53,7 @@ mno} pqr
|
|||
% pandoc -f latex+raw_tex -t native
|
||||
\hbox{abc def}
|
||||
^D
|
||||
[ Para [ RawInline ( Format "latex" ) "\\hbox{abc def}" ] ]
|
||||
[ Para [ RawInline (Format "latex") "\\hbox{abc def}" ] ]
|
||||
```
|
||||
|
||||
```
|
||||
|
|
|
@ -3,31 +3,30 @@
|
|||
|_. heading 1 |_. heading 2|
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[
|
||||
( AlignDefault, ColWidthDefault )
|
||||
,
|
||||
( AlignDefault, ColWidthDefault )
|
||||
]
|
||||
( TableHead
|
||||
( "", [], [] )
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "heading", Space, Str "1" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "heading", Space, Str "2" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignDefault , ColWidthDefault )
|
||||
, ( AlignDefault , ColWidthDefault )
|
||||
]
|
||||
)
|
||||
[ TableBody ( "", [], [] ) ( RowHeadColumns 0 ) [] [] ]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "heading" , Space , Str "1" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "heading" , Space , Str "2" ] ]
|
||||
]
|
||||
])
|
||||
[ TableBody ( "" , [] , [] ) (RowHeadColumns 0) [] [] ]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
|
|
@ -2,13 +2,20 @@
|
|||
% pandoc -f latex -t native
|
||||
foo \include{command/bar}
|
||||
^D
|
||||
[ Para [ Str "foo" ], Para [ Emph [ Str "hi", Space, Str "there" ] ] ]
|
||||
[ Para [ Str "foo" ]
|
||||
, Para [ Emph [ Str "hi" , Space , Str "there" ] ]
|
||||
]
|
||||
```
|
||||
|
||||
```
|
||||
% pandoc -f latex -t native
|
||||
foo \input{command/bar}
|
||||
^D
|
||||
[ Para [ Str "foo", Space, Emph [ Str "hi", Space, Str "there" ] ] ]
|
||||
[ Para
|
||||
[ Str "foo"
|
||||
, Space
|
||||
, Emph [ Str "hi" , Space , Str "there" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -9,48 +9,50 @@
|
|||
- ham
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[
|
||||
( AlignDefault, ColWidthDefault )
|
||||
,
|
||||
( AlignDefault, ColWidthDefault )
|
||||
]
|
||||
( TableHead
|
||||
( "", [], [] )
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Foo" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Bar" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignDefault , ColWidthDefault )
|
||||
, ( AlignDefault , ColWidthDefault )
|
||||
]
|
||||
)
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "spam" ] ]
|
||||
, Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "ham" ] ]
|
||||
]
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Foo" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Bar" ] ]
|
||||
]
|
||||
])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "spam" ] ]
|
||||
, Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "ham" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
|
|
@ -23,14 +23,11 @@ code4
|
|||
code5\end{verbatim}
|
||||
^D
|
||||
[ CodeBlock
|
||||
( "", [], [ ( "key1", "value1" ) ] ) "code1\n"
|
||||
( "" , [] , [ ( "key1" , "value1" ) ] ) "code1\n"
|
||||
, CodeBlock
|
||||
( "", [], [ ( "key2", "value2" ) ] ) "code2\n "
|
||||
, CodeBlock
|
||||
( "", [], [] ) "code3"
|
||||
, CodeBlock
|
||||
( "", [], [] ) "code4"
|
||||
, CodeBlock
|
||||
( "", [], [] ) "code5"
|
||||
( "" , [] , [ ( "key2" , "value2" ) ] ) "code2\n "
|
||||
, CodeBlock ( "" , [] , [] ) "code3"
|
||||
, CodeBlock ( "" , [] , [] ) "code4"
|
||||
, CodeBlock ( "" , [] , [] ) "code5"
|
||||
]
|
||||
```
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(cf.
|
||||
foo)
|
||||
^D
|
||||
[ Para [ Str "(cf.", SoftBreak, Str "foo)" ] ]
|
||||
[ Para [ Str "(cf." , SoftBreak , Str "foo)" ] ]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -11,7 +11,9 @@ foo)
|
|||
a (cf.
|
||||
foo)
|
||||
^D
|
||||
[ Para [ Str "a", Space, Str "(cf.", SoftBreak, Str "foo)" ] ]
|
||||
[ Para
|
||||
[ Str "a" , Space , Str "(cf." , SoftBreak , Str "foo)" ]
|
||||
]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -19,7 +21,7 @@ foo)
|
|||
cf.
|
||||
foo
|
||||
^D
|
||||
[ Para [ Str "cf.", SoftBreak, Str "foo" ] ]
|
||||
[ Para [ Str "cf." , SoftBreak , Str "foo" ] ]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -27,5 +29,7 @@ foo
|
|||
a cf.
|
||||
foo
|
||||
^D
|
||||
[ Para [ Str "a", Space, Str "cf.", SoftBreak, Str "foo" ] ]
|
||||
[ Para
|
||||
[ Str "a" , Space , Str "cf." , SoftBreak , Str "foo" ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -7,9 +7,8 @@
|
|||
\end{verbatim}
|
||||
^D
|
||||
[ Para
|
||||
[ Span ( "", [], [] ) [ Code ( "", [], [] ) "<-" ] ]
|
||||
, CodeBlock
|
||||
( "", [], [] ) " while (n > 0) {"
|
||||
[ Span ( "" , [] , [] ) [ Code ( "" , [] , [] ) "<-" ] ]
|
||||
, CodeBlock ( "" , [] , [] ) " while (n > 0) {"
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -24,16 +23,11 @@
|
|||
\end{itemize}
|
||||
^D
|
||||
[ BulletList
|
||||
[
|
||||
[ Para [ Str "one" ] ]
|
||||
,
|
||||
[ Para [ Str "two" ] ]
|
||||
,
|
||||
[ Para [ Str "three" ] ]
|
||||
,
|
||||
[ Para [ Str "four" ] ]
|
||||
,
|
||||
[ Para [ Str "five" ] ]
|
||||
]
|
||||
[ [ Para [ Str "one" ] ]
|
||||
, [ Para [ Str "two" ] ]
|
||||
, [ Para [ Str "three" ] ]
|
||||
, [ Para [ Str "four" ] ]
|
||||
, [ Para [ Str "five" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -12,25 +12,20 @@
|
|||
riuso-software.rst
|
||||
^D
|
||||
[ Div
|
||||
( "tree1"
|
||||
,
|
||||
[ "toctree", "foo", "bar" ]
|
||||
,
|
||||
[
|
||||
( "caption", "Indice dei contenuti" )
|
||||
,
|
||||
( "numbered", "" )
|
||||
,
|
||||
( "maxdepth", "3" )
|
||||
( "tree1"
|
||||
, [ "toctree" , "foo" , "bar" ]
|
||||
, [ ( "caption" , "Indice dei contenuti" )
|
||||
, ( "numbered" , "" )
|
||||
, ( "maxdepth" , "3" )
|
||||
]
|
||||
)
|
||||
[ Para
|
||||
[ Str "premessa.rst"
|
||||
, SoftBreak
|
||||
, Str "acquisizione-software.rst"
|
||||
, SoftBreak
|
||||
, Str "riuso-software.rst"
|
||||
]
|
||||
]
|
||||
)
|
||||
[ Para
|
||||
[ Str "premessa.rst"
|
||||
, SoftBreak
|
||||
, Str "acquisizione-software.rst"
|
||||
, SoftBreak
|
||||
, Str "riuso-software.rst"
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -7,23 +7,16 @@
|
|||
*Level 1
|
||||
^D
|
||||
[ BulletList
|
||||
[
|
||||
[ Plain [ Str "Level", Space, Str "1" ] ]
|
||||
,
|
||||
[ Plain
|
||||
[ Str "Level", Space, Str "1" ]
|
||||
, BulletList
|
||||
[
|
||||
[ Plain
|
||||
[ Str "Level", Space, Str "2" ]
|
||||
, BulletList
|
||||
[ [ Plain [ Str "Level", Space, Str "3" ] ] ]
|
||||
]
|
||||
[ [ Plain [ Str "Level" , Space , Str "1" ] ]
|
||||
, [ Plain [ Str "Level" , Space , Str "1" ]
|
||||
, BulletList
|
||||
[ [ Plain [ Str "Level" , Space , Str "2" ]
|
||||
, BulletList [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
, [ Plain [ Str "Level" , Space , Str "1" ] ]
|
||||
]
|
||||
,
|
||||
[ Plain [ Str "Level", Space, Str "1" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
```
|
||||
|
@ -35,25 +28,19 @@
|
|||
#Level 1
|
||||
^D
|
||||
[ OrderedList
|
||||
( 1, DefaultStyle, DefaultDelim )
|
||||
[
|
||||
[ Plain [ Str "Level", Space, Str "1" ] ]
|
||||
,
|
||||
[ Plain
|
||||
[ Str "Level", Space, Str "1" ]
|
||||
, OrderedList
|
||||
( 1, DefaultStyle, DefaultDelim )
|
||||
[
|
||||
[ Plain
|
||||
[ Str "Level", Space, Str "2" ]
|
||||
, OrderedList
|
||||
( 1, DefaultStyle, DefaultDelim )
|
||||
[ [ Plain [ Str "Level", Space, Str "3" ] ] ]
|
||||
]
|
||||
( 1 , DefaultStyle , DefaultDelim )
|
||||
[ [ Plain [ Str "Level" , Space , Str "1" ] ]
|
||||
, [ Plain [ Str "Level" , Space , Str "1" ]
|
||||
, OrderedList
|
||||
( 1 , DefaultStyle , DefaultDelim )
|
||||
[ [ Plain [ Str "Level" , Space , Str "2" ]
|
||||
, OrderedList
|
||||
( 1 , DefaultStyle , DefaultDelim )
|
||||
[ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
, [ Plain [ Str "Level" , Space , Str "1" ] ]
|
||||
]
|
||||
,
|
||||
[ Plain [ Str "Level", Space, Str "1" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -26,16 +26,17 @@ so it survives...
|
|||
% pandoc -f commonmark+gfm_auto_identifiers-ascii_identifiers -t native
|
||||
# non ascii ⚠️ räksmörgås
|
||||
^D
|
||||
[ Header 1
|
||||
( "non-ascii-\65039-r\228ksm\246rg\229s", [], [] )
|
||||
[ Str "non"
|
||||
, Space
|
||||
, Str "ascii"
|
||||
, Space
|
||||
, Str "\9888\65039"
|
||||
, Space
|
||||
, Str "r\228ksm\246rg\229s"
|
||||
]
|
||||
[ Header
|
||||
1
|
||||
( "non-ascii-\65039-r\228ksm\246rg\229s" , [] , [] )
|
||||
[ Str "non"
|
||||
, Space
|
||||
, Str "ascii"
|
||||
, Space
|
||||
, Str "\9888\65039"
|
||||
, Space
|
||||
, Str "r\228ksm\246rg\229s"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -45,15 +46,16 @@ so it survives...
|
|||
% pandoc -f gfm -t native
|
||||
# non ascii ⚠️ räksmörgås
|
||||
^D
|
||||
[ Header 1
|
||||
( "non-ascii-\65039-r\228ksm\246rg\229s", [], [] )
|
||||
[ Str "non"
|
||||
, Space
|
||||
, Str "ascii"
|
||||
, Space
|
||||
, Str "\9888\65039"
|
||||
, Space
|
||||
, Str "r\228ksm\246rg\229s"
|
||||
]
|
||||
[ Header
|
||||
1
|
||||
( "non-ascii-\65039-r\228ksm\246rg\229s" , [] , [] )
|
||||
[ Str "non"
|
||||
, Space
|
||||
, Str "ascii"
|
||||
, Space
|
||||
, Str "\9888\65039"
|
||||
, Space
|
||||
, Str "r\228ksm\246rg\229s"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -5,15 +5,15 @@ Test that emojis are wrapped in Span
|
|||
My:thumbsup:emoji:heart:
|
||||
^D
|
||||
[ Para
|
||||
[ Str "My"
|
||||
, Span
|
||||
( "", [ "emoji" ], [ ( "data-emoji", "thumbsup" ) ] )
|
||||
[ Str "\128077" ]
|
||||
, Str "emoji"
|
||||
, Span
|
||||
( "", [ "emoji" ], [ ( "data-emoji", "heart" ) ] )
|
||||
[ Str "\10084\65039" ]
|
||||
]
|
||||
[ Str "My"
|
||||
, Span
|
||||
( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] )
|
||||
[ Str "\128077" ]
|
||||
, Str "emoji"
|
||||
, Span
|
||||
( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] )
|
||||
[ Str "\10084\65039" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -22,15 +22,15 @@ My:thumbsup:emoji:heart:
|
|||
My:thumbsup:emoji:heart:
|
||||
^D
|
||||
[ Para
|
||||
[ Str "My"
|
||||
, Span
|
||||
( "", [ "emoji" ], [ ( "data-emoji", "thumbsup" ) ] )
|
||||
[ Str "\128077" ]
|
||||
, Str "emoji"
|
||||
, Span
|
||||
( "", [ "emoji" ], [ ( "data-emoji", "heart" ) ] )
|
||||
[ Str "\10084\65039" ]
|
||||
]
|
||||
[ Str "My"
|
||||
, Span
|
||||
( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] )
|
||||
[ Str "\128077" ]
|
||||
, Str "emoji"
|
||||
, Span
|
||||
( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] )
|
||||
[ Str "\10084\65039" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -7,11 +7,17 @@ Markdown parsed *here*
|
|||
*But not here*
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Markdown", Space, Str "parsed", Space, Emph [ Str "here" ] ]
|
||||
, RawBlock
|
||||
( Format "tex" ) "\\include{command/bar}"
|
||||
[ Str "Markdown"
|
||||
, Space
|
||||
, Str "parsed"
|
||||
, Space
|
||||
, Emph [ Str "here" ]
|
||||
]
|
||||
, RawBlock (Format "tex") "\\include{command/bar}"
|
||||
, Para
|
||||
[ Emph [ Str "But", Space, Str "not", Space, Str "here" ] ]
|
||||
[ Emph
|
||||
[ Str "But" , Space , Str "not" , Space , Str "here" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -22,13 +28,13 @@ Markdown parsed *here*
|
|||
*But not here*
|
||||
^D
|
||||
[ Para
|
||||
[ Emph
|
||||
[ Str "here" ]
|
||||
, Space
|
||||
, RawInline
|
||||
( Format "tex" ) "\\input{command/bar}"
|
||||
]
|
||||
[ Emph [ Str "here" ]
|
||||
, Space
|
||||
, RawInline (Format "tex") "\\input{command/bar}"
|
||||
]
|
||||
, Para
|
||||
[ Emph [ Str "But", Space, Str "not", Space, Str "here" ] ]
|
||||
[ Emph
|
||||
[ Str "But" , Space , Str "not" , Space , Str "here" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -6,7 +6,7 @@ No blank lines in inline interpreted roles:
|
|||
|
||||
blank`:myrole:
|
||||
^D
|
||||
[ Para [ Str "`no" ], Para [ Str "blank`:myrole:" ] ]
|
||||
[ Para [ Str "`no" ] , Para [ Str "blank`:myrole:" ] ]
|
||||
```
|
||||
|
||||
Backslash escape behaves properly in interpreted roles:
|
||||
|
@ -17,10 +17,8 @@ Backslash escape behaves properly in interpreted roles:
|
|||
|
||||
`hi\ there`:code:
|
||||
^D
|
||||
[ Para
|
||||
[ Superscript [ Str "hithere" ] ]
|
||||
, Para
|
||||
[ Code ( "", [], [] ) "hi\\ there" ]
|
||||
[ Para [ Superscript [ Str "hithere" ] ]
|
||||
, Para [ Code ( "" , [] , [] ) "hi\\ there" ]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -30,9 +28,10 @@ Backtick followed by alphanumeric doesn't end the span:
|
|||
`hi`there`:myrole:
|
||||
^D
|
||||
[ Para
|
||||
[ Code
|
||||
( "", [ "interpreted-text" ], [ ( "role", "myrole" ) ] ) "hi`there"
|
||||
]
|
||||
[ Code
|
||||
( "" , [ "interpreted-text" ] , [ ( "role" , "myrole" ) ] )
|
||||
"hi`there"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -43,9 +42,10 @@ Newline is okay, as long as not blank:
|
|||
there`:myrole:
|
||||
^D
|
||||
[ Para
|
||||
[ Code
|
||||
( "", [ "interpreted-text" ], [ ( "role", "myrole" ) ] ) "hi\nthere"
|
||||
]
|
||||
[ Code
|
||||
( "" , [ "interpreted-text" ] , [ ( "role" , "myrole" ) ] )
|
||||
"hi\nthere"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -54,5 +54,7 @@ Use span for title-reference:
|
|||
% pandoc -f rst -t native
|
||||
`default`
|
||||
^D
|
||||
[ Para [ Span ( "", [ "title-ref" ], [] ) [ Str "default" ] ] ]
|
||||
[ Para
|
||||
[ Span ( "" , [ "title-ref" ] , [] ) [ Str "default" ] ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -6,16 +6,16 @@ foo:
|
|||
...
|
||||
^D
|
||||
Pandoc
|
||||
( Meta
|
||||
{ unMeta = fromList
|
||||
[
|
||||
( "foo"
|
||||
, MetaList
|
||||
[ MetaMap
|
||||
( fromList [ ( "bar", MetaInlines [ Str "bam" ] ) ] )
|
||||
Meta
|
||||
{ unMeta =
|
||||
fromList
|
||||
[ ( "foo"
|
||||
, MetaList
|
||||
[ MetaMap
|
||||
(fromList [ ( "bar" , MetaInlines [ Str "bam" ] ) ])
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
]
|
||||
}
|
||||
) []
|
||||
[]
|
||||
```
|
||||
|
|
|
@ -5,9 +5,10 @@ foo: 42
|
|||
...
|
||||
^D
|
||||
Pandoc
|
||||
( Meta
|
||||
{ unMeta = fromList [ ( "foo", MetaInlines [ Str "42" ] ) ] }
|
||||
) []
|
||||
Meta
|
||||
{ unMeta = fromList [ ( "foo" , MetaInlines [ Str "42" ] ) ]
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -17,7 +18,7 @@ foo: true
|
|||
...
|
||||
^D
|
||||
Pandoc
|
||||
( Meta { unMeta = fromList [ ( "foo", MetaBool True ) ] } ) []
|
||||
Meta { unMeta = fromList [ ( "foo" , MetaBool True ) ] } []
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -27,7 +28,7 @@ foo: True
|
|||
...
|
||||
^D
|
||||
Pandoc
|
||||
( Meta { unMeta = fromList [ ( "foo", MetaBool True ) ] } ) []
|
||||
Meta { unMeta = fromList [ ( "foo" , MetaBool True ) ] } []
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -47,8 +48,9 @@ foo: no
|
|||
...
|
||||
^D
|
||||
Pandoc
|
||||
( Meta
|
||||
{ unMeta = fromList [ ( "foo", MetaInlines [ Str "no" ] ) ] }
|
||||
) []
|
||||
Meta
|
||||
{ unMeta = fromList [ ( "foo" , MetaInlines [ Str "no" ] ) ]
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
\url{http://example.com/foo%20bar.htm}
|
||||
^D
|
||||
[ Para
|
||||
[ Link
|
||||
( "", [], [] )
|
||||
[ Str "http://example.com/foo%20bar.htm" ]
|
||||
( "http://example.com/foo%20bar.htm", "" )
|
||||
]
|
||||
[ Link
|
||||
( "" , [] , [] )
|
||||
[ Str "http://example.com/foo%20bar.htm" ]
|
||||
( "http://example.com/foo%20bar.htm" , "" )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -16,11 +16,11 @@
|
|||
\url{http://example.com/foo{bar}.htm}
|
||||
^D
|
||||
[ Para
|
||||
[ Link
|
||||
( "", [], [] )
|
||||
[ Str "http://example.com/foo{bar}.htm" ]
|
||||
( "http://example.com/foo{bar}.htm", "" )
|
||||
]
|
||||
[ Link
|
||||
( "" , [] , [] )
|
||||
[ Str "http://example.com/foo{bar}.htm" ]
|
||||
( "http://example.com/foo{bar}.htm" , "" )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -29,11 +29,11 @@
|
|||
\href{http://example.com/foo%20bar}{Foobar}
|
||||
^D
|
||||
[ Para
|
||||
[ Link
|
||||
( "", [], [] )
|
||||
[ Str "Foobar" ]
|
||||
( "http://example.com/foo%20bar", "" )
|
||||
]
|
||||
[ Link
|
||||
( "" , [] , [] )
|
||||
[ Str "Foobar" ]
|
||||
( "http://example.com/foo%20bar" , "" )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -3,14 +3,19 @@
|
|||
x<a href="/foo"> leading trailing space </a>x
|
||||
^D
|
||||
[ Plain
|
||||
[ Str "x"
|
||||
, Space
|
||||
, Link
|
||||
( "", [], [] )
|
||||
[ Str "leading", Space, Str "trailing", Space, Str "space" ]
|
||||
( "/foo", "" )
|
||||
, Space
|
||||
, Str "x"
|
||||
]
|
||||
[ Str "x"
|
||||
, Space
|
||||
, Link
|
||||
( "" , [] , [] )
|
||||
[ Str "leading"
|
||||
, Space
|
||||
, Str "trailing"
|
||||
, Space
|
||||
, Str "space"
|
||||
]
|
||||
( "/foo" , "" )
|
||||
, Space
|
||||
, Str "x"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -10,9 +10,10 @@
|
|||
\foreignquote{italian}{hi}
|
||||
^D
|
||||
[ Para
|
||||
[ Quoted DoubleQuote
|
||||
[ Span ( "", [], [ ( "lang", "it" ) ] ) [ Str "hi" ] ]
|
||||
]
|
||||
[ Quoted
|
||||
DoubleQuote
|
||||
[ Span ( "" , [] , [ ( "lang" , "it" ) ] ) [ Str "hi" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -21,9 +22,10 @@
|
|||
\hyphenquote*{italian}{hi}
|
||||
^D
|
||||
[ Para
|
||||
[ Quoted SingleQuote
|
||||
[ Span ( "", [], [ ( "lang", "it" ) ] ) [ Str "hi" ] ]
|
||||
]
|
||||
[ Quoted
|
||||
SingleQuote
|
||||
[ Span ( "" , [] , [ ( "lang" , "it" ) ] ) [ Str "hi" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -33,12 +35,12 @@ Lorem ipsum
|
|||
\blockquote{dolor sit amet}
|
||||
consectetuer.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Lorem", Space, Str "ipsum" ]
|
||||
[ Para [ Str "Lorem" , Space , Str "ipsum" ]
|
||||
, BlockQuote
|
||||
[ Para [ Str "dolor", Space, Str "sit", Space, Str "amet" ] ]
|
||||
, Para
|
||||
[ Str "consectetuer." ]
|
||||
[ Para
|
||||
[ Str "dolor" , Space , Str "sit" , Space , Str "amet" ]
|
||||
]
|
||||
, Para [ Str "consectetuer." ]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -78,15 +80,15 @@ Lorem ipsum
|
|||
\foreignblockquote{italian}{dolor sit amet}
|
||||
consectetuer.
|
||||
^D
|
||||
[ Para
|
||||
[ Str "Lorem", Space, Str "ipsum" ]
|
||||
[ Para [ Str "Lorem" , Space , Str "ipsum" ]
|
||||
, BlockQuote
|
||||
[ Div
|
||||
( "", [], [ ( "lang", "it" ) ] )
|
||||
[ Para [ Str "dolor", Space, Str "sit", Space, Str "amet" ] ]
|
||||
]
|
||||
, Para
|
||||
[ Str "consectetuer." ]
|
||||
[ Div
|
||||
( "" , [] , [ ( "lang" , "it" ) ] )
|
||||
[ Para
|
||||
[ Str "dolor" , Space , Str "sit" , Space , Str "amet" ]
|
||||
]
|
||||
]
|
||||
, Para [ Str "consectetuer." ]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -6,15 +6,15 @@ This is broken_.
|
|||
.. _broken: http://google.com
|
||||
^D
|
||||
[ Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Link
|
||||
( "", [], [] )
|
||||
[ Str "broken" ]
|
||||
( "http://google.com", "" )
|
||||
, Str "."
|
||||
]
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Link
|
||||
( "" , [] , [] )
|
||||
[ Str "broken" ]
|
||||
( "http://google.com" , "" )
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
% pandoc -f html -t native
|
||||
My <script type="math/tex">\mathcal{D}</script>
|
||||
^D
|
||||
[ Plain [ Str "My", Space, Math InlineMath "\\mathcal{D}" ] ]
|
||||
[ Plain
|
||||
[ Str "My" , Space , Math InlineMath "\\mathcal{D}" ]
|
||||
]
|
||||
```
|
||||
|
||||
```
|
||||
|
|
|
@ -8,8 +8,10 @@
|
|||
V = \frac{K}{r^2}
|
||||
^D
|
||||
[ Div
|
||||
( "tgtmath", [], [] )
|
||||
[ BlockQuote [ Para [ Math DisplayMath "V = \\frac{K}{r^2}" ] ] ]
|
||||
( "tgtmath" , [] , [] )
|
||||
[ BlockQuote
|
||||
[ Para [ Math DisplayMath "V = \\frac{K}{r^2}" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -3,31 +3,30 @@
|
|||
\cites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}
|
||||
^D
|
||||
[ Para
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix =
|
||||
[ Str "Multiprenote", Space, Str "23" ]
|
||||
, citationSuffix =
|
||||
[ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix =
|
||||
[ Str "65", Str ",", Space, Str "multipostnote" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix = [ Str "Multiprenote" , Space , Str "23" ]
|
||||
, citationSuffix = [ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix =
|
||||
[ Str "65" , Str "," , Space , Str "multipostnote" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
]
|
||||
[ RawInline
|
||||
(Format "latex")
|
||||
"\\cites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
]
|
||||
[ RawInline
|
||||
( Format "latex" ) "\\cites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -36,31 +35,29 @@
|
|||
\cites(Multiprenote)()[23][42]{Knu86}[65]{Nie72}
|
||||
^D
|
||||
[ Para
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix =
|
||||
[ Str "Multiprenote", Space, Str "23" ]
|
||||
, citationSuffix =
|
||||
[ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix =
|
||||
[ Str "65" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix = [ Str "Multiprenote" , Space , Str "23" ]
|
||||
, citationSuffix = [ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix = [ Str "65" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
]
|
||||
[ RawInline
|
||||
(Format "latex")
|
||||
"\\cites(Multiprenote)()[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
]
|
||||
[ RawInline
|
||||
( Format "latex" ) "\\cites(Multiprenote)()[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -69,31 +66,30 @@
|
|||
\cites()(multipostnote)[23][42]{Knu86}[65]{Nie72}
|
||||
^D
|
||||
[ Para
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix =
|
||||
[ Str "23" ]
|
||||
, citationSuffix =
|
||||
[ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix =
|
||||
[ Str "65", Str ",", Space, Str "multipostnote" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix = [ Str "23" ]
|
||||
, citationSuffix = [ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix =
|
||||
[ Str "65" , Str "," , Space , Str "multipostnote" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
]
|
||||
[ RawInline
|
||||
(Format "latex")
|
||||
"\\cites()(multipostnote)[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
]
|
||||
[ RawInline
|
||||
( Format "latex" ) "\\cites()(multipostnote)[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -102,31 +98,28 @@
|
|||
\cites()()[23][42]{Knu86}[65]{Nie72}
|
||||
^D
|
||||
[ Para
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix =
|
||||
[ Str "23" ]
|
||||
, citationSuffix =
|
||||
[ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix =
|
||||
[ Str "65" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix = [ Str "23" ]
|
||||
, citationSuffix = [ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix = [ Str "65" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
]
|
||||
[ RawInline
|
||||
(Format "latex") "\\cites()()[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
]
|
||||
[ RawInline
|
||||
( Format "latex" ) "\\cites()()[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -168,22 +161,21 @@
|
|||
\cites(Multiprenote)(multipostnote){Knu86}
|
||||
^D
|
||||
[ Para
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix =
|
||||
[ Str "Multiprenote" ]
|
||||
, citationSuffix =
|
||||
[ Str ",", Space, Str "multipostnote" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix = [ Str "Multiprenote" ]
|
||||
, citationSuffix = [ Str "," , Space , Str "multipostnote" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
]
|
||||
[ RawInline
|
||||
(Format "latex")
|
||||
"\\cites(Multiprenote)(multipostnote){Knu86}"
|
||||
]
|
||||
]
|
||||
[ RawInline
|
||||
( Format "latex" ) "\\cites(Multiprenote)(multipostnote){Knu86}"
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -192,35 +184,39 @@
|
|||
\footcites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}
|
||||
^D
|
||||
[ Para
|
||||
[ Note
|
||||
[ Para
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix =
|
||||
[ Str "Multiprenote", Space, Str "23" ]
|
||||
, citationSuffix =
|
||||
[ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix =
|
||||
[ Str "65", Str ",", Space, Str "multipostnote" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
[ Note
|
||||
[ Para
|
||||
[ Cite
|
||||
[ Citation
|
||||
{ citationId = "Knu86"
|
||||
, citationPrefix =
|
||||
[ Str "Multiprenote" , Space , Str "23" ]
|
||||
, citationSuffix = [ Str "42" ]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
, Citation
|
||||
{ citationId = "Nie72"
|
||||
, citationPrefix = []
|
||||
, citationSuffix =
|
||||
[ Str "65"
|
||||
, Str ","
|
||||
, Space
|
||||
, Str "multipostnote"
|
||||
]
|
||||
, citationMode = NormalCitation
|
||||
, citationNoteNum = 0
|
||||
, citationHash = 0
|
||||
}
|
||||
]
|
||||
[ RawInline
|
||||
(Format "latex")
|
||||
"\\footcites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
[ RawInline
|
||||
( Format "latex" ) "\\footcites(Multiprenote)(multipostnote)[23][42]{Knu86}[65]{Nie72}"
|
||||
]
|
||||
, Str "."
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -2,5 +2,9 @@
|
|||
% pandoc -f latex -t native
|
||||
\includegraphics{lalune}
|
||||
^D
|
||||
[ Para [ Image ( "", [], [] ) [ Str "image" ] ( "lalune.jpg", "" ) ] ]
|
||||
[ Para
|
||||
[ Image
|
||||
( "" , [] , [] ) [ Str "image" ] ( "lalune.jpg" , "" )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -14,34 +14,36 @@
|
|||
</table>
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[ ( AlignDefault, ColWidthDefault ) ]
|
||||
( TableHead
|
||||
( "", [], [] )
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Name" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignDefault , ColWidthDefault ) ]
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Name" ] ]
|
||||
]
|
||||
])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Accounts" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
)
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Accounts" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
|
|
@ -11,23 +11,25 @@
|
|||
</table>
|
||||
^D
|
||||
[ Table
|
||||
( "", [], [] )
|
||||
( Caption Nothing [] )
|
||||
[ ( AlignDefault, ColWidthDefault ) ]
|
||||
( TableHead ( "", [], [] ) [] )
|
||||
[ TableBody
|
||||
( "", [], [] )
|
||||
( RowHeadColumns 0 ) []
|
||||
[ Row
|
||||
( "", [], [] )
|
||||
[ Cell
|
||||
( "", [], [] ) AlignDefault
|
||||
( RowSpan 1 )
|
||||
( ColSpan 1 )
|
||||
[ Plain [ Str "Cell" ] ]
|
||||
]
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignDefault , ColWidthDefault ) ]
|
||||
(TableHead ( "" , [] , [] ) [])
|
||||
[ TableBody
|
||||
( "" , [] , [] )
|
||||
(RowHeadColumns 0)
|
||||
[]
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain [ Str "Cell" ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
( TableFoot ( "", [], [] ) [] )
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
|
|
|
@ -3,19 +3,19 @@
|
|||
(@citation
|
||||
^D
|
||||
[ Para
|
||||
[ Str "("
|
||||
, Cite
|
||||
[ Citation
|
||||
{ citationId = "citation"
|
||||
, citationPrefix = []
|
||||
, citationSuffix = []
|
||||
, citationMode = AuthorInText
|
||||
, citationNoteNum = 1
|
||||
, citationHash = 0
|
||||
}
|
||||
[ Str "("
|
||||
, Cite
|
||||
[ Citation
|
||||
{ citationId = "citation"
|
||||
, citationPrefix = []
|
||||
, citationSuffix = []
|
||||
, citationMode = AuthorInText
|
||||
, citationNoteNum = 1
|
||||
, citationHash = 0
|
||||
}
|
||||
]
|
||||
[ Str "@citation" ]
|
||||
]
|
||||
[ Str "@citation" ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -23,5 +23,7 @@
|
|||
% pandoc -t native
|
||||
('asd')
|
||||
^D
|
||||
[ Para [ Str "(", Quoted SingleQuote [ Str "asd" ], Str ")" ] ]
|
||||
[ Para
|
||||
[ Str "(" , Quoted SingleQuote [ Str "asd" ] , Str ")" ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -23,19 +23,17 @@ unsafePerformIO main
|
|||
#+end_src
|
||||
^D
|
||||
[ CodeBlock
|
||||
( ""
|
||||
,
|
||||
[ "commonlisp", "numberLines" ]
|
||||
,
|
||||
[ ( "org-language", "lisp" ), ( "startFrom", "20" ) ]
|
||||
) "(+ 1 1)\n"
|
||||
( ""
|
||||
, [ "commonlisp" , "numberLines" ]
|
||||
, [ ( "org-language" , "lisp" ) , ( "startFrom" , "20" ) ]
|
||||
)
|
||||
"(+ 1 1)\n"
|
||||
, CodeBlock
|
||||
( ""
|
||||
,
|
||||
[ "commonlisp", "numberLines", "continuedSourceBlock" ]
|
||||
,
|
||||
[ ( "org-language", "lisp" ), ( "startFrom", "10" ) ]
|
||||
) "(+ 2 2)\n"
|
||||
( ""
|
||||
, [ "commonlisp" , "numberLines" , "continuedSourceBlock" ]
|
||||
, [ ( "org-language" , "lisp" ) , ( "startFrom" , "10" ) ]
|
||||
)
|
||||
"(+ 2 2)\n"
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
.. include:: command/5182.txt
|
||||
^D
|
||||
[ CodeBlock
|
||||
( "", [ "python", "numberLines" ], [] ) "def func(x):\n return y"
|
||||
( "" , [ "python" , "numberLines" ] , [] )
|
||||
"def func(x):\n return y"
|
||||
]
|
||||
```
|
||||
|
|
|
@ -8,34 +8,34 @@ abstract: |
|
|||
...
|
||||
^D
|
||||
Pandoc
|
||||
( Meta
|
||||
{ unMeta = fromList
|
||||
[
|
||||
( "abstract"
|
||||
, MetaBlocks
|
||||
[ Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "abstract."
|
||||
]
|
||||
, Para
|
||||
[ Str "It"
|
||||
, Space
|
||||
, Str "consists"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "two"
|
||||
, Space
|
||||
, Str "paragraphs."
|
||||
]
|
||||
Meta
|
||||
{ unMeta =
|
||||
fromList
|
||||
[ ( "abstract"
|
||||
, MetaBlocks
|
||||
[ Para
|
||||
[ Str "This"
|
||||
, Space
|
||||
, Str "is"
|
||||
, Space
|
||||
, Str "the"
|
||||
, Space
|
||||
, Str "abstract."
|
||||
]
|
||||
, Para
|
||||
[ Str "It"
|
||||
, Space
|
||||
, Str "consists"
|
||||
, Space
|
||||
, Str "of"
|
||||
, Space
|
||||
, Str "two"
|
||||
, Space
|
||||
, Str "paragraphs."
|
||||
]
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
]
|
||||
}
|
||||
) []
|
||||
[]
|
||||
```
|
||||
|
|
|
@ -8,13 +8,10 @@
|
|||
- b
|
||||
^D
|
||||
[ BulletList
|
||||
[
|
||||
[ Para [ Str "a" ], Para [ Str "b" ] ]
|
||||
,
|
||||
[ Para [ Str "a" ] ]
|
||||
,
|
||||
[ Para [ Str "b" ] ]
|
||||
]
|
||||
[ [ Para [ Str "a" ] , Para [ Str "b" ] ]
|
||||
, [ Para [ Str "a" ] ]
|
||||
, [ Para [ Str "b" ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -28,10 +25,8 @@
|
|||
> foo
|
||||
^D
|
||||
[ BulletList
|
||||
[
|
||||
[ Para [ Str "foo" ], Para [ Str "foo" ] ]
|
||||
,
|
||||
[ Para [ Str "foo" ], BlockQuote [ Para [ Str "foo" ] ] ]
|
||||
]
|
||||
[ [ Para [ Str "foo" ] , Para [ Str "foo" ] ]
|
||||
, [ Para [ Str "foo" ] , BlockQuote [ Para [ Str "foo" ] ] ]
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -8,7 +8,9 @@
|
|||
</fig>
|
||||
^D
|
||||
[ Para
|
||||
[ Image ( "fig-1", [], [] ) [ Str "bar" ] ( "foo.png", "fig:" ) ]
|
||||
[ Image
|
||||
( "fig-1" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:" )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -23,10 +25,10 @@
|
|||
</fig>
|
||||
^D
|
||||
[ Para
|
||||
[ Image
|
||||
( "fig-1", [], [] )
|
||||
[ Str "foo", LineBreak, Str "bar" ]
|
||||
( "foo.png", "fig:" )
|
||||
]
|
||||
[ Image
|
||||
( "fig-1" , [] , [] )
|
||||
[ Str "foo" , LineBreak , Str "bar" ]
|
||||
( "foo.png" , "fig:" )
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -9,21 +9,14 @@
|
|||
:::
|
||||
^D
|
||||
[ Div
|
||||
( "", [ "foo" ], [] )
|
||||
[ RawBlock
|
||||
( Format "html" ) "<table>"
|
||||
, RawBlock
|
||||
( Format "html" ) "<tr>"
|
||||
, RawBlock
|
||||
( Format "html" ) "<td>"
|
||||
, Plain
|
||||
[ Str "hi" ]
|
||||
, RawBlock
|
||||
( Format "html" ) "</td>"
|
||||
, RawBlock
|
||||
( Format "html" ) "</tr>"
|
||||
, RawBlock
|
||||
( Format "html" ) "</table>"
|
||||
]
|
||||
( "" , [ "foo" ] , [] )
|
||||
[ RawBlock (Format "html") "<table>"
|
||||
, RawBlock (Format "html") "<tr>"
|
||||
, RawBlock (Format "html") "<td>"
|
||||
, Plain [ Str "hi" ]
|
||||
, RawBlock (Format "html") "</td>"
|
||||
, RawBlock (Format "html") "</tr>"
|
||||
, RawBlock (Format "html") "</table>"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -13,27 +13,26 @@
|
|||
Quux.
|
||||
^D
|
||||
[ OrderedList
|
||||
( 1, Decimal, Period )
|
||||
[
|
||||
[ Para
|
||||
[ Str "foo" ]
|
||||
, Para
|
||||
[ Image ( "", [], [] ) [ Str "bar" ] ( "bar.png", "fig:" ) ]
|
||||
( 1 , Decimal , Period )
|
||||
[ [ Para [ Str "foo" ]
|
||||
, Para
|
||||
[ Image
|
||||
( "" , [] , [] ) [ Str "bar" ] ( "bar.png" , "fig:" )
|
||||
]
|
||||
]
|
||||
, [ Para [ Str "foo2" ]
|
||||
, Para
|
||||
[ Image
|
||||
( "" , [] , [] ) [ Str "bar2" ] ( "bar2.png" , "fig:" )
|
||||
]
|
||||
]
|
||||
, [ Para [ Str "foo3" ]
|
||||
, Para
|
||||
[ Image
|
||||
( "" , [] , [] ) [ Str "foo3" ] ( "foo3.png" , "fig:" )
|
||||
]
|
||||
]
|
||||
]
|
||||
,
|
||||
[ Para
|
||||
[ Str "foo2" ]
|
||||
, Para
|
||||
[ Image ( "", [], [] ) [ Str "bar2" ] ( "bar2.png", "fig:" ) ]
|
||||
]
|
||||
,
|
||||
[ Para
|
||||
[ Str "foo3" ]
|
||||
, Para
|
||||
[ Image ( "", [], [] ) [ Str "foo3" ] ( "foo3.png", "fig:" ) ]
|
||||
]
|
||||
]
|
||||
, Para
|
||||
[ Str "Quux." ]
|
||||
, Para [ Str "Quux." ]
|
||||
]
|
||||
```
|
||||
|
|
|
@ -5,10 +5,10 @@ Stay pure!
|
|||
\end{lstlisting}
|
||||
^D
|
||||
[ CodeBlock
|
||||
( ""
|
||||
, [ "myfunnylanguage" ]
|
||||
,
|
||||
[ ( "language", "myfunnylanguage" ) ]
|
||||
) "Stay pure!"
|
||||
( ""
|
||||
, [ "myfunnylanguage" ]
|
||||
, [ ( "language" , "myfunnylanguage" ) ]
|
||||
)
|
||||
"Stay pure!"
|
||||
]
|
||||
```
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
[]
|
||||
^D
|
||||
[ Header 2 ( "section", [], [] ) [], Para [ Str "[]" ] ]
|
||||
[ Header 2 ( "section" , [] , [] ) [] , Para [ Str "[]" ] ]
|
||||
```
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue