emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Minshall <minshall@acm.org>
To: org mode <emacs-orgmode@gnu.org>
Subject: Re: org-info.js not displaying document?
Date: Thu, 26 Nov 2015 15:44:42 +0200	[thread overview]
Message-ID: <43273.1448545482@greg-minshalls-mbp-2.local> (raw)
In-Reply-To: Your message of "Thu, 26 Nov 2015 06:31:04 +0200." <42772.1448512264@greg-minshalls-mbp-2.local>

oof.  my problem does *not* happen with "emacs -Q".  sorry about not
checking that before complaining.  (if anyone has any hints...)
----
Greg Minshall <minshall@acm.org> wrote:

> hi.  i'm trying to export a file using org-info.js, but i'm not getting
> anything (other than the footer with my name, creation date, and an
> offer to validate the file) when i open the resulting html file
> (everything is *in* the html file, it just isn't showing up).  i'm using
> a very simple
> ----
> #+INFOJS_OPT: view:showall toc:2
> ----
> a simple test case is below
> 
> i know nothing about javascript.  but Firefox (42.0) on my macosx
> (10.10.5) has Tools:Web Developer:Console, which says:
> ----
> TypeError: k.T is undefined
> ----
> on org-info 81:85
> 
> possibly the offending section of code is:
> ----
> k.T=k.B.getElementsByTagName("h1")[0];
> ----
> 
> i'm running
> ----
> Org-mode version 8.3.2 (release_8.3.2-338-g522ec9 @
> /Users/minshall/usr/share/emacs/site-lisp/org/)
> ----
> on
> ----
> GNU Emacs 24.5.2 (x86_64-apple-darwin14.4.0, GTK+ Version 2.18.9) of 2015-11-22 on greg-minshalls-mbp-2.local
> ----
> 
> any thoughts?  if i didn't see the error message, i'd be sure i was
> doing something wrong (but, possibly i still am).
> 
> cheers, Greg Minshall
> 
> ps -- here is a trivial file that fails for me:
> ----
> * testing
> #+INFOJS_OPT: view:showall toc:2
> 
> this is a test
> 
> ** here is something
> ** here is something else
> 
> with some text after it
> ----
> 

  reply	other threads:[~2015-11-26 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-26  4:31 org-info.js not displaying document? Greg Minshall
2015-11-26 13:44 ` Greg Minshall [this message]
2015-11-27 17:42   ` Matthieu Caneill
2015-11-29 16:33     ` Greg Minshall

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=43273.1448545482@greg-minshalls-mbp-2.local \
    --to=minshall@acm.org \
    --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).