summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Added amssymb to default latex template.John MacFarlane2010-07-20
| | | | Resolves github Issue 1.
* Made spacing at end of output more consistent.John MacFarlane2010-07-20
| | | | | | | | | | | | Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
* Use default highlighting CSS rather than embedding CSS in templates.John MacFarlane2010-07-16
|
* Updated pandoc to use css for highlighting-kate 0.2.7.John MacFarlane2010-07-15
| | | | Note: Update any custom CSS or templates accordingly.
* Added --section-divs option.John MacFarlane2010-07-15
| | | | | | | + Header identifiers now get attached to the headers, unless --section-divs is specified, in which case they are added to enclosing divs. By default, the divs are not added. + Resolves Issue #230, #239.
* Added --webtex option for HTML math.John MacFarlane2010-07-15
| | | | | | | | | + Added --webtex command-line option, with optional parameter. (Defaults to using google charts API.) + Added WebTeX HTMLMathMethod. + Removed MimeTeX HTMLMathMethod. (WebTeX is generic and subsumes it.) + Modified --mimetex option to use WebTeX. + Thanks to lpeterse for the idea and some of the code.
* Improved handling of code in man writer.John MacFarlane2010-07-14
| | | | | | + Inline code is now in monoscpace, not bold. + Code blocks now use .nf (no fill) and .IP (indented paragraph). + Resolves Issue #247.
* Put insert-before text before the title h1 in HTML.John MacFarlane2010-07-13
| | | | | | + This is the documented behavior; the insert-before text comes after the <body> tag. + Resolves Issue #241.
* Added tests for example lists.John MacFarlane2010-07-12
|
* Allow language-neutral table captions.John MacFarlane2010-07-06
| | | | | | + Captions may now begin simply with ':', instead of 'Table:' + Captions may now appear either above or below the table. + Resolves Issue #227.
* Use unicode for smart punctuation in plain, markdown, rst formats.John MacFarlane2010-06-30
|
* No longer need to set LANG in RunTests.John MacFarlane2010-05-06
|
* Man writer: convert math to unicode when possible.John MacFarlane2010-04-26
| | | | (As in other writers.)
* Use texmath's parser in TexMath module.John MacFarlane2010-04-25
| | | | | | | | | | | * This replaces a lot of custom parser code, and expands the tex -> unicode conversion. * The behavior has also changed: if the whole formula can't be converted, the whole formula is left in raw TeX. Previously, pandoc converted parts of the formula to unicode and left other parts in raw TeX. * Added (but not yet exported) readTeXMath', which returns a Maybe. * Updated tests
* RunTests: use UTF8 no matter what the locale.John MacFarlane2010-04-25
|
* Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke2010-04-10
|
* Added multilingual URL tests for markdown reader.John MacFarlane2010-03-23
|
* Added --mathml option; removed Text.Pandoc.LaTeXMathML.fiddlosopher2010-03-18
| | | | | | | | | | | * Added data/MathMLinHTML.js, which is included when no URL is provided for --mathml. This allows MathML to be displayed in better browsers, as text/html. * The module was no longer necessary; its functionality (two lines) was incorporated into pandoc.hs. * Consolidated the two LaTeXMathML.js files into one. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1909 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added plain writer.fiddlosopher2010-03-18
| | | | | | | | Text.Pandoc.Writers.Markdown now exports a writePlain, which writes plain text without links, pictures, or special formatting (not even markdown conventions). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
* MediaWiki writer: make links to relative URLs wikilinks.fiddlosopher2010-03-18
| | | | | | | | | | | | | | | | | | | The new rule: If the link target is an absolute URL, an external link is created. Otherwise, a wikilink is created. Examples: 1. [label](/foo/bar) => [[foo/bar|label]] 2. [label](foo) => [[foo|label]] 3. [label](http://gitit.net/foo) => [http://gitit.net/foo label] Note on 1: We strip the leading / here, since otherwise we get a link to Help:Links/foo/bar. would it be better for 1 to become [http://{SERVERNAME}}/foo/bar label]? Perhaps, since this would guarantee the same link destination as you'd get if you used the HTML writer directly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1904 788f1e2b-df1e-0410-8736-df70ead52e1b
* Texinfo writer: Handle images in figures.fiddlosopher2010-03-18
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1901 788f1e2b-df1e-0410-8736-df70ead52e1b
* HTML writer: Use a p rather than a div for image caption.fiddlosopher2010-03-18
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1900 788f1e2b-df1e-0410-8736-df70ead52e1b
* RST writer: handle images in figures.fiddlosopher2010-03-18
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1899 788f1e2b-df1e-0410-8736-df70ead52e1b
* MediaWiki writer: Support images in figures.fiddlosopher2010-03-17
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1898 788f1e2b-df1e-0410-8736-df70ead52e1b
* Docbook writer: support images as figures.fiddlosopher2010-03-17
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1897 788f1e2b-df1e-0410-8736-df70ead52e1b
* Revert "LaTeX writer: Add unique labels to figures."fiddlosopher2010-03-17
| | | | | | This reverts commit be344321227a33c9a3f3e2031b88045f5159d1ff. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1896 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX writer: Add unique labels to figures.fiddlosopher2010-03-16
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1895 788f1e2b-df1e-0410-8736-df70ead52e1b
* ConTeXt writer: support images in figures.fiddlosopher2010-03-16
| | | | | | | Also, DON'T put image in figure (as was done previously) when it's an inline image. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1893 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX writer: support figures with captions.fiddlosopher2010-03-16
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1892 788f1e2b-df1e-0410-8736-df70ead52e1b
* HTML writer: implemented image-with-caption feature.fiddlosopher2010-03-16
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1891 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader: Ignore alt title in section headers.fiddlosopher2010-03-14
| | | | | | Partially resolves Issue #202. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1886 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use template variables for include-before/after.fiddlosopher2010-03-13
| | | | | | | | | | | | * These options now imply -s; previously they worked also in fragment mode. * Users can now adjust position of include-before and include-after text in the templates. * Default position of include-before moved back (as it originally was) before table of contents. * Resolves Issue #217. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1883 788f1e2b-df1e-0410-8736-df70ead52e1b
* OpenDocument writer: handle tables with no headers.fiddlosopher2010-03-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1882 788f1e2b-df1e-0410-8736-df70ead52e1b
* Man writer: properly handle headerless tables.fiddlosopher2010-03-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1881 788f1e2b-df1e-0410-8736-df70ead52e1b
* Texinfo writer: fixed headerless tables.fiddlosopher2010-03-13
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1880 788f1e2b-df1e-0410-8736-df70ead52e1b
* RST writer: Fixed headerless tables.fiddlosopher2010-03-11
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1879 788f1e2b-df1e-0410-8736-df70ead52e1b
* MediaWiki writer: fixed headerless tables.fiddlosopher2010-03-11
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1878 788f1e2b-df1e-0410-8736-df70ead52e1b
* RTF writer: fixed headerless tables.fiddlosopher2010-03-11
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1877 788f1e2b-df1e-0410-8736-df70ead52e1b
* Markdown writer: proper support for headerless tables.fiddlosopher2010-03-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1876 788f1e2b-df1e-0410-8736-df70ead52e1b
* HTML writer: Use tbody, thead, and cols in tables.fiddlosopher2010-03-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1875 788f1e2b-df1e-0410-8736-df70ead52e1b
* Docbook writer: handle headerless tables.fiddlosopher2010-03-09
| | | | | | In addition, use cols, thead, and tbody. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1874 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated context tests.fiddlosopher2010-03-07
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1869 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated latex and html table tests for new test case.fiddlosopher2010-03-07
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1866 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added test case for multiline table wo column headers.fiddlosopher2010-03-07
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1865 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed docbook writer for headerless tables.fiddlosopher2010-03-07
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1863 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added test for headerless table.fiddlosopher2010-03-07
| | | | | | Updated test cases for latex and html. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1862 788f1e2b-df1e-0410-8736-df70ead52e1b
* Disallow blank lines in inline code span.fiddlosopher2010-03-06
| | | | | | Also added additional test cases for markdown code spans. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1860 788f1e2b-df1e-0410-8736-df70ead52e1b
* Markdown reader: Allow footnotes to be indented < 4 spaces.fiddlosopher2010-03-01
| | | | | | This fixes a regression. A test case has been added in testsuite.txt. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1859 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX template: redefine labelwidth when using enumerate package.fiddlosopher2010-03-01
| | | | | | | Otherwise the list labels (numbers) often extend past the left margin, which looks bad. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1858 788f1e2b-df1e-0410-8736-df70ead52e1b
* Allow multi-line titles and authors in meta block.fiddlosopher2010-02-28
| | | | | | | | | | | | | | Based on a patch by Justin Bogner. Titles may span multiple lines, provided continuation lines begin with a space character. Separate authors may be put on multiple lines, provided each line after the first begins with a space character. Each author must fit on one line. Multiple authors on a single line may still be separated by a semicolon. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1854 788f1e2b-df1e-0410-8736-df70ead52e1b