ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to get the figure size
@ 1999-02-16  8:53 Gilbert van den Dobbelsteen
  1999-02-16 11:26 ` Taco Hoekwater
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Gilbert van den Dobbelsteen @ 1999-02-16  8:53 UTC (permalink / raw)


Hi there,

This is probably very trivial but I need to do something like this:

  \presetexternalfigure[foo][somefig][height=100pt]
  \framed[width={\figurewidth[foo]}]{Some contents}

Are there any macro's like this? I need to have the height too.
I need it because I have a lot of figures with the same height, but with
different widths.

O yeah, and another problem: I use ActivateState perl, and some DJGPP perl
(you know, a port that runs under DOS/WIN/OS/2 *and* win95 and it has long
filename support)
and there are some differences:

- The DJGPP port is much faster (and I mean a lot faster here)

- The DJGPP port does globbbing correct, e.g.:
    texutil --figures --epspage *.eps
  works fine, while the ActiveState port doesn't (texutil says it doesn't
know any figures *.eps).

Perhaps I did something completely wrong (Ok, Wybo, I'll switch to Linux
some day). I have to stick to the ActiveState port because I use perl/Tk and
ODBC database connectivity, which doesn't run under the DJGPP port.

Gilbert.


^ permalink raw reply	[flat|nested] 14+ messages in thread
* How to get the figure size
@ 1999-02-16 12:10 Berend de Boer
  1999-02-16 13:04 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Berend de Boer @ 1999-02-16 12:10 UTC (permalink / raw)


> - The DJGPP port does globbbing correct, e.g.:
>     texutil --figures --epspage *.eps
>   works fine, while the ActiveState port doesn't (texutil
> says it doesn't
> know any figures *.eps).

Change routine CheckInputFiles in texutil.pl to:

sub CheckInputFiles
  { my ($UserSuppliedPath) = @_ ;
    @UserSuppliedFiles = glob $UserSuppliedPath }

This is the correct implementation IMHO. Hopefully in IHHO (In Hans Honest
Opinion) soon as well :-)

Groetjes,

Berend. (-:


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

end of thread, other threads:[~1999-02-16 19:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-16  8:53 How to get the figure size Gilbert van den Dobbelsteen
1999-02-16 11:26 ` Taco Hoekwater
1999-02-16 12:55   ` Hans Hagen
1999-02-16 12:53 ` Hans Hagen
1999-02-16 14:14 ` Taco Hoekwater
1999-02-16 14:18   ` Berend de Boer
1999-02-16 15:28   ` Taco Hoekwater
1999-02-16 14:34     ` Berend de Boer
1999-02-16 15:10     ` Erik Frambach
1999-02-16 17:58       ` Berend de Boer
1999-02-16 19:27 ` W.H. Dekker
1999-02-16 12:10 Berend de Boer
1999-02-16 13:04 ` Hans Hagen
1999-02-16 14:16   ` Berend de Boer

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