BibTeX, biblatex and biberHow to make a style exception for one bib-entry?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
2xJoe
Posts: 2
Joined: Tue Apr 17, 2012 4:19 pm

How to make a style exception for one bib-entry?

Post by 2xJoe »

Hi,

I've got a problem with one of my cited works. I use biblatex with bibstyle=authortitle and citestyle=authortitle-ibid.
This especial work consist of multiple volumes, but in the bibliography at the end, only the work as a whole should be cited (as it is right now).
So I've got the simple entry in my .bib-file:

Code: Select all

@book{WA,
	author={Martin Luther},
	title={Werke},
	shorthand={WA},
	subtitle={Kritische Gesamtausgabe},
	location={Weimar},
	year={1883--2009},
	keywords={quelle},
	pagination={none},
}
and a working example .tex-file would be

Code: Select all

\documentclass{scrreprt}
\usepackage[bibstyle=authortitle, citestyle=authortitle-ibid, citetracker=constrict, ibidtracker=constrict, opcittracker=constrict, loccittracker=constrict, dashed=false]{biblatex}
\bibliography{minbib}

\begin{document}


Ubir das, ßo sein wir yhe alle priester, (\ldots) alle einen glauben, ein Evangely, einerley sacrament haben, wie solten wir den nit auch haben macht,
zuschmecken und urteylen, was do recht odder unrecht ym glaubenn were? wo bleybt das wort Pauli i. Corint. ij. 'Ein geistlicher  mensch richtet alle ding, unnd wirt von niemants gerichtet', und 'wir haben alle eynen geyst des glaubens'? wie solten wir denn nit fulen ßo  wol als ein ungleubiger bapst, was dem glauben eben odder uneben ist? Auß dießem allenn und vielen andern spruchen sollen wir mutig und frey werden, unnd den geyst der freyheit (wie yhn Paulus nennet) nit lassen mit ertichten wortten der Bepst abschrecken, sondern frisch hyndurch allis, was sie thun odder lassen, nach unserm gleubigen vorstand der schrift richten, und sie zwingen zufolgen dem bessern unnd nit yhrem eygen vorstand. \footcite[6; 412,20--31]{WA}

The citation should look like in this\footnote{WA 6; 412,20--31} footnote instead.

\printbibliography

\end{document}
The convention for referencing this Work at my university is "WA Volume#; Page#,Line#–Line#.", for example "WA 6; 123,4–9."
Because the work is only referenced to as "WA" and the volume belongs to the Page-and-Line-Reference, I cite by:

Code: Select all

\footcite[6; 123,4-9]{WA}
The output is okay, apart from the "," after the shorthand: Bibtex writes (consistently) "WA, 6; 123,4-9."

So I want to change the citestyle, but only for this entry. Is there anyway?
Or do I have to create a new entry Type "@book_mv" e.g., clone the style for @book and edit it (remove the comma)?

Any help appreciated, google and forum searches didn't help me yet.

Regards, Johannes

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

2xJoe
Posts: 2
Joined: Tue Apr 17, 2012 4:19 pm

How to make a style exception for one bib-entry?

Post by 2xJoe »

I've found a very simple solution (rtfm @myself :twisted:):
\nopunct Adds an internal marker which will cause the next punctuation command to print
nothing.
(biblatex manual p. 146)

I only had to add \nopunct in the line of my .bib-file

Code: Select all

shorthand={WA\nopunct},
and the Citation looks like it's supposed to be in this special case:
"WA 7; 21,1–4."

I ♥ Bibtex :D
Post Reply