From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: call for help with context
Date: Thu, 08 Mar 2001 15:44:32 +0100 [thread overview]
Message-ID: <3.0.6.32.20010308154432.0169d4b0@server-1> (raw)
In-Reply-To: <20010308150340.A8765@anxur.fi.muni.cz>
At 03:03 PM 3/8/01 +0100, Han The Thanh wrote:
>Hi Hans,
>
>I posted a few questions to the context mail list but didn't get the
>answer ...
SInce i cannot see you suffering ...
>1) how to define a new font family alternative similar to \rm, \ss or \tt?
> I tried to add some code to the file font-ini.tex, however it
> doesn't work. It seem to be non-trivial, and I don't know context
> enough yet. I tried to use my own NFSS, but soon found out that it
> is not a good idea.
\definefontstyle [hanthethanh,htt] [htt]
\definebodyfont
[10pt,11pt,12pt]
[htt]
[tf=Regular sa 1,
bf=Sans sa 1]
\setupbodyfont[hanthethanh]
\setupfootnotes[n=3,align=normal,tolerance={verytolerant,stretch}]
So, we can mix {\bf whatever fonts} we want in a style like \htt.
>2) I cannot get rid of the overfull boxes in two-column footnote:
> setting \emergencystretch in the beggining doesn't work for
> footnote mode (it is always set to 0)
You can add this code to cont-new.tex
\setupfootnotes[\c!uitlijnen=\v!normaal,\c!tolerantie=\v!soepel]
\def\setfootnotebodyfont%
{\let\setfootnotebodyfont\relax
\restoreglobalbodyfont
\switchtobodyfont[\@@vnkorps]%
\steltolerantiein[\@@vntolerantie]%
\steluitlijnenin[\@@vnuitlijnen]}
Now you can say:
\setupfootnotes[align=normal, tolerance={verytoleranr,stretch}]
>3) somehow context breaks page in a very odd way: sometime too much
> space between body text and footnote, sometime too little. Maybe it
> has to do with choosing the page dimension that the textheight is
> not a multiple of the baselineskip.
Indeed. The new otr will give you more control over that. It is a tricky
rounding error problem and (imho) tex does not always give you the control
you need.
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
-------------------------------------------------------------------------
next parent reply other threads:[~2001-03-08 14:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010308150340.A8765@anxur.fi.muni.cz>
2001-03-08 14:44 ` Hans Hagen [this message]
2001-03-08 15:16 ` Han The Thanh
2001-03-08 15:54 ` Berend de Boer
2001-03-08 16:36 ` Hans Hagen
[not found] ` <20010309130110.A2783@anxur.fi.muni.cz>
2001-03-10 13:24 ` Hans Hagen
2001-03-08 16:34 ` Hans Hagen
2001-03-09 9:34 ` Han The Thanh
2001-03-10 13:18 ` Hans Hagen
2001-03-08 17:48 ` Re[2]: " Giuseppe Bilotta
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.20010308154432.0169d4b0@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).