Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to convert a LaTeX 2.09 template to LaTeX2e (pdflatex):

http://www.yisongyue.com/resume/

How should I convert this line ?

\documentstyle[hyperref, margin, line]{res_yy}

I don't know what class I need to use

\documentclass{article} %% ???
\usepackage{res_yy}
\usepackage{hyperref}
\usepackage{line}
share|improve this question
2  
Looks like a rather specialist style file! I very much doubt you'll be able to do a 'quick' conversion (i.e. without reworking a lot of the code). There is no res_yy class for LaTeX2e. –  Joseph Wright Oct 1 '11 at 7:25
    
Perhaps take a look at tex.stackexchange.com/questions/80/… –  Joseph Wright Oct 1 '11 at 7:26
    
By the way, did you try just compiling the document 'as is' with LaTeX2e. There is some auto-detect code to try to work in 'compatibility mode'. –  Joseph Wright Oct 1 '11 at 8:42
    
Sure, compiling the document 'as is' work. I've been using this template for 6 years now. But I would like to use LaTeX2e feature like \usepackage[utf8]{inputenc} and so on. –  Doud Oct 1 '11 at 9:33
    
Well I found a res_yy.sty. It loads article.sty. So you could try to remove the line \input article.sty in a (renamed) copy of res_yy.sty and then load it with \usepackage and look what happens. If you want to use hyperref you should also remove the \nofiles command. –  Ulrike Fischer Oct 1 '11 at 10:37

1 Answer 1

The short answer is that there is no easy conversion for a completely general case. LaTeX2.09 style files are very much a mix of formatting and 'additional' code, even more than is the case with LaTeX2e.

More specifically, the LaTeX2.09 style in question has never been converted into a LaTeX2e class. That means that there the change

\documentstyle{res_yy}

to

\documentclass{res_yy}

is not possible: the later does not exist. That leaves you needing to recreate the layout and macros provided by res_yy in LaTeX2e. This is certainly possible, but I suspect that the effort is not really balanced off by the outcome. The amount of work needed to do the conversion seems at least equal to starting either from article or a specialist CV class.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.