ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Han The Thanh <thanh@informatics.muni.cz>
Cc: ntg-context@ntg.nl
Subject: Re: call for help with context
Date: Thu, 8 Mar 2001 16:16:52 +0100	[thread overview]
Message-ID: <20010308161652.A25283@anxur.fi.muni.cz> (raw)
In-Reply-To: <3.0.6.32.20010308154432.0169d4b0@server-1>; from pragma@wxs.nl on Thu, Mar 08, 2001 at 03:44:32PM +0100

Hi Hans,

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

I tried the following:

==================== begin of file font-test.tex ==========================
\definebodyfont [14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt] [rm] [ 
    tf=LexiconNo2RomanA-Txt8y,
    bf=LexiconNo2RomanC-Txt8y,
    it=LexiconNo2ItalicA-Txt8y,
    bi=LexiconNo2ItalicC-Txt8y,
    sc=LexiconNo2RomanA-Exp8y]

\definefontstyle [aa] [aa]

\definebodyfont [14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt] [aa] [ 
    tf=LexiconNo2RomanB-Txt8y,
    bf=LexiconNo2RomanD-Txt8y,
    it=LexiconNo2ItalicB-Txt8y,
    bi=LexiconNo2ItalicD-Txt8y,
    sc=LexiconNo2RomanB-Exp8y]
==================== end of file font-test.tex ==========================

and the tex file looks like:

==================== cut here ==========================
\setupbodyfont [test]
\setupfootnotes[style=aa]

\starttext
\chapter{A SHORT STORY}
Once upon a time, in a distant
  galaxy called \"O\"o\c c,
there lived a computer
named R.~J. Drofnats.
\footnote{% 
Mr.~Drofnats---or ``R. J.,'' as
he preferred to be called---% error has been fixed!
was happiest when he was at work
typesetting {\it beautiful\/} documents.}
\stoptext
==================== cut here ==========================

it works more or less, but there are still two problems:

1) the chapter font is cmr12
2) the italic font in the footnote comes from \rm, not \aa as I expected

How can I please fix it?

Thanh


  reply	other threads:[~2001-03-08 15:16 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
2001-03-08 15:16   ` Han The Thanh [this message]
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=20010308161652.A25283@anxur.fi.muni.cz \
    --to=thanh@informatics.muni.cz \
    --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).