ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: Re: How to setup this type of header?
Date: Wed, 21 Dec 2005 11:44:10 -0800	[thread overview]
Message-ID: <7BB3910E-496E-4D6A-BB3F-700F9E21387C@cox.net> (raw)
In-Reply-To: <43A99755.50408@elvenkind.com>

Taco, Gerben, et al,

 From Taco's note: "Uncomment the next if you have not installed cont- 
fnt.zip, but instead have a working LaTeX installation.    
\usetypescript[adobekb][ec]," I would think the following would work  
for me after updating to the latest Context on Gerben's site using  
the Context updater.

% output=pdf

%
\setuppagenumbering
    [location=, % .. of the automatically placed page number
     alternative=doublesided] % so left and right are different

% pair 1 = left side  of odd pages
% pair 2 = right side of odd pages (empty)
% pair 3 = left side  of even pages
% pair 4 = right side of even pages (empty)
\setupheadertexts
   [\rlap{\the\pageno}\centerline{Put your title here}]
   []
   [\centerline{\getmarking[chapter]}\llap{\the\pageno}]
   []

% no headers above chapter titles:
\setuphead[chapter][header=empty]

% load psnfss definitions
% Uncomment the next if you have not installed cont-fnt.zip,
% but instead have a working LaTeX installation.
%\usetypescript[adobekb][ec]

% register the times typescript
\usetypescript[times][ec]

% and start using it
\setupbodyfont[times]

\starttext
\chapter{One}

\dorecurse{10}{\input tufte\par}

\stoptext

But I got:

(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) 
kpathsea: Running mktextfm utmr8t
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input utmr8t
This is METAFONT, Version 2.71828 (Web2C 7.5.5)

kpathsea: Running mktexmf utmr8t
! I can't find file `utmr8t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t

Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t


Gerben, have we not installed the cont-fnt.zip Taco describes?


On Dec 21, 2005, at 9:56 AM, Taco Hoekwater wrote:

> R S Ananda Murthy wrote:
>> How to setup this type of header? I do not want dashed line below  
>> the header. Header should not be printed on a page where a chapter  
>> is starting.
>> My body text should be in postscript Times Roman font.
>
> Here you go. This is not the only solution (maybe not even
> the nicest) but it works for me.
>
> %
> \setuppagenumbering
>    [location=, % .. of the automatically placed page number
>     alternative=doublesided] % so left and right are different
>
> % pair 1 = left side  of odd pages
> % pair 2 = right side of odd pages (empty)
> % pair 3 = left side  of even pages
> % pair 4 = right side of even pages (empty)
> \setupheadertexts
>   [\rlap{\the\pageno}\centerline{Put your title here}]
>   []
>   [\centerline{\getmarking[chapter]}\llap{\the\pageno}]
>   []
>
> % no headers above chapter titles:
> \setuphead[chapter][header=empty]
>
> % load psnfss definitions
> % Uncomment the next if you have not installed cont-fnt.zip,
> % but instead have a working LaTeX installation.
> % \usetypescript[adobekb][ec]
>
> % register the times typescript
> \usetypescript[times][ec]
>
> % and start using it
> \setuptobodyfont[times]
>
>
>
>
>> Thanks for your help.
>> Anand
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-12-21 19:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21 16:21 R S Ananda Murthy
2005-12-21 17:56 ` Taco Hoekwater
2005-12-21 19:44   ` David Arnold [this message]
2005-12-21 20:13     ` Gerben Wierda
2005-12-22  9:32       ` Hans Hagen
2005-12-21 20:32     ` URw metric files (was: Re: How to setup this type of header?) Taco Hoekwater
2005-12-22 11:18       ` URw metric files Hans Hagen
2005-12-22 11:21       ` Hans Hagen
2005-12-22 12:15         ` Taco Hoekwater
2005-12-22 14:53           ` Hans Hagen
2005-12-22 15:23             ` Taco Hoekwater
2005-12-22 21:07               ` Hans Hagen
2005-12-22 22:12           ` Hans Hagen
2005-12-22 22:55             ` Taco Hoekwater

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=7BB3910E-496E-4D6A-BB3F-700F9E21387C@cox.net \
    --to=dwarnold45@cox.net \
    --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).