From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Ritchie Subject: Image #s and captions missing in Org 8 Latex Export Date: Mon, 6 May 2013 10:40:22 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158a8880287d804dc0e86ab Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZNWx-0002Jz-DS for emacs-orgmode@gnu.org; Mon, 06 May 2013 11:40:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZNWt-0006pz-UT for emacs-orgmode@gnu.org; Mon, 06 May 2013 11:40:47 -0400 Received: from mail-ve0-x229.google.com ([2607:f8b0:400c:c01::229]:62460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZNWt-0006pn-Oz for emacs-orgmode@gnu.org; Mon, 06 May 2013 11:40:43 -0400 Received: by mail-ve0-f169.google.com with SMTP id jz10so3422396veb.0 for ; Mon, 06 May 2013 08:40:43 -0700 (PDT) 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: emacs-orgmode@gnu.org --089e0158a8880287d804dc0e86ab Content-Type: text/plain; charset=ISO-8859-1 Hey all, I've just upgraded to org 8 (from 7.9) and am running into an issue with my latex export. I can't get captions to show up on the results of a code block evaluation, or reference those results with, for example [[fig:graph]]: #+caption: Graphviz Example #+name: fig:graph #+BEGIN_SRC dot :exports results :file graph.png :eval yes :cmdline -Kdot -Tpng digraph data_relationships { "org-mode" "org-exp-blocks" "dot" "ditaa" "HTML" [shape=Mrecord, label="{HTML|publish on the web\l}"] "LaTeX" [shape=Mrecord, label="{LaTeX|publish in PDF\l}"] "org-mode" -> "org-exp-blocks" "dot" -> "org-mode" "ditaa" -> "org-mode" "org-exp-blocks" -> "HTML" "org-exp-blocks" -> LaTeX } (+ 2 2) #+END_SRC Captions and internal links to actual code listings are working great: #+caption: Hello, World in Clojure #+name: fig:hello #+BEGIN_SRC clojure :exports code :eval no (println "Hello, World!") #+END_SRC [[fig:hello]] resolves to "1", as expected, and the caption shows up in HTML export and in the Latex export as "Figure 1: Hello, World in Clojure". In org 7.9, my captions resolved on the png results but would never show up on code exports. Is there some option flag I need to enable to generate refs for embedded PNGs? Thanks! Sam -- Sam Ritchie, Twitter Inc 703.662.1337 @sritchie (Too brief? Here's why! http://emailcharter.org) --089e0158a8880287d804dc0e86ab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey all,

I've just upgra= ded to org 8 (from 7.9) and am running into an issue with my latex export. = =A0I can't get captions to show up on the results of a code block evalu= ation, or reference those results with, for example [[fig:graph]]:

#+caption: Graphviz Example
#+name: fig:= graph
#+BEGIN_SRC dot :exports results :file graph.png :eval yes = :cmdline -Kdot -Tpng
digraph data_relationships {
=A0 "org-mode"
=A0 "org-exp-blocks"
=A0 "dot"
=A0 "ditaa"
=A0 "HTML" [shape=3DMrecord, lab= el=3D"{HTML|publish on the web\l}"]
=A0 "LaTeX&quo= t; [shape=3DMrecord, label=3D"{LaTeX|publish in PDF\l}"]
=A0 "org-mode" -> "org-exp-blocks"
= =A0 "dot" -> "org-mode"
=A0 "ditaa&qu= ot; -> "org-mode"
=A0 "org-exp-blocks" -&g= t; "HTML"
=A0 "org-exp-blocks" -> LaTeX
=A0}
(+= 2 2)
#+END_SRC

Captions and inter= nal links to actual code listings are working great:

#+caption: Hello, World in Clojure
#+name: fig:hello
#+= BEGIN_SRC clojure :exports code :eval no
=A0 (println "Hello= , World!")
#+END_SRC

[[fig:hello]] = resolves to "1", as expected, and the caption shows up in HTML ex= port and in the Latex export as "Figure 1: Hello, World in Clojure&quo= t;.

In org 7.9, my captions resolved on the png resul= ts but would never show up on code exports. Is there some option flag I nee= d to enable to generate refs for embedded PNGs?

Thanks!
Sam

--
Sam Ritchie,= Twitter Inc
703= .662.1337
@sritchie
(Too brief? Here's why! http://emailcharter.org)
--089e0158a8880287d804dc0e86ab--