Re: [NTG-context] RLXTOOLS ?
Many thanks to you both---I will experiment with both solutions. I would prefer the RLXTools (being standard in the ConTeXt) but I still can't imagine how should I make the figure name/conversion dependent on the size specified in the TeX file (different sizes for different figures). However, I'll experiment. Many thanks once more. M.K. >in the default rlxtools.rlx file you will find > > >/ >/name='prefix'/> > >texmfstart pstopdf --convert --method=4 >--inputpath= >--outputpath=/ > > > > >so, what you can do is define something lowres-x and lowres-y and set >the conversion to one of those those depending on the width > >tricky but kind of okay is > >\definemeasure[whatever][\makeupwidth] > >... >width=\measure{whatever},conversion=lowres-\ifdim\measure{whatever}<\makeupwidth > >x\else y\fi,... > >Hans > > >- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl >- > >___ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] RLXTOOLS ?
Michal Kvasnicka wrote: > Good evening. > > How can I make RLXTOOLS to regenerate a figure when its dimensions in > the TeX file are changed? (What I mean is this: For screen version of my > documents I downscale JPGs to 100ppi. But it depends on the size given > by the TeX file. So I'd like RLXTools to regenerate the figure when I change > \externalfigure[bum.jpg][width=\textwidth] > to > \externalfigure[bum.jpg][width=\makeupwidth] > for instance (while in columns).) > > How can I get force it to do it? > in the default rlxtools.rlx file you will find / / texmfstart pstopdf --convert --method=4 --inputpath= --outputpath=/ so, what you can do is define something lowres-x and lowres-y and set the conversion to one of those those depending on the width tricky but kind of okay is \definemeasure[whatever][\makeupwidth] ... width=\measure{whatever},conversion=lowres-\ifdim\measure{whatever}<\makeupwidth x\else y\fi,... Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] RLXTOOLS ?
On Tue, 30 May 2006, Michal Kvasnicka wrote: > So I'd like RLXTools to regenerate the figure when I change > \externalfigure[bum.jpg][width=\textwidth] > to > \externalfigure[bum.jpg][width=\makeupwidth] > for instance (while in columns).) Eventually you could give t-degrade.tex a try (available on http://pmrb.free.fr/work/OS/ConTeXt/ ) Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] RLXTOOLS ?
Good evening. How can I make RLXTOOLS to regenerate a figure when its dimensions in the TeX file are changed? (What I mean is this: For screen version of my documents I downscale JPGs to 100ppi. But it depends on the size given by the TeX file. So I'd like RLXTools to regenerate the figure when I change \externalfigure[bum.jpg][width=\textwidth] to \externalfigure[bum.jpg][width=\makeupwidth] for instance (while in columns).) How can I get force it to do it? Many thanks for you kind answer. And many thanks to Mr. Hagen for this wonderful tool -- it's much better than my semimanual use of Make. Yours Michal Kvasnicka ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context