You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add linking support in HTML. This would be a hacky and finicky change, and maybe should be in citeproc-js, but .
We want to support this (fun example from the citeproc-js docs):
<h1> The Discovery of Wetness </h1><p>
While it has long been known that rocks are dry<sup>[<ahref="#ref-a">1</a>]</sup> and that air is moist<sup>[<ahref="#ref-b">2</a>]</sup> it has been suggested by Source [<ahref="ref-c">3</a>] that water is wet.
</p><divclass="csl-bib"><h2class="csl-bib-title">References</h2><divclass="csl-bib-body"><divid="ref-a" class="csl-entry">[1] John Noakes, The Dryness of Rocks (1952).</div><divid="ref-b" class="csl-entry">[2] Richard Snoakes, The Moistness of Air (1967).</div><divid="ref-c" class="csl-entry">[3] Jane Roe, The Wetness of Water (2000).</div></div></div>
which looks like:
The Discovery of Wetness
While it has long been known that rocks are dry[1] and that air is moist[2] it has been suggested by Source [3] that water is wet.
References
[1] John Noakes, The Dryness of Rocks (1952).
[2] Richard Snoakes, The Moistness of Air (1967).
[3] Jane Roe, The Wetness of Water (2000).
Tasks
Splicing the anchors into the citation.
Can use citation.sortedItems to get the order, although collapse-able might make this hard
just link the first reference if collapsed
Splicing the id's into the bibliography
should be simple to put after the div, all of them start div class="csl-entry"
citeInText (hardest, will need even more hacks there...)
The text was updated successfully, but these errors were encountered:
We should add linking support in HTML. This would be a hacky and finicky change, and maybe should be in citeproc-js, but .
We want to support this (fun example from the citeproc-js docs):
which looks like:
The Discovery of Wetness
While it has long been known that rocks are dry[1] and that air is moist[2] it has been suggested by Source [3] that water is wet.
References
Tasks
citation.sortedItems
to get the order, although collapse-able might make this hardThe text was updated successfully, but these errors were encountered: