From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: CV in orgmode for export to pdf (and html?
Date: Mon, 22 Sep 2014 07:55:28 -0400 [thread overview]
Message-ID: <877g0vswcv.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: m27g0w6p38.fsf_-_@krugs.de
Rainer M Krug <Rainer@krugs.de> 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 <kc5gmr@gmail.com> 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 <joseph.vidal.rosset@gmail.com> writes:
>
>> Le sam. 20 sept. 2014 à 02:49:03 , Dan Griswold <kc5gmr@gmail.com> 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) \b\204\v
>> J\235\202>\b\305=\203
>> J>\202>\b\306=\203&\307
>> J"\202>
>> J\211\203<\b \v@"\204<\vA\211\204-\v)\203D
>> J\207
>> \f\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
next prev parent reply other threads:[~2014-09-22 11:56 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 9:18 CV in orgmode for export to pdf (and html?) Rainer M Krug
2014-09-19 10:10 ` Tory S. Anderson
2014-09-19 10:29 ` Andreas Kiermeier
2014-09-19 15:06 ` John Hendy
2014-09-19 17:15 ` Tory S. Anderson
2014-09-22 8:24 ` Rainer M Krug
2014-10-29 19:35 ` Karl Voit
2014-09-19 15:38 ` Dan Griswold
2014-09-19 19:52 ` Brady Trainor
2014-09-19 20:18 ` Nicolas Goaziou
2014-09-19 23:01 ` Rasmus
2014-09-22 8:30 ` Rainer M Krug
2014-09-21 19:59 ` Myles English
2014-09-22 8:31 ` Rainer M Krug
2014-09-22 21:37 ` Myles English
2014-09-23 6:56 ` Rainer M Krug
2014-09-22 8:28 ` Rainer M Krug
2014-09-20 0:49 ` Dan Griswold
2014-09-20 5:56 ` Vikas Rawal
2014-09-22 8:32 ` Rainer M Krug
2014-09-20 6:36 ` Joseph Vidal-Rosset
2014-09-22 8:32 ` Rainer M Krug
2014-09-22 8:23 ` CV in orgmode for export to pdf (and html? Rainer M Krug
2014-09-22 11:55 ` Nick Dokos [this message]
2014-09-23 9:06 ` Rasmus
[not found] ` <87fvfihfh8.fsf@gmx.us>
2014-09-23 9:24 ` Rainer M Krug
2014-09-20 7:45 ` CV in orgmode for export to pdf (and html?) Xavier Garrido
2014-09-22 8:33 ` Rainer M Krug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877g0vswcv.fsf@pierrot.dokosmarshall.org \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).