Re: [NTG-context] Locating pdf files in the texmf directory structure

2013-08-05 Thread Marco Patzer
On 2013–08–04 Michael Ash wrote:

> But env_letter.tex calls two pdf files with \externalfigure (see
> below).  These two pdf files are also in the directory pointed to by
> TEXMFHOME but they show up in the finished document as gray "state:
> unknown" boxes

This works here.

  \setupexternalfigure [location=default]
  \starttext
%% \externalfigure [cow]
\externalfigure [somefigure]
  \stoptext

The graphic somefigure is located in TEXMFHOME. You probably did not
set location to default.

  http://wiki.contextgarden.net/Command/setupexternalfigures

> % Define logo for the first page header
> \defineletterelement[layer][head][example]{%
>   \framed[background=logohead,frame=off,align=left]{%
> \externalfigure[UMA_Seal_200_Maroon.pdf][height=3.1cm]}
> }
> 
> \setupletter[ signature={\externalfigure[signature-blue.pdf]} ]

If you provide code, please create working examples, not just
snippets.

Marco


signature.asc
Description: Digital signature
___
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
___

[NTG-context] Locating pdf files in the texmf directory structure

2013-08-04 Thread Michael Ash
I asked:
>> (4) Where can I put personal files that I would like context to use 
>> regularly.

which Marco kindly answered:
> In the directory TEXMFHOME points to or texmf-local.

This works for my personal file env_letter.tex which is called with
\environment env_letter.tex.This file env_letter.tex calls the
letter module, sets some correspondenceparameters, etc.

But env_letter.tex calls two pdf files with \externalfigure (see
below).  These two pdf files are also in the directory pointed to by
TEXMFHOME but they show up in the finished document as gray "state:
unknown" boxes

Does this involve "tracking" as discussed in
http://wiki.contextgarden.net/Command/externalfigure ?

Thank you very much for guidance.

best,
Michael



% Define logo for the first page header
\defineletterelement[layer][head][example]{%
  \framed[background=logohead,frame=off,align=left]{%
\externalfigure[UMA_Seal_200_Maroon.pdf][height=3.1cm]}
}

\setupletter[ signature={\externalfigure[signature-blue.pdf]} ]
___
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
___