aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-19RST writer: use special `mark` role for Span with class `mark`.markJohn MacFarlane
See #7743.
2022-11-19LaTeX writer: support highlighted text for Span with class `mark`.John MacFarlane
See #7743.
2022-11-19LaTeX writer: Use soul instead of ulem for strikeout, underline.John MacFarlane
This handles things like hyphenation, line breaks, and nonbreaking spaces better. Closes #8411.
2022-11-19Docx writer: render Span with class `mark` as highlighted.John MacFarlane
Currently yellow is hardcoded. Maybe think about using a style. See #7743.
2022-11-19Markdown writer: support `mark` extension.John MacFarlane
See #7743.
2022-11-19Markdown reader: parse `==..==` if `mark` extension enabled.John MacFarlane
See #7743.
2022-11-19Extensions: Add `Ext_mark` extension.John MacFarlane
This is for highlighting blocks of text. This is not part of the pandoc extensions by default. See #7743.
2022-11-16Update epub.mdVladimir Alexiev
minor typo s/above/about/
2022-11-15Allow mtl 2.3.1Alexander Batischev
2022-11-11Markdown writer: escape `!` before `[`.John MacFarlane
See #8254.
2022-11-11Use 'literal tag' instead of 'text (T.unpack tag)' in tagWithAttrsWout Gevaert
2022-11-11Add tests for the new table featuresWout Gevaert
2022-11-11Change the Mediawiki writer to use the 'new' table structureWout Gevaert
Now MediaWiki tables can use colspan and rowspan :D
2022-11-11[API change] Add functions htmlAddStyle, htmlAlignmentToString and htmlAttrs ↵Wout Gevaert
to Writers/Shared.hs The functions htmlAddStyle and htmlAlignmentToString are moved from Writers/HTML.hs, where they were called 'addStyle' and 'alignmentToString' respectively. The function htmlAttrs is split off from tagWithAttrs in Writers/Shared.hs. It creates a representation of an Attr object, as one would see in a tagWithAttrs (but without the tag)
2022-11-10Add CITATION.cff.John MacFarlane
Closes #8434.
2022-11-10Better error when parsing EndNote references fails.John MacFarlane
(Tell them that it concerns EndNote references.)
2022-11-10Add LaTeX variable `urlstyle` (#8429)Amar Al-Zubaidi
This is set to `same` by default, so users should not experience any change.
2022-11-10.gitignore: ignore .stack-work in subdirectoriesAlbert Krewinkel
2022-11-09pandoc-server: add ContentType to CORS policy.John MacFarlane
See #8427.
2022-11-09HTML template: remove default font size, line height...John MacFarlane
...and font family in default inline css. Closes #8423 (see comments there for motivation). `mainfont`, `fontsize`, and `linestretch` can still be used as before; the only difference is that we no longer provide opinionated defaults. This commit also adds a `maxwidth` variable that sets `max-width`; if not set, 36em is used as a default.
2022-11-09In --verbose mode add message when running citeproc.John MacFarlane
(As with other filters.)
2022-11-08Ms writer: remove -C option on PSPIC.John MacFarlane
Some old versions don't support this option, and since it's the default it shouldn't be necessary.
2022-11-08Add simple CORS support to pandoc-server.John MacFarlane
Closes #8427.
2022-11-07make_artifacts.sh: add quotes.John MacFarlane
2022-11-07Fix make_artifacts.sh.John MacFarlane
2022-11-07Fix CABALOPTS in make_artifacts.sh.John MacFarlane
2022-11-07make_artifacts.sh: add a 'cabal test' as a sanity check.John MacFarlane
It's possible that changes in upstream packages could make a test fail, and we wouldn't want to release.
2022-11-07CI: use cabal 3.8.1.0, `--ghc-options=-Werror`.John MacFarlane
Previously we had to work around a cabal-install bug that caused `-Werror` to react to dependencies as well as local packages, but this is fixed in cabal 3.8.1.0. There are some cases in which building dependencies only doesn't work (see #8084).
2022-11-06EPUB writer: refactor to use T.P.Chunks.issue6122John MacFarlane
2022-11-06Move SecInfo, toTOCTree to T.P.Chunks.John MacFarlane
Also add `secPath` to `SecInfo`.
2022-11-06Add Text.Pandoc.Chunks.John MacFarlane
This module provides functions to split Pandoc documents into chunks to be rendered in separate files, e.g. one per section. Internal identifiers are rewritten appropriately to point to the new locations. See #6122.
2022-11-06Remove stray character in epub.css.John MacFarlane
2022-11-06Fix warnings.John MacFarlane
2022-11-06EPUB writer: refactor createChaptersAndRefTable.John MacFarlane
2022-11-06T.P.Writers.Shared: refactor toTableOfContents.John MacFarlane
We now export `toTOCTree` and `SecInfo`, which provide a more neutral way of generating TOC information from Blocks, and we use these in `toTableOfContents`. This is desirable because some output formats may require a TOC structure that isn't just a rendered pandoc list.
2022-11-04Change default background color of PDFs generated via HTML (#8422)Marcin Serwin
* Change default background color of PDFs generated via HTML * Update tests
2022-11-04clarify font selection for pdf -t ms (#8421)nbehrnd
Previous versions of the documentation did not clarify much which options of font selection are available for the generation of .pdf via `-t ms`. Nor was there a description how to extend the set of of fonts provided by ghostscript/pdfgroff. This commit equally hints to Peter Schaffter's script install-fonts.sh to facilitate greatly the later, too.
2022-11-04Use ghc4pandoc 9.4.3 docker image (#8420)Olivier Benz
2022-11-02Text.Pandoc.App: Change `parseOptionsFromArgs` and `parseOptions`... (#8406)John MacFarlane
They now return `Either OptInfo Opt`. Add `OptInfo` type. Add `handleOptInfo` function. This performs the IO actions for things like `--version` that were previously done in `parseOptionsFromArgs`. An argument for a `ScriptingEngine` has been added, to facilitate printing custom templates and custom extensions for Lua filters. (However, at this stage nothing is yet done with it.) [API change]
2022-11-02EPUB writer: add includeTitlePage param to createNavEntry.John MacFarlane
So far this isn't used, but it contributes to solving #6097.
2022-11-02epub.css: left-align h1, as before.John MacFarlane
2022-11-02EPUB writer: Simplify params for createNavEntry.John MacFarlane
2022-11-02ODT reader: handle "section" elements.John MacFarlane
Previously these were simply skipped! Closes #8409.
2022-11-02ipynb reader: add cell id to attachment filename...John MacFarlane
...when storing in the MediaBag. Otherwise attachments with the same name can overwrite each other. Closes #8415.
2022-10-31Fix import.John MacFarlane
2022-10-31Add explicit imports to fix compiler warnings.John MacFarlane
2022-10-31First stab at mtl 2.3 compliance.John MacFarlane
This will no doubt produce a bunch of warnings and hence CI failures, which we'll need to work around with explicit imports.
2022-10-31Re-add TemplateHaskell pragma in pandoc-cli.John MacFarlane
This was an hlint false positive.
2022-10-30Improve 'make lint'.John MacFarlane
2022-10-30hlint suggestions.John MacFarlane