aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19LaTeX reader: handle `\DeclareRobustCommand`.John MacFarlane1-2/+3
Currently it's just treated as a synonym for `\newcommand`. Handles the second case mentioned in #3983.
2017-10-18Clarify DATADIR in MANUALJohn MacFarlane1-0/+2
2017-10-18Fix typo in changelogJohn MacFarlane1-1/+1
2017-10-17Export Text.Pandoc.BCP47John MacFarlane1-1/+1
2017-10-17Split list of authors from MANUAL.txt into separate file, AUTHORS.md.John MacFarlane4-353/+426
It was getting too long for a man page.
2017-10-17Updated AUTHORSJohn MacFarlane1-0/+2
2017-10-17pandoc.lua: destructure attr for Link and ImageAlbert Krewinkel1-2/+2
Make Attr values accessible through through the keys `identifier`, `classes` and `attributes`. This is already used in other elements with attributes and is now fixed for Link and Image.
2017-10-17Merge pull request #3980 from bfirsh/skip-spaces-in-image-optionsJohn MacFarlane2-0/+29
Latex reader: Skip spaces in image options
2017-10-17Latex reader: Skip spaces in image optionsBen Firshman2-0/+5
2017-10-17Add tests for existing \includegraphics behaviourBen Firshman1-0/+24
2017-10-16SelfContained: handle data-background attribute on section.John MacFarlane1-2/+3
This should help with #3979. In my test, I got a data uri for data-background. But it didn't actually work in the browser (the background image didn't show). Not sure whether this is a problem in reveal.js or a problem in pandoc...
2017-10-16HTML writer: don't add data- prefix to unknown attributes beginning with data-.John MacFarlane1-0/+1
Or we'll get data-data-blah.
2017-10-16Revised command test 3971 to work with Windows.John MacFarlane1-2/+2
2017-10-16Improved handling of include files in LaTeX reader.John MacFarlane5-61/+93
Previously `\include` wouldn't work if the included file contained, e.g., a begin without a matching end. We've changed the Tok type so that it stores a full SourcePos, rather than just a line and column. So tokens keeep track of the file they came from. This allows us to use a simpler method for includes, which doesn't require parsing the included document as a whole. Closes #3971.
2017-10-16RST writer: correctly handle inline code containing backticks.John MacFarlane2-2/+13
(Use a :literal: role.) Closes #3974.
2017-10-16RST writer: don't backslash-escape word-internal punctuation.John MacFarlane3-16/+25
Closes #3978.
2017-10-15App: added --request-header option.John MacFarlane2-11/+28
2017-10-15Remove openURL from Shared (API change).John MacFarlane3-58/+46
Now all the guts of openURL have been put into openURL from Class. openURL is now sensitive to stRequestHeaders in CommonState and will add these custom headers when making a request. It no longer looks at the USER_AGENT environment variable, since you can now set the `User-Agent` header directly.
2017-10-15Class: add stRequestHeaders to CommonState, and setRequestHeader.John MacFarlane1-0/+13
2017-10-15Handle unknown options in form `--latex-engine=foo`.John MacFarlane1-1/+2
Previously these were not triggering the helpful message about option name changes.
2017-10-13Merge pull request #3970 from d-dorazio/masterJohn MacFarlane1-2/+4
markdown writer: always write bracketed_spans' attributes
2017-10-13CommonMark writer: omit "fig:" prefix in image titles.John MacFarlane1-0/+3
This is used internally to indicate internal figures. See https://groups.google.com/d/msgid/pandoc-discuss/892c5a25-086a-4e19-b4c1-8 975cea8df0f@googlegroups.com?utm_medium=email&utm_source=footer
2017-10-13markdown writer: always write bracketed_spans' attributesd-dorazio1-2/+4
2017-10-12.travis.yml - move 7.10 and 8.0 out of accepted failures.John MacFarlane1-3/+0
2017-10-12.travis.yml - use -j2 on build.John MacFarlane1-2/+2
2017-10-12More travis tweaks.John MacFarlane1-3/+1
2017-10-12.travis.yml - try with -j1.John MacFarlane1-1/+1
2017-10-12More travis tweaks: try without -j, add -O0 again.John MacFarlane1-8/+8
2017-10-12.travis.yml - use --fast and --disable-optimization rather than -O0.John MacFarlane1-12/+12
2017-10-12.travis.yml - use -v3 in cabal builds to debug.John MacFarlane1-2/+2
2017-10-12.travis.yml tweaks: use ulimit, --ghc-options for cabal build.John MacFarlane1-5/+3
2017-10-12appveyor.yml: added skip_commits.John MacFarlane1-0/+10
2017-10-11Updated authors in MANUAL.txt.John MacFarlane1-0/+1
2017-10-11ConTeXt writer: Use identifiers for chapters.John MacFarlane2-6/+16
Closes #3968.
2017-10-11Travis: allow failure for ghc 7.10.3 build.John MacFarlane1-1/+2
2017-10-11Merge pull request #3965 from labdsf/fb2poemJohn MacFarlane1-2/+6
FB2 Writer: format LineBlock as poem
2017-10-11Use latest pandoc-citeproc.John MacFarlane1-1/+1
2017-10-11Added hs-bibutils to stack.pgk.yaml.John MacFarlane1-0/+1
2017-10-11Revert "appveyor tweak - maybe this will help with the build issue."John MacFarlane1-1/+1
This reverts commit c40768b28a4646dec425ce4784cfcf46e2405464.
2017-10-11appveyor tweak - maybe this will help with the build issue.John MacFarlane1-1/+1
2017-10-11FB2 Writer: format LineBlock as poemAlexander Krotov1-2/+6
Previously writer produced one paragraph with <empty-line/> elements, which are not allowed inside <p> according to FB2 schema.
2017-10-10Use latest pandoc-citeproc in stack.pkg.yaml.John MacFarlane1-1/+1
2017-10-10Merge pull request #3963 from agusmba/issue3901John MacFarlane1-0/+1
docx writer - activate evenAndOddHeaders from reference doc
2017-10-10Allow travis ghc 8.0.2 cabal build to fail. It always times out.John MacFarlane1-0/+2
2017-10-10docx writer - activate evenAndOddHeaders from reference docAgustín Martín Barbero1-0/+1
Fixes #3901 by checking for the evenAndOddHeaders mark in the reference doc, and copying it to the resulting docx if present.
2017-10-09Travis: added some 'date' commands...John MacFarlane1-0/+4
so we can try to see why builds are failing with timeout.
2017-10-09FB2 writer: replace concatMap with cMapAlexander Krotov1-10/+10
2017-10-09hlint FB2 writerAlexander Krotov1-50/+50
2017-10-08Add test - closes #3958.John MacFarlane1-0/+20
2017-10-08Shared.stringify, removeFormatting: handle Quoted better.John MacFarlane1-2/+9
Previously we were losing the qutation marks in Quoted elements. See #3958.