From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: CV in orgmode for export to pdf (and html?) Date: Mon, 22 Sep 2014 10:32:37 +0200 Message-ID: References: <87y4tehk86.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVz3F-0000Gg-Tj for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 04:33:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVz38-0005jo-Dz for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 04:32:53 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:41875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVz38-0005c1-8D for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 04:32:46 -0400 Received: by mail-wi0-f169.google.com with SMTP id fb4so2365685wid.4 for ; Mon, 22 Sep 2014 01:32:40 -0700 (PDT) In-Reply-To: <87y4tehk86.fsf@gmail.com> (Joseph Vidal-Rosset's message of "Sat, 20 Sep 2014 08:36:09 +0200") 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: Joseph Vidal-Rosset Cc: Dan Griswold , Emacs-orgmode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Joseph Vidal-Rosset writes: > 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 e= xpansion. >> >> 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\\sectionfont{\\normalsize= \\selectfont\\ >> itshape}\n\\usepackage[T1]{fontenc}\n\\usepackage{libertine}\n\\renewcom= mand*\\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: Same here - I guess it has to do with linebreaks? Rainer > > Wrong number of arguments: #[(list-var element &optional append compare-f= n) \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 > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJUH96lAAoJENvXNx4PUvmCfk0H/i3EtQyX+2xlyDhoDKgg1G8I UgKJM11VGhjF3nqCpNMwBxLP8nH9g9QfQrTtNJjBdkPogBJEtWITLEwWfsl50CaO x9w6FEeujxw+PgsYaH66uJNsHWlZ6HH8ZACJ8TK4FE6/ChAYH7fDlLATOqxyX3eH vN/pn5Jl4EZPxh2xJHxKK8p4pcBEI+n7Td5+QHafBWBvykX9BeuVQ01+LnTicMGd HMoedbyvf1qgRE1xq4n3MTysf4oQZ+sYiMrRJgR1pQRAdujUe3o4/BHzsuYCjTFs mPcGaW5C1dXz6TMm5bhMFTEc0vKUKdiBZVYgOxlCde6iZWGvTglNJ7VrNvlNDjQ= =LMZ7 -----END PGP SIGNATURE----- --=-=-=--