[NTG-context] Is there a bug during pagination of external
figures?
Hans Hagen
pragma at wxs.nl
Fri Aug 6 09:30:30 CEST 2004
Stefan Wachter wrote:
> Processing a large document containing the following lines:
>
> >>>>>>>>>>start
> \externalfigure[/home/swachter/projekte/infotakt/vdp/export/bu/bu.ilboo/ziffer8.ilboo/bu8-3_refkom.ilboo/graphics.ilfdr/bu8-3_241-242_1.png]
>
>
> \externalfigure[/home/swachter/projekte/infotakt/vdp/export/bu/bu.ilboo/ziffer8.ilboo/bu8-3_refkom.ilboo/graphics.ilfdr/bu8-3_241-242_2.png]
>
>
> \externalfigure[/home/swachter/projekte/infotakt/vdp/export/bu/bu.ilboo/ziffer8.ilboo/bu8-3_refkom.ilboo/graphics.ilfdr/bu8-3_241-242_3.png]
>
>
> \externalfigure[/home/swachter/projekte/infotakt/vdp/export/bu/bu.ilboo/ziffer8.ilboo/bu8-3_refkom.ilboo/graphics.ilfdr/bu8-3_241-242_4.png]
>
> <<<<<<<<<<<stop
is for some reason the _ an active character ?
In supp-fil you may try the following (add the \_ definition)
\bgroup
\catcode`\/=\@@active
\catcode`\:=\@@active
\catcode`\~=\@@active
\catcode`\_=\@@active
\gdef\sanitizefilename#1\to#2%
{\bgroup
\edef/{\string/}%
\edef:{\string:}%
\edef~{\string~}%
\edef_{\string_}%
\expanded{\xdef\noexpand\sanitizedfilename{#1}}%
\egroup
% maybe \convertcommand\sanitizedfilename\to#2%
\let#2\sanitizedfilename}
\egroup
untested -)
Hans
More information about the ntg-context
mailing list