Sanders, Maarten (M.J.L.) wrote:
Hi,
We use a lot of branches in modular end user manuals for our equipment. Does anyone have
an approach on dealing with "not branches"? E.g., the piece of text applies to
every piece of equipment, except for no. 32. As you can imagine it is a bit tedious to
repeat the same text in the other 31 branches.
If there is no approach, are there any development ideas in this direction?
Thinking of that, a single chunk of text that can be used for 'n' branches
would be nice as well.
Any comments?
Maarten
Unfortunately my The LaTeX Companion, 2nd ed. is at home, but there is a nice
description in there on how to do just what you describe... I think it was
docstrip that was used though.
http://www.ctan.org/tex-archive/help/Catalogue/entries/docstrip.html
ifthen can also be used to brute force it if you have to:
http://tug.org/TeXnik/mainFAQ.cgi?file=IfThen/ifthen#optional
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter