Re: [O] [BUG] New exporter exports TOC twice

2013-05-01 Thread Carsten Dominik
Hi Nicolas, On 2.5.2013, at 00:08, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >>> The problem is that #+TOC cannot be a strict equivalent to >>> `org-export-with-toc', since the former cannot be introduced in the >>> document template. >> >> I am not sure I understand. Wh

Re: [O] [BUG] New exporter exports TOC twice

2013-05-01 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: >> The problem is that #+TOC cannot be a strict equivalent to >> `org-export-with-toc', since the former cannot be introduced in the >> document template. > > I am not sure I understand. What do you mean? A TOC keyword belongs to the contents of the document. On

Re: [O] [BUG] New exporter exports TOC twice

2013-05-01 Thread Carsten Dominik
Hi Nicolas, On 28.4.2013, at 09:28, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> I am not saying multiple tocs should not be allowed. I am all for that. >> However, I think that by inserting a #+TOC line, the user indicates >> desire for local control. Therefore, org-exp

Re: [O] [BUG] New exporter exports TOC twice

2013-04-28 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > I am not saying multiple tocs should not be allowed. I am all for that. > However, I think that by inserting a #+TOC line, the user indicates > desire for local control. Therefore, org-export-with-toc should be ignored, > and, by extension, also #+OPTIONS: toc

Re: [O] [BUG] New exporter exports TOC twice

2013-04-27 Thread Sebastien Vauban
Hi Carsten, Carsten Dominik wrote: > On 27.4.2013, at 10:52, Sebastien Vauban wrote: >> Carsten Dominik wrote: >>> On 24.4.2013, at 13:50, Nicolas Goaziou wrote: Thorsten Jolitz writes: > Exporting a Worg file with this header (#+TOC: headlines 2) > exports the TOC twice in

Re: [O] [BUG] New exporter exports TOC twice

2013-04-27 Thread Carsten Dominik
On 27.4.2013, at 10:52, Sebastien Vauban wrote: > Hi Carsten, > > Carsten Dominik wrote: >> On 24.4.2013, at 13:50, Nicolas Goaziou wrote: >>> Thorsten Jolitz writes: >>> Exporting a Worg file with this header (#+TOC: headlines 2) exports the TOC twice in HTML export and ASCII exp

Re: [O] [BUG] New exporter exports TOC twice

2013-04-27 Thread Sebastien Vauban
Hi Carsten, Carsten Dominik wrote: > On 24.4.2013, at 13:50, Nicolas Goaziou wrote: >> Thorsten Jolitz writes: >> >>> Exporting a Worg file with this header (#+TOC: headlines 2) >>> exports the TOC twice in HTML export and ASCII export. >> >> If you don't specify a toc item in the OPTIONS li

Re: [O] [BUG] New exporter exports TOC twice

2013-04-27 Thread Carsten Dominik
On 24.4.2013, at 13:50, Nicolas Goaziou wrote: > Hello, > > Thorsten Jolitz writes: > >> Exporting a Worg file with this header (#+TOC: headlines 2) >> >> ,- >> | #+OPTIONS: H:3 num:nil \n:nil @:t ::t |:

Re: [O] [BUG] New exporter exports TOC twice

2013-04-24 Thread Nicolas Goaziou
Thorsten Jolitz writes: > Nicolas Goaziou writes: > >> If you don't specify a toc item in the OPTIONS line, Org will use the >> value of `org-export-with-toc', which is non-nil by default. >> >> So, your example is equivalent to: >> >> #+OPTIONS: toc:t >> #+TOC: headline 2 >> >> Hence you ge

Re: [O] [BUG] New exporter exports TOC twice

2013-04-24 Thread Thorsten Jolitz
Nicolas Goaziou writes: > If you don't specify a toc item in the OPTIONS line, Org will use the > value of `org-export-with-toc', which is non-nil by default. > > So, your example is equivalent to: > > #+OPTIONS: toc:t > #+TOC: headline 2 > > Hence you get two tables of contents. Ok, but the

Re: [O] [BUG] New exporter exports TOC twice

2013-04-24 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > Exporting a Worg file with this header (#+TOC: headlines 2) > > ,- > | #+OPTIONS: H:3 num:nil \n:nil @:t ::t |:t ^:{} -:t f:t *:t TeX:t LaTeX:t > | skip:nil d:(HI

[O] [BUG] New exporter exports TOC twice

2013-04-24 Thread Thorsten Jolitz
[double-post to bring this issue to the attention of Nicolas] Exporting a Worg file with this header (#+TOC: headlines 2) ,- | #+OPTIONS: H:3 num:nil \n:nil @:t ::t |:t ^:{} -:t f:t *:t TeX:t LaTeX:t |