aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-27custom ordered listsYan Pas1-16/+26
2018-05-26nested listsYan Pas1-52/+84
2018-05-26escape chars in macrosYan Pas1-49/+66
2018-05-23tests, parsing fixesYan Pas1-16/+19
2018-05-20listsYan Pas1-4/+20
2018-05-20links, specialcharsYan Pas1-39/+65
2018-05-20rename compile to parse, parse to lexYan Pas1-57/+57
2018-05-20states, code block compilingYan Pas1-35/+62
2018-05-20compiling paragraphsYan Pas1-55/+124
2018-05-19tokenisationYan Pas1-131/+175
2018-05-12Merge branch 'master' into groff_readerYan Pas5-20/+31
2018-05-09Org reader: fix image filename recognitionAlbert Krewinkel1-6/+7
Use a function from the *filepath* library to check whether a string is a valid file name. The custom validity checker that was used before gave wrong results, e.g. for absolute file paths on Windows (kawabata/ox-pandoc#52).
2018-05-09Restored and undeprecated gladtex for HTML math.John MacFarlane3-1/+15
- Added `GladTeX` constructor to `Text.Pandoc.Options.HTMLMathMethod` [API change, reverts removal in v2.2] - Restored and undeprecated `--gladtex` option, removed in v2.2. Closes #4607.
2018-05-09fix build and testsYan Pas1-0/+1
2018-05-09Fix regression with tex math environments in HTML + MathJax.John MacFarlane1-11/+5
Closes #4639.
2018-05-09Parsing: Lookahead for non-whitespace after single/double quote start.John MacFarlane1-2/+4
Closes #4637.
2018-05-09Merge branch 'master' into groff_readerYan Pashkovsky130-1295/+2476
2018-05-09remove debug codeYan Pas1-35/+12
2018-05-09codeblock handlingYan Pas1-21/+61
2018-05-09links, paragraphs, codeblocksYan Pas1-33/+66
2018-05-09basic manfile parsingYan Pas1-63/+178
2018-05-08Fixed bug in uriPathToPath for Windows.John MacFarlane1-1/+1
2018-05-08Support underline in docx writer.John MacFarlane1-0/+3
Updated golden test and confirmed validity of file. Closes #4633.
2018-05-08Use uriPathToPath with file: URIs.John MacFarlane2-3/+4
Closes #4613. Needs testing on Windows.
2018-05-08Shared: add uriPathToPath.John MacFarlane1-0/+14
This adjusts the path from a file: URI in a way that is sensitive to Windows/Linux differences. Thus, on Windows, `/c:/foo` gets interpreted as `c:/foo`, but on Linux, `/c:/foo` gets interpreted as `/c:/foo`. See #4613.
2018-05-08LaTeX reader: handle `$` in `/text{..}` inside math.John MacFarlane1-7/+22
This fixes the main problem in #4576. There is still an issue about `\SI`, but that's a separate issue.
2018-05-07HTML writer: Strip links from headers when creating TOC.John MacFarlane1-4/+12
Otherwise the TOC entries will not link to the sections. Closes #4340.
2018-05-07Muse writer: add support for left-align and right-align classesAlexander Krotov1-2/+8
Address issue #4542
2018-05-07Use Data.Maybe.fromMaybeAlexander Krotov1-6/+3
2018-05-05Revert piping html to pdf-engine (#4628)Mauro Bieg1-50/+46
* Revert "PDF: Use withTempDir in html2pdf." We're going back to using tmpFile instead of piping * Revert "html2pdf: inject base tag wih current working directory (#4443)" Fixes #4413
2018-05-04catch IO errors when writing media files, closes #4559 (#4619)Francesco Occhipinti2-1/+15
If we do not catch these errors, any malformed entry in a media bag could cause the loss of a whole document output. An example of malformed entry is an entry with an empty file path.
2018-05-03Relicense TikiWiki reader as GPL v2 or above, like rest of pandoc.John MacFarlane1-1/+1
Author has given permission in an email, 3 May 2018. See #4591.
2018-04-30Don't lowercase custom writer filenameAlexander Krotov1-5/+3
Fixes #4610
2018-04-28FB2 reader: replace some errors with warningsAlexander Krotov2-9/+18
Now FB2 reader can read writer.fb2, which does not validate (yet).
2018-04-27RST writer: preserve empty inline parents in flatten (#4603)Francesco Occhipinti1-2/+5
2018-04-26LaTeX writer: Update \lstinline delimiters. (#4369)Tim Parenti1-1/+1
Don't delimit \lstinline with characters that are normally escaped. Follow-up to #4111, #4271.
2018-04-26Add FB2 reader (#4539)Alexander3-0/+406
2018-04-26Merge branch 'fb2-hrblankline' of https://github.com/labdsf/pandoc into ↵John MacFarlane1-7/+4
labdsf-fb2-hrblankline
2018-04-26RST reader: fix anonymous redirects with backticks.John MacFarlane1-3/+8
Closes #4598.
2018-04-26Make `--ascii` work for all XML formats (ICML, OPML, JATS,...).John MacFarlane1-2/+3
Also document in manual.
2018-04-26Make `--ascii` work with `ms` and `man` output.John MacFarlane1-8/+16
2018-04-26RST reader: flatten nested inlines, closes #4368 (#4554)Francesco Occhipinti1-3/+75
nested inlines are not valid RST syntax, so we flatten them following some readability criteria discussed in #4368.
2018-04-26DocBook Reader: Read Latex math as output by asciidoctor (#4569)Joe Hermaszewski1-11/+48
2018-04-26Remove unused importAlexander Krotov1-1/+1
2018-04-26Muse reader: allow nested footnotesAlexander Krotov1-1/+1
2018-04-26Muse reader: use Data.Map.member instead of lookupAlexander Krotov1-3/+3
2018-04-26Simplify curSlideHasSpeakerNotesAlexander Krotov1-4/+2
2018-04-25LaTeX reader: fixed previous commit.John MacFarlane1-3/+3
2018-04-25LaTeX reader: Improve handling of raw LaTeX (for markdown etc.).John MacFarlane1-31/+32
Previously there were some bugs in how macros were handled. Closes #4589, #4594.
2018-04-25LaTeX reader: support `\MakeUppercase`, `\MakeLowercase'.John MacFarlane1-1/+17
Also `\MakeTextUppercase`, `\MakeTextLowercase` from textcase and `\uppercase`, `\lowercase`. We don't mimic exactly the quirky semantic differences between these commands, but just uppercase/lowercase regular strings within them. We leave commands and code alone. Closes #4595.