aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14Muse reader: add grid tables supportAlexander Krotov1-0/+43
2018-11-14Muse writer: indent simple tables only on the top levelAlexander Krotov1-0/+6
2018-11-13Fix test case for #5014.John MacFarlane1-1/+3
2018-11-13HTML reader: allow thead containing a row with td rather than th.John MacFarlane1-0/+17
See #5014. Note that this doesn't address the original issue in #5014, only an unrelated side-issue.
2018-11-13Muse writer: output tables with one column as grid tablesAlexander Krotov1-0/+12
2018-11-12LaTeX writer: don't emit `[<+->]` unless beamer output,John MacFarlane1-0/+14
even if `writerIncremental` is True. See #5072.
2018-11-11Exactly match GitHub's identifier generating algorithm.John MacFarlane1-0/+4
See #5057.
2018-11-11Text.Pandoc.Shared: add parameter to uniqueIdent, inlineListToIdentifier.John MacFarlane1-4/+4
The parameter is Extensions. This allows these functions to be sensitive to the settings of `Ext_gfm_auto_identifiers` and `Ext_ascii_identifiers`. This allows us to use `uniqueIdent` in the CommonMark reader, replacing some custom code. It also means that `gfm_auto_identifiers` can now be used in all formats. Semantically, `gfm_auto_identifiers` is now a modifier of `auto_identifiers`; for identifiers to be set, `auto_identifiers` must be turned on, and then the type of identifier produced depends on `gfm_auto_identifiers` and `ascii_identifiers` are set. Closes #5057.
2018-11-07Texinfo writer: add blank line before `@menu` section.John MacFarlane1-0/+8
Closes #5055.
2018-11-06Add command test for #5050.John MacFarlane1-0/+7
2018-11-06ICML writer: consolidate adjacent strings, inc. spaces.John MacFarlane1-128/+23
This avoids chunking up the output unnecessarily into separate elements.
2018-11-06Use OverloadedStrings extension to simplify Muse writer testsAlexander Krotov1-201/+203
2018-11-05CommonMark writer: respect --ascii (#5043)quasicomputational1-0/+36
2018-11-04XML: toHtml5Entities: prefer shorter entities...John MacFarlane1-2/+2
when there are several choices for a particular character.
2018-11-05Muse writer: add support for --reference-location=Alexander Krotov1-3/+85
Address #107
2018-11-03AsciiDoc writer: use single-line section headers.John MacFarlane1-63/+32
The underline style is now deprecated. Previously `--atx-headers` would enable the single-line style; now the single-line style is always used. Closes #5038.
2018-11-02table testsYan Pashkovsky1-0/+11
2018-11-02Roff reader: Improved handling of custom strings as arguments.John MacFarlane1-0/+27
Added test.
2018-11-02grofftest.sh - set resource path more appropriately.John MacFarlane1-1/+1
2018-11-02Improve test/grofftest.sh.John MacFarlane1-12/+16
Use --resource-path. Use iconv for latin1 man pages. Recurse into subdirectories.
2018-11-01Implement --ascii for Markdown writer.John MacFarlane1-0/+8
2018-11-01HTML writer: use character entities references when possible for HTML5.John MacFarlane1-1/+1
2018-10-31ZimWiki writer: number ordered list items sequentially...John MacFarlane1-20/+20
rather than always with 1.
2018-10-31LaTeX writer: add newline if math ends in a comment.John MacFarlane1-0/+7
This prevents the closing delimiter from being swalled up in the comment. Closes #4880.
2018-10-30Roff reader: properly handle unknown backslash escapes.John MacFarlane1-0/+2
They are treated as regular characters, according to groff 7. Cloess #5034.
2018-10-29ZimWiki writer: remove extra indentation on lists.John MacFarlane1-88/+88
Closes #4963.
2018-10-29LaTeX reader: allow space at end of math after `\`.John MacFarlane1-0/+21
Closes #5010. Expose trimMath from T.P.Shared.
2018-10-28Roff tokenizer: better handling of escapes.John MacFarlane1-2/+2
2018-10-28Roff tokenizer: revamped font parsing using escapeArg.John MacFarlane1-1/+1
Add support for \C'...' escapes.
2018-10-28T.P.Lua: rename `runPandocLua` to `runLua` (API change)Albert Krewinkel1-10/+10
2018-10-28T.P.Lua: merge runLuaFilter into T.P.Filter.Lua (API change)Albert Krewinkel1-8/+7
The function `runLuaFilter` was only used in Text.Pandoc.Filter.Lua, use apply from the that module instead.
2018-10-27Man reader: allow block-level content in table cells.John MacFarlane2-1/+26
Closes #5028.
2018-10-28Muse: Make tables round-tripAlexander Krotov1-2/+16
2018-10-28Muse reader: try to parse lists before trying to parse tableAlexander Krotov1-0/+12
This ensures that tables inside lists are parsed correctly.
2018-10-27Remove misleading comment from Muse reader testsAlexander Krotov1-1/+0
pandoc follows Text::Amuse rules instead of being bug compatible with Emacs Muse
2018-10-27Muse reader: forbid whitespace after opening and before closing markup elementsAlexander Krotov1-2/+10
See https://github.com/melmothx/text-amuse/issues/44 for discussion on these rules
2018-10-26Muse reader: parse page breaksAlexander Krotov1-0/+8
2018-10-25Man reader: support tables.John MacFarlane2-1/+218
Closes #4982.
2018-10-25Lua: allow access to pandoc state (#5015)Albert Krewinkel2-0/+25
* Lua: allow access to pandoc state Lua filters and custom writers now have read-only access to most fields of pandoc's internal state via the global variable `PANDOC_STATE`. * Lua: allow iterating through fields of PANDOC_STATE * Lua filters doc: describe CommonState * Lua filters doc: mention global variable PANDOC_STATE * Lua: add access to logs Log messages can currently only be printed, but not decomposed.
2018-10-25Muse writer: add support for grid tablesAlexander Krotov1-11/+24
2018-10-24GroffChar: added @ to list of standard escapes.John MacFarlane1-1/+1
Because we use it as a delimiter for tables (in man) and for math (in ms).
2018-10-24Vimwiki reader: test empty preformatted textAlexander Krotov2-1/+8
2018-10-23Groff writer character escaping changes.John MacFarlane4-31/+31
T.P.GroffChar: replaced `essentialEscapes` with `manEscapes`, which includes all the escapes mentioned in the groff_man manual. T.P.Writers.Groff: removed escapeCode; changed parameter on escapeString from Bool to new type `EscapeMode`. Rewrote `escapeString`.
2018-10-22Man reader: Handle optional argument in ME, UE macros.John MacFarlane2-5/+5
Closes #4995.
2018-10-22Groff writers escaping changes.John MacFarlane2-32/+32
- Improve escaping of accented characters with `--ascii`. Combining accents are now handled properly. - Don't escape spaces and tabs in code blocks. This doesn't seem to be necessary.
2018-10-22LaTeX reader: add support for `nolinkurl` command. (#4992)Brian Leung1-0/+10
2018-10-23Muse writer: do not insert newline before listsAlexander Krotov1-0/+1
2018-10-22Man reader: don't parse \[ul] as unicode escape.John MacFarlane1-1/+1
2018-10-21Man reader: fix code block tests.John MacFarlane1-3/+3
They incorporated a spurious newline which needs to be removed.
2018-10-21Man reader: support .ds, .ds1; also fix macro arguments.John MacFarlane2-2/+4
Closes #4997.