Am 23.12.2008 um 04:48 schrieb Lars Huttar:
When I use uniqueMPgraphics, things run faster, but I get errors and warnings. They look like this:
** WARNING ** Specified (image) object doesn't exist: MP::139 ** WARNING ** Interpreting special command uxobj (pdf:) failed. ** WARNING ** >> at page="32" position="(216.633, 268.835)" (in PDF) ** WARNING ** >> xxx "pdf:uxobj @MP::139" ** WARNING ** Error locating image file "MP::185" ** WARNING ** Specified (image) object doesn't exist: MP::185 ** WARNING ** Interpreting special command uxobj (pdf:) failed. ** WARNING ** >> at page="32" position="(250.44, 268.835)" (in PDF) ** WARNING ** >> xxx "pdf:uxobj @MP::185" ** WARNING ** Error locating image file "MP::141" ** WARNING ** Specified (image) object doesn't exist: MP::141 ** WARNING ** Interpreting special command uxobj (pdf:) failed. ** WARNING ** >> at page="32" position="(284.247, 268.835)" (in PDF) ** WARNING ** >> xxx "pdf:uxobj @MP::141" ** WARNING ** Error locating image file "MP::186" ** WARNING ** Specified (image) object doesn't exist: MP::186 ** WARNING ** Interpreting special command uxobj (pdf:) failed. ** WARNING ** >> at page="32" position="(316.111, 268.835)" (in PDF) ** WARNING ** >> xxx "pdf:uxobj @MP::186" ** WARNING ** Error locating image file "MP::143" ** WARNING ** Specified (image) object doesn't exist: MP::143 ** WARNING ** Interpreting special command uxobj (pdf:) failed. ** WARNING ** >> at page="32" position="(352.456, 268.835)" (in PDF) ** WARNING ** >> xxx "pdf:uxobj @MP::143"
The tex looks like:
\startMPinitializations numeric FrameDist, Inner, Middle, Outer ; FrameDist := 0.6; Middle := -0.2 ; Inner := Middle - FrameDist; Outer := Middle + FrameDist; \stopMPinitializations
% 0 double sides \startuniqueMPgraphic{table:frame:lrtb} % all single draw OverlayBox enlarged Middle ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic
% 1 double side \startuniqueMPgraphic{table:frame:Lrtb} % left double draw OverlayBox leftenlarged Outer topenlarged Middle bottomenlarged Middle rightenlarged Middle ; draw OverlayBox leftenlarged Inner topenlarged Middle bottomenlarged Middle rightenlarged Middle ; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic ... % 0 double sides \defineoverlay[lrtb][\uniqueMPgraphic{table:frame:lrtb}] % 1 double side \defineoverlay[Lrtb][\uniqueMPgraphic{table:frame:Lrtb}] \defineoverlay[lRtb][\uniqueMPgraphic{table:frame:lRtb}] \defineoverlay[lrTb][\uniqueMPgraphic{table:frame:lrTb}] \defineoverlay[lrtB][\uniqueMPgraphic{table:frame:lrtB}]
...
\def \setuptableone {\setupTABLE [frame = off ,split = no ,option = stretch ,offset = 0.85mm ,distance = 0mm,columndistance=0mm,leftmargindistance=0mm,rightmargindistance=0mm] \setupTABLE[r][each][height=0.6cm,align={middle,lohi}] \setupTABLE[2,3,4,5,6,7][4,5,6,7,8,9][align={flushright,lohi}] \setupTABLE[1][4,5,6,7,8,9][align={flushleft,lohi}] \setupTABLE[c][1][background={LRtb}] \setupTABLE[c][2,4][background={Lrtb}] ...}
\bgroup \setuptableone \startTabTableHeader [nc=7,height=0.8cm,align={right,lohi}]\switchtobodyfont[SansB, \countryheadersize]{Table 1.} ...
Can you make a working example from your code. Wolfgang