John MacFarlane

Results 104 issues of John MacFarlane

We should now be able to supply self-sufficient binaries for linux, windows, macos, since we're building these in CI. In principle we could also provide the compiled wasm, but it...

``` - a - b ``` yields ``` doc list (1:2:2-4:1:11) list_style="-" tight="true" list_item (1:2:2-2:2:7) para (1:4:4-2:1:6) str (1:4:4-1:4:4) text="a" list_item (2:2:7-4:1:11) para (2:4:9-2:5:10) str (2:4:9-2:4:9) text="b" references = {...

These should be easy to extract from the ```xml ``` element which is a direct child of w:tbl. The only complication is that we don't know the page width, so...

enhancement

https://us.mirrors.cicku.me/ctan/macros/latex/contrib/mathtools/mathtools.pdf is a package that extends/replaces amsmath. New things: ``` latex % Adjustment of spacing \mathllap[〈mathstyle〉]{〈math〉} \mathrlap[〈mathstyle〉]{〈math〉} \mathmbox{〈math〉} \mathclap[〈mathstyle〉]{〈math〉} \clap{〈text〉} \mathmakebox[〈width〉][〈pos〉]{〈math〉} \cramped[〈mathstyle〉]{〈math〉} \crampedllap[〈mathstyle〉]{〈math〉} \crampedclap[〈mathstyle〉]{〈math〉} \crampedrlap[〈mathstyle〉]{〈math〉} \begin{crampedsubarray}{〈col〉} 〈contents〉 \end{crampedsubarray} \crampedsubstack{〈lines separated...

Currently citationItem has citationItemPrefix/Suffix, but there is no way to provide a prefix or suffix for the whole Citation (group). For motivation see https://github.com/jgm/pandoc/issues/10894. Proposal: - Add `citationPrefix :: Maybe...

For background see https://github.com/jgm/citeproc/issues/155. This is definitely an issue I've run into in my own writing. It can be worked around by manually reordering citations. Currently prefixes and suffixes go...

enhancement

Now that the new col/rowspan and other fancy table features are getting implemented in some formats, it would be good to have a place where we document which features work...

docs

PDFs produced using latex are not accessible. We could introduce a command-line option that causes the latex writer to include annotations for math (perhaps using the unicode fallback or even...

format:LaTeX

This is a draft for comment. It adds a custom prelude without depending on relude. It is much more minimal, at the moment, than relude. It adds warnings to the...

The Prelude now longer exports partial functions, so a large number of uses of these functions in the code base have been rewritten. A .ghci file has been added; this...