Hallo,
also ich habs nun doch noch mal selbst versucht und beides funktioniert bei mir:
Code:
\documentclass{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
% \usepackage[subfigure]{tocloft}
\usepackage[justification=justified,singlelinecheck=false,labe lfont={bf,small,sf},font={small,sf},
aboveskip=0.5em,belowskip=0em]{caption}
\usepackage[justification=justified,singlelinecheck=false,labe lfont={small,sf},font={small,sf}]{subfig}
% \setcounter{lofdepth}{3} % depth of the table of figures
\usepackage[english]{varioref}
\usepackage[pdfpagelabels=true,english,backref,pagebackref]{hyperref}
\hypersetup{colorlinks=true,breaklinks=true,linkcolor=blue,menucolor=blue,pagecolor=blue}
\usepackage[all]{hypcap} % a link jumps and focus on the picture and not on the caption
% Kombination of \autoref and \vref =>Figures/tables/chapters... together with nomber as a hyperlink in the pdf
\newcommand*{\fvref}[1]{\hyperref[#1]{\figurename}\vref{#1}}
\newcommand*{\tvref}[1]{\hyperref[#1]{\tablename}\vref{#1}}
\newcommand*{\chaptervref}[1]{\hyperref[#1]{\chapterautorefname}\vref{#1}}
\newcommand*{\sectionvref}[1]{\hyperref[#1]{\sectionautorefname}\vref{#1}}
\begin{document}
\def\figbox#1#2#3{%
\fbox{\hbox to #1{%
\vbox to #2{%
\vfil
\hbox to #1{%
\hfil
#3
\hfil}%
\vfil}}}}
\begin{figure}[htbp]
\subfloat[captionOfPic1InLof][]{\label{subfig:1}{\figbox{5cm}{5cm}{One}}}
\hfill
\subfloat[captionOfPic2InLof][]{\label{subfig:2}{\figbox{6cm}{4cm}{Two}}}
\caption[captionOfPic1And2]{captionOfPic1And2 \subref{subfig:1} is here \subref{subfig:2} that's here}
\label{fig:1}
\end{figure}
\begin{figure}[htbp]
\subfloat[captionOfPic1InLof][]{\label{subfig:1}{\figbox{5cm}{5cm}{One}}}
\hfill
\subfloat[captionOfPic2InLof][]{\label{subfig:2}{\figbox{6cm}{4cm}{Two}}}
\caption{captionOfPic1And2 \protect\subref{subfig:1} is here \protect\subref{subfig:2} that's here}
\label{fig:2}
\end{figure}
% to get the list as an bookmark
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\end{document}
Matthias
Lesezeichen