ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Le Narzul <lenarzul@free.fr>
Subject: Re: Re: \setuptyping
Date: Thu, 18 Sep 2003 00:41:09 +0200	[thread overview]
Message-ID: <07F9F8C4-E960-11D7-8163-00039376C1B6@free.fr> (raw)
In-Reply-To: <m2llsn6ou4.fsf@levana.de>

Hi,

Thanks for your explanation.
I understand the problem now !

But unfortunately, the example you provide is not working for me.
The pdf file displays the wrong characters for both \starttyping 
\stoptyping ...

   jp

PS: sorry for not providing an example in my first mail. I am using 
yours now ....


Le jeudi, 18 sep 2003, à 00:18 Europe/Paris, Patrick Gundlach a écrit :

> 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
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

  reply	other threads:[~2003-09-17 22:41 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 ` \setuptyping Patrick Gundlach
2003-09-17 22:41   ` Jean-Pierre Le Narzul [this message]
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=07F9F8C4-E960-11D7-8163-00039376C1B6@free.fr \
    --to=lenarzul@free.fr \
    --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).