Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

this MWE used to output a bibliography and a list of mateiral but does no longer work. I get this error, when compiling: Package keyval Error: publisher undefined. Any help appreciated!

\documentclass[10pt,twoside,headings=normal,headsepline=true,numbers=noenddot]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,sorting=nty,style=verbose,isbn=false,url=false,publisher=false]{biblatex}
\usepackage{filecontents}
    \begin{filecontents}{MWE.bib}
    @INCOLLECTION{Doe1999,
      author = {John Doe},
      title = {Title of Book},
      publisher = {Kluwer Law International},
      year = {1999},
      volume = {25},
      series = {Series},
      shortauthor = {Doe},
            \begin{flushleft}

            \end{flushleft}

      shorttitle = {Title of Book}
    }
    @MISC{DoeJ,
    author={Jane Doe},
    title={Title of misc},
    keyword={mat},
    shortauthor={Doe J},
    shorttitle={Misc}
    }
    \end{filecontents}
            \renewcommand{\mkbibnamelast}[1]{\textsc{#1}}
    \renewcommand{\mkbibnamefirst}[1]{\textsc{#1}}
    \renewcommand{\mkbibnameprefix}[1]{\textsc{#1}}
    \renewcommand{\mkbibnameaffix}[1]{\textsc{#1}}
    \renewcommand*{\revsdnamepunct}{}
    \defbibheading{lit}{\chapter*{Literaturverzeichnis}}
    \defbibheading{mat}{\chapter*{Materialienverzeichnis}}

    \DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished,shorttitle,journal]{title}{#1}
    \renewbibmacro*{cite}{%
        \usebibmacro{cite:citepages}
        \iffieldundef{shorthand}{%
            \ifciteseen{%
                \usebibmacro{cite:short}}
                {\usebibmacro{cite:short}}}
        {\usebibmacro{cite:shorthand}}}
    \renewbibmacro*{cite:short}{%
        \printnames{shortauthor}%
        \setunit*{\addcomma\addspace}%
        \printtext[bibhyperlink]{%
        \printfield{shorttitle}}}%
    \renewbibmacro*{finentry}{
                    \ifnameundef{shortauthor}
                    {
                        \iffieldundef{shorttitle}{%
                        \adddot}{
                        \printtext[parens]{%
                        {cit.}\addspace
                        \printfield{shorttitle}%
                        }\adddot
                        }
                    }
                    {
                        \iffieldundef{shorttitle}
                        {
                            \printtext[parens]{%
                            {cit.}\addspace
                            \printnames{shortauthor}%
                            }\adddot
                        }
                        {
                            \printtext[parens]{%
                            {cit.}\addspace
                            \printnames{shortauthor}\addcomma\addspace
                            \printfield{shorttitle}%
                            }\adddot
                        }
                    }
                    \finentry}
    \renewbibmacro*{publisher+location+date}{%
        \printlist{location}{\addspace}%
        \printfield{year}{\setunit*{\addspace}}%
    }
    \renewbibmacro*{institution+location+date}{%
        \renewcommand*{\newunitpunct{\addspace}}%
            \newunit%
        \printlist{institution}{\addspace}%
        \printlist{location}{\addspace}%
        \printfield{year}{\setunit*{\addspace}}%
    }
    \AtEveryBibitem{\clearfield{publisher}}
    %\renewcommand{\newunitpunct}{\addcomma\addspace}
    %\ifpunct{\renewcommand*{\nameyeardelim}{\addspace}}{}
    \addbibresource{MWE.bib}
    \begin{document}
    \frontmatter
    \printbibliography[title={Lit},heading=lit,notkeyword=mat]
    \printbibliography[title={Mat},heading=mat,keyword=mat]
    \mainmatter
    Lorem ipsum\footcite[p. 1]{Doe1999}\footcite[p. 2]{DoeJ}.
    \backmatter
    \end{document}
share|improve this question
2  
Your code is somewhat far away from being a minimal (!) working example. Please reduce it to the amount of code needed to reproduce the problem. For some hints to accomplish this have a look at meta.tex.stackexchange.com/q/228 –  Benedikt Bauer Feb 10 '13 at 16:29
5  
Voting to close as too localized. You’ve been pointed to our MWE Question several times in the past, yet you keep including entirely irrelevant things like a font package or geometry. You can still edit your question, and we can reopen it if you turn your code into a proper MWE. –  doncherry Feb 10 '13 at 16:31
2  
Omit publisher=false in your load-time option settings for biblatex. publisher isn't an option for any of the standard styles. –  Audrey Feb 10 '13 at 16:58
4  
This is not a help forum, but a question and answer site, so we will close this one. If it would be edited to be a good question useful for the public, i.e. not just a "this long code doesn't work, please help", we would gladly reopen. –  Stefan Kottwitz Feb 10 '13 at 17:11
    
Thx for comments, tried to trim my question... thanks very much to Audrey. –  user19581 Feb 12 '13 at 22:20
add comment

closed as too localized by lockstep, Brent.Longborough, Kurt, Paul Gaborit, Martin Schröder Feb 12 '13 at 23:14

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 0 down vote accepted

Audrey's solution solved the first part of my problem.

However, the bibliography would still not appear in the pdf file.

Turnes out I had to delete the cache files in \user\AppData\Local\Temp (Windows 8), recompile and voilà. This problem seems to be addressed in this post (http://tex.stackexchange.com/a/54545/19581). However, I did not understand why this problem persists.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.