emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Claudius Mueller <claudius.mueller@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-image-actual-width has no effect
Date: Fri, 29 Aug 2014 17:01:42 -0400	[thread overview]
Message-ID: <5400EA36.2000609@gmail.com> (raw)
In-Reply-To: <87r3zzwe4f.fsf@alphaville.dokosmarshall.org>

I tried your file - but whatever I do the images are shown the same 
size. I also had to manually paste in ditaa.jar because my compiled 
emacs version (24.3) that includes org does not include the contributed 
org scripts.

I guess I'm at my wits end.

Thank you,
Claudius


On 08/29/2014 10:43 AM, Nick Dokos wrote:
> Claudius Mueller <claudius.mueller@gmail.com> writes:
>
>> Thank you for pointing this out. I compiled emacs 24.3 with
>> imagemagick support:
>>
>> "ldd /usr/local/bin/emacs | grep Magick" ====>
>> libMagickWand-6.Q16.so.1 => /usr/lib64/libMagickWand-6.Q16.so.1
>> (0x00007f3946278000)
>> libMagickCore-6.Q16.so.1 => /usr/lib64/libMagickCore-6.Q16.so.1
>> (0x00007f3945dd9000)
>>
>> However, inline images are still not scaled at all if I include:
>>
>> (setq org-image-actual-width 50)
>>
>> in my .emacs file.
>>
>> Any other ideas of what I am doing wrong?
>>
> Maybe check your *Messages* buffer for errors?
>
> FWIW, it works fine here with the following file:
>
> --8<---------------cut here---------------start------------->8---
>
> * Inline images
>
> This is a test: [[file:hello-world.png]]
>
> #+BEGIN_SRC ditaa :file hello-world.png :cmdline -r
> +--------------+
> |              |
> | Hello World! |
> |              |
> +--------------+
> #+END_SRC
>
> #+RESULTS:
> [[file:hello-world.png]]
>
>
> * image width
>
> #+BEGIN_SRC emacs-lisp
> (setq org-image-actual-width 50)
> #+END_SRC
>
> #+BEGIN_SRC emacs-lisp
> (setq org-image-actual-width 500)
> #+END_SRC
>
>
> --8<---------------cut here---------------end--------------->8---
>
> Depending on which emacs-lisp source block I evaluate, when I do C-c C-x
> C-v afterwards, I get small images or large images.
>
> Version info:
> Fedora 20
> GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2014-08-11
> Org-mode version 8.3beta (release_8.3beta-270-g4dd9f3.dirty @ /home/nick/elisp/org-mode/lisp/)
>
> Nick
>
>> Thank you very much for your help!
>> Claudius
>>
>> On 08/28/2014 07:50 PM, Charles Philip Chan wrote:
>>> On 28 Aug 2014, claudius.mueller@gmail.com wrote:
>>>
>>>> I am using emacs 24.3 in openSUSE 13.1. I have not compiled emacs
>>>> myself, but the core imagemagick libraries are part of the
>>>> dependencies, which makes me assume that it's been compiled with
>>>> imagemagick support.
>>> No, the Emacs in OpenSuSE 13.1 is not compiled with Image Magick
>>> support- "ldd /usr/bin/emacs | grep Magick" produces nothing. Where as,
>>> this is the output of my self-compiled version.
>>>
>>> ,----[ ldd /usr/local/bin/emacs | grep Magick ]
>>> | libMagickWand-6.Q16.so.1 => /usr/lib64/libMagickWand-6.Q16.so.1 (0x00007fe7e8072000)
>>> | libMagickCore-6.Q16.so.1 => /usr/lib64/libMagickCore-6.Q16.so.1 (0x00007fe7e7bd3000
>>> `----
>>>
>>>> I can display inline images of several file types just fine (tif, png,
>>>> gif, ...).
>>> This is because Emacs is using libtiff, libjpeg, libpng, libxpm etc.
>>>
>>> Charles
>>>
>>
>>

  reply	other threads:[~2014-08-29 21:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 23:23 org-image-actual-width has no effect Claudius Mueller
2014-08-28 23:50 ` Charles Philip Chan
2014-08-29 13:47   ` Claudius Mueller
2014-08-29 14:43     ` Nick Dokos
2014-08-29 21:01       ` Claudius Mueller [this message]
2014-08-29 22:27         ` Nick Dokos
2014-08-29 22:50           ` Claudius Mueller
2014-08-30  2:54             ` Nick Dokos
2014-08-31  2:30               ` Claudius Mueller
2014-08-31 13:02               ` Claudius Mueller

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=5400EA36.2000609@gmail.com \
    --to=claudius.mueller@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).