emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ox-ascii, bug] TOC-keyword doesn't work
@ 2015-03-08 16:35 Rasmus
  2015-03-08 16:48 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus @ 2015-03-08 16:35 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Consider the following file:

#+OPTIONS: toc:nil author:nil
* h1 
#+TOC: headlines 2
* h2
** h3 

Expected output includes the TOC.  Actual output is

1 h1
════

  Table of Contents
  ─────────────────


2 h2
════

2.1 h3
──────

The TOC is there when #+OPTIONS: toc:t, but then you can't decide where
it's printed.

Thanks,
Rasmus

-- 
I feel emotional landscapes they puzzle me

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ox-ascii, bug] TOC-keyword doesn't work
  2015-03-08 16:35 [ox-ascii, bug] TOC-keyword doesn't work Rasmus
@ 2015-03-08 16:48 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-03-08 16:48 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

Hello,

Rasmus <rasmus@gmx.us> writes:

> Consider the following file:
>
> #+OPTIONS: toc:nil author:nil
> * h1 
> #+TOC: headlines 2
> * h2
> ** h3 
>
> Expected output includes the TOC.  Actual output is
>
> 1 h1
> ════
>
>   Table of Contents
>   ─────────────────
>
>
> 2 h2
> ════
>
> 2.1 h3
> ──────
>
> The TOC is there when #+OPTIONS: toc:t, but then you can't decide where
> it's printed.

Fixed in fab7de578772e9ae88676f42ecb57794d99c40b7. Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-08 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-08 16:35 [ox-ascii, bug] TOC-keyword doesn't work Rasmus
2015-03-08 16:48 ` Nicolas Goaziou

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).