Seite 1 von 4

bib. Datei kann nicht kompiliert werden

Verfasst: Fr 10. Okt 2014, 11:50
von Sunburst
Hallo alle Zusammen,

Bitte habt ein wenig Nachsicht mit mir, denn ich verwende Latex zum ersten Mal, denn ich brauche es zum Anfertigen meiner Masterarbeit.

Ich habe mir dazu ein Template der TU Graz, dass mir aufgrund seiner Schlichtheit gut gefällt, heruntergeladen.

Ich verwende TeXShop Version 3.18 (3.18). Für das Verwalten der Bibliography möchte ich BibDesk Version 1.6.3 (3296) verwenden.

Ich arbeite unter Max OS X 10.9.5

Nun zu meinem Problem:
Bei TeXShop "compiliere?" ich zunächst mit LaTeX mein File "main.tex".
--- Ein PDF wird kreiert, es fehlt jedoch die Bibliography am Ende des Dokuments.

Nun habe ich als nächstes mit BibTex compilieren wollen und danach wieder zweimal mit LaTeX, was laut einigen Texten im Internet zu dem von mir angestrebten Ziel führen soll.

Beim compilieren mit BibTex, erhalte ich jedoch folgende Fehlermeldung:
This is BibTeX, Version 0.99d (TeX Live 2013)
The top-level auxiliary file: main.aux
A level-1 auxiliary file: abstract.aux
I found no \citation commands---while reading file main.aux
I found no \bibdata command---while reading file main.aux
I found no \bibstyle command---while reading file main.aux
(There were 3 error messages)

Anbei die main.tex Datei. Bitte beachtet das auskommentierte Kommentar unter printbibliography.
%%%% Time-stamp: <2013-09-18 19:27:11 vk>
%% ========================================================================
%%%% Disclaimer
%% ========================================================================
%%
%% created by
%%
%%      Karl Voit
%%

%% ========================================================================
%%%% Basic settings
%% ========================================================================
%% (idea of using newcommands for basic documentclass settings from: Thomas Schlager)

\newcommand{\mypapersize}{A4}
%% e.g., "A4", "letter", "legal", "executive", ...
%% The size of the paper of the resulting PDF file.

\newcommand{\mylaterality}{twoside}
%% "oneside" or "twoside"
%% Either you are creating a document which is printed on both, left pages
%% and right pages (twoside) or you create a document which is printed
%% on right pages only (oneside).

\newcommand{\mydraft}{false}
%% "true" or "false"
%% Use draft mode? If true, included graphics are replaced by empty
%% rectangles (of same size) and overfull boxes (in margin space) are
%% marked with black box (-> easy to spot!)

\newcommand{\myparskip}{half}
%% e.g., "no", "full", "half", ...
%% How to separate paragraphs: indention ("no") or spacing ("half",
%% "full", ...).

\newcommand{\myBCOR}{0mm}
%% Inner binding correction. This value depends on the method which is
%% being used to bind your printed result. Some techniques do not
%% require a binding correction at all ("0mm"), other require for
%% example "5mm". Refer to KOMA script documentation for a detailed
%% explanation what a binding correction is and how to measure it.

\newcommand{\myfontsize}{12pt}   
%% e.g., 10pt, 11pt, 12pt
%% The font size of the main text in pt (points).

\newcommand{\mylinespread}{1.0} 
%% e.g., 1.0, 1.5, 2.0
%% Line spacing in %/100. For example 1.5 means 150% of the usual line
%% spacing. Please use with caution: 100% ("1.0") is fine because the
%% font was designed for it.

\newcommand{\mylanguage}{ngerman,american}
%% "english,ngerman", "ngerman,english", ...
%% NOTE: The *last* language is the active one!
%% See babel documentation for further details.

%% BibLaTeX-settings: (see biblatex reference for further description)
\newcommand{\mybiblatexstyle}{authoryear}
%% e.g., "alphabetic", "authoryear", ...
%% The biblatex style which is being used for referencing. See
%% biblatex documentation for further details and more values.
%%
%% CAUTION: if you change the style, please check for (in)compatible
%%          "biblatex" package options in the file
%%          "template/preamble.tex"! For example: "alphabetic" does
%%          not have an option "dashed=..." and causes an error if it
%%          does not get removed from the list of options.

\newcommand{\mybiblatexdashed}{false}  %% "true" or "false"
%% If true: replace recurring reference authors with a dash.

\newcommand{\mybiblatexbackref}{true}  %% "true" or "false"
%% If true: create backward links from reference to citations.

\newcommand{\mybiblatexfile}{references-biblatex.bib}
%% Name of the biblatex file that holds the references.

\newcommand{\mydispositioncolor}{0,0,0}
%% e.g., "30,103,182" (blue/turquois), "0,0,0" (black), ...
%% Color of the headings and so forth in RGB (red,green,blue) values.
%% NOTE: if you are using "0,0,0" for black, printers might still
%%       recognize pages as color pages. In case this is a problem
%%       (paying for color print-outs vs. paying for b/w-printouts)
%%       please edit file "template/preamble.tex" and change
%%       "\definecolor{DispositionColor}{RGB}{\mydispositioncolor}"
%%       to "\definecolor{DispositionColor}{gray}{0}" and thus
%%       overwriting the value of \mydispositioncolor above.

\newcommand{\mycolorlinks}{true}  %% "true" or "false"
%% Enables or disables colored links (hyperref package).

\newcommand{\mytitlepage}{template/title_Thesis_TU_Graz}
%% Your own or one of following pre-defined title pages:
%% "template/title_plain_maketitle": simple maketitle page
%% "template/title_Diplomarbeit_KF_Uni_Graz.tex": fancy (german) title page for KF Uni Graz
%% "template/title_Thesis_TU_Graz": titlepage for Graz University of Technology (correct Corporate Design)
%% "template/title_VWA": titlepage for Vorwissenschaftliche Arbeit

\newcommand{\mytodonotesoptions}{}
%% e.g., "" (empty), "disable", ...
%% Options for the todonotes-package. If "disable", all todonotes will
%% be hidden (including listoftodos).

%% Load main settings for document preamble:
\input{template/preamble}%% DO NOT REMOVE THIS LINE!

\setboolean{myaddcolophon}{false}  %% "true" or "false"
%% If set to "true": a colophon (with notes about this document
%% template, LaTeX, ...) is added after the title page.
%% Please do not set to "false" without a good reason. The colophon
%% helps your readers to get in touch with LaTeX and to find this template.

\setboolean{myaddlistoftodos}{false}  %% "true" or "false"
%% If set to "true": the current list of open todos is added after the
%% table of contents. If \mytodonotesoptions is set to "disable", no
%% list of todos is added, independent of this setting here.



%% ========================================================================
%%%% Document metadata
%% ========================================================================

========================================================================
%%%% MISC command definitions
%% ========================================================================
\input{template/mycommands}

%% ========================================================================
%%%% Typographic settings
%% ========================================================================
\input{template/typographic_settings}


%% ========================================================================
%%%% MISC usepackages
%% ========================================================================

%% ... it's OK to put here your own usepackage commands ...




%% ========================================================================
%%%% MISC self-defined commands and settings
%% ========================================================================

%% ... it's OK to put here your own newcommand/newenvironment-definitions ...




\newcommand{\myLaT}{\LaTeX{}@TUG\xspace} %% LaTeX@TUG text "logo"

\hyphenation{ex-am-ple hy-phen-ate}  %% in order to use German umlauts
%% here (Ver-\"of-fent-li-chung), you have to check for 
%% activated \usepackage[T1]{fontenc} in the preamble

%% override default language of babel: (be sure to know, what you're
%% doing here)
%\selectlanguage{american}
%\selectlanguage{ngerman}

%% ========================================================================
%%%% Templates
%% ========================================================================

%% template for inserting figures:
% \myfig{}%% filename
%       {}%% width/height
%       {}%% caption
%       {}%% optional (short) caption for list of figures
%       {fig:}%% label

%% acronyms in small caps: \myacro{UNESCO}


\input{template/pdf_settings}  %% should be *last* definitions in preamble!
%% ========================================================================
%%%% begin{document}
%% ========================================================================
\begin{document}

\frontmatter                    %% KOMA: roman page numbers and such; only available in scrbook

%% Choose your desired title page:
\input{\mytitlepage}            %% include title page


%\input{template/declaration_TU_Graz}  %% Statutory Declaration
% \input{thanks}                %% this is a suggestion: you have to create this file on demand
% \input{foreword}              %% this is a suggestion: you have to create this file on demand


%% include the abstract without chapter number but include it on table of contents:
\cleardoublepage
\addcontentsline{toc}{chapter}{Abstract}
\include{abstract}              %% Abstract


\tableofcontents                %% this produces the table of contents - you might have guessed :-)


%% if myaddlistoftodos is set to "true", the current list of open todos is added:
\ifthenelse{\boolean{myaddlistoftodos}}{
  \newpage\listoftodos          %% handy if you are using todonotes with \todo{}
}{}                             %% with todonotes-package option "disable" you can get rid of any todo in the output

\mainmatter                     %% KOMA: marks main part using arabic page numbers and such; only available in scrbook


\input{example-short-chapter}   %% remove this line to get rid of the example chapter
%\input{example-style-chapter}   %% remove this line to get rid of the style chapter

%% include tex file chapters:
% \include{introduction}        %% this is a suggestion: you have to create this file on demand
% \include{problem}             %% this is a suggestion: you have to create this file on demand
% \include{solution}            %% this is a suggestion: you have to create this file on demand
% \include{evaluation}          %% this is a suggestion: you have to create this file on demand
% \include{outlook}             %% this is a suggestion: you have to create this file on demand

\appendix                       %% closes main document, appendix follows until end; only available in book-classes
\addpart*{Appendix}             %% adding Appendix to tableofcontents

\listoffigures
\listoftables

\printbibliography              %% remove, if using BibTeX instead of biblatex
% \include{further_ressources}  %% this is a suggestion: you have to create this file on demand






%%%% end{document}
\end{document}
%% vim:foldmethod=expr
%% vim:fde=getline(v\:lnum)=~'^%%%%\ .\\+'?'>1'\:'='
%%% Local Variables:
%%% mode: latex
%%% mode: auto-fill
%%% mode: flyspell
%%% eval: (ispell-change-dictionary "en_US")
%%% TeX-master: "main"
%%% End:
Vielen Dank für Eure Hilfe

Verfasst: Fr 10. Okt 2014, 12:09
von u_fischer
Du musst wahrscheinlich statt bibtex biber aufrufen.

http://texwelt.de/wissen/fragen/1909/wi ... nem-editor

Verfasst: Fr 10. Okt 2014, 14:56
von Johannes_B
Weiterhin sein noch hingewiesen auf die wichtigen Hinweise und minimale Vorlage vs. maximale Probleme.

Verfasst: Mo 13. Okt 2014, 10:26
von Sunburst
Hallo,

Vielen Dank für die Antworten. Nur wie Rufe ich Biber auf?
In TeXShop an der Stelle, an der ich BibTeX aufrufe, ist Biber nicht vorhanden.
Wie kann ich das hinzufügen in TeXShop?
Oder welches andere Programm könnte das?

Wenn es geht, würde ich gerne weiterhin mit TeXShop arbeiten, weil mir das Programm sehr zusagt.

Vielen Dank schon mal,
Lg

Verfasst: Mo 13. Okt 2014, 10:35
von Johannes_B
Bitte beachte, dass die Links von Ulrike und mir nicht zu Dekorationszwecken platziert wurden.

Verfasst: Mo 13. Okt 2014, 17:36
von Sunburst
Hallo,

Danke für den Hinweis. Ich habe mir alle 3 Links durchgesehen.
Ich bin sehr dankbar für jede Information. Was ich gerne zu diesen sagen möchte ist folgendes:

Der Link, der grundsätzlichen Nachteil von templates aufzeigt ist sehr informativ. Das einzige was ich dabei herauslesen kann ist, dass das verwenden eines templates dazu führt, dass man nicht genau weiß was jede Zeile im Code eigentlich macht und das teilweise sehr veraltete templates zu Problem führen können.

Das template der TU Graz ist soweit ich weiß von 2012. Ich hoffe, dass man ein solches Dokument noch als aktuell ansehen darf. Am Alter des Dokuments kann es also nicht liegen.

Als jemand, der gerne Latex als Hilfe benützen würde, steht es für mich außer Zweifel, dass ich ein template benutzen möchte ohne vorher zum Latex Guru zu werden. Ich hoffe dies liegt im Bereich des Möglichen.

Das von mir angegebene Problem ist meiner Ansicht nach sehr einfach zu lösen. Ich hatte gehoffte, dass viele Leute dasselbe Problem hatten und mir hier schnell geholfen werden könnte.

Ich habe in TexShop wie in dem zweiten Link beschrieben, Biber mit bibtex vertauscht.
Nun bekomme ich diese Fehlermeldung:

INFO - This is Biber 1.6
INFO - Logfile is 'main.blg'
INFO - Reading 'main.bcf'
INFO - Found 3 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'references-biblatex.bib' for section 0
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'references-biblatex.bib'
INFO - Overriding locale 'en_US.UTF-8' default tailoring 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting 'entry' list 'nyt' keys
INFO - No sort tailoring available for locale 'en_US.UTF-8'
INFO - Writing 'main.bbl' with encoding 'UTF-8'
INFO - Output to main.bbl

Ich kann meine Bibliothek auch mit einem anderen Programm verwalten. Ich denke, dass es sich bei meinem Problem nur um eine Art Kompatibilitätsproblem zweier Programme oder ähnliches handeln kann.

Ich würde mich sehr freuen, wenn sich jemand der bereits Erfahrung mit Latex und seinen Anforderungen hat, mein Problem kurz genau ansehen könnte.

Vielen Dank nochmals an alle die mir Helfen wollen, sodass ich bald mit dem Schreiben meiner Arbeit beginnen kann.
Lg

Verfasst: Mo 13. Okt 2014, 17:40
von u_fischer
Nun bekomme ich diese Fehlermeldung:
Warum glaubst du, dass das eine Fehlermeldung ist? Dort steht doch nirgendwo "Error" oder "Warn", Kompiliere jetzt einfach nochmal mit pdflatex.
This is Biber 1.6
Dein System ist nicht völlig aktuell. Ich habe biber 1.9 und biblatex 2.9.

Verfasst: Do 16. Okt 2014, 19:50
von Sunburst
Hey Leute,

Vielen Dank für die Erklärung, dass es sich hier nicht um eine Fehlermeldung handelt. Wenn ich jetzt probiere, wieder mit Latex zu compilieren, wird gar kein pdf mehr ausgegeben. In der Main console bleibt der Prozess "stecken".

Aus irgendeinem Grund kann ich den Text leider nicht markieren und hier her kopieren. Ich versuche nun aber dennoch die mir wichtig scheinenden Passagen anzugeben (siehe Anhang).

Ich habe auch schon versucht, Biber zu aktualisieren. Leider hat es nicht funktioniert/habe ich es nicht richtig gemacht. Vielleicht könnte mir jemand einen Link angeben, wo man es aktualisieren, sich eine neue Version herunterladen kann, die dann auch geht (Für Mac OS X).


Vielen Dank schon mal,

LG

Verfasst: Do 16. Okt 2014, 19:55
von Johannes_B
Dateianhänge sind hier schon seit längerem kaputt, du erhältst aber eine entsprechende Fehlermeldung.

Auf diese musst du natürlich auch achten. Bei LaTeX genauso, nicht einfach nur über Texte wundern, sondern die auch lesen. Menschen haben diese Text geschreiben, damit diese in besonderen Momenten ausgegeben werden und Hinweise auf die Ursache geben.

Kannst du uns die log-Datei verfügbar machen?


Wieso erscheinen dir eigentlich bestimmte Passagen wichtiger als andere?

Verfasst: Fr 17. Okt 2014, 14:40
von Sunburst
Danke erstmal.

Die von mir geposteten Passagen kamen mir persönlich relevanter vor, als der Rest. Normalerweise hätte ich natürlich alles kopiert, da ich den Text jedoch nicht markieren konnte, habe ich versucht das Relevante zu extrahieren, was mir offensichtlich als Dilettant nicht gelungen ist.

Ich habe die log. Datei angehängt.
https://www.dropbox.com/s/bbo8ho4isbt5qy6/main.log?dl=0

Ich hoffe, dass diese Aufschluss geben kann, wo der nächste Schritt zu setzen wäre.

Vielen Dank für eure Hilfe. Ich glaube fest daran, dass das Problem noch gelöst werden kann.
Lg und einen schönen Start ins We