emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Dees, Jonathan" <jonathan.dees@sap.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <87r3orm3yv.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <D1BA7376.1924A%jonathan.dees@sap.com> (Jonathan Dees's message of "Thu, 2 Jul 2015 02:49:59 +0000")

Hello,

"Dees, Jonathan" <jonathan.dees@sap.com> 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

      reply	other threads:[~2015-07-02  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02  2:49 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/)] Dees, Jonathan
2015-07-02  7:08 ` Nicolas Goaziou [this message]

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=87r3orm3yv.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=jonathan.dees@sap.com \
    /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).