emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Help, org-inbuffer-options-extra seems to hate me right now
@ 2010-08-16 15:49 Jan Böcker
  2010-08-16 18:17 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Böcker @ 2010-08-16 15:49 UTC (permalink / raw)
  To: Org Mode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help, org-inbuffer-options-extra seems to hate me right now
  2010-08-16 15:49 Help, org-inbuffer-options-extra seems to hate me right now Jan Böcker
@ 2010-08-16 18:17 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2010-08-16 18:17 UTC (permalink / raw)
  To: Jan Böcker; +Cc: Org Mode

Hi Jan,

Jan Böcker <jan.boecker@tu-dortmund.de> writes:

> (add-to-list 'org-export-inbuffer-options-extra
> '("StaticMathJax" :static-mathjax))

You need to put this key in uppercase

,----
| (add-to-list 'org-export-inbuffer-options-extra
| '("STATICMATHJAX" :static-mathjax))
`----

...

> #+StaticMathJax: test

mixed case is okay here.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-16 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-16 15:49 Help, org-inbuffer-options-extra seems to hate me right now Jan Böcker
2010-08-16 18:17 ` Bastien

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