Path: utzoo!attcan!uunet!munnari.oz.au!uokmax!unmvax!uakari.primate.wisc.edu!dali.cs.montana.edu!rpi!uupsi!sunic!news.funet.fi!uta!kielo!av From: av@kielo.uta.fi (Arto V. Viitanen) Newsgroups: comp.text.tex Subject: SCCS and LaTeX Message-ID: Date: 22 Oct 90 08:04:39 GMT Sender: news@uta.fi Reply-To: av@uta.fi (Arto Viitanen) Distribution: comp Organization: University of Tampere, Finland Lines: 30 Nntp-Posting-Host: uta.fi I use SUN's SCCS version control system for my LaTeX documents. SCCS has a program called 'what', which is used to check from what versions of files a program is made. This works, since SCCS's get command (to get specific version of file) expands name, version number and date to the file. I thought, that it would be nice to use "what" on dvi-files, so I use following text on my LaTeX files: {% \catcode`\#=11% \special{what: %A%\#}% }% Point is, SCCS's get expands %A% to name of file, plus version number with some special characters around. Since I use \special, it is inserted verbatim to dvi-file and "what" can find it there. BUT, dvips and dvi2ps (dvi printing programs for PostScript) think, that 'what:' is for them and they insert contents of the file mentioned in \special to PostScript file and LaserWriter does not understand LaTeX!. I thought Knuth said in TeXBook, that \special's first word says for which program \special is for ?? Can you help me ? -- Arto V. Viitanen email: av@kielo.uta.fi University Of Tampere, av@ohdake.cs.uta.fi Finland