lierdakil / pandoc-crossref

Pandoc filter for cross-references
https://lierdakil.github.io/pandoc-crossref/
GNU General Public License v2.0
924 stars 74 forks source link

N-dash for range instead of hyphen #85

Open danil-tolkachev opened 8 years ago

danil-tolkachev commented 8 years ago

pandoc-crossref uses hyphen for range of labels (citation like [@fig:1; @fig:2; @fig:3]). pandoc-citeproc uses N-dash for same purpose. I think using N-dash is more common practice.

lierdakil commented 8 years ago

You're aware that you can use rangeDelim to set it to anything you want, right? IIRC I've opted for hyphen by default since it's ASCII.

danil-tolkachev commented 8 years ago

Thank you. I just noticed inconsistent with pandoc-citeproc and forget about rangeDelim.

sjackman commented 7 years ago

The YAML configuration to use an en dash is

rangeDelim: "–"
sjackman commented 5 years ago

See https://github.com/lierdakil/pandoc-crossref/issues/101