Re: [NTG-context] Remove external file name references

2014-02-25 Thread Hans Hagen

On 2/25/2014 2:42 AM, Thangalin wrote:

Hi,

A flexible solution could be:

   \setupexternalfigures[
 pdfptexfilename={customfilename.jpg},
   ]

To eliminate the filename altogether:

   \setupexternalfigures[
 pdfptexfilename=,
   ]

This looks like it could be extended to customize the other PTEX
attributes, or be used to configure values in other namespaces.


no, it would probably be:

\disabledirective[backend.ptex]

or so where we don't bother about the fact that there are multiple ptex 
keys ... 'all' or 'none'


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Remove external file name references

2014-02-24 Thread Thangalin
A patch from Phillip:

https://gist.github.com/phi-gamma/9197525
___
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
___


Re: [NTG-context] Remove external file name references

2014-02-24 Thread Hans Hagen

On 2/24/2014 11:19 PM, Thangalin wrote:

A patch from Phillip:

https://gist.github.com/phi-gamma/9197525


that's not a patch but obscuring code (ok for private use) ... there is 
however a proper tracker request so we will have a look at it at some 
point (probably some primitive needed or (as we try to avoid new 
primitives, maybe an option in the img library


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Remove external file name references

2014-02-24 Thread Thangalin
Hi,

A flexible solution could be:

  \setupexternalfigures[
pdfptexfilename={customfilename.jpg},
  ]

To eliminate the filename altogether:

  \setupexternalfigures[
pdfptexfilename=,
  ]

This looks like it could be extended to customize the other PTEX
attributes, or be used to configure values in other namespaces.
___
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
___