Hi,
I've used ConTeXt to chop up a big map svg on separate A4 papers like
this:
\setuplayout[width=190mm,backspace=10mm,height=297mm,topspace=10mm,
header=0mm]
\setupclipping[nx=3,ny=3]
\starttext
\dorecurse{3}{\framed{\clip[x=\recurselevel,y=1]{\externalfigure[map.svg][width=570mm
Am 21.09.2011 14:26, schrieb Otso Helenius:
Hi,
I've used ConTeXt to chop up a big map svg on separate A4 papers like this:
\setuplayout[width=190mm,backspace=10mm,height=297mm,topspace=10mm,
header=0mm]
\setupclipping[nx=3,ny=3]
\starttext
\dorecurse{3}{\framed{\clip[x=\recurselevel
,
rulethickness=2pt]
What would the syntax for \setupclipping look like to have that done? I
can find scant documentation for either that or \clip.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed
,
background=color,
backgroundcolor=colour_page,
rulethickness=2pt]
What would the syntax for \setupclipping look like to have that done? I
can find scant documentation for either that or \clip.
There is a example in the metafun manual: http://pragma-ade.com/show-man-7.htm
Wolfgang
=yes|no]
\setupcaption[name][settings]
\setupcaptions[options]
\setupclipping[options]
\setupcolor[name]
\setupcolors[options]
\setupcolumns[options]
\setupcombinations[options]
\setupcombinedlist[name][levels and options]
\setupcomment[options]
\setupdescriptions[names][options]
# \setupencoding
,2u) withcolor green ;
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{cliptest}
\blank
\setupclipping[nx=3,ny=3]
\clip[x=1,y=1]{\reuseMPgraphic{cliptest}}
\blank
\clip[x=2,y=2]{\reuseMPgraphic{cliptest}}
\blank
\clip[x=2,y=3]{\reuseMPgraphic{cliptest}}
\stoptext
%%% Local
;
fill p shifted (2u,u) withcolor blue ;
fill p shifted (0,2u) withcolor green ;
fill p shifted (u,2u) withcolor blue ;
fill p shifted (2u,2u) withcolor green ;
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{cliptest}
\blank
\setupclipping[nx=3,ny=3]
\clip[x=1,y=1
}
\blank
\setupclipping[nx=3,ny=3]
\clip[x=1,y=1]{\reuseMPgraphic{cliptest}}
\blank
\clip[x=2,y=2]{\reuseMPgraphic{cliptest}}
\blank
\clip[x=2,y=3]{\reuseMPgraphic{cliptest}}
\stoptext
%%% Local Variables:
%%% mode: context
%%% TeX-master:
%%% End
shifted (2u,u) withcolor blue ;
fill p shifted (0,2u) withcolor green ;
fill p shifted (u,2u) withcolor blue ;
fill p shifted (2u,2u) withcolor green ;
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{cliptest}
\blank
\setupclipping[nx=3,ny=3]
\clip[x=1,y=1]{\reuseMPgraphic{cliptest
going through metapost?
Yes. Try this example. You can see from the resulting pdf file that
the cow.pdf gets included only once.
\useexternalfigure[cow]
\starttext
\setupclipping[nx=3,ny=3]
% 1/3 of a sliced cow
\hbox{%
\clip [x=1,y=2]{\externalfigure[cow]}
\clip [x=2,y=2]{\externalfigure[cow
10 matches
Mail list logo