| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-12-17 | Textile reader: improve parsing of spans.issue9878 | John MacFarlane | |
| The span needs to be separated from its surroundings by spaces. Also, a span can have attributes, which we now attach. Closes #9878. | |||
| 2024-12-17 | Textile reader: inline constructors don't trigger if closer... | John MacFarlane | |
| ...is preceded by whitespace. Closes #10414. | |||
| 2024-12-17 | LaTeX writer: use displayquote for block quotes with csquotes. | John MacFarlane | |
| Closes #10456. | |||
| 2024-12-17 | Typst writer: properly handle data: URIs in images. | John MacFarlane | |
| We need to produce an svg tag and parse it using `image.decode`. This is slightly roundabout but doesn't require any external libraries. Closes #10460. | |||
| 2024-12-17 | Docx writer: use styleIds not styleNames for Title, Subtitle, etc. | John MacFarlane | |
| This change affects the default openxml template as well as the OpenXML writer. Closes #10282 (regression introduced in pandoc 3.5). | |||
| 2024-12-17 | Text.Pandoc.PDF: fix temp file extension in `toPdfViaTempFile`. | John MacFarlane | |
| We used to set this to `.html`, but this seemed inappropriate once we started using this function for `--pdf-engine=typst`. So we changed it in pandoc 3.6 to `.source`. But apparently `wkhtmltopdf` needs it to be `.html`. So now we have added a parameter to `toPdfViaTempFile` that allows the extension to be specified. Closes #10468. | |||
| 2024-12-17 | Move nocites from LaTeX preamble to body (#10465) | Thomas Hodgson | |
| Closes #10461. Putting `\nocite` in the preamble works only with biblatex. | |||
| 2024-12-14 | Use lastMay instead of reverse | Joseph C. Sible | |
| 2024-12-14 | Store a function instead of a Boolean | Joseph C. Sible | |
| Instead of storing isDisplay and then always choosing displayMath or math based on that, just store displayMath or math directly. | |||
| 2024-12-14 | Use <$> instead of >>= and return | Joseph C. Sible | |
| 2024-12-14 | Put the length in the range expression instead of calling take later | Joseph C. Sible | |
| 2024-12-14 | Remove redundant null check | Joseph C. Sible | |
| "all f []" is always true, so "null xs || all f xs" can be simplified to just "all f xs". | |||
| 2024-12-14 | Use the definition of unsnoc from base | Joseph C. Sible | |
| This is more efficient than the existing one. | |||
| 2024-12-14 | Use catMaybes instead of building with maybe and (:) one element at a time | Joseph C. Sible | |
| 2024-12-14 | Remove several unnecessary layers of indirection from refs | Joseph C. Sible | |
| 2024-12-11 | Allow YAML bibliographies to be arrays of references. | John MacFarlane | |
| Previously, they had to be YAML objects with a `references` key. Closes #10452. | |||
| 2024-12-11 | Cosmetic code improvement. | John MacFarlane | |
| 2024-12-11 | Depend on citeproc 0.8.1.2. | John MacFarlane | |
| 2024-12-10 | Use dev version of citeproc. | John MacFarlane | |
| Closes #10451. | |||
| 2024-12-10 | stack.yaml: Switch to stackage resolver lts-23.0 | Albert Krewinkel | |
| 2024-12-10 | Lua: support more elements as input to `pandoc.utils.stringify`. | Albert Krewinkel | |
| Elements of type Caption, Cell, TableHead, and TableFoot can now be stringified. Fixes: #10450 | |||
| 2024-12-10 | Lua: add `Caption` constructor to `pandoc` module. | Albert Krewinkel | |
| 2024-12-10 | doc/lua-filters.md: Fix links to constructors. | Albert Krewinkel | |
| This was broken when the respective sections started to be autogenerated. | |||
| 2024-12-09 | Add silby to funding. | John MacFarlane | |
| 2024-12-07 | Minor tweaks to changelog formatting. | John MacFarlane | |
| 2024-12-07 | stack.yaml - add crypton-x509-validationpandoc-server-0.1.0.10pandoc-lua-engine-0.4pandoc-cli-3.63.6 | John MacFarlane | |
| 2024-12-07 | Add to AUTHORS.md. | John MacFarlane | |
| 2024-12-07 | stack.yaml - use more recent versions of tls, crypton-connection | John MacFarlane | |
| 2024-12-07 | Add copyright info to two modules missing it. | John MacFarlane | |
| 2024-12-07 | Regenerate README.md | John MacFarlane | |
| 2024-12-07 | Changelog tweaks. | John MacFarlane | |
| 2024-12-07 | Date manual and regenerate man pages. | John MacFarlane | |
| 2024-12-07 | Depend on new releases of commonmark-extensions, commonmark-pandoc. | John MacFarlane | |
| 2024-12-07 | Depend on released skylighting, skylighting-core 0.14.4. | John MacFarlane | |
| 2024-12-07 | Depend on skylighting-format-blaze-html 0.1.1.3. | John MacFarlane | |
| 2024-12-07 | update stack.yaml. | John MacFarlane | |
| 2024-12-07 | Depend on typst 0.6.1 | John MacFarlane | |
| 2024-12-07 | Depend on released pandoc-lua-marshal 0.3.0. | John MacFarlane | |
| 2024-12-07 | Depend on texmath 0.12.8.12 | John MacFarlane | |
| 2024-12-07 | Bump pandoc-lua-engine to 0.4 and depend on it in pandoc-cli. | John MacFarlane | |
| 2024-12-07 | Bump pandoc-cli to 0.6, depend on pandoc 0.6. | John MacFarlane | |
| 2024-12-07 | Bump pandoc-server version to 0.1.0.10 | John MacFarlane | |
| 2024-12-07 | Bump to 3.6, update changelog. | John MacFarlane | |
| 2024-12-07 | Stylistic tweak. | John MacFarlane | |
| 2024-12-07 | Ensure that `--sandbox` affects `--embed-resources`. | John MacFarlane | |
| Previously it did not (contrary to what was implied by the manual), which means that an image with URL `/etc/passwd` would leak an encoded version of that file to HTML output with `--self-contained` or `--embed-resources`, even if `--sandbox` was used. Thanks to Samuel Mortenson for pointing out the issue. | |||
| 2024-12-07 | T.P.App.OutputSettings: add `sandbox'` function. | John MacFarlane | |
| This computes the sandboxed files from Opt and avoids some code repetition in T.P.App and T.P.App.OutputSettings. | |||
| 2024-12-07 | Docx reader: handle `\b`, `\i`, `\y` modifiers in `XE` index entries. | John MacFarlane | |
| See #10171. | |||
| 2024-12-07 | HTML reader: parse footnotes defined by dpub-aria roles. | John MacFarlane | |
| Closes #5294. | |||
| 2024-12-05 | List mdoc as a reader format in the manual | Evan Silberman | |
| 2024-12-05 | Add mdoc reader | Evan Silberman | |
| This change introduces a reader for mdoc, a roff-derived semantic markup language for manual pages. The two relevant contemporary implementations of mdoc for manual pages are mandoc (https://mandoc.bsd.lv/), which implements the language from scratch in C, and groff (https://www.gnu.org/software/groff/), which implements it as roff macros. mdoc has a lot of semantics specific to technical manuals that aren't representable in Pandoc's AST. I've taken a cue from the mandoc HTML output and many mdoc elements are encoded as Codes or Spans with classes named for the mdoc macro that produced them. Much like web browsers with HTML, mandoc attempts to produce best-effort output given all kinds of weird and crappy mdoc input. Part of the reason it's able to do this is it uses a very accommodating parse tree and stateful output routines specialized to the output mode, and when it encounters some macro it wasn't expecting, it can easily give up on whatever it was outputting and output something else. I've encoded as much flexibility as I reasonably could into the mdoc reader here, but I don't know how to be as flexible as mandoc. This branch has been developed almost exclusively against mandoc's documentation and implementation of mdoc as a reference, and the real-world manual pages tested against are those from the OpenBSD base system. Of ~3500 manuals in mdoc format shipped with a fresh OpenBSD install, 17 cause the mdoc reader to exit with a parse error. Any further chasing of edge cases is deferred to future work. Many of the tests in test/Tests/Readers/Mdoc.hs are derived directly from mandoc's extensive regression tests. [API change] Adds readMdoc to the public API | |||
