At 05:32 PM 5/23/2002 +0200, Denis B. Roegel wrote:
>On Thu, May 23, 2002 at 10:45:15AM +0200, Giuseppe Bilotta wrote:
> >
> > Thursday, May 23, 2002 Denis B. Roegel wrote:
> >
> >
> > DBR> I want to include a file with \typefile, but the file name
> > DBR> has underscores. If I write
> >
> > DBR> \typefile{}{sources/test\_dup.c}
> >
> > DBR> the file sources/test_dup.c is not found. What should I do?
> >
> > What if you remove the \ ? {source/test_dup.c}
>
>Well, I tried it before sending my message, but as expected,
>I got an error because _ is considered math mode.
>
>Does it work for you?

\typefile{somefile_somemore}

works here if the file is found, but fails when not found (i.e. the error 
message barks); i will solve that

Hans

============== patch =============

in core-ver.tex, patch the else branch (search for \tttf[\makemessage):

      {\bgroup
       \expanded{\convertargument#2}\to\ascii
       \tttf[\makemessage{\m!verbatims}{1}\ascii]%
       \showmessage{\m!verbatims}{1}\ascii
       \egroup}%
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

Reply via email to