that is a a completion of my question Datamodel in biblatex, hashname and biber, but I opened a new question because the problem is more problematic.
If any roots want to merge, no problem.
I want to declare new entrytype and new field. I have two solutions:
- use \DeclareSourceMap
to map entry field (in bib) to another output field (for use with \printfield{}
- use new datamap model, to allow to have new fields in my output file.
For some reasons, I prefered to use the second way. So I read biblatex handbook.
I made a manuscripts.dbx
file, with this content
\DeclareDatamodelEntrytypes{manuscript}
\DeclareDatamodelFields{datation}
\DeclareDatamodelEntryfields{datation}
If I read correctly the handbook, it's enough to allow to have datation
field in my .bbl
file.
My .bib
file has this content
@manuscript{P1470,
Library={BNF},
Address={Paris},
Datation={\textsc{viii}\textsuperscript{e} s.}
}
And my main file has this content
\documentclass{article}
\usepackage{fontspec}
\usepackage[datamodel=manuscripts,bibstyle=verbose,citestyle=verbose]{biblatex}
\bibliography{titi.bib}
\begin{document}
\nocite{*}
s
\printbibliography
\end{document}
When I run xelatex -> no problem
When I run biber -> the bbl output file is empty.
If I comment \DeclareDatamodelEntryfields{datation}
-> the bbl output file is not empty, but the field datation
is not added to the bbl output file.
If I comment Datation={\textsc{viii}\textsuperscript{e} s.}
-> -> the bbl output file is not empty, but the field datation
is not added to the bbl output file.
I am on Os X, with Biber 1.8
I I run with latemk, latexmk said "Command for 'biber example' gave return code 6400"