emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] CV in orgmode for export to pdf (and html?


From: Nick Dokos
Subject: Re: [O] CV in orgmode for export to pdf (and html?
Date: Mon, 22 Sep 2014 07:55:28 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

Rainer M Krug <address@hidden> writes:

>
> I like Dan's approach as it looks relatively simple, although I still
> have to look into it in detail (and as Joseph notes, there must be a
> problem in the code).
>
> ...
> Dan Griswold <address@hidden> writes:
>> ...
>>
>> 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}")))
>>
>> ...
>
> Joseph Vidal-Rosset <address@hidden> writes:
>
>> Le sam.  20 sept. 2014  à 02:49:03  , Dan Griswold  <address@hidden> a
>> envoyé ce message:
>>
>> 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
>>

The problem is that the add-to-list needs a list to work on:

(add-to-list 'org-latex-classess '("cv" "\documentclass ...." ("\\section{%s}" 
. "\\section*{%s}")))

-- 
Nick






reply via email to

[Prev in Thread] Current Thread [Next in Thread]