我正在写论文,但无法让它工作\documentclass[final]{scrreprt}
。pdflatex
只有启用草稿选项时才能通过。此外,我无法使用该hyperref
包。我没有看到任何错误,但链接和hypersetup
s 没有抓取。我试了很长时间,但还是无法让它工作。所以我唯一的想法就是在这里询问并提供我的整个序言。
\documentclass[
11pt,
DIV10,
a4paper,
oneside,
titlepage,
parskip=half,
headings=normal,
listof=totoc,
bibliography=totoc,
%index=totoc,
draft=true %
]{scrreprt}
\newcommand*\iffdraft[2]{%
\ifdim\overfullrule>0pt
#1%
\else
#2%
\fi
}
然后我加载一个带有如下定义的文本文档,\newcommand{\title}{Not working thesis}
后面跟着带有以下包的 .tex 文件:
% !TeX encoding = UTF-8
\usepackage[
automark,
headsepline,
ilines
]{scrpage2}
\usepackage[T1]{fontenc}
\usepackage[
greek,
english,
]{babel}
\usepackage{textcomp}
\usepackage{lmodern}
\usepackage{relsize}
\usepackage{mdwlist}
\usepackage{paralist}
\usepackage[
%dvips,
%final
]{graphicx}
\graphicspath{{figures/}}
\usepackage{amsmath,amsfonts,amssymb,xfrac,nicefrac,units}
\usepackage{calc}
\usepackage{graphics}
\usepackage{keyval}
\usepackage{twoopt}
\usepackage{gensymb}
\usepackage[
%prefixsymbolic=false,
load=accepted,
repeatunits=false,
trapambigrange=false,
%input-symbols=()
]{siunitx}%
\usepackage[version=3]{mhchem}
\usepackage{makeidx}
\usepackage{setspace}
\usepackage{geometry}
%\usepackage{floatflt}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}
\usepackage{tikz}
\usetikzlibrary{spy}
\usepgfplotslibrary{external}
\tikzexternalize[prefix=TikzPictures/]
\usepackage{standalone}
\usepackage{rotating}
\usepackage{wrapfig,booktabs}
% \usepackage{tablefootnote}
\usepackage[normal]{threeparttable}
\usepackage{multirow,bigdelim}
\usepackage{url}
\usepackage[
%natbib=true,
backend=biber,
doi=false,
isbn=false,
url=false,
sorting=none,
maxnames=2]{biblatex}
\bibliography{References}
\usepackage[justification=justified,singlelinecheck=false]{caption}
\usepackage{subcaption}
\setlength\overfullrule{0pt}
\setlength{\marginparwidth}{2cm}
\makeatletter
\newcommand{\rmnum}[1]{\romannumeral #1}
\newcommand{\Rmnum}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
\usepackage[chapter]{easy-todo}
\usepackage[
bookmarks,
bookmarksopen=true,
colorlinks=true,
linkcolor=red,
anchorcolor=black,
citecolor=blue,
filecolor=magenta,
menucolor=red,
urlcolor=cyan,
% linkcolor=black,
% anchorcolor=black,
% citecolor=black,
% filecolor=black,
% menucolor=black,
% urlcolor=black,
%backref,
unicode,
plainpages=false,
pdfpagelabels,
hypertexnames=false,
linktocpage
%draft=false
]{hyperref}
\hypersetup{
pdftitle={\tile \subtitle},
pdfauthor={\author},
pdfcreator={\author},
pdfsubject={\title \subtitle},
pdfkeywords={\title \subtitle},
}
\usepackage{fixltx2e}
\usepackage{acro}
\acsetup{
page-ref = none,% Seitennummer in Klammern
extra-style = comma,% extra-Informationen mit Komma anhÀngen
only-used = false,% fÃŒr das Beispiel auch die nicht verwendeten in die Liste aufnehmen
sort = true, % Liste sortieren
hyperref = {true}
}
\input{acro.tex}
\usepackage[english]{cleveref}
\usepackage{chngcntr}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage{array}
\usepackage{ragged2e}
\usepackage{lscape}
\newcolumntype{w}[1]{>{\raggedleft\hspace{0pt}}p{#1}}
\usepackage{paralist}
\usepackage{ifthen}
\usepackage{xspace}
\usepackage{xkeyval}
\usepackage[utf8]{inputenc}
\usepackage[autostyle]{csquotes}
这是目前创建 pdf 文档的示例。除了命名的问题之外,我目前没有看到任何问题。此外,我正在将其用于Biber
我的参考书目。我希望这可以重现我的问题。我感谢任何反馈。