From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Migrating from old ConTeXt to new
Date: Sun, 13 Nov 2011 12:23:35 +0100 [thread overview]
Message-ID: <DA65F53A-B0EC-4853-A8FB-E0F689D5BA89@rna.nl> (raw)
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
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2011-11-13 11:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-13 11:23 Gerben Wierda [this message]
2011-11-13 11:40 ` Wolfgang Schuster
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=DA65F53A-B0EC-4853-A8FB-E0F689D5BA89@rna.nl \
--to=gerben.wierda@rna.nl \
--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).