Le sam. 20 sept. 2014 à 02:49:03 , Dan Griswold <kc5...@gmail.com> a envoyé ce message: > Not sure anybody saw this the first time, so I'll try again, with some > expansion. > > Unlike the others who've commented, I moved my CV from LaTeX to org-mode and > I'm happy with the results. Two things make it work well. > > First, a "cv" class added to org-latex-classes: > > (add-to-list '("cv" > "\\documentclass[10pt]{article}\n\\usepackage[margin=.75in]{geometry}\n%\\usepackage{palatino}\n\\usepackage{sectsty}\n\\sectionfont{\\normalsize\\selectfont\\ > itshape}\n\\usepackage[T1]{fontenc}\n\\usepackage{libertine}\n\\renewcommand*\\oldstylenums[1]{{\\fontfamily{fxlj}\\selectfont > #1}}" > ("\\section{%s}" . "\\section*{%s}"))) Hello Dan, hello the list,
I guess that there is a code problem in this (add-to-list ...) , in my init.el (or custom.el) , it produces this warning: Wrong number of arguments: #[(list-var element &optional append compare-fn) \204 J\235\202>\305=\203 J>\202>\306=\203&\307 J"\202> J\211\203< @"\204<A\211\204-)\203D J\207 \203R\304 J C"\202V JBL\207 [compare-fn element list-var lst append eq eql memql] 5 1615569], 1 Now a suggestion: there is "moderncv" class in texlive and I wonder if it is difficult to make an add-to-list for this class in order to export a CV both in latex and in html. I have no time at the moment to try this solution. Best wishes, Jo.