
Ich habe folgende Latexprobe:
\begin{filecontents}{\jobname.bib}
@InProceedings{ttest,
author="H{\"u}bner, Jomi Fred
and Sichman, Jaime Sim{\~a}o
and Boissier, Olivier",
editor="Boissier, Olivier
and Padget, Julian
and Dignum, Virginia
and Lindemann, Gabriela
and Matson, Eric
and Ossowski, Sascha
and Sichman, Jaime Sim{\~a}o
and V{\'a}zquez-Salceda, Javier",
title="{\$}{\backslash}mathcal{\{}S-M{\}}oise^{\{}+{\}}{\$}: A Middleware for Developing Organised Multi-agent Systems",
booktitle="Coordination, Organizations, Institutions, and Norms in Multi-Agent Systems",
year="2006",
publisher="Springer Berlin Heidelberg",
address="Berlin, Heidelberg",
pages="64--77",
isbn="978-3-540-35176-4"
}
\end{filecontents}
\documentclass{article}
\begin{document}
something about \cite{ttest} and also.
\bibliographystyle{plain}
\bibliography{\jobname}
\end{document}
Wenn ich mit pdflatex kompiliere, erhalte ich diesen Fehler: Fehlendes $ eingefügt. Der Fehler befindet sich in der BBL-Datei
Danke im Voraus.
Antwort1
Die Website der Zeitschrift, von der Sie dies haben, hat eine übermäßig aggressive Escape-Funktion. Der title
Eintrag sollte
title="{$\mathcal{S-M}oise^{+}$}: A Middleware foar Developing Organised Multi-agent Systems",
filecontents
Ich würde das Paket verwenden , da die filecontents
Standardumgebung die generierte Datei nach ihrer ersten Erstellung niemals überschreibt. Verwirrt Benutzer, die das nicht wissen.
Hier ist ein korrigiertes MWE mit dem filecontents
Paket
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@InProceedings{ttest,
author="H{\"u}bner, Jomi Fred
and Sichman, Jaime Sim{\~a}o
and Boissier, Olivier",
editor="Boissier, Olivier
and Padget, Julian
and Dignum, Virginia
and Lindemann, Gabriela
and Matson, Eric
and Ossowski, Sascha
and Sichman, Jaime Sim{\~a}o
and V{\'a}zquez-Salceda, Javier",
title="{$\mathcal{S-M}oise^{+}$}: A Middleware foar Developing Organised Multi-agent Systems",
booktitle="Coordination, Organizations, Institutions, and Norms in Multi-Agent Systems",
year="2006",
publisher="Springer Berlin Heidelberg",
address="Berlin, Heidelberg",
pages="64--77",
isbn="978-3-540-35176-4"
}
\end{filecontents*}
\begin{document}
something about \cite{ttest} and also.
\bibliographystyle{plain}
\bibliography{\jobname}
\end{document}
filecontents
Den Unterschied zwischen filecontents
und finden Sie im Handbuch.filecontents*