aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-19Rationalized behavior of --no-tex-ligatures and --smart.John MacFarlane3-21/+36
This change makes `--no-tex-ligatures` affect the LaTeX reader as well as the LaTeX and ConTeXt writers. If it is used, the LaTeX reader will parse characters `` ` ``, `'`, and `-` literally, rather than parsing ligatures for quotation marks and dashes. And the LaTeX writer will print unicode quotation mark and dash characters literally, rather than converting them to the standard ASCII ligatures. Note that `--smart` has no affect on the LaTeX reader. `--smart` is still the default for all input formats when LaTeX or ConTeXt is the output format, *unless* `--no-tex-ligatures` is used. Some examples to illustrate the logic: ``` % echo "'hi'" | pandoc -t latex `hi' % echo "'hi'" | pandoc -t latex --no-tex-ligatures 'hi' % echo "'hi'" | pandoc -t latex --no-tex-ligatures --smart ‘hi’ % echo "'hi'" | pandoc -f latex --no-tex-ligatures <p>'hi'</p> % echo "'hi'" | pandoc -f latex <p>’hi’</p> ``` Closes #2541.
2015-11-18Docx reader: Clean up commented-out functionJesse Rosenthal1-7/+0
A residue of a recent change was left around in the form of a commented-out function. Let's clean that up.
2015-11-18Docx reader: Add test cases for dummy list items.Jesse Rosenthal5-0/+14
2015-11-18Docx reader: Handle dummy list items.Jesse Rosenthal2-6/+15
These come up when people create a list item and then delete the bullet. It doesn't refer to any real list item, and we used to ignore it. We handle it with a DummyListItem type, which, in Docx.hs, is turned into a normal paragraph with a "ListParagraph" class. If it follow another list item, it is folded as another paragraph into that item. If it doesn't, it's just its own (usually indented, and therefore block-quoted) paragraph.
2015-11-17Added 'navigation' variable to beamer template.John MacFarlane2-7/+11
Valid values are `empty` (the default), `horizontal`, `vertical`, and `frame`. Note that this changes the default behavior from `horizontal` to `empty`. Closes #2543.
2015-11-16Haddock writer: omit formatting inside links.John MacFarlane1-2/+2
It isn't supported by Haddock. Closes #2515.
2015-11-16Textile reader: skip over attribute in image source.John MacFarlane1-0/+1
We don't have a place yet for styles or sizes on images, but we can skip the attributes rather than incorrectly taking them to be part of the filename. Closes #2515.
2015-11-16ICML writer: better handling of math.John MacFarlane2-10/+62
Instead of just printing the raw tex, we now try to fake it with unicode characters.
2015-11-16Merge pull request #2540 from adunning/patch-3John MacFarlane1-0/+1
Allow .adoc file extension for AsciiDoc.
2015-11-16Allow .adoc file extension for AsciiDoc.Andrew Dunning1-0/+1
`.adoc` is the extension recommended at <http://asciidoctor.org/docs/asciidoc-writers-guide/>.
2015-11-16HTML writer: Include `example` class for example lists.John MacFarlane1-0/+3
Closes #2524.
2015-11-16Improved implicit pandoc-citeproc inclusion.John MacFarlane1-1/+1
The filter pandoc-citeproc is automatically used when `--bibliography` is specified on the command line, unless `--natbib` or `--biblatex` is used. However, previously this only worked if `--bibliography` was spelled out in full, and not if `--biblio` was used. This patch fixes that problem.
2015-11-16reveal.js template: Fixed parallaxBackground options.John MacFarlane2-8/+11
`parallaxBackgroundHorizontal` and `parallaxBackgroundVertical` need integer values, not strings. (Vaughn Iverson)
2015-11-16Updated man page.John MacFarlane1-1/+1
2015-11-16Bump version to 1.15.2.1. Updated changelog.John MacFarlane2-1/+7
2015-11-16Updated man page.John MacFarlane1-2/+3
2015-11-16Added stack.yaml to other-source-files so it gets into tarball.John MacFarlane1-0/+2
2015-11-16Use generic example.com link in README and changelog.John MacFarlane2-5/+6
2015-11-16Use example.com for sample link in changelog.John MacFarlane1-1/+2
2015-11-16Added two missing test cases to extra-source-files in pandoc.cabal.John MacFarlane1-0/+2
Otherwise they don't get into the tarball. Closes #2537.
2015-11-15'make dist' - use stack to build from tarball.John MacFarlane1-1/+1
2015-11-15Adjusted trypandoc makefile for use of sandbox.John MacFarlane1-1/+1
2015-11-15Fixed bug in make_osx_package.sh script.John MacFarlane1-1/+1
2015-11-15make_osx_package.sh: be compatible with OSX >= 10.7.John MacFarlane1-0/+1
2015-11-15Build deb pkg on wheezy so we require a lower libc version.John MacFarlane3-4/+4
2015-11-15deb/Vagrantfile improvements.John MacFarlane1-2/+3
- Reduce memory size. - Retrieve key.
2015-11-15Vagrantfile: Install certificates needed for stack to work.John MacFarlane3-0/+57
2015-11-15Removed 'changes' Makefile target.John MacFarlane1-4/+1
2015-11-15Updated man page.John MacFarlane1-1/+6
2015-11-15Added 'make changes_github' and 'make changes', updated release checklist.John MacFarlane2-4/+7
2015-11-15Added 'make changes' target.John MacFarlane2-1/+13
This copies to osx clipboard a github-markdown version of the changes from the latest release in the changelog.
2015-11-15Updated changelog.John MacFarlane1-1/+14
2015-11-15Docx writer: insert space between footnote ref and footnote.John MacFarlane1-2/+2
This matches Word's default behavior. Closes #2527.
2015-11-14Use stack for Windows installer.John MacFarlane3-23/+34
2015-11-14Merge pull request #2533 from adunning/patch-4John MacFarlane1-1/+1
Fix math cross-reference in README.
2015-11-14Merge pull request #2531 from adunning/patch-3John MacFarlane1-36/+38
Improve documentation of template updates.
2015-11-14Use latest pandoc-citeproc in deb and osx packages.John MacFarlane2-2/+2
2015-11-14Derive Generic instances for types in Text.Pandoc.Options.John MacFarlane1-10/+11
2015-11-14Fix math cross-reference.Andrew Dunning1-1/+1
2015-11-14Allow more customization of opendocument styles.John MacFarlane2-9/+8
Automatic styles can now be inserted in the template, since the template, not the writer, now provides the enclosing `<office:automatic-styles>` tags. Closes #2520.
2015-11-14Update LaTeX/ConTeXt link colour usage.Andrew Dunning1-12/+14
2015-11-14Improve documentation of template updates.Andrew Dunning1-36/+38
Intermediary changes are not noted.
2015-11-15Interpret pauses correctly for all headersmichaelbeaumont1-5/+3
Previously, when using headers below the slide level, pauses are left uninterpreted into pauses. In my opinion, unexpected behavior but intentional looking at the code. Fixes #2530
2015-11-14Added note about default for --email-obfuscation.John MacFarlane1-1/+2
See #2528.
2015-11-14Slight improvement to changelog.John MacFarlane1-4/+2
2015-11-14Updated changelog.John MacFarlane1-0/+5
2015-11-14Use latest pandoc-citeproc in osx, deb packages.John MacFarlane2-4/+4
2015-11-14Use lts-3.13 resolver.John MacFarlane1-1/+1
2015-11-14Allow process 1.3.John MacFarlane1-2/+2
2015-11-14Added test case for links in notes.Jesse Rosenthal3-0/+5