Open cambraca opened 3 years ago
Hi @cambraca! For me, the question is what does the CSL specification intend in this case? Have you looked at this?
@cambraca @seboettg It is not an issue of cite-proc. The number is a part of American Medical Association style specification. You can use a different CSL style which does not render a citation number or as a workaround hide it with css.
It would be helpful to render a single bibliographic item without the list format applied, for cases when it is not used in a list, but see the CSL rub. Any idea how to preprocess the csl on the way in to suppress this reliably?
Question:
Is there a way to get a single bibliography item without the number? E.g. for this example, I get the following HTML:
But I'd like the following (maybe even without the "csl-entry" div):
(Note that not all styles produce these numbers)
One option could be to parse the result as XML in PHP and remove the ".csl-left-margin" element, but I'm wondering if there's a cleaner and more "correct" way of doing this.
Used CSL stylesheet:
american-medical-association.csl
Used CSL metadata