From: Hans Hagen <pragma@wxs.nl>
Cc: "ntg-context" <ntg-context@ntg.nl>
Subject: Re: beta and hanging question
Date: Wed, 27 Dec 2000 10:05:05 +0100 [thread overview]
Message-ID: <3.0.6.32.20001227100505.0153fe20@pop.wxs.nl> (raw)
In-Reply-To: <001001c06ea5$302404e0$6f1f5fc3@oemcomputer>
At 08:00 PM 12/25/00 +0100, Frans Goddijn wrote:
>Hello all,
>
>What better use for a fine xmas day than try something new in ConTeXt...
>;=}}
>
>I wanted to try the \steluitlijnenin[hangend] tip from Hans from 21
>december.
>
>I downloaded a new cont-tmf.zip from www.pragma-ade.nl and unzipped it in
>c:\local\tex\texmf from my TeX Live installation. Then I did
>mktexlsr
>and
>texexec --make --alone
>
>I got a number of errors complaining about insufficient hash size and
>changed the following line in texmf.cnf from 0 to 20000 (10000 did not help
>enough so I wonder if the line mentioning 10K is right)
>
>% Extra space for the hash table of control sequences (which allows 10K
>% names as distributed).
>% hash_extra = 0 % original line
>hash_extra = 20000
normally the progname entry is used, so context.hash_extra=20000, but never
mind, you got it working now
>\steluitlijnenin[hangend]
>
>I get no error messages but the resulting text shows no protrusions at
>all...
>
>Anyone any idea what I do wrong?
You have to set up fonts to protrude [not that complicated, see MAPS
article] which comes down to assigning a handler to a font [see
enco-pro.tex].
So, finally you get something like this [you can set protruding per font
and change the amounts per font shape etc]
% output=pdftex
\setuplayout[width=middle,height=middle] \showframe
\setupwhitespace[big]
\useencoding[pro]
\definefontsynonym [Times-Roman] [tir]
[encoding=texnansi,handling=normal]
\definefontsynonym [Times-Italic] [tii]
[encoding=texnansi,handling=slanted]
\definefontsynonym [Times-Bold] [tib] [encoding=texnansi,handling=bold]
\definefontsynonym [Times-BoldItalic] [tibi]
[encoding=texnansi,handling=boldslanted]
\setupbodyfont[ptm] \setupalign[hanging]
\starttext
\title{Times Roman Protruding}
\tf \input tufte \par \sl \input tufte \par
\bf \input tufte \par \bs \input tufte \page
\startcolumns[balance=no]
\tf \input tufte \par \sl \input tufte \par
\bf \input tufte \par \bs \input tufte \par
\stopcolumns
{ \page \switchtobodyfont[small] \typefile {protrude} }
{ \page \switchtobodyfont[small] \typefile {enco-pro} }
\stoptext
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2000-12-27 9:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-25 19:00 Frans Goddijn
2000-12-26 19:03 ` Berend de Boer
2000-12-27 9:05 ` Hans Hagen [this message]
2000-12-27 20:40 ` George N. White III
[not found] ` <Pine.SGI.4.31.0012271621200.153867-100000@wendigo.bio.dfo. ca>
2000-12-28 0:26 ` Hans Hagen
2000-12-29 18:44 White, George
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.20001227100505.0153fe20@pop.wxs.nl \
--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).