ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: hanging punctuation
Date: Tue, 10 Jul 2001 17:00:09 +0200	[thread overview]
Message-ID: <3.0.6.32.20010710170009.01361a60@server-1> (raw)
In-Reply-To: <3B4ADF9B.13991.F0A940@localhost>

At 10:57 AM 7/10/01 +0200, Lutz Haseloff wrote:
>Am 10 Jul 2001, um 8:57 hat Hans Hagen geschrieben:
>
>> At 06:55 AM 7/10/01 +0200, Lutz Haseloff wrote:
>> >Hi all,
>> >
>> >is there anybody who can provide me a minimal
>> >file with working hanging punctuation?
>> >I didn`t got it with the TeX Fonts Manual.
>>  
>> it is explained in mfonts.pdf 
>> 
>> you need a recent version of pdftex 
>> 
>> Hans
>
>I use tha latest pdfetex by Fabrice (14h-unofficial-20010629)
>and the newest ConTeXt beta(2001.7.7).
>
>with the help of mfonts.pdf i tried following but:
>\usetypescript [serif,sans,mono] [hanging] [pure]
>or
>\setupfontsynonym [hanging=pure]
>and \setupalign [hanging]
>doesn`t work.

This has to do with the fact that the def's should come before loading a
font, which means that in the cmr default case, the setupp comes too late. 

When looking into it, i also noticed a few typo's. A "handling' is
something general, while "hanging" refers to hanging punctuation. For the
moment hanging is the only handling, but once it's stable, hz may become
another one.  

The next line connects the hang vectors to symbolic font names. In
type-exa.tex you should remove the - in the hanging defs, so that bold etc
also work well. 

\usetypescript[serif,sans][hanging][pure]

This is needed anyway 

\setupalign [hanging]

This redefines fonts, and also demo's typefaces, watch the 'handling' 

\definetypeface [modern] [rm] [serif] [computer-modern] [default]
[handling=pure]
\definetypeface [modern] [ss] [sans]  [computer-modern] [default]
[handling=pure]

Now this should work well: 

\showframe

\starttext

\modern\rm\input tufte

\modern\ss\input tufte

\stoptext

Maybe i need to change pure into pure-hang or so, in order to avoind
confusions. 

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


  reply	other threads:[~2001-07-10 15:00 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-10  4:55 Lutz Haseloff
2001-07-10  6:57 ` Hans Hagen
2001-07-10  8:57 ` Lutz Haseloff
2001-07-10 15:00   ` Hans Hagen [this message]
2001-07-11  5:02   ` Lutz Haseloff
2001-07-11  9:01     ` Hans Hagen
2001-07-11 15:07       ` Eckhart Guthöhrlein
2001-07-11 15:40         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2014-06-22 18:51 Hanging punctuation Tomas Hala
2014-06-23  8:39 ` Wolfgang Schuster
2014-06-24  7:42   ` Tomas Hala
2014-06-24 18:56     ` Pablo Rodriguez
2014-06-24 21:36       ` Wolfgang Schuster
2014-07-01 20:20       ` Tomas Hala
2003-03-08 21:15 Re: lowerleftdoubleninequote Wolfgang Werners-Lucchini
2003-03-09 14:07 ` Re: Hanging punctuation WAS lowerleftdoubleninequote John Culleton
2003-03-09 14:30   ` Hanging punctuation Bill McClain
2003-01-29 21:29 hanging punctuation Patrick Gundlach
2003-01-29 23:45 ` Hans Hagen
2003-01-30 10:17   ` Patrick Gundlach
2003-01-31 23:02     ` Hans Hagen
2003-02-02 14:34       ` Patrick Gundlach
2003-02-02 17:23         ` Adam Lindsay
2003-02-02 17:49           ` Patrick Gundlach
2002-06-22  4:20 Idris S Hamid
2002-06-22 12:37 ` John Culleton
2002-06-22 14:54   ` Bill McClain
2002-06-23 23:27     ` Idris S Hamid
2002-06-24 13:44       ` Bill McClain
2002-06-22 16:31 ` Idris S Hamid
2002-06-23 23:04   ` Hans Hagen
2002-06-23 23:01 ` Hans Hagen
2002-05-27  6:59 Denis B. Roegel
2002-05-27 11:37 ` Bill McClain
2001-05-10 14:10 Patrick Gundlach
2001-05-11 16:05 ` Hans Hagen
2001-05-11 18:37   ` Patrick Gundlach
2001-05-13 13:33     ` Hans Hagen
2001-05-13 15:19       ` Patrick Gundlach
2001-05-18 10:03         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3.0.6.32.20010710170009.01361a60@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).