Export Case item type to BibTeX

Hello,


I have Zotero 2.0.9 on MacOS X 10.6. I have downloaded the AGLC (Australian Guide to Legal Citations) style.


In my database I have an entry with an item type set to 'Case'. It is a link to a case on the lawlink.nsw.gov.au website. When I export the entry to BibTex the entry is saved as a 'misc' entry as such:



@misc{_dee-tech_2010,
title = {{Dee-Tech} Pty Ltd \& Anor v Neddam Holdings Pty Limited [2010] {NSWCA} 374},
volume = {374},
copyright = {{/Lawlink/Corporate/ll\_corporate.nsf/pages/LL\_Homepage\_disclaimer}},
url = {http://www.lawlink.nsw.gov.au/scjudgments/2010nswca.nsf/09da2a0a2a27441dca2570e6001e144d/4f251b1750d4c08eca2577ff007da791?OpenDocument},
month = dec,
year = {2010}
},

Shouldn't the type be @case or @jurisdiction instead of @misc? I noticed websites also come out as @misc. Shouldn't they be something more specific? Reason I ask is that I use AGLC LaTeX macros that use this type to split up the bibliography as per AGLC requirements. It won't work if Zotero exports most stuff as @misc.

Am I wrong to assume that the item type should translate to the bibtex type?

Mark

  • The current translator strives to follow the standard make explicit in BibTeXing and follow convnentions that are used by other popular BibTeX-based software. 'jurisdiction' is an unsupported type in BibLaTeX and I don't know if I've seen 'case' used (including in the sample AGLC BibLaTeX database). We might be able to better-handle popularly-used types, but I'm not sure how we'd get good consensus on rarely-used types: most Bib(La)TeX styles would ignore most types if Zotero used the literal item type in BibTeX export.
  • That makes sense.

    In which case, how would I be able to distinguish that a @misc entry is actually a case? I was hoping not to fiddle with the keys (_dee_tech_2010) as zotero generates these. There's nothing in the entry above to indicate it is a case either.

    Secondly you mention the 'sample AGLC BibLaTeX database'. What database do you refer to?

    Thanks

    Mark
  • In which case, how would I be able to distinguish that a @misc entry is actually a case?
    Right now, you don't. Your best work-around would probably be to modify the BibTeX exporter to suit your needs. Your next best would be to leave a tag or note that would be exported in the stock exporter & you can post-process the zotero-produced output. We'd of course be receptive if you have suggestions that satisfy the goal of maximizing compatibility of Zotero-generated BibTeX, but would still put additional useful information in the file.
    Secondly you mention the 'sample AGLC BibLaTeX database'. What database do you refer to?
    http://willhardy.com.au/files/lawessay/bibliography.bib
    [ linked to from http://willhardy.com.au/aglc-and-latex/ ]
  • So we're referring to the same database then. Good.

    Will's database has '@jurisdiction', '@legislation' and '@legal' entries. None of these are standard BibTeX entries right?

    This is what got me started actually. I've been working on Will's AGLC style to get it working with the current version of LaTeX. It (kind of) works now and the next part was to feed it data. But it seems that Will is using custom entries in his database. So, for the moment at least, it means I need to manually mantain my bibliography instead of feeding it info from Zotero (or anything else). At the least I'll need to split my bibliography into standard (articles, books etc) and non-standard (cases, legislation etc) databases.

    Mark
    PS: Will recently posted his AGLC source to github. Check out https://github.com/willhardy/aglc
  • Will's database has '@jurisdiction', '@legislation' and '@legal' entries. None of these are standard BibTeX entries right?
    Correct. They are enumerated as unsupported BibLaTeX types. This means they didn't come from thin air, but (even in BibLaTeX) "when using the standard styles, they will ... be ignored".
Sign In or Register to comment.