Migrating from old ConTeXt to new
Hello folks, I have been putting this off for years, but I think somewhere the coming months I'll want to migrate from my current ConTeXt setup to the most recent one so that when I encounter typesetting/ConTeXt problems, I will be asking for solutions in the current actively maintained environments. When I compile a book project, it currently looks like this:
texexec --pdf --mode=editor ../products/prd_book.tex MTXrun | kpse fallback with progname 'context' initialized in 0.047062 seconds TeXExec | processing document '../products/prd_book.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file prd_book.top TeXExec | using randomseed 1038 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) restricted \write18 enabled. (/usr/local/texlive/2010/texmf/web2c/natural.tcx) entering extended mode (../products/prd_book.tex
ConTeXt ver: 2010.05.24 13:05 MKII fmt: 2010.7.21 int: english/english
As I understand, I need to setup a different way to run tex. (BTW, I'm going to migrate to MacTeX 2011 first) Important for me is the use of Optima, which is now done in an environment file. Will this still work?
% Bypassing type-gtamacfonts.tex \starttypescript [sans,serif] [optima] [texnansi,ec] \definefontsynonym [Optima-Regular] [\typescriptthree-OptimaRegular] [encoding=\typescriptthree] \definefontsynonym [Optima-Italic] [\typescriptthree-OptimaItalic] [encoding=\typescriptthree] \definefontsynonym [Optima-Bold] [\typescriptthree-OptimaBold] [encoding=\typescriptthree] \definefontsynonym [Optima-BoldItalic] [\typescriptthree-OptimaBoldItalic] [encoding=\typescriptthree] \definefontsynonym [Optima-ExtraBlack] [\typescriptthree-OptimaExtraBlack] [encoding=\typescriptthree] \stoptypescript \starttypescript [sans,serif] [optima] [name] \setups [font:fallback:\typescriptone] \definefontsynonym [\typescriptprefix\typescriptone] [Optima-Regular] \definefontsynonym [\typescriptprefix\typescriptone Italic] [Optima-Italic] \definefontsynonym [\typescriptprefix\typescriptone Bold] [Optima-Bold] \definefontsynonym [\typescriptprefix\typescriptone BoldItalic] [Optima-BoldItalic] \definefontsynonym [\typescriptprefix\typescriptone Black] [Optima-ExtraBlack] \stoptypescript \definetypeface[allsans][rm][serif][optima][default][encoding=texnansi] \definetypeface[allsans][ss][sans][optima][default][encoding=texnansi] \loadmapfile [gtamacfonts.map] \setupbodyfont[allsans,12pt]
Yours, G
Am 13.11.2011 um 12:23 schrieb Gerben Wierda:
Important for me is the use of Optima, which is now done in an environment file. Will this still work?
[…]
With LuaTeX and XeTeX you can use the predefined typescript to use Optima. LuaTeX (context <file>): \usetypescriptfile[type-mac] \setupbodyfont[optima] \starttext \input zapf \stoptext XeTeX (“context --xetex <file>” or ”texexec --xtx <file>”): \usetypescriptfile[type-mac] \usetypescript[optima] \setupbodyfont[optima] \starttext \input zapf \stoptext Wolfgang
participants (2)
-
Gerben Wierda
-
Wolfgang Schuster