* No \aring?
@ 2001-04-21 18:26 Joop Susan
2001-04-22 21:58 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Joop Susan @ 2001-04-21 18:26 UTC (permalink / raw)
Cc: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]
Hello,
I'm having problems producing the \aring and \Aring glyphs.
I'm using \enableregime[windows].
Neither {\aring} nor the 8-bit character 229 'å' produce the desired
result. They just print an 'a' without the ring.
This is pdfeTeX, Version 3.14159-13h-pretest-20010126-2.1 (Web2C 7.3.3.1)
ConTeXt ver: 2001.4.9 fmt: 2001.4.16 int: english mes: english
I have looked in the source and found a file named 'regi-win.tex'. I
understand that this is an input mapping of characters. Right? I found one
typo in the file, but no solution to my problem.
I created a test file that prints the named glyphs I found in that file
(What would I do without 'vi' and regular expressions?). All looks OK
except \ccedilla (typo: \cdedille), \ntilde, \Ntilde, \aring and \Aring.
The testfile can be found at:
http://www.xs4all.nl/~jgsusan/ConTeXt/test-regi-win.tex (5 Kb)
The PDF output can be found at:
http://www.xs4all.nl/~jgsusan/ConTeXt/test-regi-win.pdf (41 Kb)
Could it be that not the input mapping, but the output mapping is wrong
here?
Hans, any suggestion for a quick patch? I'm lost... I need \aring.
Thanks,
Joop
PS. An older version of ConTeXt had no problem with the 8-bit a-ring
character. That was pdfeTeX, Version 3.14159-14f-released-20000525-2.1
and ConTeXt ver: 2000.9.21
J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: No \aring?
2001-04-21 18:26 No \aring? Joop Susan
@ 2001-04-22 21:58 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-04-22 21:58 UTC (permalink / raw)
Cc: ntg-context
At 08:26 PM 4/21/01 +0200, Joop Susan wrote:
>
>Hello,
>
>I'm having problems producing the \aring and \Aring glyphs.
>
>I'm using \enableregime[windows].
>
>Neither {\aring} nor the 8-bit character 229 'å' produce the desired
>result. They just print an 'a' without the ring.
this is because the fall back of \aring is defined as 's', you can patch
enco-def:
somewhere at the top:
\definecharacter textring 23
lower:
\definecharacter Aring {\buildtextaccent\textring A}
\definecharacter aring {\buildtextaccent\textring a}
\definecharacter Uring {\buildtextaccent\textring U}
\definecharacter uring {\buildtextaccent\textring u}
>This is pdfeTeX, Version 3.14159-13h-pretest-20010126-2.1 (Web2C 7.3.3.1)
pretty old pdftex
>ConTeXt ver: 2001.4.9 fmt: 2001.4.16 int: english mes: english
>
>I have looked in the source and found a file named 'regi-win.tex'. I
>understand that this is an input mapping of characters. Right? I found one
>typo in the file, but no solution to my problem.
this is indeed *input* mapping [or sometimes intermediate mapping]
>I created a test file that prints the named glyphs I found in that file
>(What would I do without 'vi' and regular expressions?). All looks OK
>except \ccedilla (typo: \cdedille), \ntilde, \Ntilde, \aring and \Aring.
Ok, so we need to add:
\definecharacter Ntilde {\buildtextaccent\texttilde N}
\definecharacter ntilde {\buildtextaccent\texttilde n}
>Could it be that not the input mapping, but the output mapping is wrong
>here?
indeed, there is no good fall back defined, thanks for pointing it out
>Hans, any suggestion for a quick patch? I'm lost... I need \aring.
patch enco-def.tex and regenerate the formats
> character. That was pdfeTeX, Version 3.14159-14f-released-20000525-2.1
this version of context has named glyph definitions instead of the less
readable accent/commans ones; the internals are still the same, except from
some enoding-to-encoding expansion improvements, but i redid the defs and
for sure missed a couple of glyphs, btw, these issues are unrelated to
pdftex [except that unicode searching for eastern european languagesis now
smoother].
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <Your message of "Sun, 22 Apr 2001 23:58:05 +0200." <3.0.6.32.20010422235805.009e37f0@server-1>]
* Re: No \aring?
@ 2001-04-23 15:11 ` Joop Susan
2001-04-24 7:03 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Joop Susan @ 2001-04-23 15:11 UTC (permalink / raw)
Cc: ntg-context
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
> At 08:26 PM 4/21/01 +0200, Joop Susan wrote:
> >
> >Hello,
> >
> >I'm having problems producing the \aring and \Aring glyphs.
> >
> >I'm using \enableregime[windows].
> >
> >Neither {\aring} nor the 8-bit character 229 'å' produce the desired
> >result. They just print an 'a' without the ring.
>
<snip> My interpretation of patch instructions in attachemnt.
Thanks Hans. Your patch instructions fixed my problem.
> >This is pdfeTeX, Version 3.14159-13h-pretest-20010126-2.1 (Web2C 7.3.3.1)
>
> pretty old pdftex
> >ConTeXt ver: 2001.4.9 fmt: 2001.4.16 int: english mes: english
> >
Now:
This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1)
ConTeXt ver: 2001.4.9 fmt: 2001.4.23 int: english mes: english
Are ConTeXt Betas always against the latest pdftex snapshots?
Thanks,
Joop
[-- Attachment #2: context-aring.patch --]
[-- Type: text/plain , Size: 1448 bytes --]
--- tex/context/base/enco-def.tex.orig Fri Apr 6 15:08:50 2001
+++ tex/context/base/enco-def.tex Mon Apr 23 16:42:11 2001
@@ -27,6 +27,7 @@
\definecharacter textcaron 20
\definecharacter textbreve 21
\definecharacter textmacron 22
+\definecharacter textring 23
\definecharacter textcedilla 24
\definecharacter textogonek 24 % no !
\definecharacter textbottomdot 46
@@ -82,6 +83,8 @@
\definecharacter otilde {\buildtextaccent\texttilde o}
\definecharacter Utilde {\buildtextaccent\texttilde U}
\definecharacter utilde {\buildtextaccent\texttilde u}
+\definecharacter Ntilde {\buildtextaccent\texttilde N}
+\definecharacter ntilde {\buildtextaccent\texttilde n}
\definecharacter Adiaeresis {\buildtextaccent\textdiaeresis A}
\definecharacter adiaeresis {\buildtextaccent\textdiaeresis a}
@@ -179,10 +182,10 @@
\definecharacter Uogonek {\buildtextogonek U}
\definecharacter uogonek {\buildtextogonek u}
-\definecharacter Aring {A}
-\definecharacter aring {a}
-\definecharacter Uring {U}
-\definecharacter uring {u}
+\definecharacter Aring {\buildtextaccent\textring A}
+\definecharacter aring {\buildtextaccent\textring a}
+\definecharacter Uring {\buildtextaccent\textring U}
+\definecharacter uring {\buildtextaccent\textring u}
\definecharacter Abreve {\buildtextaccent\textbreve A}
\definecharacter abreve {\buildtextaccent\textbreve a}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: No \aring?
2001-04-23 15:11 ` Joop Susan
@ 2001-04-24 7:03 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-04-24 7:03 UTC (permalink / raw)
Cc: ntg-context
At 05:11 PM 4/23/01 +0200, Joop Susan wrote:
>Now:
>This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1)
>ConTeXt ver: 2001.4.9 fmt: 2001.4.23 int: english mes: english
>
>Are ConTeXt Betas always against the latest pdftex snapshots?
recently pdftex didn't change that much [apart from protruding and hz
support], but version 14 is better than 13 in producing solid pdf code
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-04-24 7:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-21 18:26 No \aring? Joop Susan
2001-04-22 21:58 ` Hans Hagen
[not found] <Your message of "Sun, 22 Apr 2001 23:58:05 +0200." <3.0.6.32.20010422235805.009e37f0@server-1>
2001-04-23 15:11 ` Joop Susan
2001-04-24 7:03 ` Hans Hagen
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).