askinclude with script to choose chapter?

  • Follow


Is there any way of telling askinclude through a script
which "chapters" to include?
Something like

	latex myreport < chap3

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
0
Reply Timothy 5/20/2010 12:26:54 AM

Timothy Murphy <gayleard@eircom.net> wrote:

> Is there any way of telling askinclude through a script
> which "chapters" to include?
> Something like
> 
> 	latex myreport < chap3

You don't need askinclude for this:
  latex '\includeonly{chap3}\input{myreport}'

Add \AtBeginDocument or \renewcommand\includeonly[1]{}, if
myreport already contains \includeonly.

Or you can disable \includeonly inside myreport:

\makeatletter
\if@partsw
\else
  \includeonly{...} or \usepackage{askinclude}
\fi
\makeatother

-- 
Heiko Oberdiek
0
Reply Heiko 5/20/2010 2:21:05 AM


1 Replies
172 Views

(page loaded in 0.049 seconds)


Reply: