From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7988 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \typefile problem Date: Thu, 23 May 2002 19:51:26 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020523194938.032b2008@remote-1> References: <83997805.20020523104515@bigfoot.com> <200205230528.HAA28131@bar.loria.fr> <83997805.20020523104515@bigfoot.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398425 23922 80.91.224.250 (23 Oct 2002 18:40:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:40:25 +0000 (UTC) Cc: Giuseppe Bilotta , ntg-context@ntg.nl Original-To: "Denis B. Roegel" In-Reply-To: <20020523173215.F11564@bar.loria.fr> Xref: main.gmane.org gmane.comp.tex.context:7988 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7988 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------