ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \type{filepaths} in heads and environments
@ 2002-05-10 21:32 Henning Hraban Ramm
  2002-05-11 13:13 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2002-05-10 21:32 UTC (permalink / raw)


Ahoi!

I normally use \type for filenames, and at least for Windows you need some 
backslashes for paths and generally some underbars. They even work ok without 
escaping -- but only in normal text, not in heads or tabulations.

What must I do to get such working:
\section{Do we need \type{c:\more_docs.txt}?}
?

Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/
---


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \type{filepaths} in heads and environments
  2002-05-10 21:32 \type{filepaths} in heads and environments Henning Hraban Ramm
@ 2002-05-11 13:13 ` Hans Hagen
  2002-05-12 20:09   ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2002-05-11 13:13 UTC (permalink / raw)
  Cc: ntg-context

At 11:32 PM 5/10/2002 +0200, you wrote:
>Ahoi!
>
>I normally use \type for filenames, and at least for Windows you need some
>backslashes for paths and generally some underbars. They even work ok without
>escaping -- but only in normal text, not in heads or tabulations.
>
>What must I do to get such working:
>\section{Do we need \type{c:\more_docs.txt}?}
>?

{\tt c:\string\more_docs.txt}

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \type{filepaths} in heads and environments
  2002-05-11 13:13 ` Hans Hagen
@ 2002-05-12 20:09   ` Henning Hraban Ramm
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2002-05-12 20:09 UTC (permalink / raw)
  Cc: ntg-context

Am Samstag, 11. Mai 2002 15:13 schrieb Hans Hagen:
> >\section{Do we need \type{c:\more_docs.txt}?}
> {\tt c:\string\more_docs.txt}

That works only if I write "\string" in front of every backslah or underline.

I tried to define e.g. \def\BSL{\string\ }

But what must I do to avoid the space after the backslash? (The brace mustn't 
follow directly after the backslash, and a following \relax gets printed.)

Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/
---


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-12 20:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-10 21:32 \type{filepaths} in heads and environments Henning Hraban Ramm
2002-05-11 13:13 ` Hans Hagen
2002-05-12 20:09   ` Henning Hraban Ramm

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