aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2012-05-08DocBook reader: More improvements, more tests pass.John MacFarlane2-32/+25
2012-05-08DocBook reader: Improved def lists with multiple defs.John MacFarlane1-11/+11
2012-05-08Improved docbook reader tests.John MacFarlane2-553/+40
2012-05-08Added docbook reader tests (still failing).John MacFarlane2-0/+2374
2012-04-30Improved spacing around LaTeX block environments.John MacFarlane3-3/+44
verbatim, itemize, description, enumerate.
2012-04-30LaTeX writer: Fixed spacing in quote environments.John MacFarlane3-8/+6
Closes #502. Previously you'd get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~ Now we get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~
2012-04-28Updated latex writer tests for new template.John MacFarlane3-0/+6
2012-04-27Merge pull request #485 from paul-r-ml/masterJohn MacFarlane2-5/+21
Textile reader update
2012-04-24textile reader improvements : better conformance to RedCloth Textile inlinespaul.rivier2-5/+6
2012-04-21LaTeX writer: Use fixltx2e package to provide '\textsubscript'.John MacFarlane3-2/+5
2012-04-17Textile reader quick clean-up and added support for LaTeX blocks and inlines.paul.rivier2-0/+15
2012-04-15Mardkown writer: escape < and $.John MacFarlane1-4/+4
2012-04-06Updated texinfo test to reflect template change.John MacFarlane1-1/+1
2012-04-03LaTeX writer: don't use eurosym package unless document has a €.John MacFarlane3-3/+0
2012-03-25Added PDF metadata (title,author) in LaTeX standalone + PDF output.John MacFarlane3-0/+18
Closes #459.
2012-03-25Oops! Forgot to munch whitespace / ignore body after directive.Greg Maslov2-1/+14
2012-03-24Add parsing support for the rST default-role directive.Greg Maslov2-1/+24
2012-03-24RST writer: Better handling of inline formatting.John MacFarlane1-3/+3
* `hi*there*hi` now gets rendered properly as `hi\ *there*\ hi` * Unnecessary '\ ' are avoided around :math:, :sub:, :sup: * Implemented most of the rules in http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, though some unnecessary '\ ' may be inserted when unicode quotes are used.
2012-03-19Added test for one column table in LaTeX.John MacFarlane2-0/+12
2012-03-12Use {} around ctable caption. Closes #445.John MacFarlane1-3/+3
2012-03-07Updated tests for euro-related template changes.John MacFarlane3-0/+9
2012-03-03Updated tests for context template changes.John MacFarlane1-3/+6
2012-03-03Fixed LaTeX writer tests for last patch.John MacFarlane1-1/+1
2012-02-21Added tests for markdown-extra tablesFrançois Gannaz2-0/+94
A few simple tests for the tables as php-markdown defines them. Only tables whose lines begin with a "|" are tested.
2012-02-10LaTeX reader: Add ", " to suffix...John MacFarlane1-1/+1
if it doesn't start w space or punctuation. Otherwise we get no space between the year and the suffix in author-date styles.
2012-02-06LaTeX reader: use raw latex as fallback for Cites.John MacFarlane1-1/+1
This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex.
2012-02-04Improvements to LaTeX reader:John MacFarlane1-1/+2
* Handle \ps * Ignore ignorable commands in a uniform way. * Handle \P * handleIncludes skips \verb commands.
2012-02-04Complete rewrite of LaTeX reader.John MacFarlane4-40/+40
* The new reader is more robust, accurate, and extensible. It is still quite incomplete, but it should be easier now to add features. * Text.Pandoc.Parsing: Added withRaw combinator. * Markdown reader: do escapedChar before raw latex inline. Otherwise we capture commands like \{. * Fixed latex citation tests for new citeproc. * Handle \include{} commands in latex. This is done in pandoc.hs, not the (pure) latex reader. But the reader exports the needed function, handleIncludes. * Moved err and warn from pandoc.hs to Shared. * Fixed tests - raw tex should sometimes have trailing space. * Updated lhs-test for highlighting-kate changes.
2012-01-30Updated citation tests with en-dashes.John MacFarlane2-6/+6
2012-01-28Put date in YYYY-MM-DD format if possible for HTML, docx metadata.John MacFarlane4-4/+4
Added normalizeDate to Text.Pandoc.Shared.
2012-01-27Docbook writer: Use sect1, sect2, etc. instead of section.John MacFarlane1-62/+62
2012-01-25Depend on highlighting-kate 0.5.John MacFarlane2-4/+6
This uses styleToCss instead of styleToHtml.
2012-01-19Added Docx writer.John MacFarlane1-4/+4
* New module `Text.Pandoc.Docx`. * New output format `docx`. * Added reference.docx. * New option `--reference-docx`. The writer includes support for highlighted code blocks and math (which is converted from TeX to OMML using texmath's new OMML module).
2012-01-13Improved citation tests.John MacFarlane4-27/+27
2012-01-02Markdown reader: Fix parsing of consecutive lists.John MacFarlane2-1/+21
Pandoc previously behaved like Markdown.pl for consecutive lists of different styles. Thus, the following would be parsed as a single ordered list, rather than an ordered list followed by an unordered list: 1. one 2. two - one - two This patch makes pandoc behave more sensibly, parsing this as two lists. Any change in list type (ordered/unordered) or in list number style will trigger a new list. Thus, the following will also be parsed as two lists: 1. one 2. two a. one b. two Since we regard this as a bug in Markdown.pl, and not something anyone would ever rely on, we do not preserve the old behavior even when `--strict` is selected.
2012-01-01New treatment of dashes in --smart mode.John MacFarlane2-4/+4
* `---` is always em-dash, `--` is always en-dash. * pandoc no longer tries to guess when `-` should be en-dash. * A new option, `--old-dashes`, is provided for legacy documents. Rationale: The rules for en-dash are too complex and language-dependent for a guesser to work reliably. This change gives users greater control. The alternative of using unicode isn't very good, since unicode em- and en- dashes are barely distinguishable in a monospace font.
2011-12-31Support for math in RST reader and writer.John MacFarlane3-9/+46
Inline math uses the :math:`...` construct. Display math uses .. math:: ... or if multilin .. math:: ... These seem to be supported now by rst2latex.py.
2011-12-30Updated context tests.John MacFarlane1-33/+34
2011-12-30Updated latex tests.John MacFarlane3-6/+18
2011-12-30Updated ConTeXt tests.John MacFarlane1-67/+68
2011-12-29Unicode reference ID in biblio test.John MacFarlane2-5/+5
2011-12-29Updated tests for changes to HTML note back references.John MacFarlane1-5/+5
2011-12-29Added 'beamer' as an output format.John MacFarlane3-3/+3
Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
2011-12-28Preserve attributes in highlighted HTML.John MacFarlane2-2/+2
The container element will have the classes, id, and key-value attributes you specified in the delimited code block. Previously these were stripped off.
2011-12-27Highlighting: Add language as class name.John MacFarlane2-2/+2
This restores behavior of 1.8.2.1. Adjusted tests.
2011-12-27Updated tests.John MacFarlane4-73/+80
2011-12-27Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane8-163/+159
2011-12-22Removed highlighting flag. Highlighting support is now standard.John MacFarlane2-48/+0
2011-12-20Updated s5 tests.John MacFarlane2-6/+6
2011-12-18HTML writer: Use `<del>` for strikeout.John MacFarlane1-1/+1