summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-23LaTeX writer: backslash-escape # in URLs. Closes #9014.John MacFarlane
2023-08-22Update AUTHORS.mdJohn MacFarlane
2023-08-22Update changelog.John MacFarlane
2023-08-22stack.yaml - update tls version.John MacFarlane
2023-08-22Fix spacing errors.John MacFarlane
2023-08-22Bump to 3.1.6.2, update manual date and man page.John MacFarlane
2023-08-22Use lastest texmath, typst-symbols, typst.John MacFarlane
Targets typst 0.7.
2023-08-21Typst writer: use `~` for nonbreaking space.John MacFarlane
And escape literal `~`. Closes #9010.
2023-08-19LaTeX writer: improve internal links and targets.John MacFarlane
We no longer wrap section headings in a `\hypertarget`. This is unnecessary (hyperref creates an anchor based on the label) and it interferes with tagging. In addition, we now use `\hyperref` rather than `\hyperlink` for internal links. Currently `\hypertarget` is still being used for link anchors not on headings. Closes #8744. Thanks to @u-fischer.
2023-08-18Docx reader: omit "Table NN" from caption.John MacFarlane
Closes #9002.
2023-08-18Constrain to older typst-symbols for nowJohn MacFarlane
2023-08-18Use dev texmath, update stack.yaml resolver.John MacFarlane
2023-08-18Org reader: allow example lines to end immediately after the colonBrian Leung
See the regexp at https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-element.el?h=d1e4b9351941aa9241ab3aa0a34256376b7eca94#n2420.
2023-08-14Docx reader: Avoid spurious block quotes in list items.John MacFarlane
The docx reader was overzealous in detecting indented paragraphs as block quotes, leading to list items sometimes being put in block quotes (especially in docx created by Google Docs). Closes #8836.
2023-08-13Fix tests for change to template in #8999.John MacFarlane
2023-08-13Change semicolon to colonJackson Schuster
2023-08-10Fix display of block elements in JATS reader (PR #8971)Julia Diaz
A number of block elements, like disp-quote, list, and disp-formula, were always treated as inlines if appearing inside paragraphs, even if their usage granted a separate block. The function isElementBlock has been refined to prevent this, and a number of specific parse cases have been added to parseBlock. Also, some minimal cleanup of the test file, in order for it to pass XML validation against the JATS DTD 1.3 (it was not compliant with the current or any previous versions of JATS). Closes #8889.
2023-08-09LaTeX writer: Improve escaping of URIs in href, url.John MacFarlane
Closes #8992.
2023-08-09Typst writer: put the label in right place for Div, use `#block`.John MacFarlane
Closes #8991. Previously we were putting the label at the beginning of the Div's contents, but according to the documentation such a label gets attached to the *preceding* element. We now use an explicit `#block` and add the label at the end.
2023-08-09HTML reader: avoid duplicate id on header and div.John MacFarlane
Closes #8991.
2023-08-06Bump pandoc-lua-engine version to 0.2.1.1John MacFarlane
2023-08-06Bump pandoc-server version to 0.1.0.2.John MacFarlane
2023-08-06pandoc.cabal: bump version to 3.1.6.1.John MacFarlane
2023-08-06Update AUTHORS.mdJohn MacFarlane
2023-08-06Bump dates, update dependencies.John MacFarlane
2023-08-06Use released pandoc-types 1.23.1.John MacFarlane
2023-08-06ODT writer: Use a style for Highlighted, so color can be adjusted.John MacFarlane
2023-08-06Provisional changelog for next release.John MacFarlane
2023-08-05HTML reader: properly calculate RowHeadColumns.John MacFarlane
The previous algorithm did not handle rowspans; this one does. Closes #8984.
2023-08-05Add test for #8984.John MacFarlane
2023-08-05Revert "Revert "Update #8764 command test for latest change to HTML table ↵John MacFarlane
parser (#8634)."" This reverts commit acbc382ff4b45b9818884779b1e7100de445383d.
2023-08-05HTML reader: require unanimity for RowHeadColumns.John MacFarlane
Previously we used the max. #8634 switched to the min, but this had bad results. This commit sets the RowHeadColumns to the consensus value from all rows, or 0 if there is no consensus. See #8984.
2023-08-05HTML reader: fix bug in calculation of RowHeadColumns.John MacFarlane
We were adding up cells, not colspans. Note: there may still be incorrect results in the presence of rowspans. See https://github.com/jgm/pandoc/issues/8984#issuecomment-1666467926
2023-08-05Revert "Update TableBody RowHeadColumns caculation: change from max to min ↵John MacFarlane
(#8634)" This reverts commit f257c97170ba8db3b771135b98b198d5de2bdb5b. For the reason, see #8984. The change caused the "grid shape" of some tables to change.
2023-08-05Revert "Update #8764 command test for latest change to HTML table parser ↵John MacFarlane
(#8634)." This reverts commit 52d352a5ae5d66ec74a2c73aa95a8b2abc7ade3c.
2023-08-04Use dev pandoc-types.John MacFarlane
This fixes a regression with toJSONFilter, which in 1.23.0.1 no longer worked on pure values of type `a -> [a]`. Closes #8976.
2023-08-04OpenDocument writer: implement syntax highlighting.John MacFarlane
Still unimplemented: global background colors, line numbers. Closes #6710, obsoletes #6717.
2023-08-04Use ghc 9.6 for release builds.John MacFarlane
See #8947.
2023-08-04Started implementing syntax highlighting for ODT.John MacFarlane
Currently only colors are supported, not other text styles. This change includes a new default opendocumnet template. See #6710.
2023-08-04Remove redundant import.John MacFarlane
2023-08-04OpenDocument writer: add syntax highlighting tags for CodeBlock.John MacFarlane
We still aren't injecting the style, but this will improve things. See #6710.
2023-08-04Support highlighted text in ODT/OpenDocument writers.John MacFarlane
See #8960. This is a prelimary fix. A better fix would use a named style so colors could be adjusted.
2023-08-04Documentation - FAQs - Links (#8978)Diogo Almiro
Fix some links and add link text.
2023-07-27SelfContained: retain attributes in svg tag...John MacFarlane
when referring to another svg's content using `<use>`. Closes #8969.
2023-07-27SelfContained: Allow units in width and height for svg.John MacFarlane
Units are optional but allowed.
2023-07-26SelfContained: don't coerce calculated width/height to Int.John MacFarlane
Fractional values are okay. See #8969.
2023-07-26SelfContained: fix calculation of svg width and height.John MacFarlane
We were computing width and height from viewBox incorrectly. See #8969.
2023-07-26Add clause for svg to default CSS for HTML.John MacFarlane
Suggested at #8969.
2023-07-25SelfContained: Improve inline SVGs.John MacFarlane
- Ensure that width and height attributes don't get specified twice is both the img tag and the svg include them. - Omit unnecessary attributes xmlns, xmlns:xlink, and version on svg element. - Use 20 character rather than 40 character hashes for generated IDs. Closes #8965.
2023-07-25Typst writer: escape `//`.John MacFarlane
So it doesn't get interpreted as a comment. Closes #8966.