ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: context <ntg-context@ntg.nl>
Subject: Re: Figure inclusion and stuff
Date: Wed, 31 Mar 1999 17:12:12 +0200	[thread overview]
Message-ID: <37023B4C.A81BEF54@wxs.nl> (raw)
In-Reply-To: <002401be7b7e$8d6ed7e0$0c01a8c1@worf.login-bv.com>

Gilbert van den Dobbelsteen wrote:

> I discovered a change in the latest context (cont-tfm.zip from
> www.praga-ade.nl).
> 
> Usually I setup figure inclusions like this:
> 
>   \setupexternalfigues[directory=figures]
> 
> And I have a help.eps figure in the local directory, *and* in the sub-dir
> figures. The old context, took the one from the figures directory, while the
> new one uses help.eps from the current (local) directory.

Which is what you expect. You can turn that off by saying (in your
cont-sys.tex file):

\setupexternalfigures[location=global]

(default: {local,global} so both local and global)

> This was easily found (you can check the log-files), and I re-arranged my
> own things in the directory stuff. The newer method of figure inclusion
> makes more sense to me.

You can specify a set of path's: directory={a,b,c} ; use / on dos!) 

When you say \runutilityfiletrue, and no dimensions can be found in the
illustration (in pdftex in most cases the dimensions can be found)
context runs texutil, which can parse tif, png, jpg, eps and pdf.  

When you call for an non existing figure, you will see a lot of
searching done. When in deep trouble, say: 

  \traceexternalfigurestrue

and you will see even more. 

Also changed: always inserted at 100 scale and scaled using normal
scaling (needed due to object reuse). 

In case one didn't notice: context does try to insert the best available
figure, so when you have an eps and tif, the eps will be included when
your dvi driver supports it. You can best not specify a type or
extension, let context determine things. Funny side effect: when there
is no figure but a tex file present, context will run that one. Reason?
You can say: 

\startbuffer 
  some table 
\stopbuffer 

\externalfigure[buffer][width=10cm]

etc etc. 

When put in a tex file, say for instance: \externalfigure[something.tex]
and you have all scaling things at hand! 

> O yeah, It seems that the best setting in texexec.ini for me is atpragma,
> this is probably caused by web2c 7.2 from TeXlive III.

In tetex and fptex, the default tetex settingw can best be used (texlive
IV). 
Of course you can add an 'atlogin' section for you own use too. 

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


      reply	other threads:[~1999-03-31 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-31 13:58 Gilbert van den Dobbelsteen
1999-03-31 15:12 ` Hans Hagen [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=37023B4C.A81BEF54@wxs.nl \
    --to=pragma@wxs.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).