My intention is to indent all paragraphs that do not follow whitespace. However, my code isn't making that happen. What am I doing wrong? (TexLive 2010 MKII on PC) \setupcolors[state=start] \definecolor [gray] [s=0.75] %\usetypescriptfile[type-one] %\usetypescriptfile[type-gyr] \definetypeface [mainface] [rm] [serif] [palatino] [default] \definetypeface [mainface] [ss] [sans] [iwona-heavy] [default] \definetypeface [mainface] [tt] [mono] [modern] [default] \definetypeface [mainface] [mm] [math] [palatino] [default] \definetypeface [pagenumber] [ss] [sans] [iwona-light] [default] \definetypeface [dedication] [rm] [serif] [chancery] [default] \setupbodyfont[mainface] % headings \definestartstop[dedication][style={\switchtobodyfont[dedication,20pt]}] \definehead [intro] [chapter] \definehead [dedication][chapter] \setuphead[chapter][style=\ss\bfd,alternative=middle] \setuphead[intro][number=no] \setuphead[dedication][incrementnumber=no] \definecombinedlist [content][intro,chapter,section] % pagenumbers \setuppagenumbering [state=start,alternative=doublesided,conversion=numbers,location=] \setupheadertexts [chapter][pagenumber][pagenumber][My Book Title] \setupheader[style={\switchtobodyfont[pagenumber,20pt]\sl},color=gray] %turn on indentation \setupindenting[medium] \indenting[next] \starttext \dedication{} \startdedication To someone who inspired or supported me. Let's see how this works for dedications that span multiple lines. \stopdedication \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \input knuth \input knuth \input knuth \input knuth \chapter{Second Chapter - Ag} \input knuth \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -----Original Message----- From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Sunday, February 13, 2011 4:59 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Using fonts from multiple families Am 13.02.2011 um 04:38 schrieb Tom:
\usetypescriptfile[type-one] \usetypescriptfile[type-gyr] TexLive 2010 MKII on a PC
I'm completely flummoxed as how to use fonts from different families. Follows is an attempt to use Pallatino (rm) for the text of a book, Iwono-heavy for chapter titles (sansbold), Iwona-light (sans) for page headers (intended but not implemented), and Chancery (cg) for the dedication. The only font that appears to come out right are the chapter titles and I can't change their size without changing the size of the text font. I apparently haven't found the right manual yet or am too stupid to understand what must be a relatively simple concept.
You can define multiple typefaces. % engine=pdftex % fonts \definetypeface [mainface] [rm] [serif] [palatino] [default] \definetypeface [mainface] [ss] [sans] [iwona-heavy] [default] \definetypeface [mainface] [tt] [mono] [modern] [default] \definetypeface [mainface] [mm] [math] [palatino] [default] \definetypeface [pagenumber] [ss] [sans] [iwona-light] [default] \definetypeface [dedication] [rm] [serif] [chancery] [default] \setupbodyfont[mainface] % headings \definehead [intro] [chapter] \definehead [dedication][chapter] \setuphead[chapter][style=\ss\bfa,alternative=middle] \setuphead[intro][number=no] \setuphead[dedication][number=no,style={\switchtobodyfont[dedication,16pt]}] \definecombinedlist [content][intro,chapter,section] % pagenumbers \setuppagenumbering[style={\switchtobodyfont[pagenumber]}] \starttext \dedication{Dedication} \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \chapter{Second Chapter - Ag} \input knuth \stoptext Wolfgang ____________________________________________________________________________ _______ 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 ____________________________________________________________________________ _______