[dk-tug] revtex4 vs. \include

Lars Madsen <[email protected]>
Newsgroups gmane.comp.tex.danish
Message-ID <[email protected]>
Er det bare mig eller er revtex4 klassen ikke videre glad for \include?
Anvender man \input i stedet, så får man hvad man ville forvente.

Synes ikke lige at dette var nævnt i manualen


\begin{filecontents}{xx1.tex}
\section{XXX1}
\lipsum[1]
\subsection{XXX1-a}
\lipsum
\end{filecontents}
\begin{filecontents}{xx2.tex}
\section{XXX2}
\lipsum[1]
\subsection{XXX2-b}
\lipsum
\end{filecontents}

\documentclass[a4paper,twocolumn]{revtex4}
\usepackage{lipsum}
\begin{document}

\title{title}
\author{author}
\affiliation{somewhere}
\date{\today}

\begin{abstract}
some abstract
\end{abstract}

\maketitle
\bigskip

\tableofcontents

% med denne fungerer tingene
%\let\include\input

\include{xx1}
\include{xx2}

\end{document}


-- 

/daleif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.