From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Rotate does not work on externalfigure
Date: Wed, 20 Aug 2014 17:39:13 +0200 [thread overview]
Message-ID: <20C7B5AE-7B12-4C57-9140-07EBFB81B88C@rna.nl> (raw)
In-Reply-To: <A1BA68DD-6626-4883-AF39-5596B88F5588@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1546 bytes --]
On 20 Aug 2014, at 17:26, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
> Am 20.08.2014 um 17:09 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>
>> \placefigure [] [foo] {Bar}
>> {\externalfigure[foo.pdf][rotation=90]}
>>
>> Does not rotate my figure. It just remains as is. Am I forgetting something?
>
> You’re using the wrong key.
>
> \setupexternalfigures[location=default]
>
> \starttext
>
> \externalfigure[cow][width=4cm]
>
> \externalfigure[cow][width=4cm,orientation=90]
This one has an interesting side effect. My image is wider than high. It was scaled too small so i wanted to rotate it and make it bigger. With this one it seems the bounding box is not rotated, so the top of the rotated picture is off the page.
> \rotate[rotation=90]{\externalfigure[cow][width=4cm]}
This works better, but the figure's size is not changed. Apparently, the size is calculated before it is rotated. And these claculations stick in different ways.
>
> \stoptext
>
> Wolfgang
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3516 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2014-08-20 15:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 15:09 Gerben Wierda
2014-08-20 15:26 ` Wolfgang Schuster
2014-08-20 15:39 ` Gerben Wierda [this message]
2014-08-20 15:47 ` Wolfgang Schuster
2014-08-20 16:00 ` Gerben Wierda
2014-08-20 16:07 ` Wolfgang Schuster
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20C7B5AE-7B12-4C57-9140-07EBFB81B88C@rna.nl \
--to=gerben.wierda@rna.nl \
--cc=ntg-context@ntg.nl \
/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.
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 NNTP newsgroup(s).