ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: \typefile problem
Date: Fri, 24 May 2002 09:16:44 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020524091635.037095a8@server-1> (raw)
In-Reply-To: <20020524071357.A5599@bar.loria.fr>

At 07:13 AM 5/24/2002 +0200, you wrote:
>On Thu, May 23, 2002 at 01:44:33PM +0200, Hans Hagen wrote:
> > At 10:45 AM 5/23/2002 +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}
> >
> >
> > what is the first {} doing there?
> >
> >    \typefile{bla_bla.c}
>
>I have added it because the manual, page 121, gives it like
>
>\typefile{name}{file}
>
>I have no idea what `name' is supposed to be!

neither have i -) so i looked it up, and surprise, i found an error in 
setupb.tex

it's

\typefile[identifier]{filename}

with identifier being optional; the identifier can point to a class of 
typing things so that you can force certain aspects like color, indentation 
etc. (related to \definetyping)

Hans

-------------------------------------------------------------------------
                                   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
-------------------------------------------------------------------------


  reply	other threads:[~2002-05-24  7:16 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 [this message]
2002-05-23 15:32   ` Denis B. Roegel
2002-05-23 17:51     ` Hans Hagen
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.20020524091635.037095a8@server-1 \
    --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).