aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-07Fix percentage image scaling in ODT (#4881)Nils Carlson2-2/+4
Image scaling in ODT was broken when a width was set to a percentage. The width was passed to the svg:width field as a pecentage, which is not correct according to the ODT standard. Instead the real dimensions should be passed as width and height and the style:rel-width attribute should be set to the percentage while style:rel-heigh attribute should be set to "scale". The converse is true if a percentage height is given. This is now fixed and documents produced are now properly scaled.
2018-09-07CONTRIBUTING.md: link to lua-filters repository.John MacFarlane1-0/+7
See #4874.
2018-09-07lua-filters.md: add links to filters, and to lua-filters repository.John MacFarlane1-5/+10
Closes #4874.
2018-09-07HTML reader: parse `<script type="math/tex` tags as math.John MacFarlane2-0/+25
These are used by MathJax. Closes #4877.
2018-09-07INSTALL.md: indicate that cabal >= 2.0 is needed.John MacFarlane1-3/+12
2018-09-06Clean up appveyor build.John MacFarlane1-29/+21
We now use ghc 8.4.3, lts-12 for the 64-bit build. We still use ghc 8.2, lts-11 for the 32-bit build because of blocking bugs: https://github.com/commercialhaskell/stackage/issues/3385 With luck this will be fixed in ghc 8.6. Get stack from chocolatey. Use 32-bit stack for 32-bit builds, 64-bit for 64-bit.
2018-09-06stack.yaml tweaks.John MacFarlane1-2/+9
Use a patched version of foundation until https://github.com/haskell-foundation/foundation/pull/503 is fixed. Use latest pandoc-citeproc.
2018-09-06Org reader: respect export option `p` for planning infoAlbert Krewinkel5-2/+64
Inclusion of planning info (*DEADLINE*, *SCHEDULED*, and *CLOSED*) can be controlled via the `p` export option: setting the option to `t` will add all planning information in a *Plain* block below the respective headline.
2018-09-06Org reader internals: disable some GHC extensionsAlbert Krewinkel1-26/+32
The RecordWildCards and ViewPatterns language extensions can be used to shorten code, but usually also makes it harder to read. The DocumentTree module was hence refactored and no longer relies on these extensions.
2018-09-06MANUAL: Clarify when `--resource-path` has an effect.John MacFarlane1-0/+5
2018-09-06Muse reader: close the </quote> in indented tag testAlexander Krotov1-1/+2
There is already a separate test for unclosed </quote>.
2018-09-05Document encoding issue with `--listings` (#4873)damien clochard1-1/+6
Document encoding issue with `--listings`. Closes #4871.
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.