emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting inline code sections
@ 2012-08-13 20:37 Ken Williams
  0 siblings, 0 replies; 9+ messages in thread
From: Ken Williams @ 2012-08-13 20:37 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Exporting inline code sections
@ 2012-08-13 21:30 Ken Williams
  2012-08-13 21:55 ` Bastien
  0 siblings, 1 reply; 9+ messages in thread
From: Ken Williams @ 2012-08-13 21:30 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org



> -----Original Message-----
> From: Ken Williams
> Sent: Monday, August 13, 2012 3:37 PM
>
> I'm still at version 7.8.03, apologies if this has been addressed in a later
> version already.

FWIW, I just downloaded 7.8.11 and confirmed that the problem still exists there.

I wonder if the inline-code code could use a little love in general.  Another thing that would be nice to accomplish with it is to be able to control the markup - right now it forces =code= markers around the output, but it might be nice to let the result flow more naturally in whatever paragraph it's part of.  That would be great for stuff like report writing, where statistics calculated dynamically could be put into the report text.

 -Ken

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.

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

end of thread, other threads:[~2012-08-14 15:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-13 20:37 Exporting inline code sections Ken Williams
  -- strict thread matches above, loose matches on Subject: below --
2012-08-13 21:30 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

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