von Airborningo » Sa 26. Apr 2014, 02:42
Moin!
Ich habe ein seltsames Problem mit Latex Bibtex.
Von Quelle 1 bis Quelle 9 ist alles korrekt, aber sobald die Qullennummer zweizifferig wird wird bei der Einstellung \usepackage[numbers]{natbib} nur die erste Ziffer im PDF-Dokument angezeigt.
Beispielsweise steht dann anstatt 10, 11, 12, 13... immer eine 1 im PDF. Klicke ich auf die Zahl Springt das PDF Dokument an die richtige Stelle im Literaturverzeichnis (bei 12->12).
Bei \usepackage[authoryear]{natbib} wird an der Zietierstelle nur die zweite Ziffer angezeigt.
Beispielsweise bei 10 eine 0, bei 11 eine 1, bei 12 eine 2... Beim klicken auf diese springt das PDF wie im vorherigen Fall an die richtige Stelle im Literaturverzeichnis.
Ist das ein bekanntes Problem? Habs zusätzlich mit \bibpunct{}{}{}{n}{}{} probiert- ändert aber nix.
Masterarbeit.tex ist:
%Masterarbeit
\documentclass[11pt,twoside]{article}
\author{Ingo Deschner}
\title{Masterthesis}
%PACKAGES
\usepackage[latin1]{inputenc} % translates various standard and other input encodings into a LaTeX internal language
%\usepackage[T1]{fontenc}
\usepackage[ngerman, english]{babel} % language package
\usepackage[automark]{scrpage2} % head and footnotes
\usepackage{color} % coloring text
\usepackage{amsmath} % building mathematical formulars as known in standard books
\usepackage{amsfonts} % an extended set of fonts used in mathematics e.g.: extra mathematical symbols, ect.
\usepackage{amssymb} % making symbols like arrows, relation symbols, operators and greek letters (Omega, ect.)
\usepackage{amsrefs} % making references
\usepackage[absolute]{textpos}
\usepackage[numbers]{natbib} % used for cites and references [numbers, square, round]
\bibpunct{}{}{}{n}{}{}
\usepackage{fixltx2e} % fixing bugs in LaTeX
\usepackage[pdftex]{graphicx} % used for \includegraphics[scale= ]{ } and many graphic functions
%\usepackage{epsfig} % for latex file
\usepackage{listings} % Print Source Code in LaTeX
\usepackage{tabularx}
\usepackage{fancybox} % making frames around text of mathematical formulars
\usepackage{pdfpages} % inclusion of external multi-page pdf's
\usepackage{multirow} % making tables with overlapping fields
\usepackage{float} % add graphics at a certain point [H]
%\usepackage{floatflt}
\usepackage[intoc]{nomencl} % creating nomenclature
\usepackage{subfig} % it simplifes the positioning, captioning and labeling of tables and figures
\usepackage{wrapfig} % use \begin/end{wrapfigure} to write text around a graphic
\usepackage{todonotes} % making notes in the document
\usepackage{geometry} % adjusting the text geometry and size of a page
\usepackage{setspace} % adjust the spaces between lines
\usepackage{eurosym} % used to write the Euro symbol with the command \euro
\usepackage[colorlinks=false]{hyperref} % hyperlinks in pdf
%FORMATING
\pagestyle{scrheadings}
\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
\setlength{\headheight}{1.1\baselineskip}
\setlength{\parindent}{0pt}
\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
\newenvironment{myitemize}{\begin{itemize}\itemsep -5pt}{\end{itemize}}
\newcommand{\bs}{\textbackslash}
\geometry{a4paper,includehead,includefoot,hmargin=2cm,vmargin=1.5cm, bindingoffset=1cm,headsep=0.8cm,footskip=1cm} % page geometry
\linespread{1.1} % spaces between lines in the text
\lstset{language=C++,tabsize=3,captionpos=b,breaklines, aboveskip=2ex,belowskip=1ex} % set programming language style
\bibliographystyle{unsrt}
%------------------------------
\begin{document}
%Deckblatt
\include{kapitel/deckblatt}
\newpage
\thispagestyle{empty}
\cleardoublepage
%------------------------------
%Kurzfassung
\include{kapitel/kurzfassung}
\newpage
\thispagestyle{empty}
\cleardoublepage
%------------------------------
%Inhaltsverzeichnis
\include{kapitel/inhaltsverzeichnis}
%------------------------------
%Einleitung in den Verein DLR und die Abteilung MoRaBa
\include{kapitel/einleitung}
%------------------------------
%How To Generate Vibrations
\include{kapitel/HowToGenerateVibrations}
%------------------------------
%Voice Coils
\include{kapitel/VoiceCoils}
%------------------------------
%Hauptteil
%\include{kapitel/hauptteil}
%------------------------------
%Zusammenfassung
%\include{kapitel/zusammenfassung}
%------------------------------
%Anhänge
\appendix
%\include{kapitel/appendix}
%-----------------------------------------
%Literaturverzeichnis
\newpage
\bibliography{bib/quellen}
%------------------------------
%Listen
\newpage
\listoffigures
\listoftables
%\lstlistoflistings
%------------------------------
%Erklärung zur Bachelorarbeit
\include{dokumente/anhang/erklaerung}
\newpage
\thispagestyle{empty}
\cleardoublepage
%------------------------------
%------------------------------
\end{document}
Versucht habe ich
\cite, \citet und \citep -immer mit demselben Ergebnis
Kann mir da jemand witerhelfen?
Vielen Dank schon Mal!!
Ingo
Moin!
Ich habe ein seltsames Problem mit Latex Bibtex.
Von Quelle 1 bis Quelle 9 ist alles korrekt, aber sobald die Qullennummer zweizifferig wird wird bei der Einstellung \usepackage[numbers]{natbib} nur die erste Ziffer im PDF-Dokument angezeigt.
Beispielsweise steht dann anstatt 10, 11, 12, 13... immer eine 1 im PDF. Klicke ich auf die Zahl Springt das PDF Dokument an die richtige Stelle im Literaturverzeichnis (bei 12->12).
Bei \usepackage[authoryear]{natbib} wird an der Zietierstelle nur die zweite Ziffer angezeigt.
Beispielsweise bei 10 eine 0, bei 11 eine 1, bei 12 eine 2... Beim klicken auf diese springt das PDF wie im vorherigen Fall an die richtige Stelle im Literaturverzeichnis.
Ist das ein bekanntes Problem? Habs zusätzlich mit \bibpunct{}{}{}{n}{}{} probiert- ändert aber nix.
Masterarbeit.tex ist:
[code]
%Masterarbeit
\documentclass[11pt,twoside]{article}
\author{Ingo Deschner}
\title{Masterthesis}
%PACKAGES
\usepackage[latin1]{inputenc} % translates various standard and other input encodings into a LaTeX internal language
%\usepackage[T1]{fontenc}
\usepackage[ngerman, english]{babel} % language package
\usepackage[automark]{scrpage2} % head and footnotes
\usepackage{color} % coloring text
\usepackage{amsmath} % building mathematical formulars as known in standard books
\usepackage{amsfonts} % an extended set of fonts used in mathematics e.g.: extra mathematical symbols, ect.
\usepackage{amssymb} % making symbols like arrows, relation symbols, operators and greek letters (Omega, ect.)
\usepackage{amsrefs} % making references
\usepackage[absolute]{textpos}
\usepackage[numbers]{natbib} % used for cites and references [numbers, square, round]
\bibpunct{}{}{}{n}{}{}
\usepackage{fixltx2e} % fixing bugs in LaTeX
\usepackage[pdftex]{graphicx} % used for \includegraphics[scale= ]{ } and many graphic functions
%\usepackage{epsfig} % for latex file
\usepackage{listings} % Print Source Code in LaTeX
\usepackage{tabularx}
\usepackage{fancybox} % making frames around text of mathematical formulars
\usepackage{pdfpages} % inclusion of external multi-page pdf's
\usepackage{multirow} % making tables with overlapping fields
\usepackage{float} % add graphics at a certain point [H]
%\usepackage{floatflt}
\usepackage[intoc]{nomencl} % creating nomenclature
\usepackage{subfig} % it simplifes the positioning, captioning and labeling of tables and figures
\usepackage{wrapfig} % use \begin/end{wrapfigure} to write text around a graphic
\usepackage{todonotes} % making notes in the document
\usepackage{geometry} % adjusting the text geometry and size of a page
\usepackage{setspace} % adjust the spaces between lines
\usepackage{eurosym} % used to write the Euro symbol with the command \euro
\usepackage[colorlinks=false]{hyperref} % hyperlinks in pdf
%FORMATING
\pagestyle{scrheadings}
\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
\setlength{\headheight}{1.1\baselineskip}
\setlength{\parindent}{0pt}
\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
\newenvironment{myitemize}{\begin{itemize}\itemsep -5pt}{\end{itemize}}
\newcommand{\bs}{\textbackslash}
\geometry{a4paper,includehead,includefoot,hmargin=2cm,vmargin=1.5cm, bindingoffset=1cm,headsep=0.8cm,footskip=1cm} % page geometry
\linespread{1.1} % spaces between lines in the text
\lstset{language=C++,tabsize=3,captionpos=b,breaklines, aboveskip=2ex,belowskip=1ex} % set programming language style
\bibliographystyle{unsrt}
%------------------------------
\begin{document}
%Deckblatt
\include{kapitel/deckblatt}
\newpage
\thispagestyle{empty}
\cleardoublepage
%------------------------------
%Kurzfassung
\include{kapitel/kurzfassung}
\newpage
\thispagestyle{empty}
\cleardoublepage
%------------------------------
%Inhaltsverzeichnis
\include{kapitel/inhaltsverzeichnis}
%------------------------------
%Einleitung in den Verein DLR und die Abteilung MoRaBa
\include{kapitel/einleitung}
%------------------------------
%How To Generate Vibrations
\include{kapitel/HowToGenerateVibrations}
%------------------------------
%Voice Coils
\include{kapitel/VoiceCoils}
%------------------------------
%Hauptteil
%\include{kapitel/hauptteil}
%------------------------------
%Zusammenfassung
%\include{kapitel/zusammenfassung}
%------------------------------
%Anhänge
\appendix
%\include{kapitel/appendix}
%-----------------------------------------
%Literaturverzeichnis
\newpage
\bibliography{bib/quellen}
%------------------------------
%Listen
\newpage
\listoffigures
\listoftables
%\lstlistoflistings
%------------------------------
%Erklärung zur Bachelorarbeit
\include{dokumente/anhang/erklaerung}
\newpage
\thispagestyle{empty}
\cleardoublepage
%------------------------------
%------------------------------
\end{document}
[/code]
Versucht habe ich
\cite, \citet und \citep -immer mit demselben Ergebnis :?
Kann mir da jemand witerhelfen?
Vielen Dank schon Mal!!
Ingo