John MacFarlane

Results 2554 comments of John MacFarlane

Now that we have the native Unicode superscripts coming through in pandoc, can we close this issue? We are still generating the `` tags for CSL JSON, for purposes of...

This is the function that reads a bibtex/biblatex file. Let me know if you need more guidance. https://github.com/jgm/pandoc/blob/main/src/Text/Pandoc/Citeproc/BibTeX.hs#L63-L81

Actually it looks like we have some support for `ids`: https://github.com/jgm/pandoc/blob/main/src/Text/Pandoc/Citeproc/BibTeX.hs#L375-L377 https://github.com/jgm/pandoc/blob/main/src/Text/Pandoc/Citeproc/BibTeX.hs#L638-L640 So the `ids` field is parsed into a field `other-ids` in a `Reference`. It may be that we...

Looking at the `citeproc` code, I see no support for `other-ids`. It seems not to be a standard CSL variable. We could add support for it here, but it would...

Yes, we could do it this way, but it would require some futzing with the way styles are now generated. What about the other option: simply assigning both Paragraph and...

We do use multiple styles, though. E.g. for block quotes. ``` hi ```

Hm. Wouldn't we also need to say what`Blockquote > FirstParagraph` is based on? (And so on?)

Block quotes can't be nested inside paragraphs. So you should only have FirstParagraph at the end of one of these sequences.

OK, I have implemented a system where FirstParagraph is based on Paragraph x > y > FirstParagraph is based on x > y > Paragraph etc. Please test this thoroughly!

I'm very unsure about whether to merge this one. As noted above, it doesn't really help much unless we make another change to citeproc, which might break current documents. And...