🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2003

DUAL HANDOUTS/PERSONAL NOTES MACRO IDEA

#2003
From: Lones A Smith
Date: Wed, 02 Sep 1992 15:48
52 lines
1851 bytes


Hi,
     Here's an idea which likely has already been thought of and executed.
I just want to find out how to execute it.
     I am making class  notes. I would like on the same file to add my own comments that will NOT APPEAR on the notes. I do not want two separate files,
for editing purposes.   Here's what I want: I want to prefix the additional
comments for my expanded version of the notes by a symbol --- call it ** ---
so that lines preceeded by ** are only printed out when a particular control sequence in the preamble is present.  That is,

privatenotes.tex

Control sequence present
** personal extra remarks
** personal extra remarks
** personal extra remarks
** personal extra remarks
** personal extra remarks
** personal extra remarks
Class notes
Class notes
Class notes
Class notes
Class notes


classhandout.tex

Control sequence NOT present
** personal extra remarks
** personal extra remarks
** personal extra remarks
** personal extra remarks
** personal extra remarks
** personal extra remarks
Class notes
Class notes
Class notes
Class notes
Class notes


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
have failed me.  Any ideas, (La)TeXperts??????

Thanks in advance, 
Lones Smith 
Economics
MIT

lasmith@athena.mit.edu
Technical Details
Message-ID: <1992Sep2.154831.22839@athena.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!lasmith

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!lasmith
From: lasmith@athena.mit.edu (Lones A Smith)
Subject: DUAL HANDOUTS/PERSONAL NOTES MACRO IDEA
Message-ID: <1992Sep2.154831.22839@athena.mit.edu>
Sender: news@athena.mit.edu (News system)
Nntp-Posting-Host: e40-008-12.mit.edu
Organization: Massachusetts Institute of Technology
Date: Wed, 2 Sep 1992 15:48:31 GMT
Lines: 52