Re: Citation of monographic and secondary literature
"udodertudo" <[email protected]> Sun, 12 Mar 2006 15:45:07 -0000
| Newsgroups | gmane.comp.tex.bibtex.jurabib.user |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], Charles de Miramon <cmiramon@...> wrote: > > Any Ideas? > > > > Use jurabib for Case B and do it by hand for Case A. Thanks for replying. I found the snipped in Msg 100 <http://groups.yahoo.com/group/jurabib/message/100> and changed it to my requirements: % Preambel: Create monographic footcite citation \usepackage{twoopt} \makeatletter \newcommandtwoopt{\footmono}[3][][]{% \ifthenelse{\equal{\@nameuse{citefull@#3}}{citefull}}{% \footnote{\ifthenelse{\equal{#2}{}}{}{#2~}\citefield[#1]{shorttitle}{#3}\ \ifthenelse{\equal{#1}{}}{}{.}}% }{% the first cite \global\@namedef{citefull@#3}{citefull}% \footnote{\fullcite[#2][#1]{#3}.~In the following quoted with theabbreviation "`\citefield{shorttitle}{#3}"'.}% }% } % Create normal monographic citation \newcommandtwoopt{\mono}[3][][]{% \ifthenelse{\equal{\@nameuse{citefull@#3}}{citefull}}{% \ifthenelse{\equal{#2}{}}{}{#2~}\citefield[#1]{shorttitle}{#3}\ifthenels\ e{\equal{#1}{}}{}{.}% }{% the first cite \global\@namedef{citefull@#3}{citefull}% \fullcite[#2][#1]{#3}.~In the following quoted with the abbreviation "`\citefield{shorttitle}{#3}"'.% }% } % Usage: % \mono[123][See]{oua} % \mono[123]{oua} % \mono{oua} % \mono[][See]{oua} % \footmono[123][See]{oua} % \footmono[123]{oua} % \footmono{oua} % \footmono[][See]{oua} \makeatother The lag of this script is that you have to decideif you use \mono or the regular \cite command for each citation and notone time in the bibliography for example controlled by the howcited = {1} entry. Bye Udo