ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>
To: ntg-context@ntg.nl
Subject: Context Typescript Maker tool
Date: Mon, 26 Oct 2009 20:06:15 +0200	[thread overview]
Message-ID: <4AE5E517.3090001@gmail.com> (raw)
In-Reply-To: <mailman.1.1256554802.31978.ntg-context@ntg.nl>

Hi all, I just developed a GUI tool called "Context Typescript Maker".

It's purpose is to simplify font setup under Windows.

1) Point to folder with fonts (ttf, otf);

2) Specify typescript name;

3) Specify which font from the list will stand for Serif, which for 
SerifBold, and so on (select values from dropdown list);

4) Press "Create Typescript" and copy-paste the code into the preamble 
of your document. That's all!

Example of code created:

\starttypescript [serif] [TimesTenLTStd]
\definefontsynonym [SerifBold] [TimesTenLTStd-Bold.otf] [features=default]
\definefontsynonym [SerifBoldItalic] [TimesTenLTStd-BoldItalic.otf] 
[features=default]
\definefontsynonym [SerifItalic] [TimesTenLTStd-Italic.otf] 
[features=default]
\definefontsynonym [Serif] [TimesTenLTStd-Roman.otf] [features=default]
\stoptypescript

\starttypescript [TimesTenLTStd]
\definetypeface [TimesTenLTStd] [rm] [serif] [TimesTenLTStd] [default]
\stoptypescript

\usetypescript[TimesTenLTStd]\setupbodyfont[TimesTenLTStd, 11pt]

The tools is written mostly by my own purposes (I often like to play 
with new fonts, and script preparation in this case is really boring). 
But I share it with a community and will be glad to improve it on 
requests. Any feedback (good/bad) is appreciated!

P.S. Almost forgot. The download link:
http://rapidshare.com/files/298247342/ContextTypescriptMaker.zip

Regards,
Vyatcheslav


___________________________________________________________________________________
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
___________________________________________________________________________________


           reply	other threads:[~2009-10-26 18:06 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <mailman.1.1256554802.31978.ntg-context@ntg.nl>]

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=4AE5E517.3090001@gmail.com \
    --to=yatskovsky@gmail.com \
    --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).