From: Hans Hagen <pragma@wxs.nl>
Cc: Giuseppe Bilotta <bourbaki@bigfoot.com>, ntg-context@ntg.nl
Subject: Re: \typefile problem
Date: Thu, 23 May 2002 19:51:26 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20020523194938.032b2008@remote-1> (raw)
In-Reply-To: <20020523173215.F11564@bar.loria.fr>
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2002-05-23 17:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-23 5:28 Denis B. Roegel
2002-05-23 8:45 ` Giuseppe Bilotta
2002-05-23 11:44 ` Hans Hagen
2002-05-24 5:13 ` Denis B. Roegel
2002-05-24 7:16 ` Hans Hagen
2002-05-23 15:32 ` Denis B. Roegel
2002-05-23 17:51 ` Hans Hagen [this message]
2006-03-24 16:51 Tobias Burnus
2006-03-24 19:08 ` Peter Rolf
2006-03-24 19:30 ` Peter Rolf
2006-03-24 21:50 ` Hans Hagen
2006-03-24 22:30 ` nico
2006-03-25 7:16 ` Thomas A. Schmitz
2006-03-25 12:33 ` 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=5.1.0.14.1.20020523194938.032b2008@remote-1 \
--to=pragma@wxs.nl \
--cc=bourbaki@bigfoot.com \
--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).