emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Hongxu Chen <leftcopy.chx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Can I specify the location of generated html in org 8?
Date: Sat, 11 May 2013 21:03:42 +0800	[thread overview]
Message-ID: <87zjw18y8h.fsf@gmail.com> (raw)


Hi,

   I just switch from org7.x to 8, and there are many problems when I
   use it for publishing htmls, one of which is the location of table of
   contents in the generated htmls.
   Since I am still using jekyll to generate the final pages, I need to
   put some metadata in the beginning of org files. So I need to add the
   following into the primitive org file:

   #+BEGIN_HTML
   ---
   layout: org
   id: elispintro
   title: An Introduction To Emacs Lisp
   ---
   #+END_HTML

   The generated htmls do contain the `---' contents. However I cannot
   utilize jekyll when I also generate TOC for it. The root cause is
   that the generated TOC is put ahead of the `---' area so jekyll
   cannot find the information and treat this region as an ordinary
   one. In org 7.x there seems no such a problem.

   So is there any way to change the location of the table of contents
   parts? Alternatively, if it needs quite a lot of hacking for org
   exporters, can you suggest any good template for publishing?
   Presently I am using this one:https://github.com/cinsk/jekyll-org,
   but it seems that the author haven't updated it for several month.

   Thanks in advance.
   


-- 
Regards,
Hongxu Chen

             reply	other threads:[~2013-05-11 13:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-11 13:03 Hongxu Chen [this message]
2013-05-11 13:21 ` Can I specify the location of generated html in org 8? Oliver Večerník
2013-05-11 14:12   ` Hongxu Chen

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=87zjw18y8h.fsf@gmail.com \
    --to=leftcopy.chx@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).