aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-30HTML writer: use width on whole table if col widths sum to < 100%.John MacFarlane2-5/+12
Otherwise some browsers display the table with the columns separated far apart.
2015-10-30Beamer template: added code to prevent slide breaks inside paragraphs.John MacFarlane1-13/+8
This will matter, in practice, only when `allowframebreaks` is used. It is especially helpful for bibliography slides. Closes #2442. Thanks to Nick Bart for the solution.
2015-10-30Textile reader: don't do smart punctuation unless explicitly asked.John MacFarlane3-15/+14
Closes #2480. Note that although smart punctuation is part of the textile spec, it's not always wanted when converting from textile to, say, Markdown. So it seems better to make this an option.
2015-10-29Beamer template: fix incompatibility of section slides with natbib.John MacFarlane1-7/+15
Natbib (and presumably biblatex) bibliography commands create their own section. Since these are in frame environments, we have an incompatibility with the `\AtBeginSection` macro which creates a special frame when a new section occurs. (We can't have a frame inside another frame.) This change disables `\AtBeginSection` inside bibliography slides. Thinks to Yihui Xie for bringing the problem to my attention. This supersedes #145. See discussion there.
2015-10-28Revert "New approach to stack build on appveyor."John MacFarlane3-171/+33
This reverts commit cdd6389e91357c48dc3bb859695ab4538da4d004.
2015-10-28New approach to stack build on appveyor.John MacFarlane3-33/+171
This uses system lua library. See https://github.com/osa1/hslua/issues/22#issuecomment-151281274
2015-10-28Fixed omitted `url(...)` in CSS data-uri with `--self-contained`.John MacFarlane1-1/+1
Fixes #2489.
2015-10-28LaTeX writer: add `\protect` to `\hyperlink`.John MacFarlane2-2/+2
Thanks to Hadrien Mary for the problem and solution. Closes #2490.
2015-10-27Change default for old-locale flag to False.John MacFarlane1-1/+1
2015-10-27LaTeX writer: Use `\hypertarget` and `\hyperlink` for links.John MacFarlane2-18/+10
This works correctly to link to Div or Span elements. We now don't bother defining `\label` for Div or Span elements. Closes jgm/pandoc-citeproc#174.
2015-10-26Markdown reader: improved parser for `mmd_title_block`.John MacFarlane1-9/+8
We now allow blank metadata fields. These were explicitly disallowed before. For background see #2026. The issue in #2026 has since been fixed in another way, so there is no need to forbid blank metadata fields.
2015-10-26Merge pull request #2484 from nickbart1980/patch-4John MacFarlane1-2/+3
Added de-CH-1901, fixed el-polyton
2015-10-26Added de-CH-1901, fixed el-polytonnickbart19801-2/+3
el-polyton, not el-poly, see http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
2015-10-25Merge pull request #2481 from mb21/textarabicJohn MacFarlane1-1/+1
LaTeX writer: \textarabic fix
2015-10-25Template improvements (Andrew Dunning).John MacFarlane4-16/+19
- Added `keywords` to HTML templates and fixed alignment. - Updated dzslides template from source. - Added `lang`, `dir`, `quotes` to HTML templates; always make author and date display conditional. - Fixed `author` and `date` in asciidoc; added `keywords`, `abstract`. - Updated tests.
2015-10-25Merge pull request #2477 from tarleb/org-toggling-header-argsJohn MacFarlane2-4/+35
Org reader: allow toggling header args
2015-10-25LaTeX writer: \textarabic fixmb211-1/+1
2015-10-25Org reader: allow toggling header argsAlbert Krewinkel2-4/+35
Org-mode allows to skip the argument of a code block header argument if it's toggling a value. Argument-less headers are now recognized, avoiding weird parsing errors. The fixes are not exactly pretty, but neither is the code that was fixed. So I guess it's about par for the course. However, a rewrite of the header parsing code wouldn't hurt in the long run. Thanks to @jo-tham for filing the bug report. This fixes #2269.
2015-10-24deb/Makefile: added 'clean'.John MacFarlane1-1/+4
2015-10-24deb/Vagrantfile: share .., so we can put the deb there.John MacFarlane1-1/+1
2015-10-24Added Vagrantfile for building deb in vm.John MacFarlane2-0/+81
This should help in automating binary package creation. 'make package' will make the package. 'make package COMMIT=blah' will make the package from commit blah.
2015-10-24Fixed typo.John MacFarlane2-2/+2
2015-10-24Fixed typo.John MacFarlane1-1/+1
2015-10-24Added Paths_pandoc to other-modules for executable stanza.John MacFarlane1-0/+1
2015-10-24make_deb: changed path for man page.John MacFarlane1-1/+2
stack doesn't install it as cabal did.
2015-10-24Improved fetching of pandoc-citeproc man page.John MacFarlane2-4/+16
2015-10-24Moved PATH setting in make_deb, make_osx_package.John MacFarlane2-4/+6
Otherwise 'which hsb2hs' won't find the local one.
2015-10-24Set paths in make_deb and make_osx_package.John MacFarlane2-0/+5
This is needed to include a locally installed hsb2hs.
2015-10-24Changed path . to .. in deb/osx stack.yaml.John MacFarlane2-2/+2
2015-10-24Changes for deb and osx package generators.John MacFarlane4-21/+33
- Use stack for make_deb.sh. - Use osx/stack.yaml or deb/stack.yaml. - deb/stack.yaml doesn't want the same ghc-options.
2015-10-24Added stack.hsb2hs.yaml, for easy installation of hsb2hs.John MacFarlane1-0/+4
2015-10-24make_osx_package: don't create man5.John MacFarlane1-1/+0
2015-10-24Merge pull request #2475 from tarleb/org-paragraph-before-listJohn MacFarlane2-6/+37
Org reader: fix paragraph/list interaction
2015-10-24Org reader: fix paragraph/list interactionAlbert Krewinkel2-6/+37
Paragraphs can be followed by lists, even if there is no blank line between the two blocks. However, this should only be true if the paragraph is not within a list, were the preceding block should be parsed as a plain instead of paragraph (to allow for compact lists). Thanks to @rgaiacs for bringing this up. This fixes #2464.
2015-10-22Fixed over-eager raw HTML inline parsing.John MacFarlane2-0/+4
Tightened up the inline HTML parser so it disallows TagWarnings. This only affects the markdown reader when the `markdown_in_html_blocks` option is disabled. Closes #2469.
2015-10-22Avoid compiler warning for unused identifier.John MacFarlane1-1/+1
2015-10-22Changed ยง to % in operators from Odt.Arrows.Utils.John MacFarlane5-43/+42
This prevents problems building haddocks with "C" locale. Closes #2457.
2015-10-22Textile writer: support start number in ordered lists.John MacFarlane1-7/+18
e.g. `#3`. Partially addresses #2465. TBD: reader support.
2015-10-20Updated tests for latex/context template changes.John MacFarlane6-161/+87
2015-10-20Merge pull request #2467 from adunning/patch-1John MacFarlane1-27/+73
Add new variables for ConTeXt template to README.
2015-10-20Add new variables for ConTeXt template to README.Andrew Dunning1-27/+73
2015-10-20LaTeX template: simplify hyperref usage.John MacFarlane1-7/+7
Andrew Dunning. #139.
2015-10-20ConTeXt template: link color to black, define all sections.John MacFarlane1-7/+7
Andrew Dunning.
2015-10-20Update date on README.John MacFarlane1-1/+1
2015-10-20Allow use of ConTeXt to generate PDFs.John MacFarlane3-14/+91
pandoc my.md -t context -o my.pdf will now create a PDF using ConTeXt rather than LaTeX. Closes #2463.
2015-10-19Fixed one test case.John MacFarlane1-1/+1
2015-10-19Updated latex, beamer templates to support language divs/spans.John MacFarlane1-7/+7
Mainly this adds a template variable that can be filled by commands that make babel understand the polyglossia-style language directives. Thanks to mb21.
2015-10-19Merge pull request #2458 from mb21/lang-inlinesJohn MacFarlane8-38/+430
LaTeX and ConTeXt writers: support lang attribute on divs and spans
2015-10-19Use MarLinn's real name in changelog.John MacFarlane1-1/+1
2015-10-18Updated tests for template changes.John MacFarlane3-3/+3