[NTG-context] Re: Is there a bug during pagination of external figures?

Stefan Wachter stefan.wachter at gmx.de
Fri Aug 6 15:06:04 CEST 2004


Hans Hagen wrote:
> 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
Hi Hans,

thanks for the quick reply. I made the proposed changes in the 
supp-fil.tex file. Unfortunately the reported error is still there. I 
also executed "texexec --make ..." and tried again. But it did not help.

Do you have another idea to solve the problem?

Thanks,
--Stefan





More information about the ntg-context mailing list