Biber + Biblatex + Numeric
Hallo Allerseits,
ich habe zuletzt vor einem Jahr mit LaTeX gearbeitet. Zu der Zeit habe ich mir ein Paar Befehle bzgl. Biblatex umdefiniert, die mir nun Errors auswerfen. Ich gebe mal ein Minimalbeispiel. Das Problem liegt laut dem TexnicCenter2 + Miktex 2.9 + Biblatex 3.6 + Biber 2.6 in der Datei "Biblatex_numeric.tex" direkt bei der \DeclareNameFormat{author}{%
Insgesamt habe ich kaum Ansprüche an das Literaturverzeichnis. Ich benötige folgendes:
in-text-citation: [zahl, optionale Angabe einer Seite],
Fußnoten-citation: Vgl. Zahl, S. XX/Tabelle XY/Abbildung
Literaturverzeichnis möchte ich zwischen Prints und reinen Onlinequellen trennen. Dabei können Bücher und Paper gleich behandelt werden, wobei Paper einen Zusatz haben:
Anordnung in einer Liste, Erkennbarer Abstand zwischen Eintragsführer und Eintrag
[Zahl] Eintrag
Der Eintrag kann entsprechend aktueller Standards in der Mathematik/Informatik erfolgen. Authorennennung bis maximal 3, danach mit etal. abkürzen, im Stil Nachname, Vorname Titel. (Verfasst wird in deutsch)
Bei Papern sollte noch notiert werden, aus welcher Internetdatenbank sie bezogen wurden. D.h. Nennung einer URL.
Ich weiß noch von früher, dass dies wahnsinnig leicht zu schreiben war, aber ich wundere mich, warum es jetzt nicht mehr so klappt. Vielleicht hat jemand was passendes?
main-bib.bib
Code:
@book{silverman2009arithmetic,
title={The Arithmetic of Elliptic Curves},
author={Silverman, J.H.},
isbn={9780387094946},
lccn={2009926474},
series={Graduate Texts in Mathematics},
url={https://books.google.de/books?id=Z90CA\_EUCCkC},
year={2009},
publisher={Springer New York}
}
Main.tex
Code:
\documentclass[12pt, twoside, a4paper, toc=index]{scrbook} %diese Zeile reicht vermutlich
\usepackage{textcomp}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[style=german]{csquotes}
\usepackage{geometry}%[margin=2.5cm]{geometry}
\geometry{tmargin=25mm,bmargin=20mm,lmargin=25mm,rmargin=25mm}
\usepackage[backend=biber,%
bibencoding=ascii,%
style=numeric,%
natbib=true,% Lädt das Kompatibilitätsmodul, welches Pseudonyme für die Befehle der Literaturverweisregeln des natbib-Pakets zur Verfügung stellt.
maxbibnames=5,% Es werden maximal 5 Namen in der Bibliographie ausgegeben
sorting=nyt,% Name, year, title
firstinits=true,% Vornamen werden abgekürzt
uniquename=init,% Einzigartige Namen werden abgekürzt
isbn=false,% Isbn wird nicht ausgegeben
doi=false,% doi wird nicht ausgegeben
clearlang=false,% weiß ich nicht
maxcitenames=3,% in Zitationen erscheinen höchstens zwei Autoren
urldate=comp,%
defernumbers=true%
]{biblatex}
\addbibresource{main-bib.bib}
\input{Biblatex_numeric}
\begin{document}
Irgend ein Text ohne Cites
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% §6 Literatur
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\phantomsection %damit die inner-PDF-Links auch auf die richtige Seite linken (was aktuell nicht geht)
\addcontentsline{toc}{chapter}{Literaturverzeichnis} \renewcommand{\linksmarkierung}{Literaturverzeichnis}
\nocite{*}
\printbibheading[title= {Literaturverzeichnis}]
%\printbibliography[nottype=book, title={Digitale Literatur},heading=subbibliography]
\printbibliography[title={Bücher}, type=book, heading=subbibliography]
\end{document}
Biblatex_numeric.tex
Code:
\defbibheading{Lit}{\chapter*{Literatur}}
%\bfseries{} Fettgedruckt
%%% Autorennennung - last-first
\DeclareNameFormat{author}{%
\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}%
\usebibmacro{name:andothers}}
%%% Herausgeber mit Hrsg. abkürzen
\DefineBibliographyStrings{german}{%
byeditor ={\unspace\mkbibparens {Hrsg\adddot}},
}
%%% Autorennennung - last-first
\DeclareNameFormat{author}{%
\iffirstinits%
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}%
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}%
\usebibmacro{name:andothers}%
}
\AtBeginBibliography{%
\renewcommand*\mkbibnamefirst[1]{\bfseries{#1}}
\renewcommand*\mkbibnamelast[1]{\bfseries{#1}}
\renewcommand*\mkbibnameprefix[1]{\bfseries{#1}}
\renewcommand*\mkbibnameaffix[1]{\bfseries{#1}}
\DeclareFieldFormat{parens}{\bfseries{\mkbibparens{#1}}}
\DeclareFieldFormat{date}{#1}
}
\renewbibmacro*{issue+date}{%
\setunit{\addcomma\space}% NEW
% \printtext[parens]{% DELETED
\iffieldundef{issue}
{\usebibmacro{date}}
{\printfield{issue}%
\setunit*{\addspace}%
% \usebibmacro{date}}}% DELETED
\usebibmacro{date}}% NEW
\newunit}
%Article
\DeclareFieldFormat[article]{title}{#1\isdot}
\DeclareFieldFormat[article]{journaltitle}{#1}
%booklet
\DeclareFieldFormat[booklet]{title}{#1\isdot}
%online
\DeclareFieldFormat[online]{title}{#1\isdot}
%book
\DeclareFieldFormat[book]{title}{#1\isdot}
Viele Grüße und vielen Dank,
Shalec :)
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
klops
Du musst biber aufrufen und nicht bibtex!
Das Beispiel funktioniert dann bei mir einwandfrei. Falls bei Dir nicht, zeige die blg-Datei.
Eine blg-Datei wird nicht erzeugt. Aber es gibt eine log-Datei, die hänge ich mal an.
test.log
Code:
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2016.10.20) 21 OCT 2016 12:56
entering extended mode
**"E:/Dropbox/Uni/00 master/Ausarbeitung/test.tex"
("E:/Dropbox/Uni/00 master/Ausarbeitung/test.tex"
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
("D:\LaTeX\miktex 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("D:\LaTeX\miktex 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\biblatex.sty"
Package: biblatex 2016/09/17 v3.6 programmable bibliographies (PK/JW/AB)
("D:\LaTeX\miktex 2.9\tex\generic\oberdiek\pdftexcmds.sty"
Package: pdftexcmds 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO
)
("D:\LaTeX\miktex 2.9\tex\generic\oberdiek\infwarerr.sty"
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
)
("D:\LaTeX\miktex 2.9\tex\generic\oberdiek\ifluatex.sty"
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
("D:\LaTeX\miktex 2.9\tex\generic\oberdiek\ltxcmds.sty"
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
)
("D:\LaTeX\miktex 2.9\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2016/05/14 v3.1 Provides the ifpdf switch
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
("D:\LaTeX\miktex 2.9\tex\latex\etoolbox\etoolbox.sty"
Package: etoolbox 2015/08/02 v2.2a e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count87
)
("D:\LaTeX\miktex 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
("D:\LaTeX\miktex 2.9\tex\latex\oberdiek\kvoptions.sty"
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
("D:\LaTeX\miktex 2.9\tex\generic\oberdiek\kvsetkeys.sty"
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
("D:\LaTeX\miktex 2.9\tex\generic\oberdiek\etexcmds.sty"
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
("D:\LaTeX\miktex 2.9\tex\latex\logreq\logreq.sty"
Package: logreq 2010/08/04 v1.0 xml request logger
\lrq@indent=\count88
("D:\LaTeX\miktex 2.9\tex\latex\logreq\logreq.def"
File: logreq.def 2010/08/04 v1.0 logreq spec v1.0
))
("D:\LaTeX\miktex 2.9\tex\latex\base\ifthen.sty"
Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
)
("D:\LaTeX\miktex 2.9\tex\latex\url\url.sty"
\Urlmuskip=\muskip10
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
)
("D:\LaTeX\miktex 2.9\tex\latex\xstring\xstring.sty"
("D:\LaTeX\miktex 2.9\tex\generic\xstring\xstring.tex"
\@xs@message=\write3
\integerpart=\count89
\decimalpart=\count90
)
Package: xstring 2013/10/13 v1.7c String manipulations (C Tellechea)
)
\c@tabx@nest=\count91
\c@listtotal=\count92
\c@listcount=\count93
\c@liststart=\count94
\c@liststop=\count95
\c@citecount=\count96
\c@citetotal=\count97
\c@multicitecount=\count98
\c@multicitetotal=\count99
\c@instcount=\count100
\c@maxnames=\count101
\c@minnames=\count102
\c@maxitems=\count103
\c@minitems=\count104
\c@citecounter=\count105
\c@savedcitecounter=\count106
\c@uniquelist=\count107
\c@uniquename=\count108
\c@refsection=\count109
\c@refsegment=\count110
\c@maxextratitle=\count111
\c@maxextratitleyear=\count112
\c@maxextrayear=\count113
\c@maxextraalpha=\count114
\c@abbrvpenalty=\count115
\c@highnamepenalty=\count116
\c@lownamepenalty=\count117
\c@maxparens=\count118
\c@parenlevel=\count119
\blx@tempcnta=\count120
\blx@tempcntb=\count121
\blx@tempcntc=\count122
\blx@maxsection=\count123
\blx@maxsegment@0=\count124
\blx@notetype=\count125
\blx@parenlevel@text=\count126
\blx@parenlevel@foot=\count127
\blx@sectionciteorder@0=\count128
\labelnumberwidth=\skip43
\labelalphawidth=\skip44
\biblabelsep=\skip45
\bibitemsep=\skip46
\bibnamesep=\skip47
\bibinitsep=\skip48
\bibparsep=\skip49
\bibhang=\skip50
\blx@bcfin=\read1
\blx@bcfout=\write4
\c@mincomprange=\count129
\c@maxcomprange=\count130
\c@mincompwidth=\count131
Package biblatex Info: Trying to load biblatex default data model...
Package biblatex Info: ... file 'blx-dm.def' found.
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\blx-dm.def")
Package biblatex Info: Trying to load biblatex custom data model...
Package biblatex Info: ... file 'biblatex-dm.cfg' not found.
\c@afterword=\count132
\c@savedafterword=\count133
\c@annotator=\count134
\c@savedannotator=\count135
\c@author=\count136
\c@savedauthor=\count137
\c@bookauthor=\count138
\c@savedbookauthor=\count139
\c@commentator=\count140
\c@savedcommentator=\count141
\c@editor=\count142
\c@savededitor=\count143
\c@editora=\count144
\c@savededitora=\count145
\c@editorb=\count146
\c@savededitorb=\count147
\c@editorc=\count148
\c@savededitorc=\count149
\c@foreword=\count150
\c@savedforeword=\count151
\c@holder=\count152
\c@savedholder=\count153
\c@introduction=\count154
\c@savedintroduction=\count155
\c@namea=\count156
\c@savednamea=\count157
\c@nameb=\count158
\c@savednameb=\count159
\c@namec=\count160
\c@savednamec=\count161
\c@translator=\count162
\c@savedtranslator=\count163
\c@shortauthor=\count164
\c@savedshortauthor=\count165
\c@shorteditor=\count166
\c@savedshorteditor=\count167
\c@labelname=\count168
\c@savedlabelname=\count169
\c@institution=\count170
\c@savedinstitution=\count171
\c@lista=\count172
\c@savedlista=\count173
\c@listb=\count174
\c@savedlistb=\count175
\c@listc=\count176
\c@savedlistc=\count177
\c@listd=\count178
\c@savedlistd=\count179
\c@liste=\count180
\c@savedliste=\count181
\c@listf=\count182
\c@savedlistf=\count183
\c@location=\count184
\c@savedlocation=\count185
\c@organization=\count186
\c@savedorganization=\count187
\c@origlocation=\count188
\c@savedoriglocation=\count189
\c@origpublisher=\count190
\c@savedorigpublisher=\count191
\c@publisher=\count192
\c@savedpublisher=\count193
\c@language=\count194
\c@savedlanguage=\count195
\c@pageref=\count196
\c@savedpageref=\count197
\shorthandwidth=\skip51
\shortjournalwidth=\skip52
\shortserieswidth=\skip53
\shorttitlewidth=\skip54
\shortauthorwidth=\skip55
\shorteditorwidth=\skip56
Package biblatex Info: Trying to load compatibility code...
Package biblatex Info: ... file 'blx-compat.def' found.
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\blx-compat.def"
File: blx-compat.def 2016/09/17 v3.6 biblatex compatibility (PK/JW/AB)
)
Package biblatex Info: Trying to load generic definitions...
Package biblatex Info: ... file 'biblatex.def' found.
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\biblatex.def"
File: biblatex.def 2016/09/17 v3.6 biblatex compatibility (PK/JW/AB)
\c@textcitecount=\count198
\c@textcitetotal=\count199
\c@textcitemaxnames=\count266
\c@biburlnumpenalty=\count267
\c@biburlucpenalty=\count268
\c@biburllcpenalty=\count269
\c@smartand=\count270
)
Package biblatex Info: Trying to load bibliography style 'numeric'...
Package biblatex Info: ... file 'numeric.bbx' found.
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\bbx\numeric.bbx"
File: numeric.bbx 2016/09/17 v3.6 biblatex bibliography style (PK/JW/AB)
Package biblatex Info: Trying to load bibliography style 'standard'...
Package biblatex Info: ... file 'standard.bbx' found.
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\bbx\standard.bbx"
File: standard.bbx 2016/09/17 v3.6 biblatex bibliography style (PK/JW/AB)
\c@bbx:relatedcount=\count271
\c@bbx:relatedtotal=\count272
))
Package biblatex Info: Trying to load citation style 'numeric'...
Package biblatex Info: ... file 'numeric.cbx' found.
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\cbx\numeric.cbx"
File: numeric.cbx 2016/09/17 v3.6 biblatex citation style (PK/JW/AB)
Package biblatex Info: Redefining '\cite'.
Package biblatex Info: Redefining '\parencite'.
Package biblatex Info: Redefining '\footcite'.
Package biblatex Info: Redefining '\footcitetext'.
Package biblatex Info: Redefining '\smartcite'.
Package biblatex Info: Redefining '\supercite'.
Package biblatex Info: Redefining '\textcite'.
Package biblatex Info: Redefining '\textcites'.
Package biblatex Info: Redefining '\cites'.
Package biblatex Info: Redefining '\parencites'.
Package biblatex Info: Redefining '\smartcites'.
)
Package biblatex Info: Trying to load configuration file...
Package biblatex Info: ... file 'biblatex.cfg' found.
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\biblatex.cfg"
File: biblatex.cfg
))
Package biblatex Info: Trying to load language 'english'...
Package biblatex Info: ... file 'english.lbx' found.
("D:\LaTeX\miktex 2.9\tex\latex\biblatex\lbx\english.lbx"
File: english.lbx 2016/09/17 v3.6 biblatex localization (PK/JW/AB)
)
\@quotelevel=\count273
\@quotereset=\count274
(test.aux)
\openout1 = `test.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
Package biblatex Info: No input encoding detected.
(biblatex) Assuming 'ascii'.
Package biblatex Info: Automatic encoding selection.
(biblatex) Assuming data encoding 'ascii'.
\openout4 = `test.bcf'.
Package biblatex Info: Trying to load bibliographic data...
Package biblatex Info: ... file 'test.bbl' not found.
No file test.bbl.
Package biblatex Info: Reference section=0 on input line 4.
Package biblatex Info: Reference segment=0 on input line 4.
LaTeX Warning: Citation 'silverman' on page 1 undefined on input line 6.
LaTeX Warning: Empty bibliography on input line 7.
[1
{C:/Users/Shalec/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
(test.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) test
(biblatex) and rerun LaTeX afterwards.
Package logreq Info: Writing requests to 'test.run.xml'.
\openout1 = `test.run.xml'.
)
Here is how much of TeX's memory you used:
6993 strings out of 493334
124334 string characters out of 3142688
539832 words of memory out of 3000000
10517 multiletter control sequences out of 15000+200000
3948 words of font info for 15 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
36i,4n,34p,858b,1060s stack positions out of 5000i,500n,10000p,200000b,50000s
<D:/LaTeX/miktex 2.9/fonts/type1/public/amsfonts/cm/cmbx10.pfb><D:/LaTeX/mikt
ex 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on test.pdf (1 page, 19918 bytes).
PDF statistics:
14 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
Ausgabeprofile in TexnicCenter-2
Anhang 6211
Liste der Anhänge anzeigen (Anzahl: 1)
Literaturverzeichnis
Literaturverzeichnis? Vlleicht so?