ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Problem with regimes and verbatim areas
  2002-03-22  6:18 Problem with regimes and verbatim areas Robert F. Beeger
@ 2002-03-21 20:01 ` Hans Hagen
  2002-03-24 15:58   ` Re[2]: " Robert F. Beeger
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2002-03-21 20:01 UTC (permalink / raw)
  Cc: ntg-context

Hi,

>Note that the special german characters are missing in the verbatim
>text.

interesting, has to do with the fact that we now have names glyphs and so,

you can say:

\eightbitcharactersfalse

but even better

\def\setupcommonverbatim#1%
   {\eightbitcharactersfalse % obey regime / encoding
    ... rest of code, see core-ver.tex

and rebuild the format

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
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


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

* Problem with regimes and verbatim areas
@ 2002-03-22  6:18 Robert F. Beeger
  2002-03-21 20:01 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Robert F. Beeger @ 2002-03-22  6:18 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

Hi!

Say I have this text file
\mainlanguage[de]
\language[de]
\useregime[il1]
\enableregime[il1]
\setupbodyfont[10pt]

\starttext
äÄöÖüÜß
\startXML
<bla>äÄöÖüÜß</bla>
\stopXML
\startJV
String b="äÄöÖüÜß"
\stopJV
\stoptext

When I run it with texexec --pdf t
I get
äÄöÖüÜß
<bla></bla>
String b=""
Note that the special german characters are missing in the verbatim
text.

When I now change my file to
\mainlanguage[de]
\language[de]
\useregime[il1]
\enableregime[il1]
\setupbodyfont[aer,10pt]

\starttext
äÄöÖüÜß
\startXML
<bla>äÄöÖüÜß</bla>
\stopXML
\startJV
String b="äÄöÖüÜß"
\stopJV
\stoptext

(Note the addition of aer in setupbodyfont)
I get
äÄöÖüÜß
<bla>äÄöÖüÜSS</bla>
String b="äÄöÖüÜSS"

Well, what do I do now. I thought the addition of aer to be an
ingenious idea, but it didn't work.

BTW : I am using ConTeXt 2002.3.12 with fpTeX 0.5 with pdfeTeX  Version 3.14159-pre-1.0-unofficial-20010704-2.1 (Web2c 7.3.3.1)

-- 
Greets,
 Robert

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 1992 bytes --]

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

* Re[2]: Problem with regimes and verbatim areas
  2002-03-21 20:01 ` Hans Hagen
@ 2002-03-24 15:58   ` Robert F. Beeger
  0 siblings, 0 replies; 3+ messages in thread
From: Robert F. Beeger @ 2002-03-24 15:58 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

Hello, Hans!

Thursday, March 21, 2002, 9:01:41 PM, Hans Hagen wrote
HH> Hi,

>>Note that the special german characters are missing in the verbatim
>>text.

HH> interesting, has to do with the fact that we now have names glyphs and so,

HH> you can say:

HH> \eightbitcharactersfalse

HH> but even better

HH> \def\setupcommonverbatim#1%
HH>    {\eightbitcharactersfalse % obey regime / encoding
HH>     ... rest of code, see core-ver.tex
Thanks! That worked.

-- 
Greets
 Robert

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 1992 bytes --]

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

end of thread, other threads:[~2002-03-24 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-22  6:18 Problem with regimes and verbatim areas Robert F. Beeger
2002-03-21 20:01 ` Hans Hagen
2002-03-24 15:58   ` Re[2]: " Robert F. Beeger

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