Difference between revisions of "Command/setupexternalfigure"
< Command
Jump to navigation
Jump to search
(some more information) |
(some more information) |
||
Line 217: | Line 217: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="interaction"> | <cd:parameter name="interaction"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>How to handle the interaction (links etc.) of included PDFs – default is to disable all of them.</cd:paramdoc> |
− | <cd:constant type="yes"></cd:constant> | + | <cd:constant type="yes">keep all(?)</cd:constant> |
− | <cd:constant type="all"></cd:constant> | + | <cd:constant type="all">keep all</cd:constant> |
− | <cd:constant default="yes" type="none"></cd:constant> | + | <cd:constant default="yes" type="none">disable all</cd:constant> |
− | <cd:constant type="reference"></cd:constant> | + | <cd:constant type="reference">keep references</cd:constant> |
− | <cd:constant type="layer"></cd:constant> | + | <cd:constant type="layer">keep PDF layers (viewer layers, optional content groups)</cd:constant> |
− | <cd:constant type="bookmark"></cd:constant> | + | <cd:constant type="bookmark">keep bookmarks</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="bodyfont"> | <cd:parameter name="bodyfont"> | ||
Line 290: | Line 290: | ||
<cd:description>There are a few more options that are missing in the interface files: | <cd:description>There are a few more options that are missing in the interface files: | ||
+ | * '''orientation''': rotation (in LMTX arbitrary angles, in MkIV only 90˚steps) | ||
* '''minwidth/minheight''' | * '''minwidth/minheight''' | ||
* '''strut''': strut=none also avoids the \noindent; otherwise we're in hmode when blank happens and we get a lineskip</cd:description> | * '''strut''': strut=none also avoids the \noindent; otherwise we're in hmode when blank happens and we get a lineskip</cd:description> | ||
Line 305: | Line 306: | ||
<cd:source file="grph-inc.mkvi" originator="system">MkIV source</cd:source> | <cd:source file="grph-inc.mkvi" originator="system">MkIV source</cd:source> | ||
<cd:source file="grph-inc.mkxl">LMTX source</cd:source> | <cd:source file="grph-inc.mkxl">LMTX source</cd:source> | ||
− | <cd:source file="grph-con.lua">conversions source</cd:source></cd:seealso> | + | <cd:source file="grph-con.lua">conversions source</cd:source> |
+ | <cd:wikipage page="Using_Graphics"></cd:wikipage></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Revision as of 09:12, 12 August 2022
Contents
\setupexternalfigure
Summary
The command \setupexternalfigure sets up \externalfigure
Settings
\setupexternalfigure[...,...][...=...,...] | |
[...,...] | name |
width | dimension |
height | dimension |
label | name |
page | number |
object | yes no |
prefix | text |
method | pdf mps jpg png jp2 jbig svg eps gif tif mov buffer tex cld auto |
controls | yes no |
preview | yes no |
mask | none |
resolution | number |
color | color |
cmyk | yes no auto |
arguments | text |
repeat | yes no |
factor | fit broad max auto default |
hfactor | fit broad max auto default |
wfactor | fit broad max auto default |
maxwidth | dimension |
maxheight | dimension |
equalwidth | dimension |
equalheight | dimension |
scale | number |
xscale | number |
yscale | number |
s | number |
sx | number |
sy | number |
lines | number |
location | local global default |
directory | path |
option | test frame empty |
foregroundcolor | color |
reset | yes no |
background | color foreground name |
frame | on off |
backgroundcolor | color |
xmax | number |
ymax | number |
frames | on off |
interaction | yes all none reference layer bookmark |
bodyfont | dimension |
comment | command text |
size | none media crop trim art |
cache | path |
resources | path |
display | file |
conversion | text |
order | list |
crossreference | yes no number |
transform | auto number |
userpassword | text |
ownerpassword | text |
Option | Explanation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
label |
| ||||||||||||||
page |
| ||||||||||||||
object |
| ||||||||||||||
method |
| ||||||||||||||
controls |
| ||||||||||||||
resolution |
| ||||||||||||||
color |
| ||||||||||||||
cmyk |
| ||||||||||||||
arguments |
| ||||||||||||||
factor |
| ||||||||||||||
maxwidth |
| ||||||||||||||
maxheight |
| ||||||||||||||
scale |
| ||||||||||||||
lines |
| ||||||||||||||
location |
| ||||||||||||||
directory |
| ||||||||||||||
option |
| ||||||||||||||
foregroundcolor |
| ||||||||||||||
background |
| ||||||||||||||
frame |
| ||||||||||||||
backgroundcolor |
| ||||||||||||||
interaction |
| ||||||||||||||
size |
| ||||||||||||||
cache |
| ||||||||||||||
display |
| ||||||||||||||
conversion |
| ||||||||||||||
order |
| ||||||||||||||
crossreference |
| ||||||||||||||
transform |
| ||||||||||||||
userpassword |
| ||||||||||||||
ownerpassword |
|
Description
There are a few more options that are missing in the interface files:
- orientation: rotation (in LMTX arbitrary angles, in MkIV only 90˚steps)
- minwidth/minheight
- strut: strut=none also avoids the \noindent; otherwise we're in hmode when blank happens and we get a lineskip
Examples
Example 1
\setupexternalfigures [order={pdf,png,jpg}, location=global, directory={images}]
Notes
See also
- \defineexternalfigure
- \externalfigure
- grph-inc.mkvi MkIV source
- grph-inc.mkxl LMTX source
- grph-con.lua conversions source
- Using_Graphics