summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane2015-11-08
| | | | | | | This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
* Merge pull request #2472 from adunning/patch-1John MacFarlane2015-11-04
|\ | | | | Update LaTeX/ConTeXt variable usage in README.
| * Note expanded support for abstract, keywords.Andrew Dunning2015-10-23
| | | | | | Based on <https://github.com/jgm/pandoc-templates/pull/144>, <https://github.com/jgm/pandoc-templates/pull/142>.
| * Update LaTeX/ConTeXt variable usage in README.Andrew Dunning2015-10-22
| | | | | | Accounts for changes in https://github.com/jgm/pandoc-templates/pull/141.
* | LaTeX writer: properly handle footnotes in captions.John MacFarlane2015-11-01
| | | | | | | | Closes #1506.
* | LaTeX writer: avoid footnotes in list of figures.John MacFarlane2015-11-01
| | | | | | | | | | | | | | | | | | | | | | Footnotes aren't allowed in the list of figures. This patch causes footnotes to be stripped from captions when entered into the list of figures. Footnotes still don't actually WORK in captions in latex/pdf, but at least an error is no longer raised. See #1506.
* | Pipe tables with long lines now get relative cell widths.John MacFarlane2015-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a pipe table contains a line longer than the column width (as set by `--columns` or 80 by default), relative widths are computed based on the widths of the separator lines relative to the column width. This should solve persistent problems with long pipe tables in LaTeX/PDF output, and give more flexibility for determining relative column widths in other formats, too. For narrower pipe tables, column widths of 0 are used, telling pandoc not to specify widths explicitly in output formats that permit this. Closes #2471.
* | HTML writer: use width on whole table if col widths sum to < 100%.John MacFarlane2015-10-30
| | | | | | | | | | Otherwise some browsers display the table with the columns separated far apart.
* | Beamer template: added code to prevent slide breaks inside paragraphs.John MacFarlane2015-10-30
| | | | | | | | | | | | | | | | 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.
* | Textile reader: don't do smart punctuation unless explicitly asked.John MacFarlane2015-10-30
| | | | | | | | | | | | | | | | 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.
* | Beamer template: fix incompatibility of section slides with natbib.John MacFarlane2015-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Revert "New approach to stack build on appveyor."John MacFarlane2015-10-28
| | | | | | | | This reverts commit cdd6389e91357c48dc3bb859695ab4538da4d004.
* | New approach to stack build on appveyor.John MacFarlane2015-10-28
| | | | | | | | | | This uses system lua library. See https://github.com/osa1/hslua/issues/22#issuecomment-151281274
* | Fixed omitted `url(...)` in CSS data-uri with `--self-contained`.John MacFarlane2015-10-28
| | | | | | | | Fixes #2489.
* | LaTeX writer: add `\protect` to `\hyperlink`.John MacFarlane2015-10-28
| | | | | | | | | | | | Thanks to Hadrien Mary for the problem and solution. Closes #2490.
* | Change default for old-locale flag to False.John MacFarlane2015-10-27
| |
* | LaTeX writer: Use `\hypertarget` and `\hyperlink` for links.John MacFarlane2015-10-27
| | | | | | | | | | | | | | | | 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.
* | Markdown reader: improved parser for `mmd_title_block`.John MacFarlane2015-10-26
| | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #2484 from nickbart1980/patch-4John MacFarlane2015-10-26
|\ \ | | | | | | Added de-CH-1901, fixed el-polyton
| * | Added de-CH-1901, fixed el-polytonnickbart19802015-10-26
|/ / | | | | el-polyton, not el-poly, see http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
* | Merge pull request #2481 from mb21/textarabicJohn MacFarlane2015-10-25
|\ \ | | | | | | LaTeX writer: \textarabic fix
| * | LaTeX writer: \textarabic fixmb212015-10-25
| | |
* | | Template improvements (Andrew Dunning).John MacFarlane2015-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | Merge pull request #2477 from tarleb/org-toggling-header-argsJohn MacFarlane2015-10-25
|\ \ \ | |/ / |/| | Org reader: allow toggling header args
| * | Org reader: allow toggling header argsAlbert Krewinkel2015-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | deb/Makefile: added 'clean'.John MacFarlane2015-10-24
| | |
* | | deb/Vagrantfile: share .., so we can put the deb there.John MacFarlane2015-10-24
| | |
* | | Added Vagrantfile for building deb in vm.John MacFarlane2015-10-24
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Fixed typo.John MacFarlane2015-10-24
| | |
* | | Fixed typo.John MacFarlane2015-10-24
| | |
* | | Added Paths_pandoc to other-modules for executable stanza.John MacFarlane2015-10-24
| | |
* | | make_deb: changed path for man page.John MacFarlane2015-10-24
| | | | | | | | | | | | stack doesn't install it as cabal did.
* | | Improved fetching of pandoc-citeproc man page.John MacFarlane2015-10-24
| | |
* | | Moved PATH setting in make_deb, make_osx_package.John MacFarlane2015-10-24
| | | | | | | | | | | | Otherwise 'which hsb2hs' won't find the local one.
* | | Set paths in make_deb and make_osx_package.John MacFarlane2015-10-24
| | | | | | | | | | | | This is needed to include a locally installed hsb2hs.
* | | Changed path . to .. in deb/osx stack.yaml.John MacFarlane2015-10-24
| | |
* | | Changes for deb and osx package generators.John MacFarlane2015-10-24
| | | | | | | | | | | | | | | | | | - Use stack for make_deb.sh. - Use osx/stack.yaml or deb/stack.yaml. - deb/stack.yaml doesn't want the same ghc-options.
* | | Added stack.hsb2hs.yaml, for easy installation of hsb2hs.John MacFarlane2015-10-24
| | |
* | | make_osx_package: don't create man5.John MacFarlane2015-10-24
| | |
* | | Merge pull request #2475 from tarleb/org-paragraph-before-listJohn MacFarlane2015-10-24
|\ \ \ | |/ / |/| | Org reader: fix paragraph/list interaction
| * | Org reader: fix paragraph/list interactionAlbert Krewinkel2015-10-24
|/ / | | | | | | | | | | | | | | | | | | | | 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.
* | Fixed over-eager raw HTML inline parsing.John MacFarlane2015-10-22
| | | | | | | | | | | | | | | | | | | | 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.
* | Avoid compiler warning for unused identifier.John MacFarlane2015-10-22
| |
* | Changed ยง to % in operators from Odt.Arrows.Utils.John MacFarlane2015-10-22
| | | | | | | | | | | | This prevents problems building haddocks with "C" locale. Closes #2457.
* | Textile writer: support start number in ordered lists.John MacFarlane2015-10-22
|/ | | | | | | e.g. `#3`. Partially addresses #2465. TBD: reader support.
* Updated tests for latex/context template changes.John MacFarlane2015-10-20
|
* Merge pull request #2467 from adunning/patch-1John MacFarlane2015-10-20
|\ | | | | Add new variables for ConTeXt template to README.
| * Add new variables for ConTeXt template to README.Andrew Dunning2015-10-20
|/
* LaTeX template: simplify hyperref usage.John MacFarlane2015-10-20
| | | | Andrew Dunning. #139.
* ConTeXt template: link color to black, define all sections.John MacFarlane2015-10-20
| | | | Andrew Dunning.