aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-13new function to extract multiple properties at once in CSS.hsmb212-6/+14
and use it in Textile reader
2015-12-13RST reader: image attributesmb212-8/+15
2015-12-13AsciiDoc writer: support anchors in spans with id elements.John MacFarlane1-1/+5
2015-12-13AsciiDoc writers: Add anchors on Div elements.John MacFarlane1-1/+4
This partially addresses jgm/pandoc-citeproc#143. It does not use the native asciidoc syntax for citations, but it does get the links to individual citations working.
2015-12-12Implemented `east_asian_line_breaks` extension.John MacFarlane3-2/+26
Text.Pandoc.Options: Added `Ext_east_asian_line_breaks` constructor to `Extension` (API change). This extension is like `ignore_line_breaks`, but smarter -- it only ignores line breaks between two East Asian wide characters. This makes it better suited for writing with a mix of East Asian and non-East Asian scripts. Closes #2586.
2015-12-12Update to use latest releases of highlighting-kate and texmath.John MacFarlane2-7/+7
2015-12-12Fixed tests.John MacFarlane12-24/+30
2015-12-12stack.yaml - use latest pandoc-types.John MacFarlane1-1/+1
2015-12-12Test fixes.John MacFarlane20-237/+238
2015-12-12Modified readers to emit SoftBreak when appropriate.John MacFarlane14-16/+26
2015-12-12Updated pandoc-types commit in stack.yamlJohn MacFarlane1-1/+1
2015-12-12Restore no wrapping of XML in Docx, ODT.John MacFarlane2-2/+2
It's possible that wrapping causes problems; safer to turn it off.
2015-12-12Fixed cite key parsing regression.John MacFarlane1-1/+1
We were capturing final colons as in [@foo: bar]; the citation id was being parsed as "@foo:". Closes jgm/pandoc-citeproc#201.
2015-12-12FB2 writer: support SoftBreak.John MacFarlane1-1/+2
This was omitted earlier.
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