ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in image scaling
@ 2016-07-09 18:10 Pablo Rodriguez
  2016-07-10 10:45 ` Hans Hagen
  2016-07-10 10:51 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2016-07-09 18:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

    \setupexternalfigure[location=default]
    \starttext
    \insertpages[cow.pdf][width=\textwidth]
    \stoptext

Using latest beta from 2016.07.08 17:19, scaling doesn’t work.

Am I missing something or have I hit a bug?

Just in case it might me causing the issue, I’m using LuaTeX-0.95 for
Linux 32bit.

Could anyone check this issue?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug in image scaling
  2016-07-09 18:10 bug in image scaling Pablo Rodriguez
@ 2016-07-10 10:45 ` Hans Hagen
  2016-07-10 10:51 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2016-07-10 10:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 7/9/2016 8:10 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
>     \setupexternalfigure[location=default]
>     \starttext
>     \insertpages[cow.pdf][width=\textwidth]
>     \stoptext
>
> Using latest beta from 2016.07.08 17:19, scaling doesn’t work.
>
> Am I missing something or have I hit a bug?

width is the width of the destination box, not of the image an dit's 
used to flush left or right

the image scaled to \textheight (currently)

> Just in case it might me causing the issue, I’m using LuaTeX-0.95 for
> Linux 32bit.
>
> Could anyone check this issue?
>
> Many thanks for your help,
>
>
> Pablo
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug in image scaling
  2016-07-09 18:10 bug in image scaling Pablo Rodriguez
  2016-07-10 10:45 ` Hans Hagen
@ 2016-07-10 10:51 ` Hans Hagen
  2016-07-10 20:44   ` Pablo Rodriguez
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2016-07-10 10:51 UTC (permalink / raw)
  To: ntg-context

On 7/9/2016 8:10 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
>     \setupexternalfigure[location=default]
>     \starttext
>     \insertpages[cow.pdf][width=\textwidth]
>     \stoptext
>
> Using latest beta from 2016.07.08 17:19, scaling doesn’t work.

next beta:

\setupexternalfigure[location=default]
\defineexternalfigure[foo][width=.5\textwidth]

\starttext \showframe

     \insertpages[cow.pdf][category=foo]

\stoptext

(you wikify it)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug in image scaling
  2016-07-10 10:51 ` Hans Hagen
@ 2016-07-10 20:44   ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2016-07-10 20:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 07/10/2016 12:51 PM, Hans Hagen wrote:
> On 7/9/2016 8:10 PM, Pablo Rodriguez wrote:
>> Dear list,
>>
>> I have the following sample:
>>
>>     \setupexternalfigure[location=default]
>>     \starttext
>>     \insertpages[cow.pdf][width=\textwidth]
>>     \stoptext
>>
>> Using latest beta from 2016.07.08 17:19, scaling doesn’t work.
> 
> next beta:
> 
> \setupexternalfigure[location=default]
> \defineexternalfigure[foo][width=.5\textwidth]
> 
> \starttext \showframe
> 
>      \insertpages[cow.pdf][category=foo]
> 
> \stoptext
> 
> (you wikify it)

Many thanks for the implementation, Hans.

I have just wikified it.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-10 20:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-09 18:10 bug in image scaling Pablo Rodriguez
2016-07-10 10:45 ` Hans Hagen
2016-07-10 10:51 ` Hans Hagen
2016-07-10 20:44   ` Pablo Rodriguez

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).