From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: HTML :exports both problem
Date: Sun, 18 Nov 2018 23:55:38 -0600 [thread overview]
Message-ID: <CAFAhFSX0T6CGk9ruZu7JAFSEamgOWd4rmY=2CGeDxopmu8ngkw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 754 bytes --]
Try this at home:
#+begin_src lisp :results output :exports both
(dotimes (i 4)
(format t "~3d " i))
#+end_src
#+RESULTS:
: 0 1 2 3
#+name:
#+begin_src lisp :exports both
(defun multabl ()
(dotimes (x 20)
(dotimes (y 20)
(format t "~3d " (* (1+ x) (1+ y))))
(format t "~%")))
#+end_src
#+name:
#+begin_src lisp :exports both
(defun dt-test ()
(let ((y 0))
(dotimes (x 5 y)
(format t "~3d " y))))
#+end_src
What I get when I export to HTML is bizarre, i.e., the results of the first
code block don't appear, rather, the *name* of the last function! If I put
the last two blocks between #+BEGIN_COMMENT and #+END_COMMENT, it behaves
normally and shows the results.
Am I missing something?
LB
[-- Attachment #2: Type: text/html, Size: 1298 bytes --]
next reply other threads:[~2018-11-19 5:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-19 5:55 Lawrence Bottorff [this message]
2018-11-19 9:16 ` HTML :exports both problem Eric S Fraga
2018-11-19 15:02 ` Lawrence Bottorff
2018-11-19 15:51 ` Eric S Fraga
2018-11-19 16:16 ` Nick Dokos
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFAhFSX0T6CGk9ruZu7JAFSEamgOWd4rmY=2CGeDxopmu8ngkw@mail.gmail.com' \
--to=borgauf@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.