diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-11-01 22:44:53 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-11-01 22:44:53 +0000 |
commit | a24d107e6f9247af0cefc73e797ad4aa441af7e3 (patch) | |
tree | c91e3f1e3d1874347d6393a1e44893bdf8fe9e86 /tests/writer.opendocument | |
parent | aecca4959d0cacc6be141ffa6da0c7aa55b2b0c1 (diff) | |
download | pandoc-a24d107e6f9247af0cefc73e797ad4aa441af7e3.tar.gz |
Support horizontal rules in OpenDocument and ODT writers.
Added style for Horizontal_20_Rule to odt-styles/styles.xml.
Add support for horizontal rules in OpenDocument writer.
Resolves Issue #95.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1479 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.opendocument')
-rw-r--r-- | tests/writer.opendocument | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/writer.opendocument b/tests/writer.opendocument index a94b1176a..587f9efe0 100644 --- a/tests/writer.opendocument +++ b/tests/writer.opendocument @@ -875,6 +875,7 @@ <text:p text:style-name="Text_20_body">This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Headers</text:h> <text:h text:style-name="Heading_20_2" text:outline-level="2">Level 2 with an @@ -897,6 +898,7 @@ <text:h text:style-name="Heading_20_2" text:outline-level="2">Level 2</text:h> <text:p text:style-name="Text_20_body">with no blank line</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Paragraphs</text:h> <text:p text:style-name="Text_20_body">Here’s a regular paragraph.</text:p> @@ -908,6 +910,7 @@ bullet. * criminey.</text:p> <text:p text:style-name="Text_20_body">There should be a hard line break<text:line-break />here.</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Block Quotes</text:h> <text:p text:style-name="Text_20_body">E-mail style:</text:p> @@ -932,6 +935,7 @@ quote: 2 > 1.</text:p> <text:p text:style-name="Text_20_body">And a following paragraph.</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Code Blocks</text:h> <text:p text:style-name="Text_20_body">Code:</text:p> @@ -946,6 +950,7 @@ <text:p text:style-name="P16"><text:s text:c="4" />this code block is indented by two tabs</text:p> <text:p text:style-name="P17"></text:p> <text:p text:style-name="P18">These should not be escaped: <text:s text:c="1" />\$ \\ \> \[ \{</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Lists</text:h> <text:h text:style-name="Heading_20_2" text:outline-level="2">Unordered</text:h> <text:p text:style-name="Text_20_body">Asterisks tight:</text:p> @@ -1231,6 +1236,7 @@ item:</text:p> <text:p text:style-name="Text_20_body">M.A. 2007</text:p> <text:p text:style-name="Text_20_body">B. Williams</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Definition Lists</text:h> <text:p text:style-name="Text_20_body">Tight using spaces:</text:p> @@ -1300,6 +1306,7 @@ <text:p text:style-name="Text_20_body">Code:</text:p> <text:p text:style-name="P49"><hr /></text:p> <text:p text:style-name="Text_20_body">Hr’s:</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Inline Markup</text:h> <text:p text:style-name="Text_20_body">This is @@ -1338,6 +1345,7 @@ <text:p text:style-name="Text_20_body">These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Smart quotes, ellipses, dashes</text:h> @@ -1361,6 +1369,7 @@ <text:p text:style-name="Text_20_body">Dashes between numbers: 5–7, 255–66, 1987–1999.</text:p> <text:p text:style-name="Text_20_body">Ellipses…and…and….</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">LaTeX</text:h> <text:list text:style-name="L25"> <text:list-item> @@ -1411,6 +1420,7 @@ Animal & Number \\ \hline Dog <text:s text:c="3" />& 2 <text:s text:c="5" />\\ Cat <text:s text:c="3" />& 1 <text:s text:c="5" />\\ \hline \end{tabular}</text:span></text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Special Characters</text:h> <text:p text:style-name="Text_20_body">Here is some @@ -1455,6 +1465,7 @@ Cat <text:s text:c="3" />& 1 <text:s text:c="5" />\\ \hline <text:p text:style-name="Text_20_body">Bang: !</text:p> <text:p text:style-name="Text_20_body">Plus: +</text:p> <text:p text:style-name="Text_20_body">Minus: -</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Links</text:h> <text:h text:style-name="Heading_20_2" text:outline-level="2">Explicit</text:h> <text:p text:style-name="Text_20_body">Just a @@ -1523,6 +1534,7 @@ Cat <text:s text:c="3" />& 1 <text:s text:c="5" />\\ \hline here: <text:span text:style-name="Teletype"><http://example.com/></text:span></text:p> <text:p text:style-name="P56">or here: <http://example.com/></text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Images</text:h> <text:p text:style-name="Text_20_body">From “Voyage dans la Lune” by Georges Melies @@ -1531,6 +1543,7 @@ Cat <text:s text:c="3" />& 1 <text:s text:c="5" />\\ \hline <text:p text:style-name="Text_20_body">Here is a movie <draw:frame><draw:image xlink:href="movie.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /></draw:frame> icon.</text:p> + <text:p text:style-name="Horizontal_20_Line" /> <text:h text:style-name="Heading_20_1" text:outline-level="1">Footnotes</text:h> <text:p text:style-name="Text_20_body">Here is a footnote reference,<text:note text:id="ftn0" text:note-class="footnote"><text:note-citation>1</text:note-citation> |