[lug] looking for TeX viewer/print

D. Stimits stimits at idcomm.com
Mon Aug 27 20:43:39 MDT 2001


Todd Ruskell wrote:
> 
> On Mon, 27 Aug 2001, D. Stimits wrote:
> 
> > Todd Ruskell wrote:
> > >
> > Ok, this seems to be some sort of autodetect now. The sample resume I'm
> > using contains this:
> > \documentstyle[line,margin,fancyheadings]{res}
> >
> > If I change it to:
> > \documentclass[line,margin,fancyheadings]{res}
> >
> > ...then I get an error:
> > ! Undefined control sequence.
> > <recently read> \lhead
> 
> <-----lines of errors deleted ------->
> 
> Yes, this is somewhat expected.  the \documentclass command expects a
> class file.  The \documentsyle command expects a style file.  It's been
> awhile since I tinkered with the differences between classes and styles,
> so I don't remember if there really are significant differences between,
> for example, article.sty and article.cls.  Try renaming res.sty to res.cls
> and using the \documentclass command.  It's dicey, but it just might work,
> and allow you to use color, too.

Didn't work :(

What is interesting is that this means \documentclass requires .sty
files, and \documentstyle requires .cls files (this seems backwards). So
then the key is not in converting the original .tex file to be
compatible, but instead to change the .cls file to be compatible?

D. Stimits, stimits at idcomm.com

> 
> Todd
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list