Re: Dot after name

Eli Crumrine <[email protected]> Fri, 22 Jun 2007 22:33:22 -0400
Newsgroups gmane.comp.tex.bibtex.jurabib.user
Message-ID <[email protected]>
Dan Griswold <[email protected]> | Thu, 21 Jun 2007 08:12:19
-0400

> I appreciate that, Eli. And I am starting to look at biblatex, toward
> the end of putting together what I need. It's encouraging to hear that
> you have done up a biblatex format in Turabian style. This is pretty
> much what I need. Would you be willing to share with me what you have?

Sure. This is verging on off-topic, but for the sake of archiving the
relevant information, here it is.

In preamble:
\usepackage[bibstyle=authortitle,citestyle=authortitle-cverb]{biblatex}

% Preferred article citation format, defined in bbx/standard.bbx
\DeclareBibliographyDriver{article}{%
  \usebibmacro{bibindex}%
  \usebibmacro{author}%
  \newunit\newblock
  \usebibmacro{title+stitle}%
  \newunit\newblock
  \usebibmacro{journal+issue+year+pages}%
  \newunit\newblock
  \printfield{addendum}%
  \newunit\newblock
  \usebibmacro{pageref}%
  \usebibmacro{finentry}
}

% Bibliography-specific formatting
\nocite{*}
\defbibheading{plain}{\newpage\flushleft\large\bf Bibliography}
\AtBeginBibliography{%
%	\renewcommand*{\newunitpunct}{\addperiod\space}%
	\renewcommand*{\bibnamedash}{---$\!$---$\!$---\adddot\addspace}
}

% Citation-specific formatting
\DeclareFieldFormat{postnote}{#1} % No "p.|pp." in citations, changes
default in ./biblatex.def
\AtEveryCite{
	\renewcommand*{\newunitpunct}{\addcomma\space} % Commas instead
of spaces in citation
\DeclareFieldFormat{publ+loc+year}{\mkbibparens{#1}} % Parenthetical
publication info % Reformat macro to print publisher info in correct
format, defined in in bbx/biblatex.bbx

	\renewbibmacro*{publ+loc+year}{%
	\printtext[publ+loc+year]{% \printlist{location}%
		\setunit*{\addcomma\space}%
		\iflistundef{publisher}
			{\setunit*{\addspace}}
			{\setunit*{\addcolon\space}}%
		\printlist{publisher}%
		\setunit*{\addcomma\space}%
		\printfield{year}}%
		\newunit
	}
	% Redefine macro to not print article page range in full
citation format, defined in in bbx/biblatex.bbx
	\renewbibmacro*{journal+issue+year+pages}{%
		\usebibmacro{journal+ser+vol+num}% \setunit{\addspace}%
		\printtext[parens]{% \iffieldundef{issue}
			{\iffieldundef{month}
			{\printfield{year}}
			{\iffieldundef{day}
				{\printfield{month}%
				\setunit{\addspace}%
				\printfield{year}}
				{\printtext{\bibdate}}}}
			{\printfield{issue}%
				\setunit{\addspace}%
				\printfield{year}}}%
	}%
	\renewbibmacro*{url+date}{}
}

\DeclareCiteCommand{\cite}[\unspace\addspace]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \usebibmacro{cite}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

Then just use \footcite[pg #]{bibkey}.

The authortitle-cverb style provides essentially the correct format; I
just redefined a few macros for slightly different needs. The
\AtBeginBibliography{} code applies only to the bibliography, while the
\AtEveryCite{} applies to in-text citations. This is very likely not
optimal, but it works for me.

-- 
Eli C.
2007:06:22


-- 

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/