# Biblatex - \DeclareFieldFormat

I'm writing a thesis in french law and I was able to, after many, many hours of hard work, customize some entry type to fit my needs. Here is my example of my @BOOKLET that I use for legislation:

\documentclass[11pt,a4paper,twoside]{book}

\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{lmodern}
\usepackage{csquotes}
\usepackage[frenchb]{babel}
\usepackage[language=french,sorting=nyt,hyperref=true,urldate=long,
labelyear=true,backend=bibtex]{biblatex}

\DeclareBibliographyDriver{booklet}{%
\usebibmacro{author}
\setunit{\labelnamepunct}\newblock
\printfield{title}
\newunit\newblock
\printlist{publisher}%
\newunit
\printfield{number}%
\newunit
\printdate%
\newunit
\printfield{pages}%
{\space}
\usebibmacro{finentry}
}

\DeclareFieldFormat[booklet]{title}{{{#1}}}
\DeclareFieldFormat[booklet]{publisher}{{\mkbibemph{#1}}}
\DeclareFieldFormat[booklet]{number}{\bibstring{number}~#1}%

\begin{document}

\nocite{*}

\end{document}


It's almost how I want it, I'd just like to get the field publisher in italics, which is what was intended with the command:

\DeclareFieldFormat[booklet]{publisher}{{\mkbibemph{#1}}}


But it doesn't change anything, and I don't know why, especially as if I replace publisher by date or title, it works just fine!

Any suggestions? I really need your expertise here ;-)

PS : Here an example of my .bib

@BOOKLET{AA2012,
TITLE = "The title of the legislation I need",
PUBLISHER = "Official journal",
NUMBER = "173",
DATE = "2012-11-25",
PAGES = "582",
KEYWORDS = "loi"
}

-
Welcome to TeX.sx! publisher isn't a field; it's a list. So you have to redefine the the original definition of \DeclareListFormat{publisher} – Marco Daniel Oct 3 '12 at 14:21
It worked! Thank you very much for your quick and effective answer... I've been trying for quite some time now... Can you tell me how can you know if your dealing with a field or a list, or a whatever? – Doompa Oct 3 '12 at 19:20
Instead of posting a “Thank you” and asking follow-up questions as an additional answer, you should comment on Marco Daniel's comment or edit the original question. We want to keep the answer space reserved for actual answers, so this non-answer will be removed from public view soon. – clemens Oct 3 '12 at 19:34
Oops! That's what I intended actually... – Doompa Oct 3 '12 at 19:57

As Marco Daniel has commented, "publisher isn't a field, but a [literal] list". Actually, there are three general types of "fields" in biblatex: name lists (e.g., translator), literal lists (e.g., publisher), and other fields. The format of literal lists can be defined using \DeclareListFormat, and that of other fields using \DeclareFieldFormat. (The correspondent \DeclareNameFormat macro isn't directly appplied to name lists, but to auxiliary formats like last-first.) A complete list of fields and their categories can be found in sections 2.2.1 and 2.2.2 of the biblatex manual.