aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-10Attempt to fix travis build.John MacFarlane1-2/+2
2018-09-11Muse writer: escape list markers in the beginning of notesAlexander Krotov2-1/+10
2018-09-10Travis: exclude round-trip tests, except for nightly test which can fail.John MacFarlane1-9/+9
2018-09-11Muse writer: normalize inline list before testing if tags should be usedAlexander Krotov2-19/+19
2018-09-11Muse writer: use tags instead of lightweight markup for empty stringsAlexander Krotov2-4/+13
2018-09-10Make HTML5 header easier to style precisely in default template (#4767)J. B. Rainsberger2-2/+2
Add the `title-block-header` identifier to the `header` element, to make it easier to style precisely.
2018-09-10Remove RawBlock from HTML round trip testsAlexander Krotov1-0/+1
2018-09-10HTML reader: test round trip propertyAlexander Krotov1-0/+23
2018-09-09LaTeX reader: resolve `\ref` for figure numbers.John MacFarlane2-13/+85
2018-09-09Use latest texmath.John MacFarlane4-3/+4
2018-09-09Org writer: don't escape literal `_`, `^`.John MacFarlane2-5/+5
Org doesn't recognize these escapes. Closes #4882.
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.