From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: html export Date: Sun, 20 Jun 2010 06:11:17 -1000 Message-ID: <48C8312A-7793-49D0-AA26-24AB15AC662F@tsdye.com> References: <871vc28js3.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=57113 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQN7D-0000E6-QO for emacs-orgmode@gnu.org; Sun, 20 Jun 2010 12:11:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQN7C-0007J9-C6 for emacs-orgmode@gnu.org; Sun, 20 Jun 2010 12:11:23 -0400 Received: from oproxy2-pub.bluehost.com ([67.222.39.60]:53566) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OQN7C-0007Ix-5B for emacs-orgmode@gnu.org; Sun, 20 Jun 2010 12:11:22 -0400 In-Reply-To: <871vc28js3.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org Mode Hi Eric, On Jun 19, 2010, at 5:28 PM, Eric Schulte wrote: > Hi Tom, > > "Thomas S. Dye" writes: > >> Aloha all, >> >> Exporting this small file to html here doesn't put a caption on the >> figure. >> >> * No caption >> >> #+CAPTION: Histogram of adze weights on a logarithmic scale >> #+LABEL: fig:wt-log >> >> [[file:~/Public/projects/903_adzes/r/sr-nb-scatter.png]] >> >> Does anyone else see this? >> > > Try removing the empty line between the #+LABEL:... line and the > [[file:... line, that worked for me. or rather the following worked > for > me > > --8<---------------cut here---------------start------------->8--- > * No caption > > #+CAPTION: Histogram of adze weights on a logarithmic scale > #+LABEL: fig:wt-log > [[file:graph.png]] > > --8<---------------cut here---------------end--------------->8--- > > also, if the file doesn't exist, then neither the file, nor the > label or > caption will export. > >> >> All of a sudden, I'm having the devil's own time with html export. I >> made small changes to a large export project file and was surprised >> when none of the links were exported. The project has been exporting >> perfectly for months now. >> > > I agree it seems that the html export has been a little bit less > stable > as of late. > > Best -- Eric Removing the blank line doesn't work for me either. Org-mode version 6.36trans (release_6.36.291.gaf90f) Ah, I'm finally able to reproduce the problem in my larger file. Here is an example: * No results exported #+srcname: problem #+begin_src R b <- 4 #+end_src #+results: problem [[file:~/Public/projects/903_adzes/r/sr-nb-scatter.png]] The key is that srcname: and results: have the same name. Changing the results: name works. * Results exported #+srcname: problem #+begin_src R b <- 4 #+end_src #+results: problem-not [[file:~/Public/projects/903_adzes/r/sr-nb-scatter.png]] All the best, Tom