ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \showfont
@ 2001-08-30 18:15 Willi Egger
  2001-08-31  7:26 ` \showfont Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Willi Egger @ 2001-08-30 18:15 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

Hi Hans,

I tried to use the \showfont command. - there seems to be a problem in
there:

! Undefined control sequence.
\do\groupedcommand ...roup \def \dogroupedcommand
                                                  {\ifx \next \bgroup \def
\...

\doshowfont ...ip 2pt \edef \ascii {name:~{\black
                                                  \fontname \font }\quad
enc...
l.37 \showfont[ec-bchr8a-capitalized-800]

Is there something wrong with my setup in the tex file?

Thanks for advice. Willi

[-- Attachment #2: font2.tex --]
[-- Type: application/octet-stream, Size: 492 bytes --]

% Testfile for public fonts
% 26-08-2001
% Willi Egger
% font1.tex

\usemodule[fnt-1]

\definetypeface [charter] [rm] [serif] [charter] [default] 
 [encoding=ec]

\startbuffer[Buff1]
  \input tufte
\stopbuffer

\startbuffer[Buff2]
\placeformula
   \startformula
      \int_0^1 x^2 dx
   \stopformula
\stopbuffer

\starttext

\switchtotypeface [charter] [12pt,rm]
\section{Charter at 12pt}
\blank
\getbuffer[Buff1]
\getbuffer[Buff2]
\vfil
\page
\showfont[ec-bchr8a-capitalized-800]

\stoptext

[-- Attachment #3: font2.log --]
[-- Type: application/octet-stream, Size: 30871 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \showfont
  2001-08-30 18:15 \showfont Willi Egger
@ 2001-08-31  7:26 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-08-31  7:26 UTC (permalink / raw)
  Cc: ntg-context

At 08:15 PM 8/30/2001 +0200, Willi Egger wrote:
>Hi Hans,
>
>I tried to use the \showfont command. - there seems to be a problem in
>there:
>
>! Undefined control sequence.
>\do\groupedcommand ...roup \def \dogroupedcommand
>                                                   {\ifx \next \bgroup \def
>\...
>
>\doshowfont ...ip 2pt \edef \ascii {name:~{\black
>                                                   \fontname \font }\quad
>enc...
>l.37 \showfont[ec-bchr8a-capitalized-800]
>
>Is there something wrong with my setup in the tex file?

not running etex -) so you can change in font-run.tex :

    \edef\ascii % \noexpand needed for non etex
      {name:~{\noexpand\black\fontname\font}\quad
       encoding:~{\noexpand\black\currentencoding}\quad
       mapping:~{\noexpand\black\currentmapping}\quad
       handling:~{\noexpand\black\fonthandling}}%

you don't need to recompile a format since -run files are not in the format

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-31  7:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-30 18:15 \showfont Willi Egger
2001-08-31  7:26 ` \showfont Hans Hagen

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