My question is similar to Using \clearpage breaks \hyperref bookmarks; I have the same problem using KomaScript: I use \addtokomafont{section}{\clearpage} to make sections start on a new page.

When using the hyperref package, the section bookmarks point to the end of the previous section instead of the start of the new one.

\documentclass{scrartcl}
\usepackage{hyperref}
\hypersetup{bookmarksnumbered=true}
\usepackage{bookmark}

\begin{document}
\section{First}
Some text
\section{Second}
More Text
\end{document}

• Welcome to TeX.SX! Maybe \phantomsection would help. – Bobyandbob Dec 20 '17 at 16:27
• ... \addtokomafont{section}{\clearpage\phantomsection} – Bobyandbob Dec 20 '17 at 16:35

\documentclass{scrartcl}
\usepackage{hyperref}
\hypersetup{bookmarksnumbered=true}
\usepackage{bookmark}

\let\Section\section
\renewcommand\section{\clearpage\Section}

\begin{document}
\section{First}
Some text
\section{Second}
More Text
\end{document}

• This solution works as well, like \addtokomafont{section}{\clearpage\phantomsection}. Which one is the better approach? – Markus Nißl Dec 20 '17 at 16:50
• you should use \addkomafont only for _ font_ setting and not for anything else ... – user2478 Dec 20 '17 at 18:24

You could use \addtokomafont{section}{\clearpage\phantomsection} instead. The \phantomsection command is nessesary for hyperref to get correct bookmarks/pages.

\documentclass{scrartcl}
\usepackage{hyperref}
\hypersetup{bookmarksnumbered=true}
\usepackage{bookmark}