Need help editing or creating a new style.

I'm creating a footnote from a book on Archive.org. The footnote that Zotero creates (after slight modification) is:

David Fellows More and Charles Church More, History of the More Family, and an Account of Their Reunion in 1890 (Binghamton, N. Y.: Samuel P. More, 1893), 289–332, http://archive.org/details/cu31924029842923.

The footnote I need is:

David Fellows More and Charles Church More, History of the More Family, and an Account of Their Reunion in 1890 (Binghamton, N. Y.: Samuel P. More, 1893), 289–332; digital images, Internet Archive (http://archive.org : accessed 10 June 2013).

The changes needed are right after the page numbers.

I've looked through the Chicago (full note) XML, and at the Visual CSL Editor, but my programming days started with 8080 Assembler and ended when everything was going Visual, so XML is not my forte. I can understand it, and probably duplicate what I need, but have no idea where I need to make changes.

If someone can perhaps give me an idea of the code I need and where I need to insert it, I can probably figure it out. This is something used by genealogists, so if I can get it working I can add it to the library for others to use. I'm in my 70s and genealogy is my priority, not learning new code. But, old habits are hard to break. Any help would be appreciated. I suppose I would need a field to define image or transcript, then a conditional to handle it. I think if I can understand the citation, I can probably transfer that to the bibliography.
  • The first question would be where you would want to enter "digital images" and "Internet Archive" in the data.
    The latter could either go into Library Catalog or into the Archive field. The former is trickier - when do you refer to something as "digital images"? Would that be every electronic copy of a book?
    Finally, CSL isn't able to truncate URLs, so you'd have to do that in the Zotero data or keep the full URL in the citation.

    But more generally speaking, adding these types of changes to a complex style like Chicago isn't simple. It would take me >30mins to do it myself and it'd take me probably >1h to write up usable instructions. I can help with more specific questions/problems if you start out doing this yourself, but there simply isn't enough time to customize styles for users.
  • I put Internet Archive into the Archive field, but it doesn't show up in either the citation or bibliography. So that would be the first thing to look at. I'll look through the code and see if I can find where I might be able to make that work.

    A digital image is an actual image of the book such as at IA or Google Books. Adding a field is probably not an option, but maybe the Extra field could be used.

    If it would take you 30 minutes to an hour, it will probably take me the better part of a week to figure it all out. I'm hoping that someone out there in user land has done something like this and can give me some pointers.
  • archives are not printed for the item types listed in the line
    <else-if type="article-journal bill book chapter legal_case legislation motion_picture paper-conference" match="none">
    (which occurs twice - once for notes, once for the bib).
    mapping from Zotero fields to csl variable is here:
    http://aurimasv.github.io/z2csl/typeMap.xml

    the basic principles aren't all that complicated - there is nothing more complex than a simple if -- else if -- else loop, occasionally nested, in the style, but there is a lot going on, so it takes time tracking down what happens where and what are you changing when you change any given macro.
  • To play the devil's advocate: I am not really sure if all this is necessary. After all, you are only citing a book. I don't think that it matters if the book is on paper, or scanned (as long as text, and page boundaries are not affected). You wouldn't include the call number in your university library to your bibliography either would you?
Sign In or Register to comment.