aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-09-26Updated man page and MANUAL date.John MacFarlane2-11/+91
2016-09-25USe latest pandoc-citeproc in binary package stack.yaml.John MacFarlane3-3/+3
2016-09-25Use p tags for subtitle, author, date in epub, revealjs, slidy templates.John MacFarlane2-8/+9
See #3119.
2016-09-25HTML template: use p instead of h1 for subtitle, author, date.John MacFarlane1-7/+7
Closes #3119.
2016-09-23Updated changelog.John MacFarlane1-1/+3
2016-09-23Beamer template: added support for fontfamilies.John MacFarlane1-7/+7
As already in LaTeX. Closes #216.
2016-09-23Added pandoc-citeproc back to extra-deps.John MacFarlane3-0/+3
2016-09-23Use lts-7.0 in stack.yaml files.John MacFarlane5-27/+5
2016-09-23Update changelog.John MacFarlane1-0/+226
2016-09-23Bump to 1.17.3John MacFarlane1-1/+1
2016-09-20LaTeX writer: change braced backtick to \textasciigrave{}Jesse Rosenthal2-2/+2
Backticks in verbatim environments are converted to open-single-quotes. This change makes them appear as backticks. This corresponds to how we treat `'' in verbatim environments (with \textquotesingle{}).
2016-09-20Merge pull request #3071 from tarleb/structured-author-docJohn MacFarlane1-7/+19
Put note on structured vars in separate paragraph
2016-09-19Add test for backtick in verbatim.Jesse Rosenthal1-0/+2
2016-09-19LaTeX writer: enclose backtick in `{}` in verbatimJesse Rosenthal1-0/+1
We don't want ligatures like ` ?` ` (which produces `¿`) inside `\texttt{}` environments, so we enclose the backtick in braces. This fixes #3121
2016-09-06DocBook writer: include an anchor element when a div or span has an id.John MacFarlane1-2/+9
This closes #3102. Note that DocBook does not have a class attribute, but at least this provides an anchor for internal links.
2016-09-03Remove unnecessary CPP in custom Prelude.Jesse Rosenthal1-5/+1
We don't have to worry about base < 4.7.
2016-09-03Remove http-client CPP conditionals.Jesse Rosenthal1-10/+1
Our lower bound on http-client is 0.5, and both of these min_version tests are less than 0.5, so they will always pass.
2016-09-03Remove blaze-html CPP conditional.Jesse Rosenthal1-5/+1
This tests for a min value >= 0.5. But we have a lower bound of 0.5 in pandoc.cabal, so the test will always pass. (If we bump the lower bound to 0.5.1, we can remove a conditional in the HTML writer as well.)
2016-09-03Add EOL note to time compat module.Jesse Rosenthal1-0/+12
Because time 1.4 is a boot library for GHC 7.8, we will support the compatibility module as long as we support 7.8. But we should be clear about when we will no longer need it.
2016-09-02Remove TagSoup compatJesse Rosenthal6-26/+10
We already lower-bound tagsoup at 0.13.7, which means we were always running the compatibility layer (it was conditional on min value 0.13). Better to just use `lookupEntity` from the library directly, and convert a string to a char if need be.
2016-09-02Remove GHC 7.6 from list of tested versionsAlbert Krewinkel1-1/+1
GHC versions below 7.8 are no longer supported nor tested.
2016-09-02Add note about GHC version support to INSTALL.Jesse Rosenthal1-0/+3
Only supporting ghc > 7.8, and encouraging haskell platform.
2016-09-02Bump supported ghc version in CONTRIBUTING.md.Jesse Rosenthal1-1/+1
2016-09-02Bump base lower bound to 4.7Jesse Rosenthal1-1/+1
We are dropping support for ghc < 7.8.
2016-09-02Remove 7.6 build from .travis.yamlJesse Rosenthal1-3/+0
We are dropping support for ghc < 7.8
2016-09-02Bump base lower bound to 4.6 (ghc 7.6)Jesse Rosenthal1-1/+1
2016-09-02Remove unnecessary CPP condition in UTF8Jesse Rosenthal1-7/+2
Base 4.4 is ghc 7.2, so we don't have to worry about getting a lower version.
2016-09-02Actually remove T/P/Compat/Except.Jesse Rosenthal1-37/+0
2016-09-02Change constraint on mtl.Jesse Rosenthal1-1/+1
2016-09-02Remove directory compatJesse Rosenthal3-24/+2
directory 1.1 depends on base 4.5 (ghc 7.4) which we are no longer supporting. So we don't have to use a compatibility layer for it.
2016-09-02Remove Text.Pandoc.Compat.ExceptJesse Rosenthal8-16/+6
2016-09-02Fix grouping of imports.Jesse Rosenthal7-7/+8
Some source files keep imports in tidy groups. Changing `Text.Pandoc.Compat.Monoid` to `Data.Monoid` could upset that. This restores tidiness.
2016-09-02Remove an inline monad compatibility macro.Jesse Rosenthal1-12/+0
2016-09-02Remove Compat.MonoidJesse Rosenthal23-39/+21
This was only necessary for GHC versions with base below 4.5 (i.e., ghc < 7.4).
2016-09-02PDF: Don't crash with nonexistent image.John MacFarlane1-1/+2
Instead, emit the alt text, emphasized. This accords with what the ODT writer currently does. The user will still get a warning about a nonexistent image, but will no longer get a LaTeX crash. Closes #3100.
2016-09-02Merge pull request #3091 from wilx/master-narrow-no-break-spaceJohn MacFarlane1-0/+1
Translate NARROW NO-BREAK SPACE into LaTeX.
2016-08-30Org reader: respect unnumbered header propertyAlbert Krewinkel2-2/+19
Sections the `unnumbered` property should, as the name implies, be excluded from the automatic numbering of section provided by some output formats. The Pandoc convention for this is to add an "unnumbered" class to the header. The reader treats properties as key-value pairs per default, so a special case is added to translate the above property to a class instead. Closes #3095.
2016-08-29Docx reader: make all compilers happy with traversable.Jesse Rosenthal1-1/+3
The last attempt to make 7.8 happy made 7.10 unhappy. So we need some conditional logic to appease all versions.
2016-08-29Docx reader: Import traverse for ghc 7.8Jesse Rosenthal1-0/+1
The GHC 7.8 build was erroring without it.
2016-08-29Docx reader: clean up function with `traverse`Jesse Rosenthal1-6/+1
2016-08-29Merge branch 'org-meta-handling'Albert Krewinkel6-132/+320
2016-08-29Docx reader: test for nested anchor spans in headerJesse Rosenthal3-0/+14
This ensures that anchor spans in header with content (or with other anchor spans inside) will resolve to links to a header id properly.
2016-08-29Org reader: respect `creator` export optionAlbert Krewinkel4-5/+14
The `creator` option controls whether the creator meta-field should be included in the final markup. Setting `#+OPTIONS: creator:nil` will drop the creator field from the final meta-data output. Org-mode recognizes the special value `comment` for this field, causing the creator to be included in a comment. This is difficult to translate to Pandoc internals and is hence interpreted the same as other truish values (i.e. the meta field is kept if it's present).
2016-08-29Org reader: respect `email` export optionAlbert Krewinkel4-5/+13
The `email` option controls whether the email meta-field should be included in the final markup. Setting `#+OPTIONS: email:nil` will drop the email field from the final meta-data output.
2016-08-29Org reader: respect `author` export optionAlbert Krewinkel5-4/+29
The `author` option controls whether the author should be included in the final markup. Setting `#+OPTIONS: author:nil` will drop the author from the final meta-data output.
2016-08-29Put Org reader export option tests into test groupAlbert Krewinkel1-61/+65
Using a separate test group instead of prefixing the test subject should be clearer than the current approach.
2016-08-29Org reader: read HTML_head as header-includesAlbert Krewinkel2-0/+9
HTML-specific head content can be defined in `#+HTML_head` lines. They are parsed as format-specific inlines to ensure that they will only show up in HTML output.
2016-08-29Org reader: set classoption meta from LaTeX_class_optionsAlbert Krewinkel2-1/+13
2016-08-29Org reader: set documentclass meta from LaTeX_classAlbert Krewinkel2-0/+6
2016-08-29Org reader: read LaTeX_header as header-includesAlbert Krewinkel2-9/+38
LaTeX-specific header commands can be defined in `#+LaTeX_header` lines. They are parsed as format-specific inlines to ensure that they will only show up in LaTeX output.