summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-18Powerpoint writer: fix a corruption error...John MacFarlane
caused when the document used both a regular png and a png in a data URI. (Similarly for any other image format.) The problem was that duplicate entries in `[Content Types].xml` were being created, one for the mime type `image/png`, one for `image/png;base64`. Closes #9113.
2023-10-17LaTeX writer: fix rowspans in tables...John MacFarlane
...so they use the width of the column (`=` as the width parameter). Closes #9140.
2023-10-17LaTeX writer: don't treat table as "simple" if they have col widths.John MacFarlane
This should help fix a problem wherein some grid tables with colspans were overly wide. See #9140. The example given there still produces suboptimal output (overlapping text), so not closing yet.
2023-10-17JATS reader: fix handling of alt-text (#9134)Julia Diaz
Previously we were looking for an attribute that doesn't exist in JATS; alt-text is provided by a child element. Closes #9130.
2023-10-16Typst writer: escape `(`.John MacFarlane
If it occurs in certain contexts, it can be parsed as function application. Simplest thing to do is to escape it always. Closes #9137.
2023-10-16remove duplicates for Ext_raw_html and Ext_pipe_tablesTim Stewart
2023-10-16Handle empty cells correctly in creole reader. Fixes #9141Sascha Wilde
2023-10-12Typst writer: don't allow long heading to wrap.John MacFarlane
Closes #9132.
2023-10-08Fix incorrect abbreviation for astronomical unit (#9125)Michael McClurg
2023-10-05Man writer: Fix some spacing issues around links.John MacFarlane
See #9120. We need to use `\c` before a `.UR` or `.MT`, to avoid an extra space, and also after. To ensure that a space at the beginning of the following line doesn't get swallowed up, we escape it with `\`.
2023-10-05T.P.Shared.splitSentences: don't split after initials.John MacFarlane
This improves the man and ms writer output, preventing sentence breaks after initials.
2023-10-04Man writer: use UR, MT macros for URLs, emails.John MacFarlane
Closes #9120.
2023-10-04MANUAL: Clarify that formatting can't cross line boundaries...John MacFarlane
in line blocks. Closes #9119.
2023-10-03Markdown reader: Don't apply `--default-image-extension` to data URIs.John MacFarlane
Closes #9118.
2023-10-01Fix legacy option for citation (#9114)3w36zj6
Closes #8737.
2023-10-01Update et translationpriiduonu
2023-09-29Check if supplied FORMAT matches with an HTML slide deck value. Return True ↵James J Balamuta
for isRawHtml.
2023-09-29Updated Norwegian language translation filesStephan Daus
1) Renamed no.yaml (macrolanguage Norwegian) to nb.yaml (Norwegian Bokmål) 2) Created soft symbolic link from no.yaml pointing to nb.yaml.
2023-09-28stack.yaml: require lpeg-1.1.0Albert Krewinkel
2023-09-27Lua: Use the newest LPeg version (lpeg-1.1.*)Albert Krewinkel
Closes: #9107
2023-09-23Apply style to h6samuel-weinhardt
2023-09-23Format stylessamuel-weinhardt
2023-09-23Combine identical styles under shared selectorssamuel-weinhardt
2023-09-21JATS writer: fix 3.1.4 regression in handling block-level metadata.John MacFarlane
Closes #9092.
2023-09-20T.P.Shared: add addPandocAttributes function.John MacFarlane
[API change] This is meant to simplify addition of attributes to Pandoc elements; for elements that don't have a slot for attributes, an enclosing Div or Span is added to hold the attributes. Ideally this would live in pandoc-types, but for now we reuse some code from commonmark-pandoc.
2023-09-18Fix uneven indents in LaTeX line block output.John MacFarlane
Closes #9088.
2023-09-16HTML reader: parse task lists using input elements (#9066)Seth Speaks
Allow the HTML reader to parse task lists of the sort produced by pandoc. Closes #9047
2023-09-16update nix flake with depspiq9117
2023-09-14Markdown reader: More accurate check that a normalCite...John MacFarlane
...is not a link, bracketed span, or reference. See #9080.
2023-09-14Ms writer: improvements in image handling.John MacFarlane
See #4475. + PDFPIC is now used for PDF images in figures. + Inline images that are postscript or PDF are rendered using PSPIC or PDFPIC. This isn't ideal, because they will still be rendered as if in a separate paragraph, but it's probably better than just printing the image name. + Units are included in height. For further improvement, we might consider in Text.Pandoc.PDF using something like `convertImages` (which we currently use for converting to PDF via LaTeX) to convert SVG (and other?) images to PDF so they can be rendered in this way.
2023-09-13stack.yaml - add commonmark-extensions.John MacFarlane
2023-09-13Use latest texmath.John MacFarlane
This should improve math in powerpoint, fixing empty boxes around roots in some cases.
2023-09-13Require latest commonmark-extensionsJohn MacFarlane
2023-09-10LaTeX template: fix \CSLBlock vertical spaceJohn Purnell
2023-09-10Switch to actions/checkout@v4.John MacFarlane
2023-09-10Bump cachix/install-nix-action from 22 to 23 (#9074)dependabot[bot]
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-10Allow tasty 1.5.John MacFarlane
2023-09-10Fix changelog indentation.John MacFarlane
2023-09-09Update man page with correct version.John MacFarlane
2023-09-09Update AUTHORS.mdJohn MacFarlane
2023-09-08Bump to 3.1.8.John MacFarlane
2023-09-08Update manual and changelog.John MacFarlane
2023-09-08Remove extra tls in stack.yaml.John MacFarlane
2023-09-08Update tls version in stack.yaml.John MacFarlane
2023-09-08Depend on released texmath 0.12.8.2.John MacFarlane
2023-09-07Update default.csl to latest chicago-author-date.csl.John MacFarlane
2023-09-07LaTeX template: remove space around `\strut` in CSL commands.John MacFarlane
See #9058.
2023-09-07Fix typo in latex template.John MacFarlane
2023-09-07HTML writer: Fix CSL entry-spacing default.John MacFarlane
See #9058.
2023-09-07Fix default citeproc entry-spacing.John MacFarlane
According to the CSL manual, the default entry spacing is 1. We were treating it as 0. T.P.Citeproc: always include an entry-spacing attribute in the Div if the bibliography element contains an entry-spacing attribute (previously we omitted it when it was 0). LaTeX writer: use entry spacing 1 if no entry-spacing attribute is present. Update tests. See #9058.