aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-04-17Merge pull request #2079 from lierdakil/rst-normalize-headingsJohn MacFarlane4-7/+118
RST Writer: Normalize headings to sequential levels
2015-04-17Merge pull request #2088 from AndreasLoow/masterJohn MacFarlane1-31/+31
Various minor formatting and consistency fixes for the README
2015-04-17Merge pull request #2092 from lierdakil/issue1909John MacFarlane3-2/+11
MD Reader: Smart apostrophe after inline math
2015-04-17LaTeX template: redefine `\paragraph`, `\subparagraph`...John MacFarlane4-6/+25
to behave more like section headers. Closes #1658.
2015-04-17Fixed `htmlTag` in HTML reader.John MacFarlane1-1/+1
Require that `<!` or `<?` be followed by nonspace. This prevents `</ div>` from being parsed as a comment. Closes #1820.
2015-04-18MD Reader: Smart `'` after inline mathNikolay Yakimov2-2/+8
Closes #1909. Adds new parser combinator to Parsing.hs `a <+?> b` : if a succeeds, applies b and mappends output (if any) to result of a. If b fails, it's just a, if a fails, whole expression fails.
2015-04-18MD Reader: Test for smart `'` after inline mathNikolay Yakimov1-0/+3
2015-04-16Various minor formatting and consistency fixes for the program options.Andreas Lööw1-25/+25
2015-04-16Minor, fixed a Markdown error that caused formatting problems.Andreas Lööw1-6/+6
2015-04-16RST Writer: Tests for rubrics and heading normalizationNikolay Yakimov3-0/+82
2015-04-16RST Writer: treat headings in block quotes, etc as rubricsNikolay Yakimov1-7/+29
2015-04-15Updated changelog for 1.13.2.1 release.John MacFarlane1-0/+7
2015-04-14Document `toc-title` variable in README.John MacFarlane1-0/+3
See #2081.
2015-04-14Merge pull request #2081 from lierdakil/docx-content-titleJohn MacFarlane1-1/+15
Docx Writer: Take TOC title from toc-title metadata field
2015-04-14Docx Writer: Take TOC title from toc-title metadata fieldNikolay Yakimov1-1/+15
2015-04-13Bump texmath lower bound to 0.8.1John MacFarlane1-1/+1
2015-04-13RST Writer: Normalize headings to sequential levelsNikolay Yakimov1-1/+8
This is pretty much required by docutils.
2015-04-13Merge pull request #2078 from nickbart1980/patch-2John MacFarlane1-6/+10
Adds YAML biblio format
2015-04-13LaTeX template: include grffile together with graphicx.John MacFarlane3-9/+9
This properly handles filenames containing spaces and dots. Closes #2074.
2015-04-13Adds YAML biblio formatnickbart19801-6/+10
Also, adds note on pandoc-citeproc --bib2json and pandoc-citeproc --bib2yaml, and sorts table
2015-04-12Fixed warning.John MacFarlane1-1/+1
2015-04-12Fixed toc depth in RST writer.John MacFarlane1-1/+1
Previously the depth was being rendered as a floating point number with a decimal point. Thanks to Nick Yakimov for noticing this.
2015-04-12Merge pull request #2072 from lierdakil/latex-reader-cleanupJohn MacFarlane2-92/+92
LaTeX Reader: Code cleanup
2015-04-12OpenDocument template: use `text:p` instead of `text:h` for title.John MacFarlane2-6/+9
Using `text:h` causes problems with numbering. Closes #2059. Thansk to @nkalvi for diagnosing this.
2015-04-12Text.Pandoc.PDF: more comprehensible errors on image conversion.John MacFarlane1-3/+3
Closes #2067. EPS can't be supported without shelling out to something like ImageMagick, but at least we can avoid mysterious error messages. We now get: pandoc: Unable to convert `circle.eps' for use with pdflatex. ! Package pdftex.def Error: File `circle-eps-converted-to.pdf' not found. which seems more straightforward.
2015-04-13LaTeX Reader: Test for `^^` character escapesNikolay Yakimov1-0/+10
2015-04-12LaTeX Reader: Code cleanupNikolay Yakimov1-92/+82
2015-04-11Merge pull request #2070 from lierdakil/odt-image-captionsJohn MacFarlane5-9/+35
ODT Writer: Figure captions
2015-04-12ODT Writer: Figure captions - Tests updateNikolay Yakimov2-5/+6
2015-04-12ODT Writer: Figure captionsNikolay Yakimov3-4/+29
Works pretty much the same as Word writer. Following styles are used for figures: Figure -- for figure with empty caption FigureWithCaption (based on Figure) -- for figure with caption FigureCaption (based on Caption) -- for figure captions Also, TableCaption (based on Caption) is used for table captions. We need FigureWithCaption to set keepWithNext, in order to keep caption with figure.
2015-04-10Merge pull request #2064 from nickbart1980/patch-1John MacFarlane1-23/+29
Fix obsolete reference to mods2yaml
2015-04-10Fix obsolete reference to mods2yamlnickbart19801-23/+29
2015-04-07Removed redundat import.John MacFarlane1-1/+0
2015-04-07DocBook reader: look inside "info" elements for section titles.John MacFarlane1-1/+4
Closes #1931.
2015-04-07RST writer: better handling of raw latex inline.John MacFarlane3-14/+22
We use `` :raw-latex:`...` `` and add a definition for this role to the template. Closes #1961.
2015-04-07epub, epub3: added header-includes, include-before, include-after.John MacFarlane1-9/+6
Closes #1987.
2015-04-07reveal.js template: move custom css after theme.John MacFarlane1-7/+9
This allows custom css to modify themes, instead of being replaced by themes.
2015-04-07Merge pull request #2057 from Jubobs/masterMatthew Pickering1-2/+5
Markdown Reader: eliminate common subexpressions
2015-04-07Markdown Reader: eliminate common subexpressionsJulien Cretel1-2/+5
2015-04-02EPUB writer: Take TOC title from toc-title metadata field.John MacFarlane1-2/+5
2015-04-02Improved INSTALL instructions.John MacFarlane1-3/+7
2015-04-02Added INSTALL instructions about older cabal versions.John MacFarlane1-0/+5
IT may be necessary to update cabal, since older versions don't take into account the (new) possibility of changed metadata on Hackage.
2015-04-01Added "noProof" to docx syntax highlighting SourceCode style.John MacFarlane1-0/+1
2015-03-31reveal.js template: add new configurable options.John MacFarlane1-5/+8
(Dmitry Smirnov, jgm/pandoc-templates#89) * Made option "center" configurable. * Added new options "maxScale" and "slideNumber". * Added comments to existing options.
2015-03-31Merge pull request #2042 from lierdakil/issue1866John MacFarlane3-4/+50
LaTeX Reader: check for block-level newcommand aliases in blockCommand
2015-03-31Latex Reader: Block commands code cleanupNikolay Yakimov1-3/+2
2015-03-30Merge pull request #2035 from lierdakil/issue2031John MacFarlane3-3/+23
Docx Writer/Reference: Add keepNext to objects w/ captions
2015-03-30benchmark - removed kludge we needed before CommonMark writer.John MacFarlane1-6/+1
2015-03-29Added CommonMark writer.John MacFarlane4-40/+225
Added `Text.Pandoc.Writers.CommonMark`, exporting `writeCommonMark`.
2015-03-29Require cmark 0.3.1.John MacFarlane1-1/+1