
ACTUALIZADO. El siguiente código es funcional, pero el pdf solo se genera si se presiona la tecla Intro cuando aparecen mensajes de advertencia. Mi solución en este momento es ejecutarlo en modo continuo, como por ejemplo: abra cmd en la ubicación adecuada y escriba 'pdflatex -interaction nonstopmode example.tex'. Me preguntaba si había alguna forma de obtener los mismos resultados de forma limpia, es decir, sin necesidad de seguir las advertencias.
\documentclass[10pt, a3paper]{article}
\newcommand{\projecttitle}{Interaction Nonstopmode}
\usepackage{tikz}
\usepackage{pdfpages}
\usepackage{pdflscape}
\usepackage{geometry}
\geometry{
a3paper,
left=23mm,
top=15mm,
right=10mm,
bottom=15mm,
headheight=38pt,
includeheadfoot,
showframe=false
}
\begin{document}
\tableofcontents
\newpage
\thispagestyle{empty}
\includepdf[scale=1.000, trim=0cm 0cm 0.0cm 2cm, pagecommand= {\begin{tikzpicture}[remember picture, overlay] \node [anchor=west] at (-0.2, 0) {\section{Section 1}}; \end{tikzpicture}}]{any_pdf_image.pdf}
\newpage
\thispagestyle{empty}
\includepdf[scale=1.000, trim=0cm 0cm 0.0cm 2cm, pagecommand= {\begin{tikzpicture}[remember picture, overlay] \node [anchor=west] at (-0.2, 0) {\section{Section 2}}; \end{tikzpicture}}]{any_pdf_image.pdf}
\newpage
\thispagestyle{empty}
\includepdf[scale=1.000, trim=0cm 0cm 0.0cm 2cm, pagecommand= {\begin{tikzpicture}[remember picture, overlay] \node [anchor=west] at (-0.2, 0) {\section{Section 3}}; \end{tikzpicture}}]{any_pdf_image.pdf}
\end{document}
Respuesta1
xwatermark coloca la marca de agua en un \parbox de tamaño \paperwidth/\paperheight. Al intentar escalar esto en 12 y luego rotarlo, la dimensión se vuelve demasiado grande. Mueva la escala al cuadro de guardado.
El segundo problema es que estás usando \section dentro de un \node. Eso es bastante atrevido. Ocultarlo en un \parbox:
\documentclass[10pt, a3paper]{article}
\newcommand{\projecttitle}{Interaction Nonstopmode}
\usepackage{tikz}
\usepackage[printwatermark]{xwatermark}
\usepackage{pdfpages}
\usepackage{pdflscape}
\usepackage{geometry}
\geometry{
a3paper,
left=23mm,
top=15mm,
right=10mm,
bottom=15mm,
headheight=38pt,
includeheadfoot,
showframe=false
}
\newsavebox\mybox
\newsavebox\mybox
\savebox\mybox{\scalebox{12}{\tikz[color=gray!1000,opacity=0.3]\node{DRAFT};}}
\newwatermark*[allpages,angle=45]{\usebox\mybox}
\begin{document}
\tableofcontents \thispagestyle{fancy}
\addtocontents{toc}{\protect\thispagestyle{empty}}
\pagenumbering{gobble}
\newpage
\thispagestyle{empty}
\includepdf[scale=1.000, trim=0cm 0cm 0.0cm 2cm, pagecommand= {\begin{tikzpicture}[remember picture, overlay] \node [anchor=west] at (-0.2, 0) {\parbox{\linewidth}{\section{Section 1}}}; \end{tikzpicture}}]{example-image.pdf}
\newpage
\thispagestyle{empty}
\includepdf[scale=1.000, trim=0cm 0cm 0.0cm 2cm, pagecommand= {\begin{tikzpicture}[remember picture, overlay] \node [anchor=west] at (-0.2, 0) {\parbox{\linewidth}{\section{Section 2}}}; \end{tikzpicture}}]{example-image.pdf}
\newpage
\thispagestyle{empty}
\includepdf[scale=1.000, trim=0cm 0cm 0.0cm 2cm, pagecommand= {\begin{tikzpicture}[remember picture, overlay] \node [anchor=west] at (-0.2, 0) {\parbox{\linewidth}{\section{Section 3}}}; \end{tikzpicture}}]{example-image.pdf}
\end{document}