-
-
Save andriusvelykis/d522716335bd9a66577d to your computer and use it in GitHub Desktop.
Page label issue in citeproc-ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" | |
class="in-text"> | |
<info> | |
<title>Output just pages</title> | |
<id>pages-test</id> | |
<updated>2014-01-27T18:01:24+00:00</updated> | |
</info> | |
<macro name="author-short"> | |
<names variable="author"> | |
<name form="short"/> | |
</names> | |
</macro> | |
<macro name="author"> | |
<names variable="author"> | |
<name name-as-sort-order="all" initialize-with=". "/> | |
</names> | |
</macro> | |
<macro name="issued"> | |
<date variable="issued"> | |
<date-part name="year"/> | |
</date> | |
</macro> | |
<citation> | |
<sort> | |
<key macro="issued"/> | |
<key macro="author-short"/> | |
</sort> | |
<layout prefix="(" suffix=")" delimiter="; "> | |
<text macro="author-short"/> | |
<text macro="issued" prefix=" "/> | |
</layout> | |
</citation> | |
<bibliography> | |
<layout suffix="."> | |
<group delimiter=" "> | |
<label variable="page"/> | |
<text variable="page"/> | |
</group> | |
</layout> | |
</bibliography> | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@article{greenwade93, | |
author = "George D. Greenwade", | |
title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})", | |
year = "1993", | |
journal = "TUGBoat", | |
volume = "14", | |
number = "3", | |
pages = "342--351" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See here: https://gist.github.com/inukshuk/8657987