aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-23Implemented fenced Divs.John MacFarlane5-0/+93
+ Added Ext_fenced_divs to Extensions (default for pandoc Markdown). + Document fenced_divs extension in manual. + Implemented fenced code divs in Markdown reader. + Added test. Closes #168.
2017-10-23HTML reader: `htmlTag` improvements.John MacFarlane2-8/+28
We previously failed on cases where an attribute contained a `>` character. This patch fixes the bug. Closes #3989.
2017-10-23More pleasing presentation of warnings and info messages.John MacFarlane4-9/+10
!! warning -- info
2017-10-23Updated Glob upper bound.John MacFarlane2-2/+2
2017-10-23Fixed test for change in log level.John MacFarlane1-3/+0
2017-10-23Downgraded SkippedContent and DocxParserWarning from WARNING to INFOJohn MacFarlane1-2/+2
2017-10-23Removed linux Dockerfile.alpine (main Dockerfile already alpine).John MacFarlane1-30/+0
2017-10-23Merge pull request #3988 from mb21/lettrineJohn MacFarlane2-3/+13
LaTeX Reader: support \lettrine
2017-10-22Fixed make_tarball.sh to get VERSION set.John MacFarlane1-1/+1
2017-10-22make_deb, make_tarball - fix default assignment of ARTIFACTS.John MacFarlane2-2/+2
2017-10-22Updated linux Makefile to use alpine.John MacFarlane1-4/+4
2017-10-22Back to using alpine-based Dockerfile for linux build.John MacFarlane6-100/+31
2017-10-22make_linux.sh tarball creation fix directory structure.John MacFarlane1-1/+2
2017-10-22Fixed bug in make_linux.sh path.John MacFarlane1-1/+1
2017-10-22Linux package: new debian-based non-static build.John MacFarlane4-25/+44
2017-10-22Added linux/make_linux.sh.John MacFarlane1-0/+79
This does a linux build and creates deb and tgz distributions.
2017-10-22Fixed detection of VERSION in make_macos_package.sh.John MacFarlane1-3/+4
This broke when we uncapitalized cabal fields! Now we get this from `pandoc --version`.
2017-10-22LaTeX Reader: support \lettrinemb212-0/+10
2017-10-22LaTeX Reader: use opt function consistentlymb211-3/+3
2017-10-21In rendering PandocParsecError, only print input at error location...John MacFarlane1-1/+6
if the source name is `source` (i.e., the top level). Otherwise results will be misleading, since what readM does is to look up the source position of the error in the *original* input, which may not match the input used by parseFromString or in parsing from an included file. Closes #3865. Not a great fix, maybe there's something better that could be done, but this should at least avoid misleading messages.
2017-10-22Merge pull request #3987 from wilx/masterJohn MacFarlane1-1/+3
Support comments in Pandoc templates in Emacs pandoc-template-mode.
2017-10-22Support comments in Pandoc templates in Emacs pandoc-template-mode.Vaclav Haisman1-1/+3
2017-10-21Updated changelog.John MacFarlane1-0/+1766
11,681 words!
2017-10-20SelfContained: data-background-image instead of data-background.John MacFarlane1-1/+1
Really closes #3979.
2017-10-20Use doctemplates 0.2.1: allows `$--` line comments in templates.John MacFarlane4-6/+9
Closes #3806.
2017-10-19LaTeX reader: be more forgiving in parsing command options.John MacFarlane1-2/+2
This was needed, for example, to make some minted options work.
2017-10-19LaTeX reader: Strip off quotes in `\include` filenames.John MacFarlane1-1/+2
2017-10-19LaTeX reader: support `\expandafter`.John MacFarlane2-6/+48
Closes #3983.
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