aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-11Removed deprecated options `--offline` and `--html5`.John MacFarlane2-25/+0
These have been deprecated forever.
2015-12-11Implemented SoftBreak and new `--wrap` option.John MacFarlane50-171/+323
Added threefold wrapping option. * Command line option: deprecated `--no-wrap`, added `--wrap=[auto|none|preserve]` * Added WrapOption, exported from Text.Pandoc.Options * Changed type of writerWrapText in WriterOptions from Bool to WrapOption. * Modified Text.Pandoc.Shared functions for SoftBreak. * Supported SoftBreak in writers. * Updated tests. * Updated README. Closes #1701.
2015-12-11Markdown reader: parse soft break as SoftBreak.John MacFarlane1-1/+1
2015-12-11stack.yaml: Use pandoc-types commit with SoftBreak.John MacFarlane1-1/+1
2015-12-11Update texmath version in stack.yaml.John MacFarlane1-1/+1
2015-12-11Use latest texmath dev version in stack.yaml.John MacFarlane1-1/+1
2015-12-07trypandoc: sort drop-down lists.John MacFarlane1-29/+29
2015-12-04Fixed Emoji character definitions.John MacFarlane1-870/+871
There were many bugs in the definitions. Closes #2523.
2015-12-04Beamer template: make `\euro` conditional on presence of character.John MacFarlane1-7/+7
for xelatex and lualatex, as it is for pdflatex. Andrew Dunning.
2015-12-03Markdown reader: Improved pipe table relative widths.John MacFarlane2-7/+8
Previously pipe table columns got relative widths (based on the header underscore lines) when the source of one of the rows was greater in width than the column width. This gave bad results in some cases where much of the width of the row was due to nonprinting material (e.g. link URLs). Now pandoc only looks at printable width (the width of a plain string version of the source), which should give better results. Thanks to John Muccigrosso for bringing up the issue.
2015-12-03LaTeX template changes:John MacFarlane5-15/+7
- only pass options to color package if colorlinks is set - make definition of `\euro` conditional in xelatex/lualatex, as it is already for pdflatex (Andrew Dunning)
2015-12-03Fixed man template so disabling hyphenation actually works.John MacFarlane2-8/+8
The command needs to come after .TH.
2015-12-03Merge pull request #2569 from rgaiacs/add-highlighting-to-gapJohn MacFarlane1-1/+2
Add highlighting support to GAP
2015-12-03Add support to GAPRaniere Silva1-1/+2
2015-12-02Merge pull request #2568 from mb21/readers-imagesJohn MacFarlane2-3/+10
Textile Reader: image attributes
2015-12-03Textile Reader: image attributesmb211-2/+9
closes #2515
2015-12-02Parse CSS that doesn't contain the optional semicolonmb211-1/+1
2015-12-01Use lts-3.16.John MacFarlane5-5/+5
2015-12-01Docx writer: better handling of PDF images.John MacFarlane1-8/+2
Previously we tried to get the image size from the image even if an explicit size was specified. Since we still can't get image size for PDFs, this made it impossible to use PDF images in docx. Now we don't try to get the image size when a size is already explicitly specified.
2015-11-28stack.full.yaml - use local versions of everything.John MacFarlane2-9/+6
2015-11-24Markdown writer: use raw HTML for link/image attributes whenJohn MacFarlane1-2/+12
the `link_attributes` extension is unset and `raw_html` is set. Closes #2554.
2015-11-24s/mb21/Mauro Bieg/ in README contributor list and changelog.John MacFarlane2-18/+20
2015-11-24Added stack.full.yaml to build pandoc-citeproc as well.John MacFarlane1-0/+22
2015-11-24Added bodyless pipe table test case.John MacFarlane2-1/+11
See #2556.
2015-11-24Updated README for new pipe table behavior.John MacFarlane1-4/+4
2015-11-24Allow pipe tables with no body rows.John MacFarlane1-2/+3
Previously this raised a runtime error. Closes #2556.
2015-11-24LaTeX reader: Improved smart quote parsing.John MacFarlane1-14/+13
This fixes redering of unmatched quotes. Closes #2555.
2015-11-24Improved fetchItem so that C:/Blah/Blah.jpg isn't treated as URL.John MacFarlane1-6/+19
The Haskell URI parsing routines will accept "C:" as a scheme, so we rule that out manually. This helps with `--self-contained` and absolute Windows paths. See http://stackoverflow.com/questions/33899126/rchart-in-markdown-doesnt-render-due-to-invalidurlexception-from-pandoc
2015-11-23LaTeX reader: Use curly quotes for unmatched `.John MacFarlane2-2/+9
Partially addresses #2555. Note that there's still a problem with the code sample given.
2015-11-23Beamer writer: mark frame as fragile when it contains verbatim.John MacFarlane1-5/+1
Closes #1613.
2015-11-23AsciiDoc writer: Fixed code blocks.John MacFarlane2-27/+26
Closes #1861.
2015-11-23Define a `meta-json` variable for all writers.John MacFarlane3-4/+10
This contains a JSON version of all the metadata, in the format selected for the writer. So, for example, to get just the YAML metadata, you can run pandoc with the following custom template: $meta-json$ Closes #2019. The intent is to make it easier for static site generators and other tools to get at the metadata.
2015-11-23Document limitations of --self-contained.John MacFarlane1-1/+5
See #2553.
2015-11-23Docx Reader: Remove DummyListItem typeJesse Rosenthal2-12/+7
Change 5527465c introduced a `DummyListItem` type in Docx/Parse.hs. In retrospect, this seems like it mixes parsing and iterpretation excessively. What's *really* going on is that we have a list item without and associate level or numeric info. We can decide what to do what that in Docx.hs (treat it like a list paragraph), but the parser shouldn't make that decision. This commit makes what is going on a bit more explicit. `LevelInfo` is now a Maybe value in the `ListItem` type. If it's a Nothing, we treat it as a ListParagraph. If it's a Just, it's a normal list item.
2015-11-22hlint fixesJohn MacFarlane1-1/+1
2015-11-22hlint fixesJohn MacFarlane1-12/+13
2015-11-22hlint changesJohn MacFarlane1-3/+1
2015-11-22hlint fixes.John MacFarlane1-3/+1
2015-11-22hlint fixes.John MacFarlane1-5/+5
2015-11-22hlint refactorings.John MacFarlane1-38/+34
2015-11-21Improved Citations section of README.John MacFarlane1-3/+10
Added information about `link-citations` and a link to the pandoc-citeproc man page. Closes #2551.
2015-11-21Travis: only use ghc 7.10.2 for now.John MacFarlane1-9/+9
We can go back to the old cabal-based travis once pandoc-types and texmath have been released.
2015-11-21Travis: Use --system-ghc.John MacFarlane1-5/+1
2015-11-21Added sanity check in .travis.yml to diagnose problem.John MacFarlane1-0/+4
2015-11-21Fixed travis again.John MacFarlane1-2/+1
2015-11-21Fixed travis.John MacFarlane1-1/+4
2015-11-21Back to stack-based .travis.yml; use stack 1.8.John MacFarlane1-44/+18
2015-11-21Simpler travis - build pandoc, pandoc-citeproc, texmath together.John MacFarlane1-36/+1
No caching. This is temporary until we release pandoc-types and texmath.
2015-11-21ImageSize: use safeRead instead of readMaybe.John MacFarlane1-2/+1
readMaybe is only provided in base 4.6+.
2015-11-21Travis, make_travis_yml: reverted addition of 'cabal test' in tgz.John MacFarlane2-2/+2