문제

I hope, this question is not too offtopic.

I have a bigger school project which involves some documentation. The documentation is a LaTeX file, and looks like this:

...
some explanation

\section {someCode}
\include{someCode.hs}
some explanation
...

The files someCode.hs.tex are auto-genereated from their corresponding .hs-Files using Pygments and a Makefile.

The Problem is: Each time, I include something, a pagebreak is inserted before. This is neither expected nor wanted. I googled, but found no answer. Any ideas?

도움이 되었습니까?

해결책

Use \input instead of \include.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top