aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15LaTeX reader: improve parsing of `\def` argspec.John MacFarlane1-4/+4
2018-10-15T.P.R.LaTeX.Parsing: moved some functions up a level.John MacFarlane1-20/+21
2018-10-14LaTeX reader: skip `\PackageError` commands.John MacFarlane1-0/+2
See #4408. But this doesn't fix the issue.
2018-10-14Markdown reader: Fix awkward soft break movements before abbreviations.John MacFarlane1-5/+10
Closes #4635.
2018-10-14Markdown reader: Added updateStrPos in a couple places where needed.John MacFarlane1-1/+2
2018-10-14tests, commented debug functionsYan Pas1-11/+12
2018-10-11HTML reader: fix htmlTag and isInlineTag to accept processing instructions.John MacFarlane1-8/+10
Fixes regression #3123 (since 2.0). Added regression test.
2018-10-11Muse reader internals: don't use "choice" with static listAlexander Krotov1-18/+16
2018-10-11Muse reader: use indentWith to parse indentationAlexander Krotov1-2/+2
2018-10-11Muse reader: move museInPara from state to environmentAlexander Krotov1-34/+25
2018-10-10Vimwiki reader: get rid of F, runF and stateMeta' in favor of stateMetaAlexander Krotov1-6/+6
2018-10-10Muse reader internals: merge link and explicit link parsers into one functionAlexander Krotov1-13/+5
2018-10-10Muse reader: rewrite code parser in applicative styleAlexander Krotov1-8/+5
2018-10-10Muse reader: fix parsing of empty cellsAlexander Krotov1-1/+1
2018-10-10Muse reader: simplify table parsingAlexander Krotov1-10/+6
2018-10-09posix man files parsed successfullyYan Pas1-4/+6
2018-10-09Get rid of mapLeft in Muse readerAlexander Krotov1-3/+3
2018-10-09Muse reader: rewrite parseHtmlContent, verseTag and lineBlock in applicative ↵Alexander Krotov1-18/+12
style
2018-10-09Get rid of unnecessary bind "res"Alexander Krotov1-2/+1
2018-10-07RST reader: don't allow single-dash separator in headerless table.John MacFarlane1-1/+3
Closes #4382.
2018-10-07LaTeX reader: fix bugs omitting raw tex.John MacFarlane1-2/+7
The default is `-raw_tex`, so no raw tex should result unless we explicitly say `+raw_tex`. Previously some raw commands did make it through. Closes #4527.
2018-10-07Successful parsing of all Linux mans, except zic.8Yan Pas1-9/+29
2018-10-07RST reader: pass through fields in unknown directives as div attributes.John MacFarlane1-17/+20
This commit also adds support for `class` and `name` attributes to directives in general. Closes #4715.
2018-10-07test suite and more secapesYan Pas1-2/+3
2018-10-07Merge branch 'master' into groff_readerYan Pas34-1595/+2090
2018-10-07position calculationsYan Pas1-5/+5
2018-10-06Moved Haddock comment in Muse readerAlexander Krotov1-4/+3
2018-10-05Org reader: fix behavior for successive calls of `#+EXCLUDE_TAGS`. (#4951)Brian Leung2-8/+13
Calling `#+EXCLUDE_TAGS` multiple times should preserve the status of the previously declared tags.
2018-10-05Org reader: Add partial support for `#+EXCLUDE_TAGS` option. (#4950)Brian Leung4-7/+32
Closes #4284. Headers with the corresponding tags should not appear in the output. If one or more of the specified tags contains a non-tag character like `+`, Org-mode will not treat that as a valid tag, but will nonetheless continue scanning for valid tags. That behavior is not replicated in this patch; entering `cat+dog` as one of the entries in `#+EXCLUDE_TAGS` and running the file through Pandoc will cause the parser to fail and result in the only excluded tag being the default, `noexport`.
2018-10-05Fixed haddock error in Muse reader.John MacFarlane1-1/+2
2018-10-05Muse reader: remove redundant bracketAlexander Krotov1-1/+1
2018-10-05Muse reader: move museInLink state into ReaderTAlexander Krotov1-11/+14
2018-10-05Muse reader: use getIndent more for code cleanupAlexander Krotov1-7/+4
2018-10-05Muse reader: use getIndent in parseHtmlContentAlexander Krotov1-7/+6
2018-10-05Muse reader: make bulletListUntil similar to definitionListUntilAlexander Krotov1-2/+1
2018-10-05Muse reader: reduce duplication by introducing `getIndent`Alexander Krotov1-9/+7
2018-10-05Muse reader internals: simplify parseMuseAlexander Krotov1-6/+2
2018-10-05Muse reader: get rid of TagSoup importAlexander Krotov1-2/+1
2018-10-05Muse reader: simplify verse parsersAlexander Krotov1-18/+7
2018-10-05Muse reader: allow table caption to contain "+"Alexander Krotov1-1/+1
2018-10-04Docx reader: trigger bold/italic with bCs, iCs.John MacFarlane1-2/+4
These are variants for "complex scripts" like Arabic and are now treated just like b, i (bold, italic). Colses #4947.
2018-10-04Add lookupMeta* functions to Text.Pandoc.Writers.Shared (#4907)Mauro Bieg1-8/+1
Remove exported functions `metaValueToInlines`, `metaValueToString`. Add new exported functions `lookupMetaBool`, `lookupMetaBlocks`, `lookupMetaInlines`, `lookupMetaString`. Use these whenever possible for uniformity in writers. API change (major, because of removed function `metaValueToInlines`. `metaValueToString` wasn't in any released version.)
2018-10-04Vimwiki reader: code cleanupAlexander Krotov1-11/+7
2018-10-03TWiki reader: hlintAlexander Krotov1-61/+50
2018-10-01Moved isArgTok to Readers.LaTeX.Parsing.John MacFarlane2-5/+6
2018-10-01Moved babelLangToBCP, polyglossiaLangToBCP to new module...John MacFarlane2-134/+175
Text.Pandoc.Readers.LaTeX.Lang (unexported).
2018-09-30LaTeX reader: simplified accent code using unicode-transforms.John MacFarlane1-322/+33
New dependency on unicode-transforms package for normalization.
2018-09-29LaTeX reader: allow verbatim blocks ending with blank lines.John MacFarlane1-1/+14
Closes #4624.
2018-09-29LaTeX reader: support breq math environments: dmath, dgroup, darray.John MacFarlane1-0/+6
2018-09-28Added Text.Pandoc.Readers.LaTeX.Parsing (unexported).John MacFarlane2-557/+666
This collects some of the general-purpose code from the LaTeX reader, with the aim of making the module smaller. (We've been having out-of-memory issues compiling this module on CI.)