ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \bigr bracket missing in antykwa
@ 2006-04-14  2:22 Aditya Mahajan
  2006-04-14  8:18 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2006-04-14  2:22 UTC (permalink / raw)


Hi,
  \bigr\} does not give me anything while using  antykwa fonts. \big\} 
also does not work. \right\} works correctly. Is there something 
missing in the typescripts? I have no idea on how fonts work, so can 
not debug the problem.

\usetypescript
   [antykwa-torunska][ec]

\setupbodyfont[antykwa, 11pt]

\starttext
$\bigl\{ a \bigr\}$ \blank
$\big\{ a \big\}$ \blank
$\left\{ a \right\}$ \blank
\stoptext

ConTeXt  ver: 2006.04.07 11:24  fmt: 2006.4.9  int: english  mes: 
english

No warning message is generated in the log file.

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

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

* Re: \bigr bracket missing in antykwa
  2006-04-14  2:22 \bigr bracket missing in antykwa Aditya Mahajan
@ 2006-04-14  8:18 ` Hans Hagen
  2006-04-14 12:10   ` Mojca Miklavec
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2006-04-14  8:18 UTC (permalink / raw)


Aditya Mahajan wrote:
> Hi,
>   \bigr\} does not give me anything while using  antykwa fonts. \big\} 
> also does not work. \right\} works correctly. Is there something 
> missing in the typescripts? I have no idea on how fonts work, so can 
> not debug the problem.
>
> \usetypescript
>    [antykwa-torunska][ec]
>
> \setupbodyfont[antykwa, 11pt]
>
> \starttext
> $\bigl\{ a \bigr\}$ \blank
> $\big\{ a \big\}$ \blank
> $\left\{ a \right\}$ \blank
> \stoptext
>
> ConTeXt  ver: 2006.04.07 11:24  fmt: 2006.4.9  int: english  mes: 
> english
>
> No warning message is generated in the log file.
>   

i remember that mojca looked into the polish fonts and math and detected 
some problems (and communicated it to the authors)

Hans

-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: \bigr bracket missing in antykwa
  2006-04-14  8:18 ` Hans Hagen
@ 2006-04-14 12:10   ` Mojca Miklavec
  2006-04-14 18:33     ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Mojca Miklavec @ 2006-04-14 12:10 UTC (permalink / raw)
  Cc: Adam Lindsay, Taco Hoekwater

On 4/14/06, Hans Hagen wrote:
> Aditya Mahajan wrote:
> > Hi,
> >   \bigr\} does not give me anything while using  antykwa fonts. \big\}
> > also does not work. \right\} works correctly. Is there something
> > missing in the typescripts? I have no idea on how fonts work, so can
> > not debug the problem.
> >
> > \usetypescript
> >    [antykwa-torunska][ec]
> >
> > \setupbodyfont[antykwa, 11pt]
> >
> > \starttext
> > $\bigl\{ a \bigr\}$ \blank
> > $\big\{ a \big\}$ \blank
> > $\left\{ a \right\}$ \blank
> > \stoptext
> >
> > ConTeXt  ver: 2006.04.07 11:24  fmt: 2006.4.9  int: english  mes:
> > english
> >
> > No warning message is generated in the log file.
> >
>
> i remember that mojca looked into the polish fonts and math and detected
> some problems (and communicated it to the authors)

That was something else (characters were actually missing/wrong in
both Iwona pfb & tfm).

I'm only guessing now, but I suspect that the following definition for
math in lucida are not pointless (and such definitions are missing for
antykwa):

\def\LBRbig  {\@@dobig{8.20}}
...
\startrawmathcollection[lbr]

\definemathcommand [big]   {\LBRbig}


I don't understand why math has to be redefined almost completely for
every font that one wants to use, but I'm no TeX expert anyway, so I
can't really judge or do anything about it.

Mojca

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

* Re: \bigr bracket missing in antykwa
  2006-04-14 12:10   ` Mojca Miklavec
@ 2006-04-14 18:33     ` Hans Hagen
  2006-04-16  0:56       ` Mojca Miklavec
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2006-04-14 18:33 UTC (permalink / raw)
  Cc: Adam Lindsay, Taco Hoekwater

Mojca Miklavec wrote:
> On 4/14/06, Hans Hagen wrote:
>   
>> Aditya Mahajan wrote:
>>     
>>> Hi,
>>>   \bigr\} does not give me anything while using  antykwa fonts. \big\}
>>> also does not work. \right\} works correctly. Is there something
>>> missing in the typescripts? I have no idea on how fonts work, so can
>>> not debug the problem.
>>>
>>> \usetypescript
>>>    [antykwa-torunska][ec]
>>>
>>> \setupbodyfont[antykwa, 11pt]
>>>
>>> \starttext
>>> $\bigl\{ a \bigr\}$ \blank
>>> $\big\{ a \big\}$ \blank
>>> $\left\{ a \right\}$ \blank
>>> \stoptext
>>>
>>> ConTeXt  ver: 2006.04.07 11:24  fmt: 2006.4.9  int: english  mes:
>>> english
>>>
>>> No warning message is generated in the log file.
>>>
>>>       
>> i remember that mojca looked into the polish fonts and math and detected
>> some problems (and communicated it to the authors)
>>     
>
> That was something else (characters were actually missing/wrong in
> both Iwona pfb & tfm).
>
> I'm only guessing now, but I suspect that the following definition for
> math in lucida are not pointless (and such definitions are missing for
> antykwa):
>
> \def\LBRbig  {\@@dobig{8.20}}
> ...
> \startrawmathcollection[lbr]
>
> \definemathcommand [big]   {\LBRbig}
>
>
> I don't understand why math has to be redefined almost completely for
> every font that one wants to use, but I'm no TeX expert anyway, so I
> can't really judge or do anything about it.
>   
afaik the antikwa cum suis use the normal tex encoding but i may be 
wrong ...

is the character in the font?

Hans

-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: \bigr bracket missing in antykwa
  2006-04-14 18:33     ` Hans Hagen
@ 2006-04-16  0:56       ` Mojca Miklavec
  2006-04-17 16:18         ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Mojca Miklavec @ 2006-04-16  0:56 UTC (permalink / raw)
  Cc: Adam Lindsay, Taco Hoekwater

Hans Hagen wrote:
> Mojca Miklavec wrote:
> > On 4/14/06, Hans Hagen wrote:
> >
> >> Aditya Mahajan wrote:
> >>
> >>> Hi,
> >>>   \bigr\} does not give me anything while using  antykwa fonts. \big\}
> >>> also does not work. \right\} works correctly. Is there something
> >>> missing in the typescripts? I have no idea on how fonts work, so can
> >>> not debug the problem.
> >>>
> >>> \usetypescript
> >>>    [antykwa-torunska][ec]
> >>>
> >>> \setupbodyfont[antykwa, 11pt]
> >>>
> >>> \starttext
> >>> $\bigl\{ a \bigr\}$ \blank
> >>> $\big\{ a \big\}$ \blank
> >>> $\left\{ a \right\}$ \blank
> >>> \stoptext
> >>>
>
> afaik the antikwa cum suis use the normal tex encoding but i may be
> wrong ...
>
> is the character in the font?

I don't notice any empty slots (unless the mistake lies in rm-antt: I
don't know how this one is supposed to look like), but the following
example fails in LaTeX too, so perhaps the problem really lies in the
font, but where???

\documentclass{article}
\usepackage[math]{anttor}

\begin{document}
\def\x#1{\left\{#1\left\}\vbox to #1pt{}\right.\right.}
$$\x{9.16}\x{9.17}$$
\end{document}

Almost equivalent counterpart in ConTeXt:

\usetypescript[antykwa-torunska][ec]
\setupbodyfont[antykwa]

\starttext

\def\x#1{\left\{#1\left\}\vbox to #1\bodyfontsize{}\right.\right.}
\startformula
\x{0.8088}\x{0.8089}\x{0.916}\x{0.917}
\stopformula

\loadmapfile[antt.map]
\showfont[ex-anttr]
\showfont[mi-anttri]
\showfont[sy-anttrz]
\showfont[rm-anttr]

\stoptext

Mojca

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

* Re: \bigr bracket missing in antykwa
  2006-04-16  0:56       ` Mojca Miklavec
@ 2006-04-17 16:18         ` Hans Hagen
  2006-04-18 10:02           ` Aditya Mahajan
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2006-04-17 16:18 UTC (permalink / raw)
  Cc: Janusz Marian Nowacki, Boguslaw Jackowski, Adam Lindsay,
	Taco Hoekwater, tex-fonts

Mojca Miklavec wrote:
> Hans Hagen wrote:
>   
>> Mojca Miklavec wrote:
>>     
>>> On 4/14/06, Hans Hagen wrote:
>>>
>>>       
>>>> Aditya Mahajan wrote:
>>>>
>>>>         
>>>>> Hi,
>>>>>   \bigr\} does not give me anything while using  antykwa fonts. \big\}
>>>>> also does not work. \right\} works correctly. Is there something
>>>>> missing in the typescripts? I have no idea on how fonts work, so can
>>>>> not debug the problem.
>>>>>
>>>>> \usetypescript
>>>>>    [antykwa-torunska][ec]
>>>>>
>>>>> \setupbodyfont[antykwa, 11pt]
>>>>>
>>>>> \starttext
>>>>> $\bigl\{ a \bigr\}$ \blank
>>>>> $\big\{ a \big\}$ \blank
>>>>> $\left\{ a \right\}$ \blank
>>>>> \stoptext
>>>>>
>>>>>           
>> afaik the antikwa cum suis use the normal tex encoding but i may be
>> wrong ...
>>
>> is the character in the font?
>>     
>
> I don't notice any empty slots (unless the mistake lies in rm-antt: I
> don't know how this one is supposed to look like), but the following
> example fails in LaTeX too, so perhaps the problem really lies in the
> font, but where???
>
> \documentclass{article}
> \usepackage[math]{anttor}
>
> \begin{document}
> \def\x#1{\left\{#1\left\}\vbox to #1pt{}\right.\right.}
> $$\x{9.16}\x{9.17}$$
> \end{document}
>
> Almost equivalent counterpart in ConTeXt:
>
> \usetypescript[antykwa-torunska][ec]
> \setupbodyfont[antykwa]
>
> \starttext
>
> \def\x#1{\left\{#1\left\}\vbox to #1\bodyfontsize{}\right.\right.}
> \startformula
> \x{0.8088}\x{0.8089}\x{0.916}\x{0.917}
> \stopformula
>
> \loadmapfile[antt.map]
>   
not needed -)
> \showfont[ex-anttr]
>
> \stoptext
>
>   
well, i traced back the way this brace ends up in the pdf file and this 
is what i observe:

- the antt and cm ex tfm files have exactly the same values (although 
antt is 7 bit safe)
- so the problem must be in the map file and/or encoding
- and, surprise,

encantt-ex[
/parenleftbig
/parenrightbig
/bracketleftbig
/bracketrightbig
/floorleftbig
/floorrightbig
/ceilingleftbig
/ceilingrightbig
/braceleftbig
/.notdef
/angbracketleftbig

the bracerightbig is undefined here

i suspect that there is some bug in the scripts that generate these files so let's feed this back to jacko/janusz; you need to patch: 

antt-ex.enc
iwona.enc 
kurier.enc 

(maybe an intermediate patch in the tex live repository is ok for the moment) 

/braceleftbig
/bracerightbig 

the fonts themselves are ok 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: \bigr bracket missing in antykwa
  2006-04-17 16:18         ` Hans Hagen
@ 2006-04-18 10:02           ` Aditya Mahajan
  2006-04-18 11:47             ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2006-04-18 10:02 UTC (permalink / raw)


On Mon, 17 Apr 2006, Hans Hagen wrote:

> well, i traced back the way this brace ends up in the pdf file and this
> is what i observe:
>
> - the antt and cm ex tfm files have exactly the same values (although
> antt is 7 bit safe)
> - so the problem must be in the map file and/or encoding
> - and, surprise,
>
> encantt-ex[
> /parenleftbig
> /parenrightbig
> /bracketleftbig
> /bracketrightbig
> /floorleftbig
> /floorrightbig
> /ceilingleftbig
> /ceilingrightbig
> /braceleftbig
> /.notdef
> /angbracketleftbig
>
> the bracerightbig is undefined here
>
> i suspect that there is some bug in the scripts that generate these 
> files so let's feed this back to jacko/janusz; you need to patch:
>
> antt-ex.enc
> iwona.enc
> kurier.enc

So shall I send a bug report to them with a summary of this thread or
have you already done that?

> (maybe an intermediate patch in the tex live repository is ok for the moment)
>
> /braceleftbig
> /bracerightbig
>
> the fonts themselves are ok

For my document, I changed the sizes to \bigg (or normal size).

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

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

* Re: \bigr bracket missing in antykwa
  2006-04-18 10:02           ` Aditya Mahajan
@ 2006-04-18 11:47             ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2006-04-18 11:47 UTC (permalink / raw)


Aditya Mahajan wrote:
> So shall I send a bug report to them with a summary of this thread or
> have you already done that?
>   
i cd'd Jacko and Janusz so it's ok

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

end of thread, other threads:[~2006-04-18 11:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-14  2:22 \bigr bracket missing in antykwa Aditya Mahajan
2006-04-14  8:18 ` Hans Hagen
2006-04-14 12:10   ` Mojca Miklavec
2006-04-14 18:33     ` Hans Hagen
2006-04-16  0:56       ` Mojca Miklavec
2006-04-17 16:18         ` Hans Hagen
2006-04-18 10:02           ` Aditya Mahajan
2006-04-18 11:47             ` 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).