Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ucbvax!dual!lll-lcc!qantel!hplabs!oliveb!glacier!recipes From: reid@decwrl (Brian Reid) Newsgroups: mod.recipes Subject: How to make your cookbook (last updated 28 Feb 86) Message-ID: <4827@glacier.ARPA> Date: Mon, 3-Mar-86 02:20:02 EST Article-I.D.: glacier.4827 Posted: Mon Mar 3 02:20:02 1986 Date-Received: Wed, 5-Mar-86 04:53:13 EST Sender: recipes@glacier.ARPA Organization: DEC Western Research Laboratory, Palo Alto, CA Lines: 89 Keywords: automatic monthly posting Approved: reid@glacier.ARPA COOKBOOK(1) UNIX Programmer's Manual COOKBOOK(1) NAME cookbook: rckeep, rcbook.t, rcbook.n, rctypeset, rcnroff - Store and print the mod.recipes USENET Cookbook SYNOPSIS rckeep < /usr/spool/news/mod/recipes/? (or s |rckeep from a news-reading program.) rcbook.t to typeset a cookbook from saved recipes rcbook.n to nroff a cookbook from saved recipes DESCRIPTION The USENET Cookbook is an online database distributed in the mod.recipes newsgroup. This software makes it easy for you to clip recipes that interest you, to store them in your own directory, and to make printed cookbooks from those stored recipes. SAVING RECIPES Read the news with your favorite news reading program. If you don't have a favorite, try rn. When you see a recipe that interests you, type s |rckeep The ``s'' command means ``save''; the vertical bar means ``save into a program''. rckeep is the program that keeps recipes. It will save recipes into a directory named Recipes, and it will create that directory for you if it does not currently exist. If you would like recipes saved in some other place, you can type s |rckeep PartyRecipes s |rckeep ~/PartyRecipes s |rckeep /usr/local/lib/Recipes and so forth. From time to time, an entry will come through in mod.recipes that is labeled PATCH. This is not a recipe, but an update to a previously-posted recipe. If you use rckeep in the regular way, i.e. type s |rckeep, it will apply the patch(1) program to update your stored copy of the recipe. HOW RECIPES ARE SAVED Every recipe is given a code word by the editor of mod.recipes. That code word is contained in the first few lines of the article body. The rckeep program uses the code word as a file name in your keep directory. For example, if you are saving a recipe whose 1-line description is PHEASANT-PERRY - Pheasant for Thanksgiving it will be saved in your keep directory under the filename ``pheasant-perry''. These filenames are forced to lower case by rckeep. MAKING A COOKBOOK To typeset a cookbook, just type rcbook.t Printed 2/28/86 27 Nov 85 1 COOKBOOK(1) UNIX Programmer's Manual COOKBOOK(1) and all of the recipes in your keep directory will be typeset in alphabetical order, with an index, introduction, and title page added. If you don't have a typesetter or if you don't have the troff(1) program, then use ``rcbook.n'' instead; it uses nroff(1). If you have more than one keep directory, for specialty cookbooks of different types, you can give rcbook a direc- tory name as an argument, e.g.: rcbook.t /usr/local/lib/Recipes COPYRIGHT The entire USENET cookbook is copyrighted by the USENET Com- munity Trust. The purpose of this copyright is to prevent commercial use of the material. The USENET Community Trust permits any noncommercial use of the contents of the recipe database, and forbids any commercial use. FILES /usr/spool/news/mod/recipes USENET recipe directory $HOME/Recipes Your keep directory (saved recipes) /usr/local/bin/rc* The recipe software SEE ALSO recipes(5), rn(1), patch(1), AUTHOR Brian K. Reid, DEC Western Research Laboratory Printed 2/28/86 27 Nov 85 2