emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jan Böcker" <jan.boecker@tu-dortmund.de>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Help, org-inbuffer-options-extra seems to hate me right now
Date: Mon, 16 Aug 2010 17:49:28 +0200	[thread overview]
Message-ID: <4C695E08.4010208@tu-dortmund.de> (raw)

I am experiencing some strange behavior here right now, but don't know
if I have hit a bug or just misunderstood something.

When I start Emacs, evaluate the following two forms:

(add-to-list 'org-export-inbuffer-options-extra
'("StaticMathJax" :static-mathjax))
(add-hook 'org-export-html-final-hook '(lambda () (print opt-plist)))

and then export this two-line example to HTML:

#+StaticMathJax: test
* Test

the following gets printed to my *Messages* buffer:

Exporting...

(:latex-image-options nil :exclude-tags ("noexport") :select-tags
("export") :email "jan@pythagoras" :author "Jan Böcker" :auto-postamble
t :auto-preamble t :postamble nil :preamble nil :publishing-directory
nil :timestamp nil :expand-quoted-html t :html-table-tag "<table
border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\"
frame=\"hsides\">" :xml-declaration (("html" . "<?xml version=\"1.0\"
encoding=\"%s\"?>") ("php" . "<?php echo \"<?xml version=\\\"1.0\\\"
encoding=\\\"%s\\\" ?>\"; ?>")) :html-extension "html" :inline-images
maybe :convert-org-links t :agenda-style "" :style-extra "" :style ""
:style-include-scripts t :style-include-default t :table-auto-headline t
:tables t :time-stamp-file t :creator-info t :email-info nil
:author-info t :timestamps t :fixed-width t :skip-before-1st-heading nil
:latex-listings nil :LaTeX-fragments t :TeX-macros t :priority nil
:todo-keywords t :tags not-in-toc :drawers nil :footnotes t
:special-strings t :sub-superscript t :emphasize t :archived-trees
headline :preserve-breaks nil :table-of-contents t
:section-number-format ((("1" ".")) . "") :section-numbers t
:headline-levels 3 :customtime nil :description "" :keywords ""
:language "en" :link-home "" :link-up "" :text nil :macro-date "(eval
(format-time-string \"$1\"))" :macro-time "(eval (format-time-string
\"$1\"))" :macro-modification-time "(eval (format-time-string \"$1\"
'(19561 23577)))" :macro-input-file "test.org" :title "test")


There is no :static-mathjax entry in the plist.

If I add a #+INFOJS_OPT: line, that value shows up. I am confused -- why
does this work for INFOJS_OPT (also an entry in
org-inbuffer-options-extra) and not for my new one?

Have I overlooked something?

-- Jan

             reply	other threads:[~2010-08-16 15:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16 15:49 Jan Böcker [this message]
2010-08-16 18:17 ` Help, org-inbuffer-options-extra seems to hate me right now Bastien

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=4C695E08.4010208@tu-dortmund.de \
    --to=jan.boecker@tu-dortmund.de \
    --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).