Re: Auto generation of two pdfs

"Duvvuri Venu Gopal" <[email protected]>
Newsgroups gmane.comp.tex.tugindia
Message-ID <1295670368.S.7550.54134.F.H.TlNoYXNoaSBLdW1hcgBbVHVnaW5kaWFdIEF1dG8gZ2VuZXJhdGlvbiBvZiB0d28gcGRmcw__.f6-145-155.old.1295672898.10324@webmail.rediffmail.com>
My&nbsp; solution

I maintain a telephone directory in .tex format for my office. Later some one asked to give a copy of the telephone directory. But I didn't want to give some personal mobile numbers to general public. So what I did is -

I created a macro \pmobile and entered data.

All the tex files are saved department wise without \documentclass and \begin{document}.

Created three separate tex files one containing all numbers, one without the mobile numbers etc.

In the telephone directory where I didnot want the mobile phones I redefined the \pmobile in such a way the number is not printed.

Hope this type of setting will do

DVG



&gt;_______________________________________________

&gt;Home:    http://www.tug.org.in/

&gt;TeX FAQ:   http://www.tex.ac.uk/faq

&gt;unsubscribe: http://tug.org/mailman/listinfo/tugindia

&gt;
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.