emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is raw output from Common Lisp and Scheme broken?


From: Rudolf Adamkovič
Subject: Is raw output from Common Lisp and Scheme broken?
Date: Thu, 08 Aug 2024 12:39:56 +0200

Howdy!

I would like to output

  raw Org/LaTeX from Common Lisp and Scheme

but it does not seem to work:

EMACS LISP - ALL OK:

  #+BEGIN_SRC elisp :results raw
  "\\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}"
  #+END_SRC
  
  #+RESULTS:
  \begin{array}{cc|cc} 1 & 2 & 3 & 4\end{array}

LUA - ALL OK:

  #+BEGIN_SRC lua :results raw
  return "\\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}"
  #+END_SRC
  
  #+RESULTS:
  \begin{array}{cc|cc} 1 & 2 & 3 & 4\end{array}

COMMON LISP - *NOT* OK:

(1) DOUBLE BACKSLASHES
(2) RESULTS GROW

  #+BEGIN_SRC lisp :results raw
  "\\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}"
  #+END_SRC
  
  #+RESULTS:
  \\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}
  \\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}
  \\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}

SCHEME - *NOT* OK:

(1) SUPERFLUOUS QUOTES
(2) DOUBLE BACKSLASHES
(3) RESULTS GROW

  #+BEGIN_SRC scheme :results raw
  "\\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}"
  #+END_SRC
  
  #+RESULTS:
  "\\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}"
  "\\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}"
  "\\begin{array}{cc|cc} 1 & 2 & 3 & 4\\end{array}"

Is escaping and quoting broken for Common Lisp and Scheme, ...

... or am I using something incorrectly?

Thank you!

Rudy
-- 
"I love deadlines.  I love the whooshing noise they make as they go by."
--- Douglas Adams, The Salmon of Doubt, 2002

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]