emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Liam Healy <lnp@healy.washington.dc.us>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Restore raw output in LaTeX export from in-line code block
Date: Sun, 6 Oct 2013 10:28:31 -0400	[thread overview]
Message-ID: <CADe9tL74djt_7mi8NCEfS3nmXfirV_CDrqd-DHTQNZ0jE_pjRg@mail.gmail.com> (raw)
In-Reply-To: <87haczol8i.fsf@gmail.com>

On Wed, Oct 2, 2013 at 9:28 AM, Eric Schulte <schulte.eric@gmail.com> wrote:
>
>
> inline "\\sqrt{2}" works
>
>
> Are you able to interactively execute inline code blocks?
>
> I'm not sure what the issue could be.
>
> Best,
>

Thanks for the response Eric. I do not get the results you do:
  src_lisp[:results raw]{(format nil "\\sqrt{2~c" (code-char 125))}
gives me
  "$\backslash$\sqrt{2}"
which is obviously wrong. Even so, what you get is wrong too; it should be
  \sqrt{2}
(a single backslash and no quotes), which is what I get under 7.9.4.
If I have only one backslash,
 src_lisp[:results raw]{(format nil "\sqrt{2~c" (code-char 125))}
I get
 "sqrt\{2\}"
still wrong.

It appears there is more than one problem, and one of the problems is
the Common Lisp's escaping of "\" with a second "\" is being
misinterpreted. A possible second problem is that it seems to now use
#'print (or the equivalent) on the lisp side instead of #'princ, so
that the output includes escape characters.

Thanks,
Liam

      reply	other threads:[~2013-10-06 14:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-28 19:19 Restore raw output in LaTeX export from in-line code block Liam Healy
2013-09-29 19:46 ` Eric Schulte
2013-10-01 23:36   ` Liam Healy
2013-10-02 13:28     ` Eric Schulte
2013-10-06 14:28       ` Liam Healy [this message]

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=CADe9tL74djt_7mi8NCEfS3nmXfirV_CDrqd-DHTQNZ0jE_pjRg@mail.gmail.com \
    --to=lnp@healy.washington.dc.us \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /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).