ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: part problems
Date: Fri, 30 Jul 2010 19:30:50 +0200	[thread overview]
Message-ID: <93A8B05E-BFA5-4332-8FDE-557B40557B94@fiee.net> (raw)

(MkIV, latest beta)

I'm trying to get a title page for book parts:

\def\FPart#1#2{#2}

\setupheads	[align=right, tolerance=verytolerant,
		before=\nohyphen\startlinecorrection,
		after=\stoplinecorrection, number=no]
\setuphead[part][command=\FPart, page=right, style={\bfc}]

\part{My First Part}


But the page is empty, also without "command", also with a suitable  
"textcommand", also without "style".


Next problem:
In my ToC I get "Part  My First Part". (Or "Part 1  My First Part", if  
I enable the number.)
How can I suppress that piece of text ("Part")?


Generally, what's the best approach to get a fixed font size for some  
titles, e.g. the part title should have 64 pt.
Should I use \setuphead[part][before={\switchtobodyfont[64pt]}] ?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2010-07-30 17:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-30 17:30 Henning Hraban Ramm [this message]
2010-07-30 20:37 ` Wolfgang Schuster
2010-07-30 20:46   ` luigi scarso
2010-07-30 21:00     ` Henning Hraban Ramm
2010-07-30 21:04       ` luigi scarso
2010-07-30 23:08       ` Alan BRASLAU
2010-07-31  9:20         ` Hans Hagen
2010-08-01  8:20           ` Alan BRASLAU
2010-08-01 15:12             ` Hans Hagen
2010-07-30 20:56   ` Henning Hraban Ramm

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=93A8B05E-BFA5-4332-8FDE-557B40557B94@fiee.net \
    --to=hraban@fiee.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).