ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font encoding: \uppercased
@ 2005-03-26  1:30 David Wooten
  2005-03-26 19:35 ` Vit Zyka
  2005-04-11  0:24 ` Font encoding: \uppercased: \WORD David Wooten
  0 siblings, 2 replies; 5+ messages in thread
From: David Wooten @ 2005-03-26  1:30 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 526 bytes --]

Greetings all,

Taco mentioned the command \uppercased{to get all uppercase letters}, 
and it works just fine…until I try to use my self-installed fonts. The 
quirks come up with diacritics, and this leads me to believe that there 
is an [encoding] or [regime] issue here, as I had similar issues 
earlier with the font in general. For example, with \uppercased{Krübel} 
I receive: KRüBEL.

Do I need to "make a statement of my intent" in a typescript file or 
somewhere else to resolve this?

Kind regards,
David

[-- Attachment #1.2: Type: text/enriched, Size: 546 bytes --]

Greetings all,


Taco mentioned the command \uppercased{to get all uppercase letters},
and it works just fine…until I try to use my self-installed fonts. The
quirks come up with diacritics, and this leads me to believe that
there is an [encoding] or [regime]<italic> </italic>issue here, as I
had similar issues earlier with the font in general. For example, with
\uppercased{Krübel} I receive: KRüBEL. 


Do I need to "make a statement of my intent" in a typescript file or
somewhere else to resolve this?


Kind regards,

David

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Font encoding: \uppercased
  2005-03-26  1:30 Font encoding: \uppercased David Wooten
@ 2005-03-26 19:35 ` Vit Zyka
  2005-04-09  3:06   ` David Wooten
  2005-04-11  0:24 ` Font encoding: \uppercased: \WORD David Wooten
  1 sibling, 1 reply; 5+ messages in thread
From: Vit Zyka @ 2005-03-26 19:35 UTC (permalink / raw)


David Wooten wrote:
> Greetings all,
> 
> Taco mentioned the command \uppercased{to get all uppercase letters}, 
> and it works just fine…until I try to use my self-installed fonts. The 
> quirks come up with diacritics, and this leads me to believe that there 
> is an [encoding] or [regime]/ /issue here, as I had similar issues 

Yes, \uccode and \lccode are encoding-dependent and are defined in 
enco-*.tex files. So, look into the encoding file you are using and add 
the their definition between
   \startmapping[st1]
     \definecasemap 152 184 152
   \stopmapping
with meaning: character 152 has lower counterpart 184 and upper one 152 
(152 is uppercase letter).

(or for continuous sequence there is abbreviation
   \definecasemaps 160 to 188 lc +32 uc 0
  with meaning:
   \definecasemap 160 182 160
   \definecasemap 161 183 161
   ...
   \definecasemap 188 220 188
)

vit

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

* Re: Font encoding: \uppercased
  2005-03-26 19:35 ` Vit Zyka
@ 2005-04-09  3:06   ` David Wooten
  2005-04-09 15:00     ` Vit Zyka
  0 siblings, 1 reply; 5+ messages in thread
From: David Wooten @ 2005-04-09  3:06 UTC (permalink / raw)


Greetings Vit, all,

Thanks for the response.
I'm finally getting around to looking into this again. My first 
attempts haven't yielded any good results. Could you (or someone) say a 
little more (newbie-explicit)? I assume that the enco-*.tex files 
you're referring to are in .../context/base/, where there are a series 
of 30 or so such files. It isn't clear to me which one to use. Does the 
encoding refer to font encoding? \x1f—in which case there is no 
"enco-8r.tex"\x1f— or to something else? — enco-pdf.tex for example.

Thanks very much,
David Wooten

On Mar 26, 2005, at 11:35 AM, Vit Zyka wrote:

> David Wooten wrote:
>> Greetings all,
>> Taco mentioned the command \uppercased{to get all uppercase letters}, 
>> and it works just fine…until I try to use my self-installed fonts. 
>> The quirks come up with diacritics, and this leads me to believe that 
>> there is an [encoding] or [regime]/ /issue here, as I had similar 
>> issues
>
> Yes, \uccode and \lccode are encoding-dependent and are defined in 
> enco-*.tex files. So, look into the encoding file you are using and 
> add the their definition between
>   \startmapping[st1]
>     \definecasemap 152 184 152
>   \stopmapping
> with meaning: character 152 has lower counterpart 184 and upper one 
> 152 (152 is uppercase letter).
>
> (or for continuous sequence there is abbreviation
>   \definecasemaps 160 to 188 lc +32 uc 0
>  with meaning:
>   \definecasemap 160 182 160
>   \definecasemap 161 183 161
>   ...
>   \definecasemap 188 220 188
> )
>
> vit

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

* Re: Font encoding: \uppercased
  2005-04-09  3:06   ` David Wooten
@ 2005-04-09 15:00     ` Vit Zyka
  0 siblings, 0 replies; 5+ messages in thread
From: Vit Zyka @ 2005-04-09 15:00 UTC (permalink / raw)


David Wooten wrote:
> so such files. It isn't clear to me which one to use. Does the encoding 
> refer to font encoding?

Yes. It describes where the glyph name is presented in the font.

> \x1f—in which case there is no "enco-8r.tex"\x1f— or 
> to something else? — enco-pdf.tex for example.

I think you are looking for enco-ans.tex: texnansi encoding.

Vit

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

* Re: Font encoding: \uppercased: \WORD
  2005-03-26  1:30 Font encoding: \uppercased David Wooten
  2005-03-26 19:35 ` Vit Zyka
@ 2005-04-11  0:24 ` David Wooten
  1 sibling, 0 replies; 5+ messages in thread
From: David Wooten @ 2005-04-11  0:24 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 836 bytes --]

I came across the command \WORD{} in the manual (nice place to look, 
eh?). This does all capitals (it can be more than one word) and doesn't 
have the issue with diacritics that \uppercased was having for me.

Thanks,
David

On Mar 25, 2005, at 5:30 PM, David Wooten wrote:

> Greetings all,
>
> Taco mentioned the command \uppercased{to get all uppercase letters}, 
> and it works just fine…until I try to use my self-installed fonts. The 
> quirks come up with diacritics, and this leads me to believe that 
> there is an [encoding] or [regime] issue here, as I had similar issues 
> earlier with the font in general. For example, with 
> \uppercased{Krübel} I receive: KRüBEL.
>
> Do I need to "make a statement of my intent" in a typescript file or 
> somewhere else to resolve this?
>
> Kind regards,
> David

[-- Attachment #1.2: Type: text/enriched, Size: 858 bytes --]

I came across the command \WORD{} in the manual (nice place to look,
eh?). This does all capitals (it can be more than one word) and
doesn't have the issue with diacritics that \uppercased was having for
me. 


Thanks,

David


On Mar 25, 2005, at 5:30 PM, David Wooten wrote:


<excerpt>Greetings all,


Taco mentioned the command \uppercased{to get all uppercase letters},
and it works just fine…until I try to use my self-installed fonts. The
quirks come up with diacritics, and this leads me to believe that
there is an [encoding] or [regime]<italic> </italic>issue here, as I
had similar issues earlier with the font in general. For example, with
\uppercased{Krübel} I receive: KRüBEL. 


Do I need to "make a statement of my intent" in a typescript file or
somewhere else to resolve this?


Kind regards,

David</excerpt>

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2005-04-11  0:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-26  1:30 Font encoding: \uppercased David Wooten
2005-03-26 19:35 ` Vit Zyka
2005-04-09  3:06   ` David Wooten
2005-04-09 15:00     ` Vit Zyka
2005-04-11  0:24 ` Font encoding: \uppercased: \WORD David Wooten

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