summaryrefslogtreecommitdiff
path: root/tests/docx
Commit message (Collapse)AuthorAge
* Docx reader: Empty header should be list of lists.Jesse Rosenthal2016-12-13
| | | | | | | | | In the past, the docx reader wrote an empty header as an empty list. It should have the same width as a row (and be filled with empty cells). (Note that I've reordered the code here slightly to get rid of a call to `head`. It wasn't unsafe because it tested for null, but it was a bit of a smell.)
* Docx reader: Ensure one-row tables don't have header.Jesse Rosenthal2016-12-08
| | | | | | | | | | | | | | Tables in MS Word are set by default to have special first-row formatting, which pandoc uses to determine whether or not they have a header. This means that one-row tables will, by default, have only a header -- which we imagine is not what people want. This change ensures that a one-row table is not understood to be a header only. Note that this means that it is impossible to produce a header-only table from docx, even though it is legal pandoc. But we believe that in nearly all cases, it will be an accidental (and unwelcome) result Closes #3285.
* Docx reader/writer: Update tests for img title and altJesse Rosenthal2016-11-02
| | | | Closes #3204
* Docx reader: test for nested anchor spans in headerJesse Rosenthal2016-08-29
| | | | | This ensures that anchor spans in header with content (or with other anchor spans inside) will resolve to links to a header id properly.
* Docx writer: test for custom styles.Jesse Rosenthal2016-08-15
| | | | | | | | This just tests whether a custom style with a recognizable style (italic etc, defined in a reference.docx) will roundtrip back to that format (i.e., whether `<span custom-style="Emphasized">` will roundtrip to `Emph`). The custom styles are defined in the `custom-style-reference.docx` included in the docx dir.
* Docx reader: add tests for commentsJesse Rosenthal2016-06-23
| | | | | | We test for comments, using all track-changes options. Note that we should only output comments if `--track-changes=all`. We also test for emitting warnings if there is complicated formatting.
* Docx Reader: Tests for track-changes movingJesse Rosenthal2016-04-16
|
* Docx reader: Add test for enumerated headers.Jesse Rosenthal2016-03-16
| | | | We don't want them to turn into a list.
* Docx reader: Add tests for adjacent hyperlinks.Jesse Rosenthal2016-02-02
|
* Docx reader: image attributesmb212015-12-13
|
* 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 tests for image attribute changes.John MacFarlane2015-08-07
| |
* | Docx reader: Add test cases for dummy list items.Jesse Rosenthal2015-11-18
| |
* | Added test case for links in notes.Jesse Rosenthal2015-11-14
| |
* | Docx Reader: Create special punctuation testOphir Lifshitz2015-10-04
|/
* Docx Reader: Updated headers testOphir Lifshitz2015-07-15
| | | | | | | Replaced styles.xml in headers.docx with pandoc's current styles.xml, which contains styles for Heading 1 through 6. Added Heading 4 through 7 to the test document. Note that Heading 7 is not parsed as a Heading because there is no Heading 7 style.
* Fixed tests/docx/links.docx for new url.John MacFarlane2015-06-09
|
* replace old url with pandoc.orgPablo Rodríguez2015-06-09
|
* Lists testNikolay Yakimov2015-03-08
|
* Initial tests for writerNikolay Yakimov2015-03-03
|
* Docx reader: add test for verbatim in sub/superscript.Jesse Rosenthal2015-02-21
|
* Docx reader: Add tests for new list style parsing.Jesse Rosenthal2015-02-19
|
* Docx reader: test lists in table cells.Jesse Rosenthal2015-02-13
|
* Docx Reader: Add test for VML images.Jesse Rosenthal2015-01-21
| | | | | Since images are often visually (not structurally) placed on the page, people might not always get the results they're looking for here.
* Add tests for external links with anchorsCaleb McDaniel2014-11-13
|
* Docx test: Remove Danish header test.Jesse Rosenthal2014-10-25
| | | | | Redundant, now that we're testing for a more generalized sort of internationalized blocks.
* Docx reader: add tests for i18n headers.Jesse Rosenthal2014-10-25
| | | | | This tests blockquotes and headers in Russian. Previous tests make sure that this doesn't produce a regression in en-us Header and Blockquotes.
* Docx reader: Add test for polyglot headers.Jesse Rosenthal2014-09-05
| | | | Only Danish at the moment.
* Docx Reader: Add tests for numbered headers.Jesse Rosenthal2014-09-04
|
* Docx reader: update tests for new table behavior.Jesse Rosenthal2014-08-28
|
* Docx reader: Test for character styles.Jesse Rosenthal2014-08-16
|
* Revised tests directory.John MacFarlane2014-08-13
Renamed some tests, introducing subsidiary directories for fb2, docx, epub. Cleaned up tests in cabal file. Combined dokuwiki-writer and dokuwiki_inline_formatting tests.