From: Patrick Gundlach <pg@levana.de>
Subject: Re: \setuptyping
Date: Thu, 18 Sep 2003 00:18:43 +0200 [thread overview]
Message-ID: <m2llsn6ou4.fsf@levana.de> (raw)
In-Reply-To: <779D02B8-E959-11D7-8163-00039376C1B6@free.fr> (Jean-Pierre Le Narzul's message of "Wed, 17 Sep 2003 23:54:09 +0200")
Hi,
Jean-Pierre Le Narzul <lenarzul@free.fr> writes:
> Any idea ?
Yes: don't use computer-modern fonts. They don't have { } and _
except for typewriter.
Use any other font encoded in ec or texnansi or whatever encoding.
See for example latin-modern:
==================================================
\starttext
\setuptyping[typing][color=black,style=\ss,escape=/,option=commands]
\starttyping
hello_world {brace}
\stoptyping
\setupencoding [default=ec]
\usetypescript [all] [latin-modern] [\defaultencoding]%
\setupbodyfont[reset]%
\setupbodyfont[cmr]%
\starttyping
hello_world {brace}
\stoptyping
\stoptext
==================================================
Patrick
PS: and please (!!!) provide a minimal but complete working (or
no-working) example next time. It would save the others some time.
--
Silent is the goldfish in its bowl
next prev parent reply other threads:[~2003-09-17 22:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-17 21:54 \setuptyping Jean-Pierre Le Narzul
2003-09-17 22:18 ` Patrick Gundlach [this message]
2003-09-17 22:41 ` \setuptyping Jean-Pierre Le Narzul
2003-09-18 7:07 ` \setuptyping Patrick Gundlach
2003-09-18 12:50 ` Re: latin-modern font lenarzul
2003-09-19 9:35 ` Patrick Gundlach
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=m2llsn6ou4.fsf@levana.de \
--to=pg@levana.de \
--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).