summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
...
* DokuWiki writer: use $$ for display math.John MacFarlane2016-03-08
|
* Merge pull request #2646 from tarleb/org-figure-with-no-nameJohn MacFarlane2016-02-20
|\ | | | | Prefix even empty figure names with "fig:"
| * Prefix even empty figure names with "fig:"Albert Krewinkel2016-01-11
| | | | | | | | | | | | | | | | The convention used by pandoc for figures is to mark them by prefixing the name with "fig:". The org reader failed to do this if a figure had no name. The test for this was broken as well. This fixes #2643.
* | Merge pull request #2668 from monofon/fix/yaml-metadata-block-bottom-lineJohn MacFarlane2016-02-20
|\ \ | | | | | | Markdown writer: Use hyphens for yaml metadata block bottom line
| * | Markdown writer: Use hyphens for yaml metadata block bottom lineHenrik Tramberend2016-01-21
| | |
* | | Merge pull request #2691 from tarleb/org-image-file-linksJohn MacFarlane2016-02-20
|\ \ \ | | | | | | | | Org reader: Refactor link-target processing
| * | | Org reader: Refactor link-target processingAlbert Krewinkel2016-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup of the code for link target handling. Most notably, the canonicalization of a link is handled by a separate function. This fixes #2684.
* | | | HTML writer: don't include alignment attribute for default table columns.John MacFarlane2016-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously these were given "left" alignment. Better to leave off alignment attributes altogether. Closes #2694.
* | | | Docx reader: Add tests for adjacent hyperlinks.Jesse Rosenthal2016-02-02
|/ / /
* | | Textile reader: Support `>`, `<`, `=`, `<>` text alignment attributes.John MacFarlane2016-01-25
| | | | | | | | | | | | Closes #2674.
* | | Added old-style tests for TEI writer (tests/tables.tei, tests/writer.tei).John MacFarlane2016-01-21
| | |
* | | Merge pull request #2638 from c-forster/teiwriterJohn MacFarlane2016-01-21
|\ \ \ | |/ / |/| | Add TEI Writer.
| * | Added some entity tests in Markdown reader tests.John MacFarlane2016-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change types of divs. From Docbook "sect#" and "simplesect" to "level#" and "section." Add tests. Add mention of TEI to README. Small changes to TEI writer.
| * | Add TEI Writer.csforste2016-01-19
| |/
* / Adjusted longtable in tests.John MacFarlane2016-01-20
|/ | | | New default is not to include `[c]` option.
* LaTeX writer: restore old treatment of Span.John MacFarlane2016-01-09
| | | | | | A Span is rendered with surrounding {braces}. This was a regression in 1.16. Closes #2624.
* Added some entity tests in Markdown reader tests.John MacFarlane2016-01-08
|
* Fix function dropping subtrees tagged :noexport:Albert Krewinkel2016-01-07
| | | | | | | | | | | Continue scanning for comment subtrees beyond only the first block. Note to self: when writing an recursive function, don't forget to, you know, actually recurse. Shout to @mrvdb for noticing this. This fixes #2628.
* Textile reader: don't allow block HTML tags in inline contexts.John MacFarlane2016-01-02
| | | | | | | | | | | | | | | | | | | | | The reader previously did allow this, following redcloth, which happily parses Html blocks can be <div>inlined</div> as well. as <p>Html blocks can be <div>inlined</div> as well.</p> This is invalid HTML, and this kind of thing can lead to parsing problems (stack overflows) as well. So this commit undoes this behavior. The above sample now produces; <p>Html blocks can be</p> <div> <p>inlined</p> </div> <p>as well.</p>
* MediaWiki writer: fix spacing issues.John MacFarlane2016-01-02
| | | | | | | | | + Start cell on new line unless it's a single Para or Plain. + For single Para or Plain, insert a space after the `|` to avoid problems when the text begins with a character like `-`. Closes #2604, closes #2606.
* LaTeX/Beamer template changes (Thomas Hodgson):John MacFarlane2015-12-19
| | | | | | | | | | | | | | | * Added `thanks` variable * Use `parskip.sty` when `indent` isn't set (fall back to using `setlength` as before if `parskip.sty` isn't available). * Use `biblio-style` with biblatex. * Added `biblatexoptions` variable. * Added `section-titles` variable (defaults to true) to enable/suppress section title pages in beamer slide shows. * Moved beamer themes after fonts, so that themes can change fonts. (Previously the fonts set were being clobbered by lmodern.sty.)
* ICML writer: intersperse line breaksmb212015-12-17
| | | | | instead of appending them to every ParagraphStyleRange closes #2501
* ICML writer: added figure handling, closes #2590mb212015-12-16
|
* Merge pull request #2570 from mb21/rst-reader-imgattrsJohn MacFarlane2015-12-13
|\ | | | | Image attributes
| * Docx reader: image attributesmb212015-12-13
| |
| * RST reader: image attributesmb212015-12-13
| |
* | Fixed ICML image syntax for local files.John MacFarlane2015-12-13
|/ | | | | | | | | | | `file:filename` rather than `file://./filename`. I think this is right; it matches what we had before with people actually using the ICML writer, and seems to match examples in the spec. I don't have a copy of InDesign I can test on, though. @DigitalPublishingToolkit and @mb21, can you have a look?
* Fixed tests.John MacFarlane2015-12-12
|
* Test fixes.John MacFarlane2015-12-12
|
* Modified readers to emit SoftBreak when appropriate.John MacFarlane2015-12-12
|
* Implemented SoftBreak and new `--wrap` option.John MacFarlane2015-12-11
| | | | | | | | | | | | | | | | Added threefold wrapping option. * Command line option: deprecated `--no-wrap`, added `--wrap=[auto|none|preserve]` * Added WrapOption, exported from Text.Pandoc.Options * Changed type of writerWrapText in WriterOptions from Bool to WrapOption. * Modified Text.Pandoc.Shared functions for SoftBreak. * Supported SoftBreak in writers. * Updated tests. * Updated README. Closes #1701.
* LaTeX template changes:John MacFarlane2015-12-03
| | | | | | | | - only pass options to color package if colorlinks is set - make definition of `\euro` conditional in xelatex/lualatex, as it is already for pdflatex (Andrew Dunning)
* Fixed man template so disabling hyphenation actually works.John MacFarlane2015-12-03
| | | | The command needs to come after .TH.
* Added bodyless pipe table test case.John MacFarlane2015-11-24
| | | | See #2556.
* LaTeX reader: Use curly quotes for unmatched `.John MacFarlane2015-11-23
| | | | | | Partially addresses #2555. Note that there's still a problem with the code sample given.
* AsciiDoc writer: Fixed code blocks.John MacFarlane2015-11-23
| | | | Closes #1861.
* Updated tests for context template changes.John MacFarlane2015-11-20
|
* latex template changes.John MacFarlane2015-11-20
| | | | | | | | | | | | | | | | | | | | | * Removed setting of `subject` in PDF metadata. This used to be set to the subtitle, but really the subtitle need not give the subject. Also, `subtitle` can contain formatting, so we'd need, at least, a plain text version for this. * Moved `header-includes` before setting of `\title`, `\author`, etc. This allows these macros to be redefined. * Use `\subtitle` command for `subtitle`, instead of tacking it on to the title as before. We give a no-op fallback definition if it is not defined. This change should produce much better results in classes that support `\subtitle`. With the default article class, which does not define `\subtitle`, subtitles will no longer be printed unless the user defines `\subtitle` and redefines `\maketitle`. * Moved redefinitions of `\paragraph` and `\subparagraph` to before header-includes.
* Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵John MacFarlane2015-11-19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mb21-new-image-attributes * Bumped version to 1.16. * Added Attr field to Link and Image. * Added `common_link_attributes` extension. * Updated readers for link attributes. * Updated writers for link attributes. * Updated tests * Updated stack.yaml to build against unreleased versions of pandoc-types and texmath. * Fixed various compiler warnings. Closes #261. TODO: * Relative (percentage) image widths in docx writer. * ODT/OpenDocument writer (untested, same issue about percentage widths). * Update pandoc-citeproc.
| * Updated tests for link attribute changes.mb212015-08-07
| |
| * Updated Arbitrary instance for link attributemb212015-08-07
| |
| * Updated tests for image attribute changes.John MacFarlane2015-08-07
| |
| * Updated Arbitrary instance for new image attribute parameter.John MacFarlane2015-08-07
| |
* | Docx reader: Add test cases for dummy list items.Jesse Rosenthal2015-11-18
| |
* | ICML writer: better handling of math.John MacFarlane2015-11-16
| | | | | | | | | | Instead of just printing the raw tex, we now try to fake it with unicode characters.
* | Added test case for links in notes.Jesse Rosenthal2015-11-14
| |
* | Merge pull request #2526 from tarleb/org-definition-lists-fixJohn MacFarlane2015-11-13
|\ \ | | | | | | Org reader: Require whitespace around def list markers
| * | Org reader: Require whitespace around def list markersAlbert Krewinkel2015-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Definition list markers (i.e. double colons `::`) must be surrounded by whitespace to start a definition item. This rule was not checked before, resulting in bugs with footnotes and some link types. Thanks to @conklech for noticing and reporting this issue. This fixes #2518.
* | | Merge pull request #2525 from tarleb/org-smart-fixesJohn MacFarlane2015-11-13
|\ \ \ | | | | | | | | Org reader: Fix emphasis rules for smart parsing
| * | | Org reader: Fix emphasis rules for smart parsingAlbert Krewinkel2015-11-13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Smart quotes, ellipses, and dashes should behave like normal quotes, single dashes, and dots with respect to text markup parsing. The parser state was not updated properly in all cases, which has been fixed. Thanks to @conklech for reporting this issue. This fixes #2513.