From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-publish problem for pictures with thumbnails but without explicit width specification [7.9.3f (release_7.9.3f-17-g7524ef @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] Date: Thu, 02 Jul 2015 09:08:24 +0200 Message-ID: <87r3orm3yv.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAYaP-0001ot-1R for emacs-orgmode@gnu.org; Thu, 02 Jul 2015 03:07:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAYaO-0001pP-0T for emacs-orgmode@gnu.org; Thu, 02 Jul 2015 03:07:04 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:60009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAYaN-0001p7-Q0 for emacs-orgmode@gnu.org; Thu, 02 Jul 2015 03:07:03 -0400 In-Reply-To: (Jonathan Dees's message of "Thu, 2 Jul 2015 02:49:59 +0000") 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: "Dees, Jonathan" Cc: "emacs-orgmode@gnu.org" Hello, "Dees, Jonathan" writes: > Test.org with the content: >>>> > A picture follows. > [[file:img/a.JPG][file:img/a.thumb.JPG]] > <<< > > Now use org-publish to generate nice html out of the org file (using the > org-publish-project-alist given in the appendix) > will fail with the following back trace: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) Org 7.9.3f is quite old. I suggest to update Org (or Emacs) and try again. > If I change the original file to have a width everything works flawless: > > >>> > A picture follows. > # +ATTR_HTML: width=256 > [[file:img/a.JPG][file:img/a.thumb.JPG]] > <<< The new syntax would be: #+ATTR_LATEX: :width 256 ... Regards, -- Nicolas Goaziou