emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* table-of-contents with body-only for html export
@ 2016-01-17 20:23 Larrabee Strow
  2016-01-17 20:42 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Larrabee Strow @ 2016-01-17 20:23 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

I'd like to get toc:t to produce an html table-of-contents with body-only
true?

Is that possible?  From what I can tell if body-only in the export, you
will never get a toc.

Thanks.

------------------------------------------
L. Larrabee Strow
UMBC Physics Department
Email: strow@umbc.edu
Phone: 724-288-6933

[-- Attachment #2: Type: text/html, Size: 609 bytes --]

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

* Re: table-of-contents with body-only for html export
  2016-01-17 20:23 table-of-contents with body-only for html export Larrabee Strow
@ 2016-01-17 20:42 ` Nicolas Goaziou
  2016-01-17 20:50   ` L. Larrabee Strow
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-01-17 20:42 UTC (permalink / raw)
  To: Larrabee Strow; +Cc: emacs-orgmode

Hello,

Larrabee Strow <strow@umbc.edu> writes:

> I'd like to get toc:t to produce an html table-of-contents with body-only
> true?
>
> Is that possible?  From what I can tell if body-only in the export, you
> will never get a toc.

See #+TOC in the manual.


Regards,

-- 
Nicolas Goaziou

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

* Re: table-of-contents with body-only for html export
  2016-01-17 20:42 ` Nicolas Goaziou
@ 2016-01-17 20:50   ` L. Larrabee Strow
  0 siblings, 0 replies; 3+ messages in thread
From: L. Larrabee Strow @ 2016-01-17 20:50 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Oh my, so easy, thank you.

Just FYI, what makes this work so nicely for me is that I can place the
TOC *after* and #+BEGIN_EXPORT HTML block which contains Hugo web site
generator YAML instructions, which must be at the top of the file.

So, I am now happily producing a HUGO website with org-mode HTML.
Although others try for fancier ways to do this, my simple simple
approach only requires 3 exporter commands to get it to publish (C-b h
h) and I am done.  (Hugo will process html files with YAML at the top.)

It is so nice to be able to use org-mode html output instead of
markdown, esp. tables!

Thanks again.

Larrabee

Nicolas Goaziou writes:

> Hello,
>
> Larrabee Strow <strow@umbc.edu> writes:
>
>> I'd like to get toc:t to produce an html table-of-contents with body-only
>> true?
>>
>> Is that possible?  From what I can tell if body-only in the export, you
>> will never get a toc.
>
> See #+TOC in the manual.
>
>
> Regards,


-- 
L. Larrabee Strow
UMBC Physics Department
Email: strow@umbc.edu
Cell: 724-288-6933

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

end of thread, other threads:[~2016-01-17 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-17 20:23 table-of-contents with body-only for html export Larrabee Strow
2016-01-17 20:42 ` Nicolas Goaziou
2016-01-17 20:50   ` L. Larrabee Strow

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