John MacFarlane

Results 2365 comments of John MacFarlane

Note: if this were to be done in pandoc itself, then pandoc-citeproc would have to return the keywords along with the bib entries. Alternatively, the sorting could be done in...

Here we're implementing CSL, which up to now didn't have any concept of an author-only citation. When that changes (and I think there are current discussions on this issue), we...

I didn't know about word substitution rules (these are probably newer than our code for handling abbreviations, which is quite old). Is there comprehensive documentation of the abbreviations.json format somewhere?

I'd love to get comments from CSL people on how this should be handled. @bdarcus is it correct that citeproc.js just leaves curly quotes alone and doesn't do quote flip-flopping...

> In citeproc-js, the quote chars recognized beyond straight-quotes depend on the language field value (in ISO) of the item. So guillmet in a title of an "en" item will...

OK, thanks for this. I have to look into this, but I suspect the reason the guillemets aren't being recognized is that the locale file has ``` xml «   »...

Same with italics, or different? (OK, I can see it would be the same.)

We're not trying to detect final punctuation (which we could do in a unicode-friendly way using `isPunctuation`). We're looking for certain specific punctuation marks. We don't want to remove periods...

Some possible solutions: - modify the LaTeX reader so that the pair `\8222`...`\8220` triggers a `Quoted` element. This *should* be pretty safe, but I'm not sure if there are locales...

> At least in LibreOffice, all German text is marked by the spellchecker, so it seems the document uses English as the default language. This is likely something that can...