From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: CV in orgmode for export to pdf (and html?) Date: Sat, 20 Sep 2014 08:36:09 +0200 Message-ID: <87y4tehk86.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVEHK-00080o-D0 for emacs-orgmode@gnu.org; Sat, 20 Sep 2014 02:36:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVEHJ-0005Yz-HI for emacs-orgmode@gnu.org; Sat, 20 Sep 2014 02:36:18 -0400 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:59152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVEHJ-0005YX-BE for emacs-orgmode@gnu.org; Sat, 20 Sep 2014 02:36:17 -0400 Received: by mail-we0-f175.google.com with SMTP id x48so666261wes.20 for ; Fri, 19 Sep 2014 23:36:11 -0700 (PDT) In-Reply-To: (Dan Griswold's message of "Fri, 19 Sep 2014 20:49:03 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Griswold Cc: Emacs-orgmode Le sam. 20 sept. 2014 =C3=A0 02:49:03 , Dan Griswold = a envoy=C3=A9 ce message: > Not sure anybody saw this the first time, so I'll try again, with some ex= pansion. > > 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= =3D.75in]{geometry}\n%\\usepackage{palatino}\n\\usepackage{sectsty}\n\\sect= ionfont{\\normalsize\\selectfont\\ > itshape}\n\\usepackage[T1]{fontenc}\n\\usepackage{libertine}\n\\renewcomm= and*\\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=0B=09 J\235\202>\305=3D\203=09 J>\202>\306=3D\203&\307=09 J"\202> J\211\203< =0B@"\204<=0BA\211\204-=0B)\203D J\207 \203R\304 J C"\202V=09 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.=20 I have no time at the moment to try this solution.=20 Best wishes, Jo.=20