[OS X TeX] input versus include in Texshop

Bruno Voisin bvoisin at mac.com
Wed Jan 5 03:33:10 EST 2005

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:

\def\@include#1 {%
%  \clearpage
   \if at filesw
   \if at partsw
     \edef\reserved at b{#1}%
     \@for\reserved at a:=\@partlist\do
       {\ifx\reserved at a\reserved at b\@tempswatrue\fi}%
   \if at tempswa
     \if at filesw
       \immediate\openout\@partaux #1.aux
%    \clearpage
     \if at filesw

To be tried with fingers crossed, as (1) I don't use pdfsync myself and 
(2) patching such low-level LaTeX commands may be hazardous to your 

Bruno Voisin

--------------------- 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 MacOSX-TeX mailing list