ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: "'ntg-context@ntg.nl'" <ntg-context@ntg.nl>
Subject: Re: DroppedCaps
Date: Tue, 12 Sep 2000 15:24:06 +0200	[thread overview]
Message-ID: <3.0.6.32.20000912152406.016ba100@pop.wxs.nl> (raw)
In-Reply-To: <0F3313EC125AD311981100105AB3A75D4DBD35@N0795.mdf.fvbb.de>

At 02:49 PM 9/12/00 +0200, Haseloff, Lutz wrote:
>Hi all,
>
>With the new ConTeXt beta the command \DroppedCaps don´t work.
>I typeset an old Article by Jan Tschichold and it did look very nice.
>
>my file is:
>
>\def\MyDroppedCaps%
>  {\DroppedCaps
>     {} {padr9e}
>     {2\baselineskip} {3pt} {\baselineskip} {2}}
>
>\starttext
> \MyDroppedCaps Zwei
>\stoptext
>
>there is an error message: ! missing \endcsname inserted
>
>it works with the normal ConTeXt.

You can change the following definition in font-ini (only in latest beta): 

\def\dododefinefont#1#2%
  {\parsefontspec[#2]{\bodyfontsize}{#1}\getvalue{#1}}

I swapped #1 and #2 -) 

There was a change in the font mechanism, which now also supports the "mo"
spec: 

%D \mapfontsize[10pt][11pt]
%D \mapfontsize[11pt][12pt]
%D \mapfontsize[12pt][13pt]
%D
%D \definefont[test][Serif]\test TEST \par
%D \definefont[test][Serif sa 5]\test TEST \par
%D \definefont[test][Serif mo 5]\test TEST \par
%D \definefont[test][Serif sa d]\test TEST \par
%D \definefont[test][Serif at 60pt]\test TEST \par
%D \definefont[test][Serif scaled 6000]\test TEST \par

which is needed for math times where the math roman has a different size. 

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


  parent reply	other threads:[~2000-09-12 13:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-12 12:49 DroppedCaps Haseloff, Lutz
2000-09-12 13:01 ` DroppedCaps Hans Hagen
2000-09-12 13:24 ` Hans Hagen [this message]
2000-09-12 13:11 DroppedCaps Haseloff, Lutz
2000-09-13  5:32 DroppedCaps Haseloff, Lutz

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.20000912152406.016ba100@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).