John MacFarlane
John MacFarlane
OK, you can now try some working code in the pandoc `reset-position` branch. To reset citations ``` # My chapter heading {.reset-citation-positions} ``` We could alternatively use something like `reset-citation-positions=true`,...
OK, the code in `reset-position` branch now works, and I've added a test case and documentation. Feel free to check it out.
Merged in 777a916be683a40e9b5e17da25816917b6fb1208
Agreed, this is very awkward. It's not specific to pandoc or the Haskell djoths library. [Same result in the reference parser.](https://djot.net/playground/?text=3%3A13%3A33%0A&mode=ast&sourcepos=false) The syntax description says "Surrounding a word with :...
I'm open to suggestions. We could tighten up the requirements for a symbol, e.g. insisting that the colons are adjacent to whitespace, end of line or punctuation. Any change like...
> Is disallowing purely numeric symbols a practical solution or a hack asking to be exposed by a non-numeric counterexample? One of the motivations for symbols was to provide a...
Working version in branch issue156
This won't work for multiple pandoc versions unless you use CPP conditions in the code, so that the old API will be used for older pandoc versions. ``` #if MIN_VERSION_pandoc(3,8,0)...
``` pandoc test.json -f csljson -t native -s ``` will reveal: ```hs , Str "(XVI" , Superscript [ Str "e" ] , Str "\8211XVII" , Superscript [ Str "e" ]...
This transformation happens in Citeproc.CslJson. I'm assuming this was something I had to do to conform to the csl test suite, but I'm not entirely sure. If your issue is...