From: L. Larrabee Strow <strow@umbc.edu>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: table-of-contents with body-only for html export
Date: Sun, 17 Jan 2016 15:50:07 -0500 [thread overview]
Message-ID: <m2egdgdj7k.fsf@umbc.edu> (raw)
In-Reply-To: <8737twj5ur.fsf@nicolasgoaziou.fr>
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
prev parent reply other threads:[~2016-01-17 20:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2egdgdj7k.fsf@umbc.edu \
--to=strow@umbc.edu \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).