I want to have a centred title page for my twoside report document and I am following these instructions:
Centered title page in twoside report
Here is a minimum (not) working example:
\documentclass[twoside]{report}
\usepackage{auto-pst-pdf}
\usepackage{pdfpages}
\usepackage{ifpdf}
\ifpdf
\usepackage{tikz}
\else
\usepackage{pst-eucl}
\fi
\begin{document}
\includepdf{pdf-sample.pdf}
\tableofcontents
\newpage
\chapter{Introduction}
This is content.
\end{document}
But the first page appears to be blank.
As soon as I remove either \ifpdf... or \usepackage{auto-pst-pdf}, the title page appears in my document.
I use pdflatex --shell-escape for compiling.
Unfortunately, I need both options for my document. Any help how to work around this problem will be appreciated.