From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MEI6F9aToV7pYQAA0tVLHw (envelope-from ) for ; Thu, 23 Apr 2020 13:10:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QBgJF9yToV5BcAAAB5/wlQ (envelope-from ) for ; Thu, 23 Apr 2020 13:10:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AB80994248E for ; Thu, 23 Apr 2020 13:10:51 +0000 (UTC) Received: from localhost ([::1]:43004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRbcv-00069S-Ln for larch@yhetil.org; Thu, 23 Apr 2020 09:10:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40322) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRbcV-000687-Fn for emacs-orgmode@gnu.org; Thu, 23 Apr 2020 09:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRbcU-00043m-OA for emacs-orgmode@gnu.org; Thu, 23 Apr 2020 09:10:23 -0400 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:42003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRbcU-00043I-AA for emacs-orgmode@gnu.org; Thu, 23 Apr 2020 09:10:22 -0400 Received: by mail-lj1-x231.google.com with SMTP id a21so6122690ljb.9 for ; Thu, 23 Apr 2020 06:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jPhG+BgWE1/TVdZFflA7z13v2Qz1CVWWE+QAKhMCTzc=; b=L+wmf2/XV13ypornccydAAmLPUD0UkSIWQvYrFgJSO1xLgPTNNFSjIHtKHBmAghKy7 O5/wap8Y4Pd+GIrLOLiszyAKvl36IWwWxjJlmdp6RrLkyQ6t0GNKGBreL5w760ptqSEt TepLgt3Dqq7rxTLIdrpgczKuaV01K+actVavQxisnYOjQjSkwOdRe9H8fL4VTckyCD8o bULSgB7vqHX2QhvCvu4ZQE8+rfA91bx8eRqAtnirmONJRGmCDZW/7bhNx6SdImKibsuU KG25kCPbLfwYMNDNs9JD1Y2BK5U+iVXTGUIBoCT2OyLnLI6kMIa3yuEkGdNqj63Imzm6 bblA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jPhG+BgWE1/TVdZFflA7z13v2Qz1CVWWE+QAKhMCTzc=; b=qZr2pJMD+/8JtiBPTu8fqt4WIZgm87MA/ISQgX3caIIvVbvjCxkozqY0TR+C7eryuB 6GiX/uD66Zpd6CHbvDBkLMK9m1ava2ivYlUreo5JlyfrE3B9jUVhD/HO+OUhKsl9BGtL fEQE2C9JClHHg1YCFQ+HzF757Y9LwT+9OXeVi3o8BRz/XscT7lHI7CaLHgdfJ0Cl9VdC KqjWaHXnqvwlb7fejDbombYyKpHtg4ikc3WUKtvEXX48s82WpobjmPyA8JKVqsi/s7zi qQSUKxH3rCwGN+Ajf0iAXnFAiabMrXHqGjWVsG9JRa6swIAUk/YmaFQ+csBxr9/q5N2y GELA== X-Gm-Message-State: AGi0Pub3C14HJ2dZVIN3tkQLGFpgm7G0VECO45mQcu8xuJYjXYlHFxW7 4NsZsyH5A4ERrSIweEq5B16rrIeHUaHQjvLPl84= X-Google-Smtp-Source: APiQypKaspRolnu1ZcwKDfiVzfr9inwlocZNVBAcOC23TNVhcoREpi5wv9QHcgVOA4k6HfXlNkpFFZj0VTG7+Kzd7vw= X-Received: by 2002:a2e:7308:: with SMTP id o8mr2352920ljc.16.1587647419482; Thu, 23 Apr 2020 06:10:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Clemente Date: Thu, 23 Apr 2020 16:09:52 +0300 Message-ID: Subject: Re: Cannot export org mode to collapsible HTML To: Kris Brown Content-Type: multipart/alternative; boundary="00000000000077842205a3f4f84a" Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=n142857@gmail.com; helo=mail-lj1-x231.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::231 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-mode Org-Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -0.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=L+wmf2/X; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-0.31 / 13.00]; GENERIC_REPUTATION(0.00)[-0.56376767094755]; MX_INVALID(1.00)[cached]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.22), country: US(-0.00), ip: 209.51.188.17(-0.56)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[209.51.188.17:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[stanford.edu:url,danielclemente.com:url,reddit.com:url,orgmode.org:url,gnu.org:url]; FROM_NEQ_ENVFROM(0.00)[n142857@gmail.com,emacs-orgmode-bounces@gnu.org]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: EZiiot4T2zto --00000000000077842205a3f4f84a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > 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. Sorry for the very late answer. I just added some instructions about what to add to the .org file. But it looks like the best way is to adapt any existing tool to your needs. Collapsing/expanding headers isn't very hard =E2=80=94 the harder parts are= things like how to make links keep working (e.g. links to sections which are now collapsed should auto-open it). On Wed, Nov 6, 2019 at 12:04 AM Kris Brown wrote: > 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 > Mac. > > This seems to be a built-in feature: JavaScript supported display of web > pages > . > I downloaded my own copy of org-info.js > . However, I cannot see any > difference when I use the #+INFOJS_OPT commands or not (org with > , org without > , html with > , html without > ). 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 l= et > me export large org files to HTML while having the headers be collapsible= . > --00000000000077842205a3f4f84a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Is this happening because org-info.js is no longer be= ing maintained?=C2=A0 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 incorp= orate his esquemadorg.js script. I appreciate any help that could let me ex= port large org files to HTML while having the headers be collapsible.

Sorry for the very late answer. I just added some instructions = about what to add to the .org file.
But it looks like the best wa= y is to adapt any existing tool to your needs.
Collapsing/expandi= ng headers isn't very hard =E2=80=94 the harder parts are things like h= ow to make links keep working (e.g. links to sections which are now collaps= ed should auto-open it).=C2=A0=C2=A0
=C2=A0

On Wed, Nov = 6, 2019 at 12:04 AM Kris Brown <sirkris.brown@gmail.com> wrote:
Hi, I am trying to have basic foldi= ng 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 Mac.

This seems to = be a built-in feature:=C2=A0JavaScript supported d= isplay of web pages. I downloaded my own copy of=C2=A0org-info.js. H= owever, I cannot see any difference when I use the=C2=A0#+INFOJS_OPT commands or not (org with, org with= out, html with, html without). I would expect to= see collapsible headers and no TOC displayed when I use those commands.

There=C2=A0is=C2=A0a difference in the= generated HTML files (an extra CDATA region with a bunch of statements lik= e:=C2=A0org_html_manager.set("VIEW", "info");) b= ut nothing different visually.

Is this happening b= ecause org-info.js is=C2=A0no longer being ma= intained?=C2=A0 Another solution I saw was=C2=A0Daniel 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 appreci= ate any help that could let me export large org files to HTML while having = the headers be collapsible.
--00000000000077842205a3f4f84a--