Commit Graph

18158 Commits

Author SHA1 Message Date
John MacFarlane 8e327ea4e3 DocBook writer: use literallayout element for LineBlock.
See #10825.
2025-05-08 11:28:00 -07:00
John MacFarlane 60b4011902 DocBook reader: improve handling of literallayout.
This is now only made a CodeBlock when there is a `monospaced`
class.

Otherwise it is made a LineBlock.

Closes #10825.
2025-05-08 11:19:54 -07:00
John MacFarlane 6a1679921b Declare git in flake.nix
Otherwise it isn't found when we look for it in the Makefile.
2025-05-08 11:19:54 -07:00
Niklas Eicker 82ff661b1a Mention in the docs, that typst:no-figure is a class, not an attribute (#10826) 2025-05-07 14:56:29 -07:00
John MacFarlane 379bc43cfa flake.nix - include commented out example of overrides. 2025-05-04 12:50:46 -07:00
John MacFarlane 07172ed07d New working flake.nix. 2025-05-04 10:57:22 -07:00
John MacFarlane bd43f4ec93 Use released texmath 0.12.10. 2025-04-29 14:51:45 -07:00
Manolis Stamatogiannakis 7f9c776b97 Plain writer: Support the four_space_rule extension. (#10813)
Allows using `-t plain+four_space_rule` to emulate the output of pandoc
before #7172. This is useful for users that use pandoc e.g. to
autoformat commit messages.
2025-04-28 16:06:31 -07:00
John MacFarlane 8e9d90504c Typst writer: handle equation labels with spaces.
Closes #10805.
2025-04-26 17:32:45 -07:00
John MacFarlane fb5499d7af Typst writer: add equation label if math contains \label{..}.
Closes #10805.
2025-04-25 22:39:56 -07:00
Olivier Benz a32a9ff7e9 Revert "Use int-native subtagged image (#10799)" (#10804)
This reverts commit a14997f92e.
2025-04-25 08:04:07 -07:00
John MacFarlane 8864ad0ec0 COPYRIGHT: fix link to source code. 2025-04-23 16:32:48 -07:00
Olivier Benz a14997f92e Use int-native subtagged image (#10799) 2025-04-23 10:39:33 -07:00
John MacFarlane ec08f03782 OpenDocument writer: fix character styles in footnotes.
Character styles governing the position of the footnote
reference should not be imposed on the footnote text.
Closes #10791.
2025-04-18 10:47:47 -07:00
John MacFarlane 48f881d746 Use latest dev texmath. 2025-04-15 14:05:09 -07:00
John MacFarlane c41d41c0e9 Use latest dev texmath. 2025-04-15 13:54:19 -07:00
John MacFarlane 538249eadf Use latest dev texmath. 2025-04-15 10:41:15 -07:00
John MacFarlane da00a9c628 Use latest dev texmath. 2025-04-15 09:34:32 -07:00
John MacFarlane 3cf722011a LaTeX reader: support more symbol commands.
Closes #10782.

`\textbaht`, `\textblank`, `\textbigcircle`, `\textbrokenbar`,
`\textbullet`, `\textcentoldstyle`, `\textcopyright`, `\textdagger`,
`\textdegree`, `\textdollar`, `\textdong`, `\textlira`, `\textmu`,
`\textmusicalnote`, `\textonehalf`, `\textonequarter`,
`\textparagraph`, `\textpertenthousand`, `\textpeso`,
`\textquotesingle`, `\textregistered`, `\textsection`,
`\textsterling`, `\textthreequarters`, `\textthreesuperior`,
`\texttwosuperior`, `\textyen`.
2025-04-14 10:45:00 -07:00
John MacFarlane 47610fe3de LaTeX reader: disable ligatures inside \texttt.
Closes #10781.
2025-04-14 10:23:26 -07:00
John MacFarlane 01b7612a9d MANUAL: for pandoc lua, add note about the environment. 2025-04-11 09:33:07 -07:00
John MacFarlane c2482b9107 LaTeX writer: make alignment work within multirow in tables.
Closes #10772.
2025-04-09 22:38:43 -07:00
John MacFarlane c589a89d8f Tweaks to release process. 2025-04-09 11:22:43 -07:00
John MacFarlane 4676f4e5b4 Release checklist: more LOG.md improvements. 2025-04-09 10:24:36 -07:00
John MacFarlane fe9b71185d Release checklist - minor tweak to LOG.md format. 2025-04-09 10:02:06 -07:00
John MacFarlane 6ab06422c6 More release checklist improvements (changelog). 2025-04-09 09:40:13 -07:00
John MacFarlane c5aeac9833 More release checklist automation. 2025-04-09 09:09:17 -07:00
John MacFarlane a874b9603c RELEASE-CHECKLIST-TEMPLATE.org - more automation. 2025-04-09 08:59:44 -07:00
John MacFarlane 6b00538225 RELEASE-CHECKLIST-TEMPLATE.org: calculate changed-packages. 2025-04-08 15:55:09 -07:00
John MacFarlane c1cb32b3ab Docx writer: don't renumber rels. (#10770)
This fixes a regression introduced by af57648.

We used to renumber the Relationships so they didn't conflict with
the set of fixed Relationships we imposed.

We are now preserving the ids from the reference doc's
document.xml.refs, so we shouldn't renumber them or references
introduced by the user (e.g. in a template) will fail.

Closes #10769.
2025-04-08 15:00:16 -07:00
John MacFarlane 961b5642a2 Improve 'make authors'. 2025-04-08 14:52:24 -07:00
John MacFarlane 97a5285a4f RELEASE-CHECKLIST-TEMPLATE.org: minor changes. 2025-04-08 13:44:28 -07:00
John MacFarlane 65c25d6c64 Fix link in RELEASE-CHECKLIST-TEMPLATE.org. 2025-04-08 13:33:25 -07:00
John MacFarlane 8303783a69 Makefile: rename version -> VERSION. 2025-04-08 13:27:52 -07:00
John MacFarlane 836ef914bc Minor Makefile syntax. 2025-04-08 13:24:34 -07:00
John MacFarlane 582cf1d8bc add STARTUP: content to RELEASE-CHECKLIST-TEMPLATE.org. 2025-04-08 13:11:40 -07:00
John MacFarlane 2618869397 Improve RELEASE-CHECKLIST-TEMPLATE.org. 2025-04-08 09:20:20 -07:00
John MacFarlane 0fb143b1d1 RELEASE-CHECKLIST-TEMPLATE.org - steps towards automation. 2025-04-07 13:10:50 -07:00
John MacFarlane 20b2e5ff4e Add Makefile target release-checkist.
Make RELEASE-CHECKLIST.org into RELEASE-CHECKLIST-TEMPLATE.org.
The makefile target will fill in version numbers in this template.
2025-04-07 11:53:36 -07:00
John MacFarlane dd057deeef Make RELEASE-CHECKLIST an org file. 2025-04-07 10:33:41 -07:00
John MacFarlane 109d13d143 Recognize en as a langid in biblatex bibliographies.
Closes #10764.
2025-04-07 08:53:18 -07:00
John MacFarlane af57648e58 Docx writer: preserve Relationships for images from reference docx.
This should allow one to include an image in a reference.docx and
reference it in an openxml template.

Closes #10759.
2025-04-05 13:48:46 -07:00
John MacFarlane f8f7c29fb8 Allow compilation with random 1.2.*. 2025-04-05 12:31:40 -07:00
John MacFarlane 0d2114ee4e Markdown writer: improve use of implicit figures when possible.
Closes #10758.

When the alt differs from the caption, but only as regards
formatting, we still use an implicit figure.
2025-04-05 11:32:29 -07:00
John MacFarlane 0cf41697c5 MANUAL.txt: remove "Body Text Char" from list of Word styles...
that can be customized using a reference.docx. This doesn't seem
to be present in pandoc-generated docx files, nor is it a Word default.

Closes #10646.
2025-04-04 21:55:51 -07:00
John MacFarlane 2155b5f9bc Markdown writer: render a figure with Para caption as implicit figure.
Also, when falling back to a Div with class `figure` for a figure
that can't be represented any other way, include a Div with class
`caption` containing the caption.

Closes #10755.
2025-04-04 10:16:23 -07:00
John MacFarlane 84946bf819 MANUAL.txt: add note that alerts extension only works with commonmark.
See #9716.
2025-04-04 10:06:03 -07:00
John MacFarlane 82668ff9aa Typst writer: support mark class on spans.
Closes #10747.
2025-04-01 15:35:22 -07:00
John MacFarlane 69feb5ea9a Ms writer: ensure no line breaks in '.pdfhref O'. 2025-03-31 20:42:42 -07:00
John MacFarlane 2a53e25fac JATS writer: fix escaping for writing-review-editing role.
Closes #10744.
2025-03-31 14:11:34 -07:00