Difference between revisions of "Command/setupexternalfigures"

From Wiki
Jump to navigation Jump to search
m
Line 67: Line 67:
 
| where to find figure files:
 
| where to find figure files:
 
{|
 
{|
|''global'' || the whole current project environment
+
|''global'' || search path specified with the 'directory' key
 
|-
 
|-
|''local''  || this 'directory' option
+
|''local''  || search in the current directory
 
|-
 
|-
|''default''|| the global texmf tree
+
|''default''|| search in the texmf tree
 
|-
 
|-
|''none''  || actual directory
+
|''none''  || (don't search anywhere?)
 
|}
 
|}
 
|- style="vertical-align: top"
 
|- style="vertical-align: top"
Line 80: Line 80:
  
 
The <code>order</code> key sets the order in which the individual file types are looked up.
 
The <code>order</code> key sets the order in which the individual file types are looked up.
 +
 +
The default setup for the search is \setupexternalfigures[location={local,global}].
  
 
== Example ==
 
== Example ==
Line 86: Line 88:
 
\setupexternalfigures
 
\setupexternalfigures
 
   [order={pdf,png,jpg},
 
   [order={pdf,png,jpg},
     location=local,
+
     location=global,
     directory={./images}]
+
     directory={images}]
 
</texcode>
 
</texcode>
  

Revision as of 09:36, 12 February 2013

\setupexternalfigures

Syntax

\setupexternalfigures[...=...]
option frame empty test
object yes no
frame on off
ymax number
xmax number
order text
directory text
location local global default none
maxwidth dimension
maxheight dimension
conversion text
prefix text


Description

Namespace Name
location where to find figure files:
global search path specified with the 'directory' key
local search in the current directory
default search in the texmf tree
none (don't search anywhere?)
directory local directory for figure files

The order key sets the order in which the individual file types are looked up.

The default setup for the search is \setupexternalfigures[location={local,global}].

Example

\setupexternalfigures
   [order={pdf,png,jpg},
    location=global,
    directory={images}]

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: