[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LaTeX, docstrip, ntg brief.dtx



Does anybody know how I should create a "brief.cls" from a "brief.dtx"
with the debian teTeX packages?

The brief.cls supplied with debian is rather old, and I'd like to
see if a more recent version (like that of september the 8th this
year, as opposed to the 1994 version included in debian) does any
better (what we've got now just doesn't work).

So, I've tried, in a directory that contains only brief.dtx,

$latex docstrip
\infileext=dtx
\outfileext=cls
\Options=
\filelist=brief

[crap deleted]

File brief.dtx ended by \endinput.
Lines  processed: 2723
Comments removed: 1905
Comments  passed: 15
Codelines passed: 794

More files to process (y/n)?
\answer= n

$ wc brief.cls    
     37     185    1378 brief.cls
$ wc brief.dtx
   2724    9420   87928 brief.dt
$ grep -v "^%" brief.cls
              [1997/09/08 v2.0q
\endinput

So, it simply isn't true what docstrip sais about "codelines passed: 794".
It only passed _one_ codeline!

I must be doing something very wrong here! Does somebody know what?

Thanks,

(PS I thought the .dtx basically was the same as the .cls, but with
    the comments. As I don't care about speed now, I tried just to
    move the .dtx to .cls, but apparently the .dtx has a \documentclass
    in it. Strange).

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: