\documentclass[a4paper]{ltxdoc}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ae}
\interfootnotelinepenalty=10000
\raggedbottom
\newif\ifHtml
\newcommand{\mymarginpar}[1]{\marginpar{\raggedleft\textsf{#1}}}
\newcommand{\NEW}[1]{\marginpar{\raggedleft\textsf{#1~{\large NEU\,!}}}}
\newcommand{\CH} [1]{\marginpar{\raggedleft\textsf{#1~{\large ÄNDERUNG\,!}}}}
\newcommand{\REM}[1]{\marginpar{\raggedleft\textsf{#1~{\large ENTFERNT\,!}}}}
\makeatletter
 \@ifundefined{pdfoutput}{%
   \let\pdfoutput\@undefined
   \ExecuteOptions{dvips}%
 }{%
   \ifcase\pdfoutput
   \let\pdfoutput\@undefined
   \ExecuteOptions{dvips}%
   \else
       \usepackage[pdftex,colorlinks=true]{hyperref}%
       \hypersetup{%
         pdftitle={Frequently asked questions for jurabib package},%
         pdfauthor={Jens Berger},%
   }%
   \fi
 }%
\makeatother 
\pagestyle{headings}
\providecommand\mymarg[1]{{\unskip\ttfamily\char`\{}{\ttfamily#1}{\ttfamily\char`\}}}
\renewcommand{\contentsname}{Inhalt}
\providecommand{\url}[1]{\texttt{#1}} 
\providecommand\href[2]{#2}
\providecommand\texorpdfstring[2]{#1}
\newenvironment{bibexample}{%
      \begin{description}%
           \setlength{\itemindent}{-2.5em}
           \setlength{\leftmargin}{2.5em}
      }{\end{description}}
\newenvironment{Options}{\begin{list}{}{%
   \renewcommand{\makelabel}[1]{\texttt{##1}\hfill}%
   \setlength{\itemsep}{-.5\parsep}
   \settowidth{\labelwidth}{\texttt{xxx\space}}%
   \setlength{\leftmargin}{\labelwidth}%
   \addtolength{\leftmargin}{\labelsep}}%
}{\end{list}}
\title{\textsf{jurabib} FAQ}
\author{{\Large Jens Berger}\\
        \href{mailto:jb@jurabib.org}{\texttt{jb@jurabib.org}}}
\date{\today}%

\begin{document}
   \ifHtml
      \renewcommand{\href}[2]{\HCode{<a href=#1>}#2\HCode{</a>}}
      \makeatletter
      \let\DescribeMacro\@gobble
      \let\NEW\@gobble
      \let\CH\@gobble
      \let\REM\@gobble
      \let\mymarginpar\@gobble
      \let\marginpar\@gobble
      \makeatother
   \fi

\maketitle

This is the jurabib-FAQ. It will grow from time to time. If you have suggestions, please send a question and (if possible) the answer to \href{mailto:jb@jurabib.org}{\texttt{jb@jurabib.org}}.

\begin{description}
\item[Q:] How can I format the number and/or the series field\,?
\item[A:] jurabib provides a markup command for most entry types: |\numberandseries|. 
This command contains two arguments: |#1| represents the number, |#2| the series field.

Let's take a look at the default definition. It will format 

\begin{verbatim}
, <series> <number>
\end{verbatim}

\begin{verbatim}
\DeclareRobustCommand{\numberandseries}[2]{%
      \unskip\unskip,\space\bibsnfont{#2}%
      \ifthenelse{\equal{#1}{}}{}{~#1}%
}% 
\end{verbatim}

If you want to have e.g. 

\begin{verbatim}
(=<series>. <number>.)
\end{verbatim}

try the following:

\begin{verbatim}
\DeclareRobustCommand{\numberandseries}[2]{%
      \unskip\unskip%, <= comma removed
      \space\bibsnfont{(=#2}%
%%                      ^ opening ... 
      \ifthenelse{\equal{#1}{}}{)}{~#1)}%
%%                               ^     ^ ... closing, if number is given
%%                               | ... closing, if number is missing
}% 
\end{verbatim}

\end{description}
\end{document}



