[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] how to use :options-alist in org-export-define-derived-backend ?
From: |
Bastien |
Subject: |
Re: [O] how to use :options-alist in org-export-define-derived-backend ? |
Date: |
Tue, 03 Jun 2014 18:28:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Hi Nicolas,
Nicolas Richard <address@hidden> writes:
> I'm trying to play with the exporter but I'd like my back-end to have no
> toc by default. I tried
>
> (org-export-define-derived-backend 'mytest 'html
> :translate-alist
> ;; don't use the template, concentrate on the toc.
> (list (cons 'template (lambda (a _) a)))
> :options-alist
> '((:with-toc nil "toc" nil)))
>
> IIUC, the last "nil" up there should be the default value for :with-toc.
I used this in contrib/lisp/ox-rss.el
:options-alist
'((:with-toc nil nil nil) ;; Never include HTML's toc
with `nil' instead of "toc".
Perhaps some hint lies down here (like "toc" indicating the exporter
should rely on the buffer-local value of `org-export-with-toc'?) but
I'm not really sure, I hope Nicolas can clarify.
--
Bastien
- [O] how to use :options-alist in org-export-define-derived-backend ?, Nicolas Richard, 2014/06/02
- Re: [O] how to use :options-alist in org-export-define-derived-backend ?,
Bastien <=
- Re: [O] how to use :options-alist in org-export-define-derived-backend ?, Nicolas Goaziou, 2014/06/03
- Re: [O] how to use :options-alist in org-export-define-derived-backend ?, Bastien, 2014/06/13
- Re: [O] how to use :options-alist in org-export-define-derived-backend ?, Nicolas Goaziou, 2014/06/14
- Re: [O] how to use :options-alist in org-export-define-derived-backend ?, Nicolas Goaziou, 2014/06/15
- Re: [O] how to use :options-alist in org-export-define-derived-backend ?, Bastien, 2014/06/15
- Re: [O] how to use :options-alist in org-export-define-derived-backend ?, Nicolas Goaziou, 2014/06/16
- Re: [O] how to use :options-alist in org-export-define-derived-backend ?, Nicolas Goaziou, 2014/06/03