From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: part problems
Date: Fri, 30 Jul 2010 22:56:58 +0200 [thread overview]
Message-ID: <0C7B5415-8E90-4775-A84C-681D50FDA690@fiee.net> (raw)
In-Reply-To: <4C533824.5060309@googlemail.com>
Thank you!
Am 2010-07-30 um 22:37 schrieb Wolfgang Schuster:
>> I'm trying to get a title page for book parts:
>> But the page is empty, also without "command", also with a suitable
>> "textcommand", also without "style".
> \setuphead[part][placehead=yes]
Good
> To disable hyphenation in headers you can set
> 'align={right,nothyphenated}'.
Even better ;-)
>> 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")?
> \setuplist[part][label=no]
also good
>> 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]}] ?
> \definefont[PartStyle][Serif sa 64pt]
> \setuphead[part][style=PartStyle]
That doesn't work. I get:
structure : part @ level 1 : 1 -> Märchen
! Missing number, treated as zero.
<to be read again>
\edef
\lowleveldefinefont ... \scaledfontsize \fi \edef
\somefontspec {at
\number ...
\dododefinefont ...inefont {#2}\rawfontidentifier
\csname
\rawfontidentifier...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi
\empty
\doplacestructureheadtext ...ucturehead }\c!style
\structureheadparameter \c...
\dohandlestructurehead ...\placestructureheadtext
\fi
\dostructureheadspacin...
l.9 \part{Märchen}
Did you mean "Serif at 64pt"? That works.
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
___________________________________________________________________________________
prev parent reply other threads:[~2010-07-30 20:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-30 17:30 Henning Hraban Ramm
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 [this message]
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=0C7B5415-8E90-4775-A84C-681D50FDA690@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).