aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-19static-linux: Dockerfile now creates the .deb too.John MacFarlane2-0/+52
2017-03-19stack.pkg.yaml - use latest pandoc-citeproc.John MacFarlane1-1/+1
2017-03-19Update stack.pkg.yaml for latest pandoc-citeproc.John MacFarlane1-1/+1
2017-03-19Use latest pandoc-citeproc HEAD.John MacFarlane1-1/+1
2017-03-19static-linux: allow setting TREE to build from arbitrary git commit.John MacFarlane2-2/+4
2017-03-19deb/Makefile: remove git submodule update.John MacFarlane1-1/+1
2017-03-19Improved static linux build.John MacFarlane1-6/+17
Also build pandoc-citeproc. Put pandoc and pandoc-citeproc executables into a version-labeled tgz.
2017-03-18HTML reader: Better sanity checks on raw HTML.John MacFarlane2-6/+30
This also affects the Markdown reader. Closes #3257.
2017-03-17Added test case to 3348 to try to figure out why appveyor build fails.John MacFarlane1-0/+18
2017-03-17stack.pkg.yaml - use latest pandoc-citeproc HEAD.John MacFarlane1-1/+1
This should address appveyor test failures.
2017-03-17Adjust command test 3348.md to specify column width.John MacFarlane1-1/+1
This is meant to address a test failure on appveyor.
2017-03-17Improved static linux alpine build.John MacFarlane1-3/+6
* Use -split-objs (reduces executable size from ~50M to 32M), at cost of much slower compilation. * Moved building of prereqs from CMD to RUN, so they can be cached. Doing 'make build' will fetch the latest from git and rebuild pandoc, but dependencies needn't be rebuilt.
2017-03-17Added static-linux directory.John MacFarlane2-0/+29
This provides a Makefile and Dockerfile sufficient for producing a completely statically linked linux executable for maximum portability. If docker is installed, this should suffice: make setup make build The binary will be placed in artifacts/.
2017-03-16Added test for #256.John MacFarlane3-0/+15
2017-03-16MANUAL: document `--abbreviations`.John MacFarlane1-0/+13
Closes #256.
2017-03-16Add default abbreviations file (data/abbreviations).John MacFarlane3-4/+34
This contains a list of strings that will be recognized by pandoc's Markdown parser as abbreviations. (A nonbreaking space will be inserted after the period, preventing a sentence space in formats like LaTeX.) Users can override the default by putting a file abbreviations in their user data directory (`~/.pandoc` on *nix).
2017-03-16Added --abbreviations=FILE option for custom abbreviations file.John MacFarlane1-8/+23
2017-03-16LaTeX/Beamer writer: allow hyperlinks to frames.John MacFarlane1-4/+13
Previously you could link to a header above or below slide level but not TO slide level. This commit changes that. Hypertargets are inserted inside frame titles; technically the reference is to just after the title, but in normal use (where slides are viewed full screen in a slide show), this does not matter. Closes #3220.
2017-03-15Makefile: allow make test to take TESTARGS.John MacFarlane1-1/+3
2017-03-15OpenDocument writer: use more widely available bullet characters.John MacFarlane2-103/+103
The old characters weren't available in some font sets. These seem to work well on Windows and Linux versions of LibreOffice. Closes #1400.
2017-03-15Removed another unused cabal dependency.John MacFarlane1-1/+0
2017-03-15Removed some unnecessary build-depends.John MacFarlane1-8/+3
2017-03-15Fixed weigh-pandoc so it compiles again.John MacFarlane1-3/+3
2017-03-15Use tasty-golden for golden tests in Old.John MacFarlane2-39/+54
2017-03-14Command tests: just findPandoc once.John MacFarlane1-4/+4
2017-03-14Removed unneeded import.John MacFarlane1-1/+0
2017-03-14Got rid of distracting warning in test output.John MacFarlane1-2/+2
2017-03-14Small test plumbing improvement.John MacFarlane1-11/+11
2017-03-14Use tasty for tests rather than test-framework.John MacFarlane29-142/+137
2017-03-13Removed unused symbol.John MacFarlane1-1/+0
2017-03-13Better handling of \part in LaTeX.John MacFarlane4-10/+48
Closes #1905. Removed stateChapters from ParserState. Now we parse chapters as level 0 headers, and parts as level -1 headers. After parsing, we check for the lowest header level, and if it's less than 1 we bump everything up so that 1 is the lowest header level. So `\part` will always produce a header; no command-line options are needed.
2017-03-13Docx writer: Support 9 levels of headers.John MacFarlane2-5/+66
Closes #1642.
2017-03-13RST writer: convert to PandocMonad, report on unrendered raw items.John MacFarlane2-33/+41
2017-03-13ISSUE_TEMPLATE: add URL for pandoc-discuss.John MacFarlane1-2/+3
2017-03-13Added github ISSUE_TEMPLATE.John MacFarlane1-0/+10
2017-03-13Highlighting: highlighting now returns an Either rather than Maybe.John MacFarlane5-25/+44
This allows us to display error information returned by the skylighting library. Display a warning if the highlighting library throws an error.
2017-03-13Put TEI writer inside PandocMonad. Added warnings for omitted raw elements.John MacFarlane2-149/+166
Also added identifiers on `<div>` elements. These were commented out before, not sure why?
2017-03-12Org reader: interpret more meta value as inlinesAlbert Krewinkel1-4/+9
The values of the following meta variables are now interpreted using org-markup instead of treating them as pure strings: - *keywords*: comma-separated list of inlines - *subtitle*: inline values - *nocite*: inline values; using it multiple times accumulates the values.
2017-03-12Converted DokuWiki writer to use PandocMonad.John MacFarlane1-25/+34
2017-03-12MediaWiki writer: use PandocMonad.John MacFarlane1-23/+29
2017-03-12Issue warning for duplicate header identifiers.John MacFarlane6-8/+46
As noted in the previous commit, an autogenerated identifier may still coincide with an explicit identifier that is given for a header later in the document, or with an identifier on a div, span, link, or image. This commit adds a warning in this case, so users can supply an explicit identifier. * Added `DuplicateIdentifier` to LogMessage. * Modified HTML, Org, MediaWiki readers so their custom state type is an instance of HasLogMessages. This is necessary for `registerHeader` to issue warnings. See #1745.
2017-03-12Improved behavior of `auto_identifiers` when there are explicit ids.John MacFarlane2-1/+15
Previously only autogenerated ids were added to the list of header identifiers in state, so explicit ids weren't taken into account when generating unique identifiers. Duplicated identifiers could result. This simple fix ensures that explicitly given identifiers are also taken into account. Fixes #1745. Note some limitations, however. An autogenerated identifier may still coincide with an explicit identifier that is given for a header later in the document, or with an identifier on a div, span, link, or image. Fixing this would be much more difficult, because we need to run `registerHeader` before we have the complete parse tree (so we can't get a complete list of identifiers from the document by walking the tree). However, it might be worth issuing warnings for duplicate header identifiers; I think we can do that. It is not common for headers to have the same text, and the issue can always be worked around by adding explicit identifiers, if the user is aware of it.
2017-03-12Revert "Shared: export extractIds."John MacFarlane1-20/+0
This reverts commit 0ef1e51211cd35b1ddb54a5fe8bee4247f1e1801.
2017-03-12Shared: export extractIds.John MacFarlane1-0/+20
This will be used to help with #1745.
2017-03-12MANUAL: Small clarification in YAML metadata section.John MacFarlane1-1/+1
2017-03-11Changed test case labeled 3384.md to 3348.md.John MacFarlane1-0/+0
The last commit referred to #3384, but should have closed #3348.
2017-03-11Markdown writer: fixed bugs in simple/multiline list output.John MacFarlane2-10/+24
* Previously we got overlong lists with `--wrap=none`. This is fixed. * Previously a multiline list could become a simple list (and would always become one with `--wrap=none`). Closes #3384.
2017-03-11Markdown reader: optimized nonindentSpaces.John MacFarlane1-6/+3
Makes the benchmark go from 40 to 36 ms.
2017-03-10ConTeXt writer: converted to use PandocMonad.John MacFarlane1-19/+28
2017-03-10Removed normalizeSpaces from Text.Pandoc.Shared.John MacFarlane3-23/+9
Rewrote functions in RST reader and writer to avoid the need for it. Closes #1530.