I want to have two separate bibliographies, one is for Internet sources, the other is for books.
Here is my code:
\documentclass[12pt]{scrreprt}
\usepackage{multibib}
\newcites{sec}{Internetquellen}
\begin{document}
Text......
Hallo \cite{3} Hallo \citesec{A}
%1.Literaturverzecihnis
\bibliographystyle{plain}
\bibliography{Literatur}
%2.Literaturverzecihnis
\bibliographystylesec{plain}
\bibliographysec{AndereLiteratur}
\end{document}
Somehow, LaTeX doesn't recognize \bibliographysec. Does TeXMaker needs to be setup in a specific way for this to work?
The sources are saved inside the .bib files, of course.
\printbibliography[title=Internet sources, type=online]or\printbibliography[title=Other references, nottype=online]or\printbibliography[title=..., keyword=...], which would ony print those entries from the bib file that match the relevanttypeorkeyword. – Jasper Habicht Mar 06 '23 at 14:45\bibliographysec. It is possible that your editor (or rather your editor's code highlighting heuristic) does not recognise it, but this is not a real LaTeX issue unless the LaTeX run itself produces an error message about that. (Many editors have a heuristic to analyse code and help you with additional hints and warnings. Usually these heuristics "are not TeX" and sometimes they can get stuff wrong.) ... – moewe Mar 06 '23 at 16:42multibibdoes need some special treatment, though. It is not enough to run the usual LaTeX, BibTeX, LaTeX, LaTeX compilation cycle on the file (see https://tex.stackexchange.com/q/63852/35864 for more details). BibTeX needs to be run on additional files. If your editor usually does the compilation steps for you, you may have to run these steps manually. (Good compile tools likelatexmkcan automatically run the required BibTeX calls, but your editor might not.) – moewe Mar 06 '23 at 16:43multibiband friends). – moewe Mar 06 '23 at 16:51