Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

certain tags simply don't get parsed... #108

Open
belveder79 opened this issue May 7, 2015 · 1 comment
Open

certain tags simply don't get parsed... #108

belveder79 opened this issue May 7, 2015 · 1 comment

Comments

@belveder79
Copy link

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
Copy link
Author

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants