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

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to