John MacFarlane

Results 2554 comments of John MacFarlane

In your first example, this is just the difference between two unicode en-dashes and two latex ligatures for en-dash (`--`). Your second example I don't understand. When I use `pandoc...

`citeproc` itself knows nothing about headings or other elements of document structure. It just takes in a list of citations and references and produces formatted citations and bibliography. https://github.com/jgm/citeproc/blob/master/src/Citeproc.hs#L25-L33 One...

The problem I'm seeing with this is that pandoc shouldn't be responsible for doing things that are supposed to be controlled by a style. So let me revise my earlier...

Can you remind me what the CSL elements are that are sensitive to subsequent status?

Note to self: it would suffice to empty out stateNoteMap and stateLastCitedMap. That would reset all subsequent/ibid calculations. If something more fine-grained were needed, e.g. resetting ibid but not subsequent,...

The position is calculated by `getPosition`, based on the citation group number, the note number if present, and the item's position in the citation. Much of the calculation depends on...

I don't think the heuristic you suggest, resetting ibid at each paragraph boundary, will work well. In a piece of writing that is discussing a single work for a long...

The `issue160` branch contains code adding `citationResetPosition`. So far no tests and no pandoc integration.

It seems a bit weird to have this global processing instruction (rest positions for all items) as a field of a Citation. However, this is necessary if we want to...

Beginnings of pandoc changes in pandoc branch `reset-position`. However, I have run into a problem. In the Citeproc module pandoc actually doesn't know whether the top-level headers correspond to sections...