From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Embedding diagrams in Org Date: Tue, 24 Feb 2015 09:00:55 -0800 Message-ID: References: <87bnkr8kkg.fsf@wmi.amu.edu.pl> <87d2579uah.fsf@ucl.ac.uk> <87k2z8mb2o.fsf@wmi.amu.edu.pl> <87mw43d9bi.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQIr3-00050q-0W for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 12:01:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQIqy-0002VZ-2U for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 12:01:04 -0500 Received: from iport-bcv3-out.ucsd.edu ([132.239.0.89]:14265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQIqx-0002U2-QT for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 12:01:00 -0500 In-Reply-To: <87mw43d9bi.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: Org-Mode mailing list , Marcin Borkowski 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