aboutsummaryrefslogtreecommitdiff
path: root/stack.yaml
AgeCommit message (Collapse)Author
2023-01-18Fix version for pandoc-lua-marshall in stack.yaml.John MacFarlane
2023-01-18Use released versions of packages.John MacFarlane
2023-01-17Remove superfluous extra-packages in stack.yaml.John MacFarlane
2023-01-17Use latest dev pandoc-lua-marshall.John MacFarlane
2023-01-16Use dev citeproc.John MacFarlane
2023-01-13Use latest pandoc-types (removing Null).John MacFarlane
2023-01-13Use latest dev pandoc-lua-marshal.John MacFarlane
2023-01-13Use latest dev pandoc-lua-marshal.John MacFarlane
2023-01-13Require pandoc-types 1.23, update dependencies.John MacFarlane
This fails to build because pandoc-lua-marshal still needs updating.
2023-01-13Use latest dev pandoc-types.John MacFarlane
2023-01-13Use dev jgm/pandoc-types.John MacFarlane
2023-01-13Support complex figures. [API change]Albert Krewinkel
Thanks and credit go to Aner Lucero, who laid the groundwork for this feature in the 2021 GSoC project. He contributed many changes, including modifications to the readers for HTML, JATS, and LaTeX, and to the HTML and JATS writers. Shared (Albert Krewinkel): - The new function `figureDiv`, exported from `Text.Pandoc.Shared`, offers a standardized way to convert a figure into a Div element. Readers (Aner Lucero): - HTML reader: `<figure>` elements are parsed as figures, with the caption taken from the respective `<figcaption>` elements. - JATS reader: The `<fig>` and `<caption>` elements are parsed into figure elements, even if the contents is more complex. - LaTeX reader: support for figures with non-image contents and for subfigures. - Markdown reader: paragraphs containing just an image are treated as figures if the `implicit_figures` extension is enabled. The identifier is used as the figure's identifier and the image description is also used as figure caption; all other attributes are treated as belonging to the image. Writers (Aner Lucero, Albert Krewinkel): - DokuWiki, Haddock, Jira, Man, MediaWiki, Ms, Muse, PPTX, RTF, TEI, ZimWiki writers: Figures are rendered like Div elements. - Asciidoc writer: The figure contents is unwrapped; each image in the the figure becomes a separate figure. - Classic custom writers: Figures are passed to the global function `Figure(caption, contents, attr)`, where `caption` and `contents` are strings and `attr` is a table of key-value pairs. - ConTeXt writer: Figures are wrapped in a "placefigure" environment with `\startplacefigure`/`\endplacefigure`, adding the features caption and listing title as properties. Subfigures are place in a single row with the `\startfloatcombination` environment. - DocBook writer: Uses `mediaobject` elements, unless the figure contains subfigures or tables, in which case the figure content is unwrapped. - Docx writer: figures with multiple content blocks are rendered as tables with style `FigureTable`; like before, single-image figures are still output as paragraphs with style `Figure` or `Captioned Figure`, depending on whether a caption is attached. - DokuWiki writer: Caption and "alt-text" are no longer combined. The alt text of a figure will now be lost in the conversion. - FB2 writer: The figure caption is added as alt text to the images in the figure; pre-existing alt texts are kept. - ICML writer: Only single-image figures are supported. The contents of figures with additional elements gets unwrapped. - HTML writer: the alt text is no longer constructed from the caption, as was the case with implicit figures. This reduces duplication, but comes at the risk of images that are missing alt texts. Authors should take care to provide alt texts for all images. Some readers, most notably the Markdown reader with the `implicit_figures` extension, add a caption that's identical to the image description. The writer checks for this and adds an `aria-hidden` attribute to the `<figcaption>` element in that case. - JATS writer: The `<fig>` and `<caption>` elements are used write figures. - LaTeX writer: complex figures, e.g. with non-image contents and subfigures, are supported. The `subfigure` template variable is set if the document contains subfigures, triggering the conditional loading of the *subcaption* package. Contants of figures that contain tables are become unwrapped, as longtable environments are not allowed within figures. - Markdown writer: figures are output as implicit figures if possible, via HTML if the `raw_html` extension is enabled, and as Div elements otherwise. - OpenDocument writer: A separate paragraph is generated for each block element in a figure, each with style `FigureWithCaption`. Behavior for single-image figures therefore remains unchanged. - Org writer: Only the first element in a figure is given a caption; additional block elements in the figure are appended without any caption being added. - RST writer: Single-image figures are supported as before; the contents of more complex images become nested in a container of type `float`. - Texinfo writer: Figures are rendered as float with type `figure`. - Textile writer: Figures are rendered with the help of HTML elements. - XWiki: Figures are placed in a group. Co-authored-by: Aner Lucero <[email protected]>
2023-01-12Use latest dev citeproc.John MacFarlane
This gives us better date sorting in apa style.
2023-01-12Bump stackage resolver to lts-20.6 (#8545)Albert Krewinkel
Co-authored-by: John MacFarlane <[email protected]>
2023-01-12Use dev version of texmathJohn MacFarlane
2023-01-11Use jira-wiki-markup 1.5.0Albert Krewinkel
Fixed issues with icon-like sequences at the beginning of words. Fixes: #8511
2023-01-03Lua: add functions `pandoc.text.toencoding`, `pandoc.text.fromencoding`.Albert Krewinkel
Closes: #8512
2022-12-22Use latest skylighting-format-context.John MacFarlane
2022-12-21Use latest dev citeproc.John MacFarlane
2022-12-18ConTeXt writer: support syntax highlighting for code.Albert Krewinkel
2022-12-08Use skylighting 0.13.1.2John MacFarlane
2022-11-21stack.yaml: update doctemplates version.John MacFarlane
2022-10-28Use skylighting 0.13.1.1John MacFarlane
2022-10-28stack.yaml: use dev version of citeproc.John MacFarlane
2022-10-20Lua: add new module `pandoc.zip`Albert Krewinkel
Allows to handle docx and epub files.
2022-10-15Use skylighting 0.13.1.John MacFarlane
2022-10-08Update texmath version in stack.yaml.John MacFarlane
2022-10-05Require citeproc >= 0.8.0.2.John MacFarlane
2022-09-30Use released gridtables 0.1.0.0Albert Krewinkel
2022-09-30[API Change] Extract Lua code into new package pandoc-lua-engineAlbert Krewinkel
The flag 'lua53` must now be used with that package if pandoc is to be compiled against Lua 5.3.
2022-09-28Require latest released texmathJohn MacFarlane
2022-09-28Use released commonmark-extensions.John MacFarlane
2022-09-28Use released skylighting-format-blaze-htmlJohn MacFarlane
2022-09-27pandoc-cli: update to hslua-cli-1.2Albert Krewinkel
2022-09-26pandoc-lua: support more command line flagsAlbert Krewinkel
2022-09-23Use hslua-cli package for pandoc-lua interfaceAlbert Krewinkel
2022-09-23Fix stack config, nightly buildAlbert Krewinkel
2022-09-12Depend on dev texmath.John MacFarlane
2022-09-11Fix stack.yamlAlbert Krewinkel
2022-09-01Require hslua-module-version 1.0.3Albert Krewinkel
This fixes the behavior of Lua "Version" objects under equality comparisons. Fixes: #8267
2022-09-01Fix stack.yamlAlbert Krewinkel
2022-08-30stack.yaml: use lts-19.21John MacFarlane
2022-08-29stack.yaml: add servant-0.19.John MacFarlane
2022-08-29Fix revision to stack.yaml.John MacFarlane
2022-08-29stack.yaml - update commonmark-extensions, servant-server deps.John MacFarlane
2022-08-26Fix stack.yamlJohn MacFarlane
2022-08-26HTML writer: avoid aria-hidden in code blocks for HTML4.John MacFarlane
Closes #8241. This requires depending on a new (still unreleased) version of skylighting-format-blaze-html.
2022-08-19Require hslua-module-path 1.0.3Albert Krewinkel
Fixes: #8228
2022-08-18stack.yaml - update pandoc-typesJohn MacFarlane
2022-08-18Use latest gridtables-0.0.3.0Albert Krewinkel
This restores undocumented behavior which allowed to grid tables to have separator lines that have fewer characters than the cell they delimit.