ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Is there a bug during pagination of external figures?
Date: Fri, 06 Aug 2004 09:30:30 +0200	[thread overview]
Message-ID: <41133396.6090009@wxs.nl> (raw)
In-Reply-To: <41133589.2070807@gmx.de>

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

  reply	other threads:[~2004-08-06  7:30 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-06  7:38 Stefan Wachter
2004-08-06  7:30 ` Hans Hagen [this message]
2004-08-06 13:06   ` Stefan Wachter
2004-08-06 13:12   ` Stefan Wachter
2004-08-06 12:55     ` Hans Hagen
2004-08-09 19:58     ` Hans Hagen
2004-08-13  8:30       ` Stefan Wachter
2004-08-13 14:57         ` Patrick Gundlach
2004-08-16 15:53           ` Stefan Wachter
2004-08-16 15:26             ` Patrick Gundlach
2004-08-16 20:29               ` REALLY STRANGE: (was: Is there a bug during pagination of external figures?) Stefan Wachter
2004-08-18  9:50                 ` error with _ in header? Patrick Gundlach
2004-08-18 11:24                   ` Eros Albertazzi
2004-08-18 14:19                     ` Hans Hagen
2004-08-18 12:23                   ` Stefan Wachter
2004-08-18 11:43                     ` Patrick Gundlach
2004-08-18 14:59                   ` Hans Hagen
2004-08-18 18:10                     ` Patrick Gundlach
2004-08-19  8:49                       ` Hans Hagen
2004-08-19 10:51                         ` Patrick Gundlach
2004-08-19 15:08                         ` Stefan Wachter
2004-08-19 14:40                           ` Hans Hagen
2004-08-19 14:40                           ` Hans Hagen
2004-08-16 21:28               ` Re: Is there a bug during pagination of external figures? Hans Hagen
2004-08-19  9:19                 ` Stefan Wachter
2004-08-19  9:07                   ` Hans Hagen
2004-08-19 15:50                     ` Stefan Wachter
2004-08-19 16:33                       ` Hans Hagen
2004-08-16 11:27         ` metafun question Floris van Manen
2004-08-16 13:46           ` Hans Hagen
2004-08-16 11:41         ` metafun question getting XY Floris van Manen
2004-08-16 13:45           ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41133396.6090009@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).