In both the LaTeX source file's directory and in my local texmf tree (namely, in ~/Library/texmf/tex/latex/biblatex/bbx) I've placed the following .bbx file:
\ProvidesFile{mybooknumeric.bbx}
%[\abx@bbxid]
\RequireBibliographyStyle{standard}
\RequireBibliographyStyle{numeric}
%
\DeclareBibliographyOption[boolean]{dashed}[true]{%
\ifstrequal{#1}{true}
{\ExecuteBibliographyOptions{pagetracker}%
\renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}}
{\renewbibmacro*{bbx:savehash}{}}}
%
\newbibmacro*{bbx:savehash}{%
\savefield{fullhash}{\bbx@lasthash}}
The purpose of that is simply to used horizontal lines to replace the author name for subsequent bibliography entries having the same author.
But when I process my source, such as the one below, I get an error:
(/usr/local/texlive/2016/texmf-dist/tex/latex/biblatex/biblatex.def) (./mybooknumeric.bbx (/usr/local/texlive/2016/texmf-dist/tex/latex/biblatex/bbx/standard.bbx) (/usr/local/texlive/2016/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx))
/usr/local/texlive/2016/texmf-dist/tex/latex/biblatex/biblatex.sty:13002: Packa ge biblatex Error: Style 'mybooknumeric' not found. ...
l.13002 \RequireCitationStyle{\blx@cbxfile}
What's wrong?
The source:
\documentclass[12pt]{memoir}
\usepackage[style=mybooknumeric,backend=bibtex,,dashed=true]{biblatex}
\begin{filecontents}{euler.bib}
@article{EulerE1776,
Author = {Euler, Leonhard},Title = {All about E},
Journal = {Math.\ Psychol.},
Year = {1776},Volume = {4},number={1},
pages={1--2718}
}
@article{EulerE1748,
Author = {Euler, Leonhard},Title = {My formula},
Journal = {Math.\ Formulas},
Year = {1748},Volume = {4},
pages={233--234}
}
\end{filecontents}
\addbibresource{euler.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
.bbxfrom what you've shown. But you don't seem to have a corresponding.cbxfile. Note that there are the optionsstyle=,bibstyle=, andcitestyle=when it comes tobiblatex. – jon Oct 26 '16 at 01:21styleinstead ofbibstyle, you tellbiblatexto look for both a.bbxand.cbxfile. Since you don't have the latter, you should usebibstyleinstead. @jon you should turn your comment into an answer. – Alan Munn Oct 26 '16 at 01:36