Re: [O] Exporter question

2013-02-27 Thread Eric S Fraga
Aaron Ecay writes: > 2013ko otsailak 26an, Bastien-ek idatzi zuen: >> (Er.. org-toc.el should be trashed, it's 99% obsolete.) > > It is? I like its functionality and don’t know of any replacement... You could try speedbar instead which might give you most (some? definitely no column views in sp

Re: [O] Exporter question

2013-02-27 Thread Bastien
Nicolas Goaziou writes: > Done. > > Node property is ALT_TITLE and function is > `org-export-get-alt-title'. Thanks! -- Bastien

Re: [O] Exporter question

2013-02-26 Thread Nicolas Goaziou
Hello, Bastien writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> Has it to be an export only property? I mean, it could be used in >> a library like org-toc.el. > > (Er.. org-toc.el should be trashed, it's 99% obsolete.) > >> Also EXPORT_KEYWORD prefix is mostly used when there is a global

Re: [O] Exporter question

2013-02-26 Thread Aaron Ecay
2013ko otsailak 26an, Bastien-ek idatzi zuen: > (Er.. org-toc.el should be trashed, it's 99% obsolete.) It is? I like its functionality and don’t know of any replacement... -- Aaron Ecay

Re: [O] Exporter question

2013-02-26 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Has it to be an export only property? I mean, it could be used in > a library like org-toc.el. (Er.. org-toc.el should be trashed, it's 99% obsolete.) > Also EXPORT_KEYWORD prefix is mostly used when there is a global > #+KEYWORD: available. There is no #+

Re: [O] Exporter question

2013-02-25 Thread Nicolas Goaziou
Hello, Bastien writes: > Carsten Dominik writes: > >> I am curious why you chose the name "optional_title" for the >> property? Why not, for example "TOC_TITLE" or something like this? > > I suggest EXPORT_ALT_TITLE instead. > > The EXPORT_ prefix seems more consistent with EXPORT_TITLE, > and

Re: [O] Exporter question

2013-02-24 Thread Bastien
Carsten Dominik writes: > I am curious why you chose the name "optional_title" for the > property? Why not, for example "TOC_TITLE" or something like this? I suggest EXPORT_ALT_TITLE instead. The EXPORT_ prefix seems more consistent with EXPORT_TITLE, and ALT sounds clearer (and short enough)

Re: [O] Exporter question

2013-02-24 Thread Carsten Dominik
On 24.2.2013, at 15:00, Nicolas Goaziou wrote: > Carsten Dominik writes: > >> I am curious why you chose the name "optional_title" for the property? >> Why not, for example "TOC_TITLE" or something like this? > > See http://permalink.gmane.org/gmane.emacs.orgmode/62694 Ah, I see. Indeed, th

Re: [O] Exporter question

2013-02-24 Thread Nicolas Goaziou
Carsten Dominik writes: > I am curious why you chose the name "optional_title" for the property? > Why not, for example "TOC_TITLE" or something like this? See http://permalink.gmane.org/gmane.emacs.orgmode/62694 I don't mind changing the name of the property, if needed. Regards, -- Nicolas

Re: [O] Exporter question

2013-02-24 Thread Carsten Dominik
Hi Nicolas, I am curious why you chose the name "optional_title" for the property? Why not, for example "TOC_TITLE" or something like this? - Carsten On 24.2.2013, at 09:55, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> On 12.2.2013, at 20:46, Nicolas Goaziou wrote: >>

Re: [O] Exporter question

2013-02-24 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > If it has to be implemented, it's far easier to remove objects from > parsed data (e.g. in `org-export-get-optional-title'). Got it, thanks. >> `org-export-with-timestamps-in-toc', if nil, would use this arg; >> but users could remove anything from the hea

Re: [O] Exporter question

2013-02-24 Thread Nicolas Goaziou
Bastien writes: >> Do you think it's still necessary to provide an equivalent for >> `org-export-remove-timestamps-from-toc'? It's only a matter of copying >> the headline title in the property, without timestamp. > > org-html|latex-format-headline-function allow these arguments: > > TODO th

Re: [O] Exporter question

2013-02-24 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Now, almost all back-ends providing a TOC functionality allow to > add :OPTIONAL_TITLE: property in an headline to set its corresponding > entry in the table of contents. Thanks for implementing this! > Do you think it's still necessary to provide an equiv

Re: [O] Exporter question

2013-02-24 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > On 12.2.2013, at 20:46, Nicolas Goaziou wrote: > >> Hello, >> >> "Dominik, Carsten" writes: >> >>> In a file with some time stamps in headlines, is it still possible to >>> get rid of them only for the Table of Contents, but to leave them in >>> the headlines

Re: [O] Exporter question

2013-02-12 Thread Nicolas Goaziou
Carsten Dominik writes: > There used to be a variable org-export-remove-timestamps-from-toc, and > a function org-export-cleanup-toc-line which provided this > functionality. It is actually somewhat useful functionality. It there > a filter that is applied only to toc lines? Not a dedicated filt

Re: [O] Exporter question

2013-02-12 Thread Carsten Dominik
On 12.2.2013, at 20:46, Nicolas Goaziou wrote: > Hello, > > "Dominik, Carsten" writes: > >> In a file with some time stamps in headlines, is it still possible to >> get rid of them only for the Table of Contents, but to leave them in >> the headlines themselves? > > Good question. You can pr

Re: [O] Exporter question

2013-02-12 Thread Nicolas Goaziou
Hello, "Dominik, Carsten" writes: > In a file with some time stamps in headlines, is it still possible to > get rid of them only for the Table of Contents, but to leave them in > the headlines themselves? Good question. You can probably use filters, but it isn't a trivial task, depending on the