emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Williams <Ken.Williams@windlogics.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Exporting inline code sections
Date: Mon, 13 Aug 2012 15:37:25 -0500	[thread overview]
Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C67323C2F@spexch01.WindLogics.local> (raw)

Hi,

I noticed that exporting a document to HTML when "exports" is set to "both" gives an error.  Here's an example document:

---------------------
#+TITLE: Example Doc
#+PROPERTY: exports both

The result is src_R{3+4} =[1] 7=.
---------------------

The stack trace looks like this:

---------------------
Debugger entered--Lisp error: (void-function nil)
  nil("%flags")
  replace-regexp-in-string("%flags" nil "#+BEGIN_SRC R%flags\n3+4\n#+END_SRC" t t)
  org-fill-template("#+BEGIN_SRC %lang%flags\n%body\n#+END_SRC" (("lang" . "R") ("flags") ("body" . "3+4")))
  org-babel-exp-code(("R" "3+4" ((:comments . "") (:shebang . "") (:cache . "") (:padline . "") (:noweb . "") (:tangle . "") (:exports . "both") (:results . "replace") (:session . "none"))))
  org-babel-exp-do-export(("R" "3+4" ((:comments . "") (:shebang . "") (:cache . "") (:padline . "") (:noweb . "") (:tangle . "") (:exports . "both") (:results . "replace") (:session . "none"))) inline)
  org-babel-exp-inline-src-blocks(1 83)
  #[(pair) "\b\211\x19A@)\n
\"\207" [pair x start end] 4]((src org-babel-exp-inline-src-blocks))
  mapcar(#[(pair) "\b\211\x19A@)\n
\"\207" [pair x start end] 4] ((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)))
  interblock(1 83)
  byte-code("\306\307\211\211\211\211\211\211\211\211\211\211\x18\x19\x1a^[\x1c\x1d\x1e+\x1e,\x1e-\x1e.\x1e/\x1e0\310\311!\211\x1e1\205)
---------------------

I'm still at version 7.8.03, apologies if this has been addressed in a later version already.


--
Ken Williams, Senior Research Scientist
WindLogics
http://windlogics.com



CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please contact the sender via reply e-mail and destroy all copies of the original message. Thank you.

             reply	other threads:[~2012-08-13 20:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-13 20:37 Ken Williams [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-13 21:30 Exporting inline code sections Ken Williams
2012-08-13 21:55 ` Bastien
2012-08-13 22:04   ` Ken Williams
2012-08-13 23:34     ` Nick Dokos
2012-08-14 15:01       ` Ken Williams
2012-08-14 15:20         ` Nick Dokos
2012-08-14 15:25           ` Ken Williams
2012-08-14 13:52   ` Ken Williams

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=21A5E1E970CD46459ECBE86D6CC4B28C67323C2F@spexch01.WindLogics.local \
    --to=ken.williams@windlogics.com \
    --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).