[OS X TeX] input versus include in Texshop

Jonathan Kew jonathan_kew at sil.org
Wed Jan 5 13:03:18 CET 2005


On 5 Jan 2005, at 8:33 am, Bruno Voisin wrote:

> Le 5 janv. 05, à 09:14, David Arnold a écrit :
>
>> Workaround? I don't want my include commands to make the input file 
>> start on a new page.
>
> Did you try putting in the preamble of your master file the definition 
> of \include from 
> /usr/local/teTeX/share/texmf.tetex/tex/latex/base/latex.ltx, with the 
> \clearpage commands commented out? Namely:
> [snip]

Personally I'd probably patch it in a different way, by temporarily 
disabling the \clearpage command that \include uses. Something along 
the lines of:

\let\INCLUDE=\include
\let\CLEARPAGE=\clearpage
\def\include#1 {\let\clearpage=\relax \INCLUDE{#1} 
\let\clearpage=\CLEARPAGE}

Haven't tried it though. (NB: This would fail if your included file 
wants to use \clearpage itself!)

JK
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list