Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

<et-al font-style="italic"/> not honoured #91

Closed
njbart opened this issue Nov 21, 2014 · 1 comment
Closed

<et-al font-style="italic"/> not honoured #91

njbart opened this issue Nov 21, 2014 · 1 comment
Labels

Comments

@njbart
Copy link
Contributor

njbart commented Nov 21, 2014

Using CSL styles with <et-al font-style="italic"/>, pandoc does not render the "et al." part of in-text citations in italics.

See http://citationstyles.org/downloads/specification.html#et-al

Example:

pandoc -s -F pandoc-citeproc -t markdown-citations << EOT

---
csl: taylor-and-francis-harvard-x.csl
#csl: genetics.csl
#csl: oxford-studies-on-the-roman-economy.csl
references:
- id: article
  type: article-journal
  author:
  - family: Doe
    given: John F.
  - family: Moe
    given: John F.
  - family: Xoe
    given: John F.
  - family: Yoe
    given: John F.
  title: Articletitle
  container-title: Journaltitle
  issued:
    date-parts:
    - - 2006
...

# Text

@article

# References

EOT

Expected output:

Text
====

Doe *et al.* (2006)

<div class="references">

References {#references .unnumbered}
==========

Doe, J.F., Moe, J.F., Xoe, J.F., and Yoe, J.F., 2006. Articletitle.
*Journaltitle*.

</div>

Actual output:

Text
====

Doe et al. (2006)

<div class="references">

References {#references .unnumbered}
==========

Doe, J.F., Moe, J.F., Xoe, J.F., and Yoe, J.F., 2006. Articletitle.
*Journaltitle*.

</div>
@jgm
Copy link
Owner

jgm commented May 5, 2015

Partial diagnosis: The emphasis is there after collapseCitGroups in the citeproc function, but missing after map (formatCitLayout s). It's being removed by the rmFormatting in localModifiers.

@jgm jgm added the bug label May 5, 2015
@jgm jgm closed this as completed in afb7b37 May 5, 2015
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants