aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-05Org reader: strip planning info from outputAlbert Krewinkel2-1/+60
Planning info is parsed, but not included in the output (as is the default with Emacs Org-mode). Fixes: #4867
2018-09-04Remove unnecessary indenting of TOC title (#4869)José de Mattos Neto1-3/+1
Fixes #4798
2018-09-04hlint some writersAlexander Krotov9-25/+21
2018-09-04hlint Muse writer testsAlexander Krotov1-6/+6
2018-09-04Remove redundant $Alexander Krotov1-1/+1
2018-09-03stack.yaml: use latest dev version of pandoc-citeproc.John MacFarlane1-1/+1
2018-09-03appveyor.yml : try building with lts-12.John MacFarlane1-3/+16
2018-09-03Remove obsolete RELEASE-CHECKLIST.md.John MacFarlane1-27/+0
2018-09-03Fix "new new" typo in changelogAlexander Krotov1-1/+1
2018-09-02Muse reader: autonumber sections in the correct orderAlexander Krotov2-4/+28
Parsing now stops at each section header to ensure the header is registered before parsing of the next section starts.
2018-09-02Muse reader: move duplicate code into "headingStart" functionAlexander Krotov1-9/+10
2018-09-02Muse writer: hlintAlexander Krotov1-4/+4
2018-09-02Muse writer: use lightweight markup when possibleAlexander Krotov3-69/+198
2018-09-02Muse writer: add more commentsAlexander Krotov1-2/+2
2018-09-02Muse writer: escape empty stringsAlexander Krotov1-1/+2
This guarantees that conditionalEscapeString never returns empty string.
2018-09-02Muse reader: allow newline after opening "*" or "**"Alexander Krotov2-1/+17
Emacs Muse allows this.
2018-09-01Muse writer: wrap conditionalEscapeString result into "Muse" typeAlexander Krotov1-22/+28
This removes the need to pass envInsideLinkDescription to it.
2018-09-01Muse writer: separate "shouldEscapeString" functionAlexander Krotov1-6/+11
2018-08-31Muse writer: simplify inline list renderingAlexander Krotov1-15/+12
2018-08-31Muse reader: parse <verse> tag in one passAlexander Krotov2-8/+17
instead of using parseFromString. This change makes it possible to have verbatim </verse> tag inside verse.
2018-08-30MANUAL: remove docs on removed --katex-stylesheetMauro Bieg1-8/+3
closes #4862
2018-08-30Muse reader: hlintAlexander Krotov1-2/+2
2018-08-30Fix a typo: s/afeter/after/Alexander Krotov1-1/+1
2018-08-29LaTeX reader: fixed parsing of \texorpdfstring.John MacFarlane1-1/+1
We were returning the wrong argument as the content.
2018-08-29RSTR reader: don't skip link definitions after comments.John MacFarlane2-0/+10
Closes #4860.
2018-08-28appveyor.yml: use -arch with candle.John MacFarlane1-1/+3
This may help with #4795.
2018-08-28EPUB writer: set epub:type on body element intelligently.John MacFarlane2-7/+23
epub:type of first section epub:type of body -------------------------- ------------------ prologue frontmatter abstract frontmatter acknowledgments frontmatter copyright-page frontmatter dedication frontmatter foreword frontmatter halftitle, frontmatter introduction frontmatter preface frontmatter seriespage frontmatter titlepage frontmatter afterword backmatter appendix backmatter colophon backmatter conclusion backmatter epigraph backmatter Otherwise body will have epub:type 'bodymatter'. This only affects epub3. See http://www.idpf.org/epub/profiles/edu/structure/#h.l0bzsloklt10 Closes #4823.
2018-08-25Add support for $toc-title$ to LaTeX (and PDF). (#4853)Wandmalfarbe2-1/+4
2018-08-24FB2 writer: put coverpage element between title and date...John MacFarlane1-2/+3
...rather than in document-info element. Closes #4854.
2018-08-24HTML reader: allow enabling `raw_tex` extension.John MacFarlane3-4/+59
This now allows raw LaTeX environments, `\ref`, and `\eqref` to be parsed (which is helpful for translation HTML documents using MathJaX). Closes #1126.
2018-08-24PDF: fix reference to rsvg-convert (#4855)Antonio Terceiro1-1/+1
When rsvg-convert is not available, pandoc would tell the user to check for rsvg2pdf instead
2018-08-22Use yaml-0.9.0 in stack.yaml.John MacFarlane2-0/+2
2018-08-22Use latest pandoc-citeproc.John MacFarlane2-2/+2
This should fix build failure on appveyor.
2018-08-22HTML reader: extract spaces inside links instead of trimming themAlexander Krotov2-3/+9
Fixes #4845
2018-08-21LaTeX reader: support blockcquote, foreignblockquote from csquotes.John MacFarlane2-8/+23
Also foreigncblockquote, hyphenblockquote, hyphencblockquote. Closes #4848. But note: currently foreignquote will be parsed as a regular Quoted inline (not using the quotes appropriate to the foreign language).
2018-08-21Fix mistake in REPL instructions for stack. (#4849)Brian Leung1-1/+1
2018-08-21LaTeX reader: support enquote*, foreignquote, hypphenquote...John MacFarlane2-6/+82
from csquotes. See #4848. Still TBD: blockquote, blockcquote, foreignblockquote.
2018-08-19Markdown writer: escape `~` if strikeout extension enabled.John MacFarlane1-1/+2
See #4840.
2018-08-18Added chocolatey installation method (#4844)Miodrag Milić1-0/+3
2018-08-18Fix compiler warning.John MacFarlane1-1/+1
2018-08-17LaTeX reader: Support more text-mode accents.John MacFarlane2-5/+95
Add support for `\|`, `\b`, `\G`, `\h`, `\d`, `\f`, `\r`, `\t`, `\U`, `\i`, `\j`, `\newtie`, `\textcircled`. Also fall back to combining characters when composed characters are not available. Closes #4652.
2018-08-17LaTeX reader: use combining characters when needed for accents.John MacFarlane1-1/+4
For example, there is no unicode code point corresponding to \"{X}, so we use a combining accent.
2018-08-17Docx writer: properly handle display math in spans.John MacFarlane2-6/+10
Closes #4826. This isn't a complete solution, since other nestings of display math may still cause problems, but it should work for what is by far the most common case. Note that this also involves an API change: `isDisplayMath` is now exported from Text.Pandoc.Writers.Shared.
2018-08-17Add support for latex mintinline (#4365)Marc Schreiber2-0/+33
2018-08-17Haddock Writer: Use proper format for latex math in haddock (#4571).Joe Hermaszewski2-13/+11
Inline math in `\(..\)`, display math in `\[..\]`, tex is now used. Previously we'd "fake it with unicode" and fall back to tex when that didn't work. But as of https://github.com/haskell/haddock/commit/3f50b955324bd4b42f88a421f0203bc46a3ccf64 haddock supports latex math.
2018-08-17LaTeX reader: fix siunitx unit commands...John MacFarlane2-174/+188
...they should only be recognized in siunitx contexts. For example, `\l` outside of an siunitx context should be l-slash, not l (for liter)! Closes #4842.
2018-08-17Add latest hs-bibutils to stack.yaml.John MacFarlane3-1/+3
2018-08-16stack.lts11.yaml - use git head for pandoc-citeproc.John MacFarlane1-0/+2
2018-08-16Revert "appveyor.yml: use regular stack.yaml, not stack.lts11.yaml."John MacFarlane1-2/+2
This reverts commit 0a93d33566c9ee9e11a6b8951c9b847c581df3d9.
2018-08-16appveyor.yml: use regular stack.yaml, not stack.lts11.yaml.John MacFarlane1-2/+2