ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Re: lowerleftdoubleninequote
@ 2003-03-10 22:53 Wolfgang Werners-Lucchini
  2003-03-11  8:20 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Werners-Lucchini @ 2003-03-10 22:53 UTC (permalink / raw)


> >What ist the correlation between 'punctuation', 'alpha' and 'def'????

???

> hanging punctuation is the traditional simple model of - , ; : . and ! 
> hanging into the margin; pdftex goes beyond that and let's you hang any 
> char into the margin, so this is why we speak of character protruding;
> 
> fonthandling in context is currently used for hanging things but can be 
> used for anything font related; the alpha, def etc setups are more or
less 
> derived from my personal prferences, thanh's thesis etc What you use all 
> depends on your taste

I have understand this, but I am still looking for docus to the
'fonthandler'-commands, becaus I don't
understand how this mechanism works. 

The  reason, why I am interesting in fonthandlers, was: To correct the
lowerleftdoubleninequote-problem with cmr.
To be honest, I am asking myself why this is not working out of the box,
because cmr is TeX's standardfont. 

Anyway, it's good to learn something about fonthandlers and so. 
So, were are the doc's?

Greetings, Wolfgang

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

* Re: Re: lowerleftdoubleninequote
  2003-03-10 22:53 Re: lowerleftdoubleninequote Wolfgang Werners-Lucchini
@ 2003-03-11  8:20 ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2003-03-11  8:20 UTC (permalink / raw)


At 11:53 PM 3/10/2003 +0100, you wrote:
> > >What ist the correlation between 'punctuation', 'alpha' and 'def'????
>
>???
>
> > hanging punctuation is the traditional simple model of - , ; : . and !
> > hanging into the margin; pdftex goes beyond that and let's you hang any
> > char into the margin, so this is why we speak of character protruding;
> >
> > fonthandling in context is currently used for hanging things but can be
> > used for anything font related; the alpha, def etc setups are more or
>less
> > derived from my personal prferences, thanh's thesis etc What you use all
> > depends on your taste
>
>I have understand this, but I am still looking for docus to the
>'fonthandler'-commands, becaus I don't
>understand how this mechanism works.
>
>The  reason, why I am interesting in fonthandlers, was: To correct the
>lowerleftdoubleninequote-problem with cmr.
>To be honest, I am asking myself why this is not working out of the box,
>because cmr is TeX's standardfont.

in that case: grep the base path for guillemots since these are implemented 
by means of fonthandlers in the aer fonts; with regards to quotes, it may 
make sense to switch from cmr to aer; also, there is the latin modern 
coming, which will bring you all the quotes and chars you need [the latin 
modern family is officially launched at the next dante meeting]

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Re: lowerleftdoubleninequote
  2003-03-08 21:15 Wolfgang Werners-Lucchini
@ 2003-03-09 21:55 ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2003-03-09 21:55 UTC (permalink / raw)


At 10:15 PM 3/8/2003 +0100, you wrote:
>Hallo!
>
>In order to understand the appended puzzle, I am looking for documentations
>about:
>
>\definefonthandling
>\startfonthandling
>\usehandling
>
>I have found the example about 'hanging punctuation', but I could'nt even
>understand this
>example.
>What ist the correlation between 'punctuation', 'alpha' and 'def'????

hanging punctuation is the traditional simple model of - , ; : . and ! 
hanging into the margin; pdftex goes beyond that and let's you hang any 
char into the margin, so this is why we speak of character protruding;

fonthandling in context is currently used for hanging things but can be 
used for anything font related; the alpha, def etc setups are more or less 
derived from my personal prferences, thanh's thesis etc What you use all 
depends on your taste

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Re: lowerleftdoubleninequote
@ 2003-03-08 21:15 Wolfgang Werners-Lucchini
  2003-03-09 21:55 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Werners-Lucchini @ 2003-03-08 21:15 UTC (permalink / raw)


Hallo!

In order to understand the appended puzzle, I am looking for documentations
about:

\definefonthandling
\startfonthandling
\usehandling

I have found the example about 'hanging punctuation', but I could'nt even
understand this
example. 
What ist the correlation between 'punctuation', 'alpha' and 'def'????

> I have tried that, but with strange results:
> 
> 
> \startfonthandling[cmrfix]
>  \definecharacter quotedblbase     {,\kern -.1em,}
> \stopfonthandling
> 
> %\setupfontsynonym[Serif][handling=cmrfix]
> 
> \setupbodyfont[14pt]
> \starttext
> \mainlanguage[de]
> \startquotation
> To \TEX\ or not to \TEX. 
> \stopquotation
> \stoptext
> 
> 
> The definition of quotedblbase in line two is used without even
> activating the cmrfix font-handler. How do I use the handler properly?

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

* Re: Re: lowerleftdoubleninequote
@ 2003-03-06 20:53 Wolfgang Werners-Lucchini
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Werners-Lucchini @ 2003-03-06 20:53 UTC (permalink / raw)


Hallo Patrick!

After a short break, I would like to continue learning context.
Have you got any answer to your question?

> > another solution is to make a specific font handler (like the hanging
> > one) for a class of fonts like cmr, in that case you can link such a
> > handler to for instance a cmr10 font (see hand-*)
> 
> I have tried that, but with strange results:
> 
> 
> \startfonthandling[cmrfix]
>  \definecharacter quotedblbase     {,\kern -.1em,}
> \stopfonthandling
> 
> %\setupfontsynonym[Serif][handling=cmrfix]
> 
> \setupbodyfont[14pt]
> \starttext
> \mainlanguage[de]
> \startquotation
> To \TEX\ or not to \TEX. 
> \stopquotation
> \stoptext
> 
> 
> The definition of quotedblbase in line two is used without even
> activating the cmrfix font-handler. How do I use the handler properly?
> 
> Patrick

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

* Re: Re: lowerleftdoubleninequote
  2003-02-11 19:09     ` Henning Hraban Ramm
@ 2003-02-11 20:09       ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2003-02-11 20:09 UTC (permalink / raw)


At 08:09 PM 2/11/2003 +0100, you wrote:
>>>Worse: With some fonts two different commas are used (I guess one from 
>>>math mode);
>>>in my opinion we shouldn't make some kerning default, but using the 
>>>right glyphs!
>>
>>this is encoding dependent, the default is only a fall back; so, the 
>>solution is to have proper entries in the encoding vector; but, not all 
>>vectors have all glyphs
>
>Would I have to fix the AFM or the PFB or both?

(1) choose an encoding vector that has them
(2) make your own encoding vector, say xxx.enc, make an associated 
enco-xxx.tex, run afmtotfm with this vector and voila

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Re: lowerleftdoubleninequote
  2003-02-10 22:27   ` Hans Hagen
@ 2003-02-11 19:09     ` Henning Hraban Ramm
  2003-02-11 20:09       ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Henning Hraban Ramm @ 2003-02-11 19:09 UTC (permalink / raw)


>> Worse: With some fonts two different commas are used (I guess one 
>> from math mode);
>> in my opinion we shouldn't make some kerning default, but using the 
>> right glyphs!
>
> this is encoding dependent, the default is only a fall back; so, the 
> solution is to have proper entries in the encoding vector; but, not 
> all vectors have all glyphs

Would I have to fix the AFM or the PFB or both?

Grüßlis vom Hraban!
-- 
www.fiee.net/texnique/
www.ramm.ch/context/

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

* Re: Re: lowerleftdoubleninequote
  2003-02-11  9:36 Wolfgang Werners-Lucchini
@ 2003-02-11 11:00 ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2003-02-11 11:00 UTC (permalink / raw)


At 10:36 AM 2/11/2003 +0100, you wrote:
> > another solution is to make a specific font handler (like the hanging
>one)
>
>where is it hanging?

anything you want, for instance hyphens, comma's etc [pdftex feature]

> > for a class of fonts like cmr, in that case you can link such a handler
>to
> > for instance a cmr10 font (see hand-*)
>
>hand-* what?
>
>Sorry, I am not at all able to guess, what you will say with the above!

hanging punctuation etc is implemented via font handlers, but such handlers 
can handle other things as well, for instance escapes for missing glyphs

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Re: lowerleftdoubleninequote
@ 2003-02-11  9:36 Wolfgang Werners-Lucchini
  2003-02-11 11:00 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Werners-Lucchini @ 2003-02-11  9:36 UTC (permalink / raw)


> another solution is to make a specific font handler (like the hanging
one) 

where is it hanging?

> for a class of fonts like cmr, in that case you can link such a handler
to 
> for instance a cmr10 font (see hand-*)

hand-* what?

Sorry, I am not at all able to guess, what you will say with the above!

Wolfgang

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

* Re: Re: lowerleftdoubleninequote
  2003-02-10 21:27 ` lowerleftdoubleninequote Henning Hraban Ramm
  2003-02-10 22:27   ` Hans Hagen
@ 2003-02-10 22:36   ` Hans Hagen
  1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2003-02-10 22:36 UTC (permalink / raw)


At 10:27 PM 2/10/2003 +0100, you wrote:
>>>'lowerleftdoubleninequote' in german seems to be an double
>>>lowerleftninequote,
>>>whereas 'upperrightdoublesixquote' seems to be the ligature.
>>actually 'lowerleftdoubleninequote' are two "," without any
>>kerning. You can add the kerning by:
>>\definecharacter quotedblbase     {,\kern -.1em,}
>>
>>Hans: is there any way to make this default when using cmr?
>
>Worse: With some fonts two different commas are used (I guess one from 
>math mode);
>in my opinion we shouldn't make some kerning default, but using the right 
>glyphs!
>
>Please, Hans!

another solution is to make a specific font handler (like the hanging one) 
for a class of fonts like cmr, in that case you can link such a handler to 
for instance a cmr10 font (see hand-*)

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Re: lowerleftdoubleninequote
  2003-02-10 21:27 ` lowerleftdoubleninequote Henning Hraban Ramm
@ 2003-02-10 22:27   ` Hans Hagen
  2003-02-11 19:09     ` Henning Hraban Ramm
  2003-02-10 22:36   ` Hans Hagen
  1 sibling, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2003-02-10 22:27 UTC (permalink / raw)


At 10:27 PM 2/10/2003 +0100, Henning Hraban Ramm wrote:
>>>'lowerleftdoubleninequote' in german seems to be an double
>>>lowerleftninequote,
>>>whereas 'upperrightdoublesixquote' seems to be the ligature.
>>actually 'lowerleftdoubleninequote' are two "," without any
>>kerning. You can add the kerning by:
>>\definecharacter quotedblbase     {,\kern -.1em,}
>>
>>Hans: is there any way to make this default when using cmr?
>
>Worse: With some fonts two different commas are used (I guess one from 
>math mode);
>in my opinion we shouldn't make some kerning default, but using the right 
>glyphs!

this is encoding dependent, the default is only a fall back; so, the 
solution is to have proper entries in the encoding vector; but, not all 
vectors have all glyphs

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Re: lowerleftdoubleninequote
  2003-02-10  9:46 lowerleftdoubleninequote Patrick Gundlach
@ 2003-02-10 21:27 ` Henning Hraban Ramm
  2003-02-10 22:27   ` Hans Hagen
  2003-02-10 22:36   ` Hans Hagen
  0 siblings, 2 replies; 12+ messages in thread
From: Henning Hraban Ramm @ 2003-02-10 21:27 UTC (permalink / raw)


>> 'lowerleftdoubleninequote' in german seems to be an double
>> lowerleftninequote,
>> whereas 'upperrightdoublesixquote' seems to be the ligature.
> actually 'lowerleftdoubleninequote' are two "," without any
> kerning. You can add the kerning by:
> \definecharacter quotedblbase     {,\kern -.1em,}
>
> Hans: is there any way to make this default when using cmr?

Worse: With some fonts two different commas are used (I guess one from 
math mode);
in my opinion we shouldn't make some kerning default, but using the 
right glyphs!

Please, Hans!

Grüßlis vom Hraban!
-- 
www.fiee.net/texnique/
www.ramm.ch/context/

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

end of thread, other threads:[~2003-03-11  8:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-10 22:53 Re: lowerleftdoubleninequote Wolfgang Werners-Lucchini
2003-03-11  8:20 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2003-03-08 21:15 Wolfgang Werners-Lucchini
2003-03-09 21:55 ` Hans Hagen
2003-03-06 20:53 Wolfgang Werners-Lucchini
2003-02-11  9:36 Wolfgang Werners-Lucchini
2003-02-11 11:00 ` Hans Hagen
2003-02-10  9:46 lowerleftdoubleninequote Patrick Gundlach
2003-02-10 21:27 ` lowerleftdoubleninequote Henning Hraban Ramm
2003-02-10 22:27   ` Hans Hagen
2003-02-11 19:09     ` Henning Hraban Ramm
2003-02-11 20:09       ` Hans Hagen
2003-02-10 22:36   ` 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).