aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-01-07Fix function dropping subtrees tagged :noexport:Albert Krewinkel2-2/+14
Continue scanning for comment subtrees beyond only the first block. Note to self: when writing an recursive function, don't forget to, you know, actually recurse. Shout to @mrvdb for noticing this. This fixes #2628.
2016-01-06Improved default template lookup for custom lua scripts.John MacFarlane1-19/+17
Previously, if you tried to do `pandoc -s -t /path/to/lua/script.lua`, pandoc would look for the template in `~/.pandoc/templates/default./path/to/lua/script.lua`. With this change it will look in the more reasonable `~/.pandoc/templates/default.script.lua`. This makes it possible to store default templates for custom writers. Closes #2625.
2016-01-06stack.yaml, stack.full.yaml - use lts-4.0 resolver.John MacFarlane2-2/+2
2016-01-06Revert "Make file globbing work on windows."John MacFarlane2-11/+1
This reverts commit 363ecfebc32c6fe15d81634422e8607847f588fb.
2016-01-06Make file globbing work on windows.John MacFarlane2-1/+11
Windows cmd doesn't expand wildcards; the application has to do this. So on windows we use 'glob' to expand.
2016-01-06stack.yaml: bump pandoc-types version to 1.16.0.1.John MacFarlane1-1/+1
2016-01-05Merge pull request #2622 from conklech/ignore-stackJohn MacFarlane1-0/+1
Add .stack-work to gitignore
2016-01-05Add .stack-work to gitignoreChristian Conkle1-0/+1
The .stack-work directory is analogous to a cabal sandbox; it comprises temporary build artifacts.
2016-01-05RST, Markdown writers: Fixed rendering of grid tables with blank rows.John MacFarlane2-2/+2
Closes #2615.
2016-01-05Go back to testing with ghc 7.10.2.John MacFarlane2-4/+4
Avoids the dreaded "the version of cabal being used has changed" error. https://www.reddit.com/r/haskell/comments/3f4bgr/the_version_of_cabal_being_used_has_changed/
2016-01-05Regenerated .travis.yml to include 7.10.3.John MacFarlane1-0/+3
2016-01-05Added 7.10.3 to make_travis_yml.hs known versions.John MacFarlane1-1/+1
2016-01-05Updated .travis.yml, added ghc 7.10.3 to tested-with.John MacFarlane2-25/+73
2016-01-04Fixed v1.16 reversion with --latex-engine.John MacFarlane1-2/+2
In 1.16 --latex-engine raises an error if a full path is given. This commit fixes this reversion. Closes #2618.
2016-01-04windows/stack.yaml - use local pandoc-citeproc.John MacFarlane1-1/+1
I'm not sure why this is needed, but it is. Otherwise the build fails.
2016-01-03Updated binary package stack.yamls to ensure pandoc-citeproc...John MacFarlane3-3/+3
is built with embed_data_files. This fixes a problem with the original 1.16 binary packages.
2016-01-02Textile reader: don't allow block HTML tags in inline contexts.John MacFarlane3-10/+8
The reader previously did allow this, following redcloth, which happily parses Html blocks can be <div>inlined</div> as well. as <p>Html blocks can be <div>inlined</div> as well.</p> This is invalid HTML, and this kind of thing can lead to parsing problems (stack overflows) as well. So this commit undoes this behavior. The above sample now produces; <p>Html blocks can be</p> <div> <p>inlined</p> </div> <p>as well.</p>
2016-01-02Fixed debpkg target.John MacFarlane1-1/+1
2016-01-02Fixed windows stack.yaml.John MacFarlane1-1/+1
2016-01-02Updated man page.John MacFarlane1-78/+229
2016-01-02Updated filter for man pages.John MacFarlane1-1/+1
2016-01-02Updated stack.yaml files.John MacFarlane5-16/+13
Use latest resolver. Use latest pandoc-citeproc and pandoc-types release.
2016-01-02Updated changelog.John MacFarlane1-0/+10
2016-01-02MediaWiki reader: interpret markup inside `<tt>`, `<code>`.John MacFarlane1-4/+6
Closes #2607.
2016-01-02MediaWiki writer: fix spacing issues.John MacFarlane2-109/+113
+ Start cell on new line unless it's a single Para or Plain. + For single Para or Plain, insert a space after the `|` to avoid problems when the text begins with a character like `-`. Closes #2604, closes #2606.
2016-01-01Tweaks to changelog.John MacFarlane1-56/+54
2016-01-01Updated changelog.John MacFarlane1-13/+41
2016-01-01Allow process 1.4John MacFarlane1-2/+2
2016-01-01Allow binary 0.8John MacFarlane1-1/+1
2016-01-01HTML slide templates: add toc. (Andrew Dunning)John MacFarlane1-14/+7
2016-01-01Relax version bound on HTTP.John MacFarlane1-2/+2
2015-12-30stack.yaml - use simpler extra-deps field.John MacFarlane5-13/+10
2015-12-29Use cmark 0.5.John MacFarlane9-28/+49
Closes #2605.
2015-12-23Added 'paper' after $papersize$ variable in latex template.John MacFarlane1-7/+14
Thus you can say `papersize: a4` and the latex will contain `a4paper`. This change may break some existing workflows; if you currently specify `a4paper`, you'll get `a4paperpaper` which is meaningless. However, the change seems worth it, as it will make the `papersize` variable work uniformly across ConTeXt, LaTeX, and html->pdf via wkhtmltopdf. See https://github.com/jgm/pandoc/commit/3861df510c45ecfc0ac9581dc6f16b07eac4a 62d#commitcomment-15135193
2015-12-22Updated README with margin and papersize variables.John MacFarlane1-2/+15
2015-12-22ConTeXt writer: set default layout based on margin-left, etc.John MacFarlane1-0/+10
This sets up `\setuplayout` based on the variables `margin-left`, `margin-right`, `margin-bottom`, and `margin-top`, if no layout is given.
2015-12-22LaTeX writer: create defaults for geometry using margin-left etc.John MacFarlane1-1/+10
If `geometry` has no value, but `margin-left`, `margin-right`, `margin-top`, and/or `-margin-bottom` are given, a default value for `geometry` is created from these. Note that these variables already affect PDF production via HTML5 with wkhtmltopdf.
2015-12-22LaTeX reader: allow blank space between braced arguments of commands.John MacFarlane1-1/+3
For example \foo {bar} {baz} Closes #2592.
2015-12-21Improved treatment of margins in wkhtmltopdf.John MacFarlane1-9/+13
2015-12-21Allow setting margins from metadata variables for wkhtmltopdf.John MacFarlane1-2/+6
Variables margin-top, margin-bottom, margin-left, margin-right. Setting them with css inside @page doesn't seem to work, at least with the released wkhtmltopdf.
2015-12-21pdf via wkhtmltopdf: take `title` and `page-size` from metadata.John MacFarlane1-13/+22
Adjusted default `page-size` to `letter`, to match current LaTeX template.
2015-12-21Added preliminary support for PDF creation via wkhtmltopdf.John MacFarlane3-21/+79
To use this: pandoc -t html5 -o result.pdf (and add `--mathjax` if you have math.)
2015-12-19Merge pull request #2598 from twsh/biblatexoptionsJohn MacFarlane1-1/+1
Removed hyphen
2015-12-19Updated changelogJohn MacFarlane1-13/+41
2015-12-20Removed hyphenThomas Hodgson1-1/+1
2015-12-19Beamer: Moved header-includes before setting of title etc.John MacFarlane1-7/+7
This matches a change already made in the LaTeX template (Thomas Hodgson). Closes jgm/pandoc-templates#168
2015-12-19LaTeX/Beamer template changes (Thomas Hodgson):John MacFarlane7-8/+36
* Added `thanks` variable * Use `parskip.sty` when `indent` isn't set (fall back to using `setlength` as before if `parskip.sty` isn't available). * Use `biblio-style` with biblatex. * Added `biblatexoptions` variable. * Added `section-titles` variable (defaults to true) to enable/suppress section title pages in beamer slide shows. * Moved beamer themes after fonts, so that themes can change fonts. (Previously the fonts set were being clobbered by lmodern.sty.)
2015-12-19Added needed import of FromJSON.John MacFarlane1-1/+1
Fixes build failure.
2015-12-19Fix language code for Czech (cs not cz)John MacFarlane2-2/+1
Closes #2597.
2015-12-19Merge branch 'AndreasLoow-master'John MacFarlane2-7/+13