home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / text / tex / 10855 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.7 KB  |  43 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!news.duc.auburn.edu!ducvax.auburn.edu!hank
  3. From: hank@ducvax.auburn.edu
  4. Subject: Re: DUAL HANDOUTS/PERSONAL NOTES MACRO IDEA
  5. Message-ID: <1992Sep2.215820.1@ducvax.auburn.edu>
  6. Lines: 29
  7. Sender: usenet@news.duc.auburn.edu (News Account)
  8. Nntp-Posting-Host: ducvax
  9. Organization: Auburn University, AL
  10. References: <1992Sep2.154831.22839@athena.mit.edu>
  11. Date: Thu, 3 Sep 1992 02:58:20 GMT
  12. Lines: 29
  13.  
  14. In article <1992Sep2.154831.22839@athena.mit.edu>, lasmith@athena.mit.edu (Lones A Smith) writes:
  15. > for editing purposes.   Here's what I want: I want to prefix the additional
  16. > comments for my expanded version of the notes by a symbol --- call it ** ---
  17. > so that lines preceeded by ** are only printed out when a particular control sequence in the preamble is present.  That is,
  18. > privatenotes.tex
  19. > Control sequence present
  20. > ** personal extra remarks
  21. > Class notes
  22. > classhandout.tex
  23. > Control sequence NOT present
  24. > ** personal extra remarks
  25. > Class notes
  26. > Then when I LaTeX the first file, the ** should be ignored entirely, whereas when I LaTeX the second file ** should be read as %.  Brute force methods
  27. > have failed me.  Any ideas, (La)TeXperts??????
  28.  
  29. It is a different solution, but you might get DM Jones' tex-index from 
  30. niord.shsu.edu and look up version.sty by  Piet van Oostrum.
  31.  
  32. If you really want to use a beginning-of-every-line-flag, you might consider
  33. something as simple as '%**' and use tr (a GNU utility) to translate, then
  34. feed to TeX. tr for os/2 can be found on ftp-os2.nmsu.edu in pub/os2/all/gnu
  35. (for OS/2 1.x) or pub/os2/2.0/gnu (for OS/2 2.0).
  36.  
  37. --darrel hankerson hank@ducvax.auburn.edu
  38.