ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fonts in footer and bottom text
@ 2001-12-28 19:29 Willi Egger
  2001-12-29  0:47 ` Hans Hagen
  2001-12-29 18:17 ` George N. White III
  0 siblings, 2 replies; 3+ messages in thread
From: Willi Egger @ 2001-12-28 19:29 UTC (permalink / raw)


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

Hi,

I wonder if there is sombody else who experiences the following strange
behaviour of Context.

I use currently the following version:

pdfeTeX, Version 3.14159-pre-1.0-unofficial-20010704-2.1 (Web2c 7.3.3.1)
ConTeXt  ver: 2001.12.10

I need to typeset footers and bottomtexts. Without explicitely switching to
the currently used bodyfont with \setupfooter and \setupbottom, Context
typesets the footers and bottomtexts either in CMR or CMSS, depending on the
chosen bodyfont (serif or sans).

Please see also the attached test.tex file

Kind regards Willi

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

% Texfile
% Filename: test.tex
% W. Egger
% December 2001

%\definetypeface [Myfont] [ss] [sans] [helvetica] [default] [encoding=texnansi]

\definetypeface [Myfont] [rm] [serif] [palatino] [default] [encoding=texnansi]

\setupcolors[state=start]

\setuppapersize[A4][A4]

\setuppagenumbering[state=stop]

\switchtobodyfont[Myfont,10pt]

% \setupfooter[style={\switchtobodyfont[Myfont]}]

% \setupbottom[style={\switchtobodyfont[Myfont]}]

\setupfootertexts%
	   [{\tfx  test.pdf}]
	   [{\tfxx  \currentdate[dd,{~},month,{~},year]}]

\setupbottomtexts%
         []
         [\hfill  Ein minimaler Test \hfill]

\startbuffer[Tufte]
 \input tufte
\stopbuffer

\starttext

\getbuffer[Tufte]
\blank

{\tfx \getbuffer[Tufte]}
\stoptext

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

* Re: Fonts in footer and bottom text
  2001-12-28 19:29 Fonts in footer and bottom text Willi Egger
@ 2001-12-29  0:47 ` Hans Hagen
  2001-12-29 18:17 ` George N. White III
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2001-12-29  0:47 UTC (permalink / raw)
  Cc: ntg-context

At 08:29 PM 12/28/2001 +0100, Willi Egger wrote:
>Hi,
>
>I wonder if there is sombody else who experiences the following strange
>behaviour of Context.
>
>I use currently the following version:
>
>pdfeTeX, Version 3.14159-pre-1.0-unofficial-20010704-2.1 (Web2c 7.3.3.1)
>ConTeXt  ver: 2001.12.10
>
>I need to typeset footers and bottomtexts. Without explicitely switching to
>the currently used bodyfont with \setupfooter and \setupbottom, Context
>typesets the footers and bottomtexts either in CMR or CMSS, depending on the
>chosen bodyfont (serif or sans).
>
>Please see also the attached test.tex file

ah, you made me nervous for a while -)

you should use \setupbodyfont instead of \switchtobodyfont

the second one does not affect the main body font (which is used for the 
surrounding stuff); so, you sample demonstrates that one can mix fonts at 
will -)

as soon as a page is reassembles, context switched back to the main body 
font (in your case still cmr)

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] 3+ messages in thread

* Re: Fonts in footer and bottom text
  2001-12-28 19:29 Fonts in footer and bottom text Willi Egger
  2001-12-29  0:47 ` Hans Hagen
@ 2001-12-29 18:17 ` George N. White III
  1 sibling, 0 replies; 3+ messages in thread
From: George N. White III @ 2001-12-29 18:17 UTC (permalink / raw)
  Cc: ntg-context

On Fri, 28 Dec 2001, Willi Egger wrote:

> Hi,
>
> I wonder if there is sombody else who experiences the following strange
> behaviour of Context.
>
> I use currently the following version:
>
> pdfeTeX, Version 3.14159-pre-1.0-unofficial-20010704-2.1 (Web2c 7.3.3.1)
> ConTeXt  ver: 2001.12.10
>
> I need to typeset footers and bottomtexts. Without explicitely switching to
> the currently used bodyfont with \setupfooter and \setupbottom, Context
> typesets the footers and bottomtexts either in CMR or CMSS, depending on the
> chosen bodyfont (serif or sans).

I noticed this problem as well, but haven't had time to investigate:

pdfeTeX, Version 3.14159-1.00a-pretest-20010806-2.1 (Web2C 7.3.3.1)
ConTeXt  ver: 2001.9.14

-- 
George N. White III <gnw3@acm.org> Bedford Institute of Oceanography


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

end of thread, other threads:[~2001-12-29 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-28 19:29 Fonts in footer and bottom text Willi Egger
2001-12-29  0:47 ` Hans Hagen
2001-12-29 18:17 ` George N. White III

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