ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michal Kvasnicka <quasar@econ.muni.cz>
Subject: Re: RLXTOOLS ?
Date: Thu, 01 Jun 2006 12:55:31 +0200	[thread overview]
Message-ID: <447EC7A3.8060002@econ.muni.cz> (raw)
In-Reply-To: <447CCF22.2080701@wxs.nl>

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
>
>    <rl:manipulator name='lowres' suffix='pdf'>
>        <rl:old><rl:value name='path'/>/<rl:value name='file'/></rl:old>
>        <rl:new><rl:value name='path'/>/<rl:value 
>name='prefix'/><rl:value name='file'/></rl:new>
>        <rl:step>
>            texmfstart pstopdf --convert --method=4
>            --inputpath=<rl:value name='path'/>
>            --outputpath=<rl:value name='path'/>/<rl:value name='prefix'/>
>            <rl:value name='file'/>
>        </rl:step>
>    </rl:manipulator>
>
>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
>  

      reply	other threads:[~2006-06-01 10:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 14:10 Michal Kvasnicka
2006-05-30 16:57 ` Peter Münster
2006-05-30 23:02 ` Hans Hagen
2006-06-01 10:55   ` Michal Kvasnicka [this message]

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=447EC7A3.8060002@econ.muni.cz \
    --to=quasar@econ.muni.cz \
    --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).