emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kris Brown <sirkris.brown@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Cannot export org mode to collapsible HTML
Date: Tue, 5 Nov 2019 13:53:51 -0800	[thread overview]
Message-ID: <CAOckPOzpCr-3qHBDTM3SV230eAPHXWiv0yL1kFgShCN0OaTtMg@mail.gmail.com> (raw)

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

Hi, I am trying to have basic folding functionality for my org file that
has been exported to HTML. I am using Emacs 26.2 (9.0) and Org 9.1.9 on a

This seems to be a built-in feature: JavaScript supported display of web
<https://orgmode.org/manual/JavaScript-support.html#JavaScript-support>. I
downloaded my own copy of org-info.js
<http://web.stanford.edu/~ksb/js/org-info.js>. However, I cannot see any
difference when I use the #+INFOJS_OPT commands or not (org with
<https://web.stanford.edu/~ksb/docs/minimal.org>, org without
<https://web.stanford.edu/~ksb/docs/minimal2.org>, html with
<https://web.stanford.edu/~ksb/docs/minimal_org.html>, html without
<https://web.stanford.edu/~ksb/docs/minimal2_org.html>). I would expect to
see collapsible headers and no TOC displayed when I use those commands.

There *is* a difference in the generated HTML files (an extra CDATA region
with a bunch of statements like: *org_html_manager.set("VIEW", "info");*)
but nothing different visually.

Is this happening because org-info.js is no longer being maintained
Another solution I saw was Daniel Clemente's tool
though I am at a total loss for what to specify in the org file to
incorporate his esquemadorg.js script. I appreciate any help that could let
me export large org files to HTML while having the headers be collapsible.

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

             reply	other threads:[~2019-11-05 21:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05 21:53 Kris Brown [this message]
2020-04-23 13:09 ` Cannot export org mode to collapsible HTML Daniel Clemente
  -- strict thread matches above, loose matches on Subject: below --
2019-11-03 23:41 Kris Brown

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:

  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=CAOckPOzpCr-3qHBDTM3SV230eAPHXWiv0yL1kFgShCN0OaTtMg@mail.gmail.com \
    --to=sirkris.brown@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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