papercite icon indicating copy to clipboard operation
papercite copied to clipboard

certain tags simply don't get parsed...

Open belveder79 opened this issue 9 years ago • 1 comments

I wonder why the osbib parser does obviously not parse certain tags.

For example, the ArXiv tags are primaryClass, eprint, archive and archivePrefix.

techreport{bla1, title = "haha", author = "blub", institution = "bla", number = "1", year = "2015", archive = "", archivePrefix = "ArXiv", eprint = "12345.1234", primaryClass = "cs.HC" }

despite the standard tags, eprint is the only one which is parsed correctly, but archive, primaryClass and archivePrefix are not - so @archive@ is always empty, but @eprint@ is ok. I don't really get why... I added artificial entries like abcd, abcde and so on to abcdefghijklmn and they get parsed correctly...

belveder79 avatar May 07 '15 14:05 belveder79

Just an example: http://www.arth.co.at/?page_id=15 If you look at the bibtex source, the fields are all there; still, the way I create this reference now is a hack in ieee.tpl, doing something like this:

<format types="proceedings unpublished misc">
@?author@@author@, @;@
@?title@&lt;span style=&quot;font-style:italic&quot;&gt;@title@&lt;/span&gt;@;@
@?address@@address@:@;@@?publisher@@publisher@@;@@?year@, @year@@;@. 
@?eprint@<a href="http://arxiv.org/abs/@eprint@">@archivePrefix@arXiv:@eprint@</a>@;@
</format>

However, I would rather do something like this, which is according to the :

<format types="proceedings unpublished misc">
@?author@@author@, @;@
@?title@&lt;span style=&quot;font-style:italic&quot;&gt;@title@&lt;/span&gt;@;
@@?address@@address@: @;@@?publisher@@publisher@@;@@?year@, @year@@;@. 
@?eprint@
@?archive@
<a href="@archive@/@eprint@">
@?archivePrefix@
    @archivePrefix@:
@:archivePrefix@ 
    empty!
@;archivePrefix@
@eprint@
@?primaryClass@
    [@primaryClass@]    
@:primaryClass@
    empty!
@;primaryClass@
</a>
@:archive@
<a href="http://arxiv.org/abs/@eprint@">
@?archivePrefix@
   @archivePrefix@:
@:archivePrefix@ 
    empty!
@;archivePrefix@
@eprint@
@?primaryClass@
 [@primaryClass@]   
@:primaryClass@
    empty!
@;primaryClass@
</a>
@;archive@
@;@
</format>

belveder79 avatar May 07 '15 21:05 belveder79