von u_fischer » Mo 16. Nov 2015, 14:28
Hm. Also man kann das Problem deutlich verkleinern (Anmerkung benutze nicht \include in der Präambel, es muss \input{header} heißen):
\documentclass[a4paper,11pt,twoside,ngerman,color]{book}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\cite{DnaSimilarity2007})
\begin{figure}[p]
\pgfplotsset{footnotesize,width=6.5cm,compat=1.8}
%\pgfplotsset{footnotesize,samples=10}
\begin{center}
\begin{tabular}{rr}
\begin{tikzpicture}
\begin{axis}[
xmin=-53,xmax=53,
mark options={solid},
%ymin=0,
title={$n = 100, e = 0{,}5m = 42$},
%xlabel=Überlappungsbreit $\upsilon$,
ylabel style={align=center},
ylabel={Wahrscheinlichkeit},
%xticklabel=
% \pgfmathparse{100*\tick}
% \pgfmathprintnumber{\pgfmathresult}\,\%,
yticklabel=
\pgfkeys{/pgf/fpu}\pgfmathparse{100*\tick}
\pgfmathprintnumber{\pgfmathresult}\,\%,
yticklabel style={/pgf/number format/.cd,fixed,precision=1,fixed zerofill},
scaled ticks=false,
xtick={-50,-25,0,25,50},
minor x tick num={4},
%ytick={0.923,0.924,...,0.928},
%ytick={0.072,0.073,...,0.077},
legend columns=6,
legend entries={$o = 1n$,$o = 1{,}1n$,$o = 1{,}2n$,$o = 1{,}3n$,$o = 1{,}4n$,$o = 1{,}5n$,$o = 1{,}6n$,$o = 1{,}8n$,$o = 2n$,$o=2{,}2n$,$o=2{,}4n$,$o=2{,}6n$,$o=2{,}8n$,$o=3n$,$o=3{,}5n$,$o=4n$,$o=4{,}5n$,$o=5n$},
legend to name=leg:theo:win:sim,
legend cell align=left,
]
\draw[ultra thin, gray!50]
(axis cs:0,\pgfkeysvalueof{/pgfplots/ymin}) --
(axis cs:0,\pgfkeysvalueof{/pgfplots/ymax});
\draw[ultra thin, gray!50]
(axis cs:\pgfkeysvalueof{/pgfplots/xmin},0) --
(axis cs:\pgfkeysvalueof{/pgfplots/xmax},0);
\addplot[thick, color=yellow!70!red, smooth] table[x=over,y=100] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=red!50!yellow, smooth] table[x=over,y=110] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=red, smooth] table[x=over,y=120] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=red!40!magenta, smooth] table[x=over,y=130] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=magenta, smooth] table[x=over,y=140] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=magenta!83!blue, smooth] table[x=over,y=150] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=magenta!66!blue, smooth] table[x=over,y=160] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=blue!50!magenta, smooth] table[x=over,y=180] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=blue, smooth] table[x=over,y=200] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=blue!66!cyan, smooth] table[x=over,y=220] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=cyan!55!blue, smooth] table[x=over,y=240] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=cyan!77!blue, smooth] table[x=over,y=260] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=cyan, smooth] table[x=over,y=280] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=cyan!60!green, smooth] table[x=over,y=300] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=green!60!cyan, smooth] table[x=over,y=350] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=green, smooth] table[x=over,y=400] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=green!50!yellow, smooth] table[x=over,y=450] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=yellow!66!green, smooth] table[x=over,y=500] {data/theo_win_rlng100_e42.dat};
\end{axis}
\end{tikzpicture}
\end{tabular}
\ref*{leg:theo:win:sim}
\end{center}
\caption{Wahrscheinlichkeiten, einen Read nicht zu finden für unterschiedliche Konfigurationen. Die Überschrift der Diagramm gibt die Readlänge $n$ und die Anzahl $e$ der fehlerhaften $q$-Gramme an. Der Fensterabstand $o$ hängt von der Farbe der jeweiligen Kurve ab, die genauen Werte sind in der Legende gezeigt. Auf der x-Achse wurde jeweils die Überlappungsbereite $\upsilon$ variiert. Die Fensterlänge $w$ ist gleich $o + \upsilon$.}
\label{fig:theo:win:sim}
\end{figure}
\bibliographystyle{gerabbrv}
\bibliography{literatur/literatur}
\end{document}
Wenn man bei diesem Dokument mit miktex bibtex aufruft, dann erhält man
This is BibTeX, Version 0.99d (MiKTeX 2.9)
The top-level auxiliary file: main.aux
Buffer size exceeded!Drücken Sie eine beliebige Taste . . .
Der Grund ist, dass pgfplots eine 26.373 lange Zeile in die aux-Datei schreibt, und bibtex damit überfordert ist. Mit TeXLive 2015 geht es (daher lief es mir zuerst), wahrscheinlich ist dort der Buffer größer, aber so eine Zeilenlänge ist m.E. absurd, also wäre ein Bugreport bei pgfplots sinnvoll.
Edit: Ich habe einen Bugreport gemacht:
https://sourceforge.net/p/pgfplots/bugs/97/.
Als Workaround fällt mir derzeit nur ein, auf legend to name zu verzichten, oder biblatex/biber statt bibtex zu benutzen, oder auf texlive umzusteigen.
Hm. Also man kann das Problem deutlich verkleinern (Anmerkung benutze nicht \include in der Präambel, es muss \input{header} heißen):
[code]\documentclass[a4paper,11pt,twoside,ngerman,color]{book}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\cite{DnaSimilarity2007})
\begin{figure}[p]
\pgfplotsset{footnotesize,width=6.5cm,compat=1.8}
%\pgfplotsset{footnotesize,samples=10}
\begin{center}
\begin{tabular}{rr}
\begin{tikzpicture}
\begin{axis}[
xmin=-53,xmax=53,
mark options={solid},
%ymin=0,
title={$n = 100, e = 0{,}5m = 42$},
%xlabel=Überlappungsbreit $\upsilon$,
ylabel style={align=center},
ylabel={Wahrscheinlichkeit},
%xticklabel=
% \pgfmathparse{100*\tick}
% \pgfmathprintnumber{\pgfmathresult}\,\%,
yticklabel=
\pgfkeys{/pgf/fpu}\pgfmathparse{100*\tick}
\pgfmathprintnumber{\pgfmathresult}\,\%,
yticklabel style={/pgf/number format/.cd,fixed,precision=1,fixed zerofill},
scaled ticks=false,
xtick={-50,-25,0,25,50},
minor x tick num={4},
%ytick={0.923,0.924,...,0.928},
%ytick={0.072,0.073,...,0.077},
legend columns=6,
legend entries={$o = 1n$,$o = 1{,}1n$,$o = 1{,}2n$,$o = 1{,}3n$,$o = 1{,}4n$,$o = 1{,}5n$,$o = 1{,}6n$,$o = 1{,}8n$,$o = 2n$,$o=2{,}2n$,$o=2{,}4n$,$o=2{,}6n$,$o=2{,}8n$,$o=3n$,$o=3{,}5n$,$o=4n$,$o=4{,}5n$,$o=5n$},
legend to name=leg:theo:win:sim,
legend cell align=left,
]
\draw[ultra thin, gray!50]
(axis cs:0,\pgfkeysvalueof{/pgfplots/ymin}) --
(axis cs:0,\pgfkeysvalueof{/pgfplots/ymax});
\draw[ultra thin, gray!50]
(axis cs:\pgfkeysvalueof{/pgfplots/xmin},0) --
(axis cs:\pgfkeysvalueof{/pgfplots/xmax},0);
\addplot[thick, color=yellow!70!red, smooth] table[x=over,y=100] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=red!50!yellow, smooth] table[x=over,y=110] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=red, smooth] table[x=over,y=120] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=red!40!magenta, smooth] table[x=over,y=130] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=magenta, smooth] table[x=over,y=140] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=magenta!83!blue, smooth] table[x=over,y=150] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=magenta!66!blue, smooth] table[x=over,y=160] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=blue!50!magenta, smooth] table[x=over,y=180] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=blue, smooth] table[x=over,y=200] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=blue!66!cyan, smooth] table[x=over,y=220] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=cyan!55!blue, smooth] table[x=over,y=240] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=cyan!77!blue, smooth] table[x=over,y=260] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=cyan, smooth] table[x=over,y=280] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=cyan!60!green, smooth] table[x=over,y=300] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=green!60!cyan, smooth] table[x=over,y=350] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=green, smooth] table[x=over,y=400] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=green!50!yellow, smooth] table[x=over,y=450] {data/theo_win_rlng100_e42.dat};
\addplot[thick, color=yellow!66!green, smooth] table[x=over,y=500] {data/theo_win_rlng100_e42.dat};
\end{axis}
\end{tikzpicture}
\end{tabular}
\ref*{leg:theo:win:sim}
\end{center}
\caption{Wahrscheinlichkeiten, einen Read nicht zu finden für unterschiedliche Konfigurationen. Die Überschrift der Diagramm gibt die Readlänge $n$ und die Anzahl $e$ der fehlerhaften $q$-Gramme an. Der Fensterabstand $o$ hängt von der Farbe der jeweiligen Kurve ab, die genauen Werte sind in der Legende gezeigt. Auf der x-Achse wurde jeweils die Überlappungsbereite $\upsilon$ variiert. Die Fensterlänge $w$ ist gleich $o + \upsilon$.}
\label{fig:theo:win:sim}
\end{figure}
\bibliographystyle{gerabbrv}
\bibliography{literatur/literatur}
\end{document}
[/code]
Wenn man bei diesem Dokument mit miktex bibtex aufruft, dann erhält man
[code]This is BibTeX, Version 0.99d (MiKTeX 2.9)
The top-level auxiliary file: main.aux
Buffer size exceeded!Drücken Sie eine beliebige Taste . . .[/code]
Der Grund ist, dass pgfplots eine 26.373 lange Zeile in die aux-Datei schreibt, und bibtex damit überfordert ist. Mit TeXLive 2015 geht es (daher lief es mir zuerst), wahrscheinlich ist dort der Buffer größer, aber so eine Zeilenlänge ist m.E. absurd, also wäre ein Bugreport bei pgfplots sinnvoll.
Edit: Ich habe einen Bugreport gemacht: https://sourceforge.net/p/pgfplots/bugs/97/.
Als Workaround fällt mir derzeit nur ein, auf legend to name zu verzichten, oder biblatex/biber statt bibtex zu benutzen, oder auf texlive umzusteigen.