Hi all,

I'm currently playing with context columns / columnsets and several 
fonts. I've come across a strange problem with columnsets when using 
certain fonts.

I first noticed it when I tried to use one of the Windows TTF fonts, 
Times New Roman. That's the one I've mainly used in the past with Latex.
I've been through all the steps described in the wiki, the practex 
2005/2 issue or Bill McClain's context/pdftex beginner's page to embed 
TTF into context.

The problem I encountered was that typesetting with some fonts goes 
terribly berserk when switching between \tf and \it and back.
I thought this was just 'me' because I don't know much about context 
yet, and integrating ttf is complicated.

So I looked at
http://www.fiee.net/texnique/?menu=0-1-4
(it was mentioned in January in the 'Problems installing Gentium TTF' 
thread) which has some font definitions for context. I tested all of 
them and guess what, one of them shows the same problem.
It's the phosphorus font, which I used to cook up a minimal example, 
just that anybody can test it without my own local font definitions, 
which may be wrong anyway.

So here's my questions regarding this phenomenon.

1) Is it a problem with the font being used?
(In this case there's probably no workaround and certain fonts simply 
can't be used).

2) Is it a problem with the font/typescript definition files? If so, how 
can it be fixed?
(This would be my favourite, it would mean it can be fixed locally, 
althogh this also means I made a mistake somewhere :-))

3) Is it a problem within the context columnset?
(This I wouldn't like much since I couldn't fix it myself...)

It would be nice if one of the wizards could look into this, because it 
puzzles me no end...

I'm using miktex on windows xp sp2. For version information, the log 
file says:

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
ConTeXt  ver: 2006.04.24 23:37  fmt: 2006.5.16
TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006


Find the minimal example below.


Thanks...

Michael



% start of example
% interface=en output=pdftex
\mainlanguage[en]

% to test, download&install the phosphorus font from
% http://www.fiee.net/texnique/?menu=0-1-4
% without these five lines all three chapters
% work with the default font setup
\setupencoding[default=qx]
\usetypescriptfile[type-apostrophe-phosphorus]
\usetypescript[fiee][apostrophe-phosphorus]
\setupbodyfont[apostrophe-phosphorus, rm, 12pt]
\setupbodyfontenvironment[default][em=italic]

\setuptolerance[verytolerant]
\pretolerance9999
\tolerance9999

\setuplayout[width=17cm]
\setuplayout[margin=0cm]
\setuplayout[backspace=2.4cm]
\setuplayout[headerdistance=5pt]
\setuplayout[header=17pt]
\setuplayout[footerdistance=5pt]
\setuplayout[footer=17pt]
\setuplayout[location=doublesided]

\definecolumnset[test][n=3,distance=15pt,balance=yes]

\starttext

\showgrid

%typesetting ok when using columns, \it and \tf
\moveongrid[both]
\startlinecorrection
\chapter{test}
\stoplinecorrection

\startcolumns[n=3,distance=15pt,balance=no]
\dorecurse{10}{\tf \input knuth \par \it \input tufte \par}
\stopcolumns
\page


%typesetting ok when using columnset and not \it + \tf
\moveongrid[both]
\startlinecorrection
\chapter{test}
\stoplinecorrection

\startcolumnset[test]
\dorecurse{10}{\tf \input knuth \par \input tufte \par}
\stopcolumnset\page


%typesetting terribly wrong when using columnset, \it and \tf
\moveongrid[both]
\startlinecorrection
\chapter{test}
\stoplinecorrection

\startcolumnset[test]
\dorecurse{10}{\tf \input knuth \par \it \input tufte \par}
\stopcolumnset

\stoptext
% stop of example
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to