[OS X TeX] converting crossref - getting OT
Alex Hamann
Alexander.Hamann at stud-mail.uni-wuerzburg.de
Mon Jul 23 09:43:01 CEST 2007
Am 22.07.2007 um 17:30 schrieb Adam R. Maxwell:
>
> On Jul 22, 2007, at 08:05, Charilaos Skiadas wrote:
>
>> On Jul 22, 2007, at 7:50 AM, Alex Hamann wrote:
>>
>>> Hi,
>>>
>>> I have a number of incollection entries in my bibliography which
>>> have been created with crossrefs.
>>> Now I ran into the problem that jurabib.bst offers a certain
>>> formating options for incollection items which apparently do not
>>> work if there is a crossref (I am referring to the edby option).
>>> Is there an easy way to convert all the incollections with
>>> crossrefs to incollections without crossrefs? Just deleting the
>>> crossref field for all of them will not do it since that will
>>> cause the loss of the information from the parent item.
>>>
>>
>> This sounds like something that a search and replace with regular
>> expressions should be able to do easily, but since I don't know
>> how the entries before and after the conversion should look like I
>> can't really offer more precise suggestions. Could you post some
>> "before" and "after" examples?
>
> You'd need to do it with AppleScript, since the child item only has
> a pointer (crossref) to its parent for certain fields. So you can
> have
Sorry for taking up the opportunity to ask a completely OT question:
All you AppleScript wizards out there: is there a good (free)
tutorial you'd recommend to a beginner? (I know there are some on the
internet but I'd like to hear some first hand experience)
alex
>
> @proceedings{bigconference2006,
> Editor = {Freely, Ivan P.},
> Organization = {Very Little Organization (VLO)},
> Title = {Big Conference},
> Year = {2006}}
>
> @inproceedings{beer:2006,
> Author = {Beer, Anita},
> Booktitle = {Big Conference},
> Crossref = {bigconference2006},
> Title = {This is an example}}
>
> which BibTeX/LaTeX will display as:
>
> Beer, A. (2006). This is an example. In Freely (2006).
> Freely, I. P., editor (2006). Big Conference. Very Little
> Organization (VLO).
>
> In this contrived example, you'd need to copy the editor,
> organization, and year fields from the @proceedings parent to the
> @inproceedings child entry, and delete the crossref field from the
> child. You'd also want appropriate checks for empty/non-empty fields.
>
> --
> adam
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list