Re: Several Questions concerning formatting
"Katrin Althans" <[email protected]> Sat, 21 Oct 2006 11:21:10 -0000
| Newsgroups | gmane.comp.tex.bibtex.jurabib.user |
|---|---|
| Message-ID | <[email protected]> |
> I don't understand: Now you got the desired result without jox.bst?
> I thought you'd need the parentheses?
Ok, I try to explain, please tell me if there are any faults in my
line of reason:
After having read a couple of posts, I figured out that global
commands are defined in the jurabib.sty, and those commands are valid
for both footnotes & bibliography. I can change those global commands
by using \AddTo\bibsenglish{%} and renewcommand*, the new ones being
valid globally again. BUT: with \addto\jbonlyforbib{%}, I can redefine
every command through using \renewcommand* (well, I first used
DeclareRobustCommand, because I don't know the differences, but
guessing from their names, the renewcommand sounds less dangerous...
-> what are the differences?) for the bibliography only, not touching
the footnotes. Now, if the global setting is without parentheses, I
added \renewcommand*{\bibapyldelim}{(} and
\renewcommand*{\bibapyrdelim}{)} and later on changed that back to
\renewcommand*{\bibapyldelim}{} and \renewcommand*{\bibapyrdelim}{}.
Whenever I found something I wanted to change (a dot or anything), I
looked into the .bst and searched for the function I wasn't satisfied
with. Then I trace the formats back and have a look at which \command
is used (for dots, fonts, etc.). These I searched in the jurabib.sty
in order to get to know their definition. To get to know what they
change, I redefined them into something like "idiot", which I could
search in the pdf. That's how I work my way through the almost perfect
MLA-style. I am perfectly aware of the fact that renewcommanding
something might have the desired effect in one case but an undesired
one in others, that's why I defined some commands of my own in my
.tex-file and entered them into the tweaked .bst-file. E.g., I defined
a command to be used for revised editions, as I needed it as rev. ed.
in footnotes and as Rev. ed. in the bibliography.
I hope all this is ok, as I don't change the original .bst-files and
come to the result I need, at least for the most common kinds of
literature out there. Though I have to admit, I didn't test the more
complicated ones yet.
> > 1) the \jbbstasep is written in the same font [...]
> I cannot reproduce this.
Yeah, I didn't make myself too clear. It's not the case in the first,
full, citation, but in the short ones coming after that.
> > 2) [...] how to exchange editor and title in edited books [...]
> This sounds strange; you want to have the title first and the editor
> after the title? What about an author like in Ashcroft2000?
Charles actually made me aware of my error: It works fine with books
that only have editors, which I didn't test. I wanted to use it for a
book which has an author AND an editor (take Shakespeare as an
example, you'll only get editions today, with the editor being an
important factor, but the author you'll search for in a bibliography
is still Shakespeare), and for that one neither tweaking the old nor
the beta .bst works. But: I was in fact redirected from
http://groups.yahoo.com/group/jurabib/message/73, which I tested when
I still used jox. And Jens' tip for changing jox (now implemented into
the beta, I think) did what I wanted it to do. Here
http://de.pg.photos.yahoo.com/ph/luebbi1st/detail?.dir=f411scd&.dnm=7830scd.jpg
is a jpg of my problems, as it is hard to explain: if a book has only
editor(s) OR author(s), they should be first, but if a book as both,
it should be author - title - titleaddon - Ed. editor (written as
Firstname Surname, no matter whether in footnotes or in the
bibliography) - series number - APY. I would use incollection, but I
need the title in italics and no quotation marks.
> > 3) again the edited book [...]
>
> This is the same problem link 2) isn't it?
No, have a look at the jpg.
> > 4) which sequence controls the optional []-argument [...]
>
> ???
If you write \footnote{Cf. \cite[50]{source}}, you don't anything
after 50, and I just thought there would be a command controlling this
to save me some writing, but it's nothing vital.
> > , I copied that other post verbatim and inserted a comma:
>
> The punctuation is not so easy as it seems.
>
> > "#1,"%
It worked for me, what is it I changed with inserting the comma here
and didn't consider?
> Renewcommanding is not so easy as it seems. You are redefining a
> lot, but this can have some unexpected side-effects.
Would I notice those side-effects when compiling the pdf, something
like errors, warnings, etc., or are those side-effects that suddenly
produce a comma in a place you'd never expected it? And now that we
are at redefining: is it correct to use \Bibbtesep instead of
\bibbtesep for defining the separator between 2 editors in the footnotes?
Cheers, Katrin
Here's the minimal example that produced the result seen in the jpg:
\documentclass[12pt, oneside, a4paper, BCOR14.5mm, DIV12, headsepline,
normalheadings]{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx,textcomp,booktabs,amsmath}
\usepackage[UKenglish]{babel}
\usepackage[onehalfspacing]{setspace}
\usepackage[includehead, top=1.7cm, bottom=3.4cm]{geometry}
\usepackage{jurabib}
\jurabibsetup{
authorformat={citationreversed,reducedifibidem,firstnotreversed},
%---->Vorname Name in FußnotenName, Kurzzitat bei Wiederholung,
Vorname beim ersten Autor im Literaturverzeichnis
citefull=first, %---->erstes Fußnotenzitat als Vollzitat
edby=true
}
\AddTo\bibsenglish{%
\renewcommand*{\jbauthorfont}{\textsc} %---->smallcaps authors
\renewcommand*{\jbbtasep}{ and } %---->between 2 authors
\renewcommand*{\jbbfsasep}{, } %---->between 1st & 2nd author
\renewcommand*{\jbbstasep}{, and } %---->between 2nd & 3rd author
\renewcommand*{\bibapyldelim}{(} %---->parentheses open
\renewcommand*{\bibapyrdelim}{)} %---->parentheses close
}
\addto\jbonlyforbib{%
\renewcommand*{\bibapyldelim}{} %---->no parentheses in bibliography
\renewcommand*{\bibapyrdelim}{} %---->no parentheses in bibliograph
\renewcommand*{\bibbtasep}{ and } %---->between 2 authors
\renewcommand*{\bibbfsasep}{, } %---->between 1st & 2nd author
\renewcommand*{\bibbstasep}{, and } %---->between 1st & 2nd editor
\renewcommand*{\bibbtesep}{ and } %---->between 2nd & 3rd author
\renewcommand*{\bibbfsesep}{, } %---->between 1st & 2nd editor
\renewcommand*{\bibbstesep}{, and } %---->between 2nd & 3rd editor
}
\begin{document}
\bibliographystyle{jurabib}
Incollection for the first time\footnote{Cf. \cite{Ashcroft2000}}
Incollection for the second time, thus producing a short
citation\footnote{Cf. \cite{Ashcroft2000}}
A book by an author already cited\footnote{Cf. \cite{Ashcroft2001}}
A book by another author which doesn't actually exist but I need the
author later on...\footcite{Luckhurst2001}
... in order to use the author twice. This time a journal
article\footcite{Luckhurst2002}
Journal article for the second time in order to get a shorttitle
citation\footcite{Luckhurst2002}
A book by three authors\footnote{Cf. \cite{AGT2002}}
And this is the edited book, originally written by Thackeray in 1848
and now in use in the Penguin version edited by
Carey\footnote{\cite{Thackeray1848}}
Now the book by three authors again, here the ``and'' is in the same
font as the authors\footnote{Cf. \cite{AGT2002}}
A book by two authors, for a test\footcite{AG2002}
In order to get the short citation\footcite{AG2002}; same problem as
in footnote 9
\bibliographystyle{jurabib}
\bibliography{literatur}
\end{document}
@INCOLLECTION{Ashcroft2000,
author = {Ashcroft, Bill},
title = {Resistance and Transformation},
booktitle = {English Literatures in International Contexts},
publisher = {Winter},
year = {2000},
editor = {Antor, Heinz and Stierstorfer, Klaus},
address = {Heidelberg},
pages = {15-27}
}
@book{Ashcroft2001,
author = {Ashcroft, Bill},
title = {Postcolonial Transformation: all about it},
year = {2001},
publisher = {Routledge},
shorttitle = {Postcolonial Transformation},
address = {London}
}
@book{AGT2002,
author = {Ashcroft, Bill and Griffiths, Gareth and Tiffin, Helen},
title = {The Empire Writes Back},
gender = {pm},
titleaddon = {1989},
edition = {2},
year = {2002},
publisher = {Routledge},
shorttitle = {The Empire Writes Back},
address = {London}
}
@book{AG2002,
author = {Ashcroft, Bill and Griffiths, Gareth},
title = {The Empire Writes Back},
gender = {pm},
titleaddon = {1989},
edition = {2},
year = {2002},
publisher = {Routledge},
shorttitle = {The Empire Writes Back},
address = {London}
}
@article{Luckhurst2002,
author = {Luckhurst, Roger},
title = {The Contemporary London Gothic and the Limits of the
Spectral Turn},
journal = {Textual Practice},
gender = {pm},
year = {2002},
volume = {16},
pages = {527-46},
number = {3},
shorttitle = {Spectral Turn}
}
@book{Luckhurst2001,
author = {Luckhurst, Roger},
title = {The Contemporary London Gothic and the Limits of the
Spectral Turn},
year = {2001},
address = {London},
publisher = {Routledge}
}
@BOOK{Thackeray1848,
title = {Vanity Fair: A Novel without a Hero},
titleaddon = {1848},
gender = {pm},
publisher = {Penguin Books},
year = {2003},
editor = {Carey, John},
author = {Thackeray, William Makepeace},
series = {Penguin Classics},
address = {London},
}
--
Please remember -- this is an international english speaking mailing list!
If you have a problem, please provide a complete minimal example document (with a small bibliography database), which runs out of he box without any superfluous packages loaded, otherwise we could not help.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/jurabib/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/jurabib/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/