emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cannot export bash src
@ 2016-02-23 10:23 Giuseppe Lipari
  2016-02-26  3:05 ` Grant Rettke
  0 siblings, 1 reply; 2+ messages in thread
From: Giuseppe Lipari @ 2016-02-23 10:23 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]

Hello,

I have a strange behaviour when trying to produce a beamer presentation .

I have a rather complicated set of slides, one of the slide contains this
snippet:

%--------- snippet ----------%
** CGI - producing output
- Example in shell script:
#+BEGIN_SRC bash
  echo "content-type: text/html"
  echo
  echo "<!doctype html publi\"-//w3c/dtd html 3.2 final/en\">"
  echo "<html>"
  echo "<body>"
  echo "it is <b>"`date`"</b>"
  echo "</body>"
  echo "</html>"
#+END_SRC
%--------- snippet ----------%

I use minted for formatting the visual output.
When I try to export to beamer, it stops well before the export with the
following error:

[...]
org-babel-exp process emacs-lisp at line 16...
org-babel-exp process html at line 114...
org-babel-exp process html at line 164...
org-babel-exp process bash at line 270...
byte-code: Invalid search bound (wrong side of point)


If I comment the above snippet, everything is all right, so I think it
should be the culprit.
However, if I isolate the above snippet in separate org file, the pdf file
is produced all right.

Anybody has any idea of what is going on? I am available to give you more
information (my init.org, and the whole org file, if necessary).


Giuseppe Lipari

[-- Attachment #2: Type: text/html, Size: 1816 bytes --]

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

* Re: Cannot export bash src
  2016-02-23 10:23 Cannot export bash src Giuseppe Lipari
@ 2016-02-26  3:05 ` Grant Rettke
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Rettke @ 2016-02-26  3:05 UTC (permalink / raw)
  To: Giuseppe Lipari; +Cc: emacs-orgmode@gnu.org

On Tue, Feb 23, 2016 at 4:23 AM, Giuseppe Lipari <giulipari@gmail.com> wrote:
> Anybody has any idea of what is going on? I am available to give you more
> information (my init.org, and the whole org file, if necessary).

Depending on your version of Org try:

#+BEGIN_SRC shell bash

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

end of thread, other threads:[~2016-02-26  3:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-23 10:23 Cannot export bash src Giuseppe Lipari
2016-02-26  3:05 ` Grant Rettke

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