git.iko.soy/typeable/pandoc
on master help sign in
Merge branch 'master' of github.com:jgm/pandoc
commitb97f1136cd089c17123a264a8b3e0fcf657fc5fc authorJohn MacFarlane <fiddlosopher@gmail.com> dateTue 24 Sep 2013, 19:56 (13 years ago) parentf9430e9a117a88
3 files changed+74−57
data/templates+1−1 src/Text/Pandoc/Writers/OpenDocument.hs+8−4 tests/writer.opendocument+65−52
data/templates+1−1

Submodule changed.

src/Text/Pandoc/Writers/OpenDocument.hs+8−4
@@ -373,18 +373,18 @@ inlineToOpenDocument o ils
373373 | Subscript l <- ils = withTextStyle Sub $ inlinesToOpenDocument o l
374374 | SmallCaps l <- ils = withTextStyle SmallC $ inlinesToOpenDocument o l
375375 | Quoted t l <- ils = inQuotes t <$> inlinesToOpenDocument o l
376− | Code _ s <- ils = preformatted s
376+ | Code _ s <- ils = withTextStyle Pre $ inTextStyle $ preformatted s
377377 | Math _ s <- ils = inlinesToOpenDocument o (readTeXMath s)
378378 | Cite _ l <- ils = inlinesToOpenDocument o l
379379 | RawInline f s <- ils = if f == "opendocument" || f == "html"
380− then preformatted s
380+ then withTextStyle Pre $ inTextStyle $ preformatted s
381381 else return empty
382382 | Link l (s,t) <- ils = mkLink s t <$> inlinesToOpenDocument o l
383383 | Image _ (s,t) <- ils = return $ mkImg s t
384384 | Note l <- ils = mkNote l
385385 | otherwise = return empty
386386 where
387− preformatted = return . inSpanTags "Teletype" . handleSpaces . escapeStringForXML
387+ preformatted s = handleSpaces $ escapeStringForXML s
388388 mkLink s t = inTags False "text:a" [ ("xlink:type" , "simple")
389389 , ("xlink:href" , s )
390390 , ("office:name", t )
@@ -524,7 +524,8 @@ paraTableStyles t s (a:xs)
524524 [ ("fo:text-align", x)
525525 , ("style:justify-single-word", "false")]
526526
527−data TextStyle = Italic | Bold | Strike | Sub | Sup | SmallC deriving ( Eq,Ord )
527+data TextStyle = Italic | Bold | Strike | Sub | Sup | SmallC | Pre
528+ deriving ( Eq,Ord )
528529
529530textStyleAttr :: TextStyle -> [(String,String)]
530531textStyleAttr s
@@ -538,5 +539,8 @@ textStyleAttr s
538539 | Sub <- s = [("style:text-position" ,"sub 58%" )]
539540 | Sup <- s = [("style:text-position" ,"super 58%" )]
540541 | SmallC <- s = [("fo:font-variant" ,"small-caps")]
542+ | Pre <- s = [("style:font-name" ,"Courier New")
543+ ,("style:font-name-asian" ,"Courier New")
544+ ,("style:font-name-complex" ,"Courier New")]
541545 | otherwise = []
542546
tests/writer.opendocument+65−52
@@ -1,5 +1,8 @@
11<?xml version="1.0" encoding="utf-8" ?>
22<office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" office:version="1.2">
3+ <office:font-face-decls>
4+ <style:font-face style:name="Courier New" style:font-family-generic="modern" style:font-pitch="fixed" svg:font-family="'Courier New'" />
5+ </office:font-face-decls>
36 <office:automatic-styles>
47 <text:list-style style:name="L1">
58 <text:list-level-style-number text:level="1" text:style-name="Numbering_20_Symbols" style:num-format="1" text:start-value="1" style:num-suffix=".">
@@ -665,37 +668,47 @@
665668 <style:style style:name="T35" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold" /></style:style>
666669 <style:style style:name="T36" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold" /></style:style>
667670 <style:style style:name="T37" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold" /></style:style>
668− <style:style style:name="T38" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
669− <style:style style:name="T39" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
670− <style:style style:name="T40" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
671− <style:style style:name="T41" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
672− <style:style style:name="T42" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" style:text-line-through-style="solid" /></style:style>
671+ <style:style style:name="T38" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
672+ <style:style style:name="T39" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
673+ <style:style style:name="T40" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
674+ <style:style style:name="T41" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
675+ <style:style style:name="T42" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
673676 <style:style style:name="T43" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
674− <style:style style:name="T44" style:family="text"><style:text-properties style:text-position="super 58%" /></style:style>
675− <style:style style:name="T45" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" style:text-position="super 58%" /></style:style>
676− <style:style style:name="T46" style:family="text"><style:text-properties style:text-position="super 58%" /></style:style>
677− <style:style style:name="T47" style:family="text"><style:text-properties style:text-position="sub 58%" /></style:style>
678− <style:style style:name="T48" style:family="text"><style:text-properties style:text-position="sub 58%" /></style:style>
679− <style:style style:name="T49" style:family="text"><style:text-properties style:text-position="sub 58%" /></style:style>
680− <style:style style:name="T50" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
681− <style:style style:name="T51" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
682− <style:style style:name="T52" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
683− <style:style style:name="T53" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
684− <style:style style:name="T54" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
685− <style:style style:name="T55" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
677+ <style:style style:name="T44" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
678+ <style:style style:name="T45" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
679+ <style:style style:name="T46" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
680+ <style:style style:name="T47" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" style:text-line-through-style="solid" /></style:style>
681+ <style:style style:name="T48" style:family="text"><style:text-properties style:text-line-through-style="solid" /></style:style>
682+ <style:style style:name="T49" style:family="text"><style:text-properties style:text-position="super 58%" /></style:style>
683+ <style:style style:name="T50" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" style:text-position="super 58%" /></style:style>
684+ <style:style style:name="T51" style:family="text"><style:text-properties style:text-position="super 58%" /></style:style>
685+ <style:style style:name="T52" style:family="text"><style:text-properties style:text-position="sub 58%" /></style:style>
686+ <style:style style:name="T53" style:family="text"><style:text-properties style:text-position="sub 58%" /></style:style>
687+ <style:style style:name="T54" style:family="text"><style:text-properties style:text-position="sub 58%" /></style:style>
688+ <style:style style:name="T55" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
686689 <style:style style:name="T56" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
687690 <style:style style:name="T57" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
688− <style:style style:name="T58" style:family="text"><style:text-properties style:text-position="super 58%" /></style:style>
691+ <style:style style:name="T58" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
689692 <style:style style:name="T59" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
690693 <style:style style:name="T60" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
691694 <style:style style:name="T61" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
692695 <style:style style:name="T62" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
693696 <style:style style:name="T63" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
694− <style:style style:name="T64" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
695− <style:style style:name="T65" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
697+ <style:style style:name="T64" style:family="text"><style:text-properties style:text-position="super 58%" /></style:style>
698+ <style:style style:name="T65" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
696699 <style:style style:name="T66" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
697− <style:style style:name="T67" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
700+ <style:style style:name="T67" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
698701 <style:style style:name="T68" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
702+ <style:style style:name="T69" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
703+ <style:style style:name="T70" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
704+ <style:style style:name="T71" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
705+ <style:style style:name="T72" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
706+ <style:style style:name="T73" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
707+ <style:style style:name="T74" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
708+ <style:style style:name="T75" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
709+ <style:style style:name="T76" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
710+ <style:style style:name="T77" style:family="text"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic" /></style:style>
711+ <style:style style:name="T78" style:family="text"><style:text-properties style:font-name="Courier New" style:font-name-asian="Courier New" style:font-name-complex="Courier New" /></style:style>
699712 <style:style style:name="P1" style:family="paragraph" style:parent-style-name="Quotations">
700713 <style:paragraph-properties fo:margin-left="0.5in" fo:margin-right="0in" fo:text-indent="0in" style:auto-text-indent="false" />
701714 </style:style>
@@ -1345,22 +1358,22 @@ Markup</text:h>
13451358<text:p text:style-name="Text_20_body">So is
13461359<text:span text:style-name="T37">this</text:span> word.</text:p>
13471360<text:p text:style-name="Text_20_body">This is code:
1348−<text:span text:style-name="Teletype">&gt;</text:span>,
1349−<text:span text:style-name="Teletype">$</text:span>,
1350−<text:span text:style-name="Teletype">\</text:span>,
1351−<text:span text:style-name="Teletype">\$</text:span>,
1352−<text:span text:style-name="Teletype">&lt;html&gt;</text:span>.</text:p>
1353−<text:p text:style-name="Text_20_body"><text:span text:style-name="T38">This</text:span><text:span text:style-name="T39">
1354−</text:span><text:span text:style-name="T40">is</text:span><text:span text:style-name="T41">
1355−</text:span><text:span text:style-name="T42">strikeout</text:span><text:span text:style-name="T43">.</text:span></text:p>
1361+<text:span text:style-name="T38">&gt;</text:span>,
1362+<text:span text:style-name="T39">$</text:span>,
1363+<text:span text:style-name="T40">\</text:span>,
1364+<text:span text:style-name="T41">\$</text:span>,
1365+<text:span text:style-name="T42">&lt;html&gt;</text:span>.</text:p>
1366+<text:p text:style-name="Text_20_body"><text:span text:style-name="T43">This</text:span><text:span text:style-name="T44">
1367+</text:span><text:span text:style-name="T45">is</text:span><text:span text:style-name="T46">
1368+</text:span><text:span text:style-name="T47">strikeout</text:span><text:span text:style-name="T48">.</text:span></text:p>
13561369<text:p text:style-name="Text_20_body">Superscripts:
1357−a<text:span text:style-name="T44">bc</text:span>d
1358−a<text:span text:style-name="T45">hello</text:span>
1359−a<text:span text:style-name="T46">hello there</text:span>.</text:p>
1370+a<text:span text:style-name="T49">bc</text:span>d
1371+a<text:span text:style-name="T50">hello</text:span>
1372+a<text:span text:style-name="T51">hello there</text:span>.</text:p>
13601373<text:p text:style-name="Text_20_body">Subscripts:
1361−H<text:span text:style-name="T47">2</text:span>O,
1362−H<text:span text:style-name="T48">23</text:span>O,
1363−H<text:span text:style-name="T49">many of them</text:span>O.</text:p>
1374+H<text:span text:style-name="T52">2</text:span>O,
1375+H<text:span text:style-name="T53">23</text:span>O,
1376+H<text:span text:style-name="T54">many of them</text:span>O.</text:p>
13641377<text:p text:style-name="Text_20_body">These should not be superscripts or
13651378subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</text:p>
13661379<text:p text:style-name="Horizontal_20_Line" />
@@ -1374,7 +1387,7 @@ trees. So is ‘pine.’</text:p>
13741387<text:p text:style-name="Text_20_body">‘He said, “I want to go.”’ Were you
13751388alive in the 70’s?</text:p>
13761389<text:p text:style-name="Text_20_body">Here is some quoted
1377−‘<text:span text:style-name="Teletype">code</text:span>’ and a
1390+‘<text:span text:style-name="T55">code</text:span>’ and a
13781391“<text:a xlink:type="simple" xlink:href="http://example.com/?foo=1&amp;bar=2" office:name=""><text:span text:style-name="Definition">quoted
13791392link</text:span></text:a>”.</text:p>
13801393<text:p text:style-name="Text_20_body">Some dashes: one—two — three—four —
@@ -1392,16 +1405,16 @@ five.</text:p>
13921405 <text:p text:style-name="P51">2 + 2 = 4</text:p>
13931406 </text:list-item>
13941407 <text:list-item>
1395− <text:p text:style-name="P51"><text:span text:style-name="T50">x</text:span> ∈ <text:span text:style-name="T51">y</text:span></text:p>
1408+ <text:p text:style-name="P51"><text:span text:style-name="T56">x</text:span> ∈ <text:span text:style-name="T57">y</text:span></text:p>
13961409 </text:list-item>
13971410 <text:list-item>
1398− <text:p text:style-name="P51"><text:span text:style-name="T52">α</text:span> ∧ <text:span text:style-name="T53">ω</text:span></text:p>
1411+ <text:p text:style-name="P51"><text:span text:style-name="T58">α</text:span> ∧ <text:span text:style-name="T59">ω</text:span></text:p>
13991412 </text:list-item>
14001413 <text:list-item>
14011414 <text:p text:style-name="P51">223</text:p>
14021415 </text:list-item>
14031416 <text:list-item>
1404− <text:p text:style-name="P51"><text:span text:style-name="T54">p</text:span>-Tree</text:p>
1417+ <text:p text:style-name="P51"><text:span text:style-name="T60">p</text:span>-Tree</text:p>
14051418 </text:list-item>
14061419 <text:list-item>
14071420 <text:p text:style-name="P51">Here’s some display math:
@@ -1409,18 +1422,18 @@ five.</text:p>
14091422 </text:list-item>
14101423 <text:list-item>
14111424 <text:p text:style-name="P51">Here’s one that has a line break in it:
1412− <text:span text:style-name="T55">α</text:span> + <text:span text:style-name="T56">ω</text:span> × <text:span text:style-name="T57">x</text:span><text:span text:style-name="T58">2</text:span>.</text:p>
1425+ <text:span text:style-name="T61">α</text:span> + <text:span text:style-name="T62">ω</text:span> × <text:span text:style-name="T63">x</text:span><text:span text:style-name="T64">2</text:span>.</text:p>
14131426 </text:list-item>
14141427</text:list>
14151428<text:p text:style-name="First_20_paragraph">These shouldn’t be math:</text:p>
14161429<text:list text:style-name="L27">
14171430 <text:list-item>
14181431 <text:p text:style-name="P52">To get the famous equation, write
1419− <text:span text:style-name="Teletype">$e = mc^2$</text:span>.</text:p>
1432+ <text:span text:style-name="T65">$e = mc^2$</text:span>.</text:p>
14201433 </text:list-item>
14211434 <text:list-item>
14221435 <text:p text:style-name="P52">$22,000 is a
1423− <text:span text:style-name="T59">lot</text:span> of money. So is $34,000.
1436+ <text:span text:style-name="T66">lot</text:span> of money. So is $34,000.
14241437 (It worked if “lot” is emphasized.)</text:p>
14251438 </text:list-item>
14261439 <text:list-item>
@@ -1428,11 +1441,11 @@ five.</text:p>
14281441 </text:list-item>
14291442 <text:list-item>
14301443 <text:p text:style-name="P52">Escaped
1431− <text:span text:style-name="Teletype">$</text:span>: $73
1432− <text:span text:style-name="T60">this</text:span><text:span text:style-name="T61">
1433− </text:span><text:span text:style-name="T62">should</text:span><text:span text:style-name="T63">
1434− </text:span><text:span text:style-name="T64">be</text:span><text:span text:style-name="T65">
1435− </text:span><text:span text:style-name="T66">emphasized</text:span>
1444+ <text:span text:style-name="T67">$</text:span>: $73
1445+ <text:span text:style-name="T68">this</text:span><text:span text:style-name="T69">
1446+ </text:span><text:span text:style-name="T70">should</text:span><text:span text:style-name="T71">
1447+ </text:span><text:span text:style-name="T72">be</text:span><text:span text:style-name="T73">
1448+ </text:span><text:span text:style-name="T74">emphasized</text:span>
14361449 23$.</text:p>
14371450 </text:list-item>
14381451</text:list>
@@ -1557,7 +1570,7 @@ link in pointy braces</text:span></text:a>.</text:p>
15571570<text:p text:style-name="P56">Blockquoted:
15581571<text:a xlink:type="simple" xlink:href="http://example.com/" office:name=""><text:span text:style-name="Definition">http://example.com/</text:span></text:a></text:p>
15591572<text:p text:style-name="First_20_paragraph">Auto-links should not occur here:
1560−<text:span text:style-name="Teletype">&lt;http://example.com/&gt;</text:span></text:p>
1573+<text:span text:style-name="T75">&lt;http://example.com/&gt;</text:span></text:p>
15611574<text:p text:style-name="P57">or here: &lt;http://example.com/&gt;</text:p>
15621575<text:p text:style-name="Horizontal_20_Line" />
15631576<text:h text:style-name="Heading_20_1" text:outline-level="1">Images</text:h>
@@ -1581,14 +1594,14 @@ indented to show that they belong to the footnote (as with list
15811594items).</text:p><text:p text:style-name="P58"><text:s text:c="2" />{ &lt;code&gt; }</text:p><text:p text:style-name="Footnote">If
15821595you want, you can indent every line, but you can also be lazy and just indent
15831596the first line of each block.</text:p></text:note-body></text:note> This
1584−should <text:span text:style-name="T67">not</text:span> be a footnote
1597+should <text:span text:style-name="T76">not</text:span> be a footnote
15851598reference, because it contains a space.[^my note] Here is an inline
15861599note.<text:note text:id="ftn2" text:note-class="footnote"><text:note-citation>3</text:note-citation><text:note-body><text:p text:style-name="Footnote">This
1587−is <text:span text:style-name="T68">easier</text:span> to type. Inline notes
1600+is <text:span text:style-name="T77">easier</text:span> to type. Inline notes
15881601may contain
15891602<text:a xlink:type="simple" xlink:href="http://google.com" office:name=""><text:span text:style-name="Definition">links</text:span></text:a>
1590−and <text:span text:style-name="Teletype">]</text:span> verbatim characters,
1591−as well as [bracketed text].</text:p></text:note-body></text:note></text:p>
1603+and <text:span text:style-name="T78">]</text:span> verbatim characters, as
1604+well as [bracketed text].</text:p></text:note-body></text:note></text:p>
15921605<text:p text:style-name="P59">Notes can go in
15931606quotes.<text:note text:id="ftn3" text:note-class="footnote"><text:note-citation>4</text:note-citation><text:note-body><text:p text:style-name="Footnote">In
15941607quote.</text:p></text:note-body></text:note></text:p>