Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Biber 1.9 --output_format=bibtex returning error #37

Closed
bgouhier opened this issue Jun 26, 2014 · 2 comments
Closed

Biber 1.9 --output_format=bibtex returning error #37

bgouhier opened this issue Jun 26, 2014 · 2 comments

Comments

@bgouhier
Copy link

I am trying to convert a biblatex list of reference into a list of bibitems following these instructions:
http://tex.stackexchange.com/questions/154215/biblatex-biber-to-bibitem

It worked flawlessly until I updated biblatex to 2.9 via mixtex, and to biber 1.9. Now the command "biber --output_format=bibtex main" returns an error:
Undefined subroutine &Biber::Output::bibtex::NFC called at C:/.../inc/lib/Biber/Output/bibtex.pm line 129

Running the command with biber 1.8 works.

MWE:

\documentclass{article}
\usepackage[backend=biber,sorting=none]{biblatex}

\begin{filecontents}{references.bib}
@Article{citation1,
author = {Author1},
title = {Title1},
journal = {Journal1},
year = {2008},
volume = {26},
pages = {316-324},
number = {6}
}

@Article{citation2,
author = {Author2},
title = {Title2},
journal = {Journal2},
year = {2007},
volume = {46},
pages = {4589-4597},
number = {15}
}

@Article{citation3,
author = {Author3},
title = {Title3},
journal = {Journal3},
year = {2005},
volume = {280},
pages = {30392-30399},
number = {34}
}
\end{filecontents}

\addbibresource{references.bib}

\begin{document}
Citation 1: cite author2 \cite{citation2}

Citation 2: cite author3 \cite{citation3}

Citation 3: cite author1 \cite{citation1}

\printbibliography
%
\end{document}

Name this file main.tex and run the below script (Windows) which is a .bat file I wrote based on the previous link to create a dummy.bib with the list of refs in bibitems:

set LATEX_PATH=C:\Program Files\MiKTeX 2.9\miktex\bin\x64
set TEX_FILE_NAME=main

"%LATEX_PATH%\biber" --output_format=bibtex "%TEX_FILE_NAME%.bcf"
echo \documentclass{article} > dummy.tex
echo \begin{document} >> dummy.tex
echo \nocite{*} >> dummy.tex
echo \bibliography{%TEX_FILE_NAME%_biber} >> dummy.tex
echo \bibliographystyle{unsrt} >> dummy.tex
echo \end{document} >> dummy.tex
"%LATEX_PATH%\pdflatex" dummy
"%LATEX_PATH%\bibtex" dummy

@plk plk closed this as completed in 112cd01 Jun 26, 2014
@plk plk reopened this Jun 26, 2014
@plk
Copy link
Owner

plk commented Jun 26, 2014

Can you pull 1.9 from SourceForge? I have corrected this and updated the 1.9 build.

@bgouhier
Copy link
Author

Yep its working now.

Thanks for the quick reply/fix !

@plk plk closed this as completed Jun 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants