emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: Org-Mode mailing list <emacs-orgmode@gnu.org>,
	Marcin Borkowski <mbork@wmi.amu.edu.pl>
Subject: Re: Embedding diagrams in Org
Date: Tue, 24 Feb 2015 09:00:55 -0800	[thread overview]
Message-ID: <alpine.OSX.2.00.1502240843320.508@charles-berrys-macbook.local> (raw)
In-Reply-To: <87mw43d9bi.fsf@ucl.ac.uk>

On Tue, 24 Feb 2015, Eric S Fraga wrote:

> On Tuesday, 24 Feb 2015 at 01:01, Marcin Borkowski wrote:
>
> [...]
>
>> I have one question.
>>
>>> #+begin_src latex :results latex raw :exports results
>>
>> Why ":results latex raw" and not ":results latex"?
>
> I have no idea ;-)
>
> I find, unfortunately, that getting babel to do what I want is somewhat
> of an arcane art (for me) so once I get something doing what I want it
> to do, I leave things alone...
>

  `:results latex raw' is equivalent to `:results raw'.

If you try C-c C-v C-i in your src block, you will get

,----
| Lang: latex
| Properties:
| 	:header-args 	nil
| 	:header-args:latex 	nil
| Header Arguments:
| 	:cache		no
| 	:exports	results
| 	:hlines		no
| 	:noweb		no
| 	:results	raw replace
| 	:session	none
| 	:tangle		no
`----

So the result is processed by the exporter as `raw', which works ok as 
long as the exporter leaves the latex alone --- as in your case.

But sometimes is not what you want.

For example, a naked ~tildes~ will be marked up as \verb~tildes~ under 
`:results raw' or `:results latex raw', and as ~tildes~ under `:results 
latex'.


> I'm sure it all makes sense but it's probably a case of my not having
> the time to figure things out properly.  When I need to get something
> done, it's often because I need it *now* (or yesterday :-).
>

Been there, too.

Chuck

  reply	other threads:[~2015-02-24 17:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-18 12:34 Embedding diagrams in Org Marcin Borkowski
2015-02-18 14:19 ` Eric S Fraga
2015-02-18 15:51   ` Eduardo Ochs
2015-02-18 19:01     ` Eric S Fraga
2015-02-19  8:45       ` Sebastien Vauban
2015-02-18 19:37   ` Andreas Leha
2015-02-19  8:49     ` Sebastien Vauban
2015-02-21 11:06       ` Andreas Leha
2015-02-19 14:10     ` Eric S Fraga
2015-03-21 11:23     ` Marcin Borkowski
2015-03-21 21:41       ` Andreas Leha
2015-02-24  0:01   ` Marcin Borkowski
2015-02-24  8:04     ` Eric S Fraga
2015-02-24 17:00       ` Charles C. Berry [this message]
2015-03-05  8:51         ` Sebastien Vauban
2015-03-04 19:19 ` Marcin Borkowski
2015-03-04 19:37   ` Rasmus
2015-03-04 21:22   ` Andreas Leha
2015-03-05  8:12     ` Eric S Fraga

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=alpine.OSX.2.00.1502240843320.508@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=mbork@wmi.amu.edu.pl \
    /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).