I wrote my master thesis on a different computer and now I want to compile using TexWorks (with pdflatex
+makeindex
+bibtex
) as I did on the other PC.
On the new PC no .aux
files are created (in the subfolders) and only the bibliography has disappeared. Citations are only given as [name in .bib
file].
Has this ever happened to someone before. Do you have any answer to this?
I provide a minimal example. My main.tex
file lokks like this:
% kate: encoding iso-8859-1
\RequirePackage{fix-cm} % Improves appearance of some cm-super fonts
\RequirePackage[l2tabu, orthodox]{nag} % warns about some obsolete latex constructs
\documentclass[
12pt, % font size 12pt
a4paper, % layout for DIN A4
twoside, % layout for one sided printing
headinclude, % include head in layout computation
headsepline, % horizontal line below head
BCOR20mm, % correction for fixation
DIV16, % DIV-value for creating the print space, (see scrguien.pdf)
halfparskip, % spacing between paragraphs
openany, % chapters may start on even and odd pages
bibtotoc, % put bibliography into table of contents
pointlessnumbers, % chapter numbers without full stop
tablecaptionabove, % use table headings with correct spacing
]{scrbook}[2007/12/24] % scrbook-Version min. v2.98 from 2007/12/24
%\usepackage[latin1]{inputenc} % change to your encoding (e.g. utf8)
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} % correct pdf output (correct umlaut charaters)
%\usepackage{lmodern} % fonts for pdf-file creation (use Type1 instead of Type3) - only needed, if cmsuper is not installed
% % check the resulting pdf-file: fonts should been embedded, subsetted and of type 1 (NOT type 3!)
\usepackage[intlimits]{amsmath} % place the subscripts and superscripts in the right position
\usepackage{amsfonts} % additional fonts like \mathbb, \mathfrak
\usepackage{amssymb} % additional symbols
\usepackage{bbm} % indicator function
%\usepackage{amsthm}
\usepackage{ntheorem}
\usepackage{url} % support for urls
\usepackage[ style = alphabetic, natbib = true]{biblatex}
\DeclareNameAlias{default}{last-first}
\usepackage[english]{babel} % English orthography
\usepackage{scrpage2} % head and foot layout
\usepackage{ushort} % complex values require an underline (use\ushort or \ushortw)
\usepackage{units} % package for setting units in a typographically correct way (e.g. \unit[3]{cm})
\usepackage{booktabs} % package provides additional commands to enhance the quality of tables
\usepackage{datetime} % provides \pdfdate command
\usepackage[pageno, draft]{listofsymbols} % includes a lis of symbols/ good to have an overview over one's notations
\usepackage{verbatim} % use multiline comments
\usepackage{mathrsfs}
\usepackage{float}
\usepackage{tabularx}
\usepackage{breakcites}
\usepackage{subfig}
\numberwithin{equation}{section} % amsmath: numbering equations
\addbibresource{main}
\bibliography{main} % read file main.bib (bibliography entries)
\usepackage{csquotes}
\pagestyle{scrheadings} % enable scrheadings layout for head and foot
\ifx\pdfoutput\undefined
% non pdflatex settings (normal latex compiler assumed)
\usepackage[dvips]{graphicx}
\else
% different settings for the pdflatex compiler
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf} % enables automatic conversion from .eps to .pdf graphic files; run MikTeX as "latex --enable-write18"
\usepackage[pdftex,plainpages=false]{hyperref}
\pdfcompresslevel=9
\pdfinfo{
/CreationDate (D:20180802110000) % date format is year(4) month(2) day(2) hour(2) minute(2) second(2)
/ModDate (D:\pdfdate)
}
\hypersetup{
pdftitle = {thesis title},
pdfsubject = {thesis subject},
pdfauthor = {your name},
pdfkeywords = {},
colorlinks = {true},
linkcolor = {black},
citecolor = {black},
urlcolor = {black}
}
\fi
\renewcommand{\bibname}{Literaturverzeichnis} % new name for the bibiography
\renewcommand{\figurename}{Abbildung} % new name for the figure
\renewcommand{\listfigurename}{Abbildungsverzeichnis} % new name for the list of figures
\title{Minimal Example}
\subtitle{Thesis}
\author{from\\
Author\\ }
\date{\today}
\publishers{Advisors:\\
Dr. Ad, Visor1\\
Dr. Ad, Visor2
}
\begin{document}
\maketitle
\frontmatter
\mainmatter
This is just a test \cite{mack2002}.
\appendix
\nocite{*} % use all bibliography entries
\printbibliography
\end{document}
And my main.bib file looks like this and is in the same folder as the main.tex file.
@BOOK{mack2002,
title = {Schadensversicherungsmathematik},
publisher = {Verlag Versicherungswirtschaft},
year = {2002},
author = {Thomas Mack},
% pages = {412},
% isbn = {3-540-29097-4},
volume{2},
language={english},
hyphenation={english}
}
on top I have some
\include{./Chapter1/chapter1}
For those no aux file are created as well.
Best Answer
You have one error in your given bib file. Please correct the line
to correct
Then you need to run biber to get your bibliography, because biber is standard if you do not use option
backend=bibtex,
.Then you need to add the extention
.bib
in command(command
\bibliography
is depreciated).At last there are a lot of warnings because you are using an outdated version of KOMA-Script.
In the following MWE I corrected the error and most of the warnings:
results in the wished bibliography: