![](https://secure.gravatar.com/avatar/bf27661c16473528fe303ad65896f024.jpg?s=120&d=mm&r=g)
Hi all, I'm typesetting a book with ConTeXt and XeTeX (LuaTex has been choking on some statements and I didn't find the time to debug it). I've gotten XeTeX to find Mac fonts through the simple Xserif definition, but now I want to add a dedicated small caps font. I've been checking out lots of typescripts documentation but I get discouraged by their levels of complexity - I'm sure they're very powerful but all the documentation out there still doesn't tell me what all the different lines actually do and why there have to be so many of them... My minimal test script is as follows: \enableregime[utf] \setupcapitals[title=no,sc=no] \definetypeface[ecolayout][rm][Xserif][EconomistTT] \setupbodyfont[ecolayout, 11pt] \starttext Lorem ipsum dolor sit amet, {\sc consectetur adipisicing elit}, \cap{sed do eiusmod tempor incididunt} \stoptext This shows everything in EconomistTT, with the "consectetur" part in normal sentence case and the "sed do..." part in simulated small caps. I can also print everything up to sed... in real small caps by adding \definetypeface[ecolayout][sc][Xserif][EconomistTTSC] (which I guess is equivalent to just replacing "EconomistTT" with "EconomistTTSC" in the test script above. But how do I tell XeTeX to use EconomistTT for all normal letters but EconomistTTSC when the \sc type switch is on? Thanks so much for your help! Roland [output below] TeXExec | processing document '/[...]/minimal_ntg.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file minimal_ntg.top TeXExec | using randomseed 755 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeXk, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.6) \write18 enabled. file:line:error style messages enabled. entering extended mode (/[...]/minimal_ntg.tex ConTeXt ver: 2009.10.28 19:27 MKII fmt: 2009.10.29 int: english/english system : cont-new loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkii )) system : cont-fil loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkii )) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkii )) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkii )) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-xtx.tex) ) system : minimal_ntg.top loaded (./minimal_ntg.top) bodyfont : 12pt rm is loaded language : patterns nl->default:default->1->2:2 us->default:default->2-> 2:3 de->default:default->3->3:3 da->default:default->4->2:2 sv->default:default ->5->2:2 gb->default:default->6->2:2 fr->default:default->7->2:2 es->default:de fault->8->2:2 ca->default:default->9->2:2 it->default:default->10->2:2 la->defa ult:default->11->2:2 pt->default:default->12->2:2 ro->default:default->13->2:2 pl->default:default->14->2:2 cs->default:default->15->2:2 sk->default:default-> 16->2:2 hr->default:default->17->2:2 sl->default:default->18->2:2 tr->default:d efault->19->2:2 agr->default:default->21->2:2 fi->default:default->22->2:2 hu-> default:default->23->2:2 ru->default:default->25->2:2 uk->default:default->26-> 3:3 loaded specials : dvips loaded language : language en is active specials : loading definition file dpx (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/spec-dpx.mkii specials : loading definition file fdf (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/spec-fdf.mkii )) specials : loading definition file xet (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/spec-xet.mkii ) regimes : mapping utf to utf-8 (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) publications : file minimal_ntg.bbl not found, waiting for bibtex (./minimal_ntg.tuo) systems : begin file minimal_ntg at line 6 fonts : resetting map file list fonts : using map file: original-base fonts : using map file: lm-math fonts : using map file: lm-rm fonts : using map file: texnansi-base fonts : using map file: ec-base fonts : using map file: qx-base fonts : using map file: t5-base fonts : using map file: 8r-base fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/sort-def.mkii ) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/sort-lan.mkii ) [1.1] systems : end file minimal_ntg at line 8 system : cont-err loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ** WARNING ** Could not open config file "dvipdfmx.cfg". stdin -> minimal_ntg.pdf [1] 5290 bytes written ) ) (see the transcript file for additional information) Output written on minimal_ntg.pdf (1 page). Transcript written on minimal_ntg.log. TeXUtil | parsing file minimal_ntg.tui TeXUtil | shortcuts : 169 TeXUtil | expansions: 308 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 21 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | TeX run 2 TeXExec | writing option file minimal_ntg.top TeXExec | using randomseed 755 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeXk, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.6) \write18 enabled. file:line:error style messages enabled. entering extended mode (/Users/rs/Desktop/Dropbox/B/BerlinPaper/BookConTeXt/minimal_ntg.tex ConTeXt ver: 2009.10.28 19:27 MKII fmt: 2009.10.29 int: english/english system : cont-new loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkii )) system : cont-fil loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkii )) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkii )) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkii )) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-xtx.tex) ) system : minimal_ntg.top loaded (./minimal_ntg.top) bodyfont : 12pt rm is loaded language : patterns nl->default:default->1->2:2 us->default:default->2-> 2:3 de->default:default->3->3:3 da->default:default->4->2:2 sv->default:default ->5->2:2 gb->default:default->6->2:2 fr->default:default->7->2:2 es->default:de fault->8->2:2 ca->default:default->9->2:2 it->default:default->10->2:2 la->defa ult:default->11->2:2 pt->default:default->12->2:2 ro->default:default->13->2:2 pl->default:default->14->2:2 cs->default:default->15->2:2 sk->default:default-> 16->2:2 hr->default:default->17->2:2 sl->default:default->18->2:2 tr->default:d efault->19->2:2 agr->default:default->21->2:2 fi->default:default->22->2:2 hu-> default:default->23->2:2 ru->default:default->25->2:2 uk->default:default->26-> 3:3 loaded specials : dvips loaded language : language en is active specials : loading definition file dpx (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/spec-dpx.mkii specials : loading definition file fdf (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/spec-fdf.mkii )) specials : loading definition file xet (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/spec-xet.mkii ) regimes : mapping utf to utf-8 (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) (./minimal_ntg.tuo) publications : file minimal_ntg.bbl not found, waiting for bibtex (./minimal_ntg.tuo) systems : begin file minimal_ntg at line 6 fonts : resetting map file list fonts : using map file: original-base fonts : using map file: lm-math fonts : using map file: lm-rm fonts : using map file: texnansi-base fonts : using map file: ec-base fonts : using map file: qx-base fonts : using map file: t5-base fonts : using map file: 8r-base fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/sort-def.mkii ) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/sort-lan.mkii ) [1.1] systems : end file minimal_ntg at line 8 system : cont-err loaded (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ** WARNING ** Could not open config file "dvipdfmx.cfg". stdin -> minimal_ntg.pdf [1] 5289 bytes written ) ) (see the transcript file for additional information) Output written on minimal_ntg.pdf (1 page). Transcript written on minimal_ntg.log. TeXUtil | parsing file minimal_ntg.tui TeXUtil | shortcuts : 169 TeXUtil | expansions: 308 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 21 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 8.912883