🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2485

How to \include in cycle ?

#2485
From: Andrei Osin
Date: Wed, 19 Aug 1992 11:24
13 lines
754 bytes
I want to TeX only separate pages of a book by typing in their numbers.
What's wrong with the following structure:

\documentstyle[ifthen]{book}
\typein[\pages]{}
\includeonly{title,\pages}
\begin{document}
\newcounter{pag}
\setcounter{pag}{1}
\include{title}
\whiledo{\value{pag} < 170}
	{ \include{\thepag}\stepcounter{pag} }
\end{document}
Technical Details
Message-ID: <AB7-YaguV9@sel.izmiran.troitsk.su>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!mcsun!fuug!kiae!relcom!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!mcsun!fuug!kiae!relcom!usenet
From: osin@sel.izmiran.troitsk.su (Andrei Osin)
Newsgroups: comp.text.tex
Subject: How to \include in cycle ?
Keywords: include includeonly
Message-ID: <AB7-YaguV9@sel.izmiran.troitsk.su>
Date: 19 Aug 92 11:24:55 GMT
Sender: news-service@kiae.su
Reply-To: osin@sel.izmiran.troitsk.su
Organization: IZMIRAN
Lines: 13