* Margin Kerning Problem
@ 2006-07-23 13:54 Helin Gai
2006-07-23 14:40 ` Alan Bowen
2006-07-23 15:02 ` Mojca Miklavec
0 siblings, 2 replies; 13+ messages in thread
From: Helin Gai @ 2006-07-23 13:54 UTC (permalink / raw)
Hi,
I used the following code to set up margin kerning:
\setupfontsynonym[cmr10][handling=hz]
\setupfontsynonym[Serif][handling=hz]
\usetypescript[cmr]
\setupbodyfont[cmr,10pt]
\setupalign[hz,hanging]
Can someone please tell me what is going wrong?
Thanks!!
Colin
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Margin Kerning Problem
2006-07-23 13:54 Margin Kerning Problem Helin Gai
@ 2006-07-23 14:40 ` Alan Bowen
2006-07-23 14:43 ` Helin Gai
2006-07-23 15:02 ` Mojca Miklavec
1 sibling, 1 reply; 13+ messages in thread
From: Alan Bowen @ 2006-07-23 14:40 UTC (permalink / raw)
Colin—
I think \setupalign has to come before \setupbodyfont is defined. Try
\setupalign[hz,hanging]
\usetypescript[cmr]
\setupfontsynonym[cmr10][handling=hz]
\setupfontsynonym[Serif][handling=hz]
\setupbodyfont[cmr,10pt]
Alan
On Jul 23, 2006, at 9:54 AM, Helin Gai wrote:
> Hi,
>
> I used the following code to set up margin kerning:
>
> \setupfontsynonym[cmr10][handling=hz]
> \setupfontsynonym[Serif][handling=hz]
> \usetypescript[cmr]
> \setupbodyfont[cmr,10pt]
> \setupalign[hz,hanging]
>
> Can someone please tell me what is going wrong?
> Thanks!!
>
> Colin
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Margin Kerning Problem
2006-07-23 14:40 ` Alan Bowen
@ 2006-07-23 14:43 ` Helin Gai
2006-07-23 15:39 ` Alan Bowen
0 siblings, 1 reply; 13+ messages in thread
From: Helin Gai @ 2006-07-23 14:43 UTC (permalink / raw)
Hi Alan,
Thanks for the reply. But it doesn't seem to work either.
Colin
On Jul 23, 2006, at 10:40 PM, Alan Bowen wrote:
> Colin—
>
> I think \setupalign has to come before \setupbodyfont is defined. Try
>
> \setupalign[hz,hanging]
>
> \usetypescript[cmr]
>
> \setupfontsynonym[cmr10][handling=hz]
>
> \setupfontsynonym[Serif][handling=hz]
>
> \setupbodyfont[cmr,10pt]
>
> Alan
>
>
> On Jul 23, 2006, at 9:54 AM, Helin Gai wrote:
>
>> Hi,
>>
>> I used the following code to set up margin kerning:
>>
>> \setupfontsynonym[cmr10][handling=hz]
>> \setupfontsynonym[Serif][handling=hz]
>> \usetypescript[cmr]
>> \setupbodyfont[cmr,10pt]
>> \setupalign[hz,hanging]
>>
>> Can someone please tell me what is going wrong?
>> Thanks!!
>>
>> Colin
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Margin Kerning Problem
2006-07-23 13:54 Margin Kerning Problem Helin Gai
2006-07-23 14:40 ` Alan Bowen
@ 2006-07-23 15:02 ` Mojca Miklavec
2006-07-24 9:35 ` Hans Hagen
1 sibling, 1 reply; 13+ messages in thread
From: Mojca Miklavec @ 2006-07-23 15:02 UTC (permalink / raw)
On 7/23/06, Helin Gai wrote:
> Hi,
>
> I used the following code to set up margin kerning:
>
> \setupfontsynonym[cmr10][handling=hz]
> \setupfontsynonym[Serif][handling=hz]
> \usetypescript[cmr]
> \setupbodyfont[cmr,10pt]
> \setupalign[hz,hanging]
>
> Can someone please tell me what is going wrong?
> Thanks!!
Does the recipe on
http://wiki.contextgarden.net/Protrusion#Use_with_Latin_Modern help
you?
Mojca
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Margin Kerning Problem
2006-07-23 14:43 ` Helin Gai
@ 2006-07-23 15:39 ` Alan Bowen
0 siblings, 0 replies; 13+ messages in thread
From: Alan Bowen @ 2006-07-23 15:39 UTC (permalink / raw)
Colin—
Sorry: what I indicated would work for any font but Latin/Computer
Modern.
This works at my end.
\enableregime[mac]
\mainlanguage[en]
%%%% Margin Kerning and Font Expansion
\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
\setupfootnotes[align={hz,hanging}]
%%%% Default Encoding
\setupencoding[default=texnansi]
% install Latin Modern
% install margin kerning before the font is loaded: since Latin is
% loaded before font definitions, load it again
\starttypescript[serif][default][size]
\definebodyfont[9.5pt,10.5pt][rm][default]
\definebodyfont[9.5pt,10.5pt][mm][default]
\stoptypescript
On Jul 23, 2006, at 10:43 AM, Helin Gai wrote:
> Hi Alan,
>
> Thanks for the reply. But it doesn't seem to work either.
>
> Colin
>
> On Jul 23, 2006, at 10:40 PM, Alan Bowen wrote:
>
>> Colin—
>>
>> I think \setupalign has to come before \setupbodyfont is defined. Try
>>
>> \setupalign[hz,hanging]
>>
>> \usetypescript[cmr]
>>
>> \setupfontsynonym[cmr10][handling=hz]
>>
>> \setupfontsynonym[Serif][handling=hz]
>>
>> \setupbodyfont[cmr,10pt]
>>
>> Alan
>>
>>
>> On Jul 23, 2006, at 9:54 AM, Helin Gai wrote:
>>
>>> Hi,
>>>
>>> I used the following code to set up margin kerning:
>>>
>>> \setupfontsynonym[cmr10][handling=hz]
>>> \setupfontsynonym[Serif][handling=hz]
>>> \usetypescript[cmr]
>>> \setupbodyfont[cmr,10pt]
>>> \setupalign[hz,hanging]
>>>
>>> Can someone please tell me what is going wrong?
>>> Thanks!!
>>>
>>> Colin
>>> _______________________________________________
>>> ntg-context mailing list
>>> ntg-context@ntg.nl
>>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Margin Kerning Problem
2006-07-23 15:02 ` Mojca Miklavec
@ 2006-07-24 9:35 ` Hans Hagen
0 siblings, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2006-07-24 9:35 UTC (permalink / raw)
Mojca Miklavec wrote:
> On 7/23/06, Helin Gai wrote:
>
>> Hi,
>>
>> I used the following code to set up margin kerning:
>>
>> \setupfontsynonym[cmr10][handling=hz]
>> \setupfontsynonym[Serif][handling=hz]
>> \usetypescript[cmr]
>> \setupbodyfont[cmr,10pt]
>> \setupalign[hz,hanging]
>>
>> Can someone please tell me what is going wrong?
>> Thanks!!
>>
>
> Does the recipe on
> http://wiki.contextgarden.net/Protrusion#Use_with_Latin_Modern help
> you?
>
because of tex's global font attribute assignments and font resource optimizations, one cannot add features after a font has been defined; so, in you rcase, the cmr fonts have already be defined
try the wiki recipe instead:
- tell what handlings to use which what style
- then define the typeface
- then invoke it
\setupalign is independent of this and can be applied afterwards when needed
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: margin kerning problem
2005-10-26 6:21 ` Taco Hoekwater
@ 2005-10-26 22:33 ` David Wooten
0 siblings, 0 replies; 13+ messages in thread
From: David Wooten @ 2005-10-26 22:33 UTC (permalink / raw)
Ah! My mistake. I have a defineparagraph in my bibliography which
needed the align={hz,hanging} declared. Thanks.
David
On Oct 25, 2005, at 11:21 PM, Taco Hoekwater wrote:
> David Wooten wrote:
>
>> Greetings all,
>> On a related note, is there a similar (or dissimilar for that
>> matter) solution to margin kerning with the bib-module?
>
> I wasn't even aware that there is a problem. The module uses a rather
> straightforward list, so if hanging works for the TOC, it should work
> for the bib module. And if not, then both should require the same fix.
>
> Taco
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: margin kerning problem
2005-10-26 1:23 ` David Wooten
@ 2005-10-26 6:21 ` Taco Hoekwater
2005-10-26 22:33 ` David Wooten
0 siblings, 1 reply; 13+ messages in thread
From: Taco Hoekwater @ 2005-10-26 6:21 UTC (permalink / raw)
David Wooten wrote:
> Greetings all,
>
> On a related note, is there a similar (or dissimilar for that matter)
> solution to margin kerning with the bib-module?
I wasn't even aware that there is a problem. The module uses a rather
straightforward list, so if hanging works for the TOC, it should work
for the bib module. And if not, then both should require the same fix.
Taco
> David
>
> On Oct 25, 2005, at 10:04 AM, Hans Hagen Test wrote:
>
>> Alan Bowen wrote:
>>
>>> To answer my own question:
>>> To get margin kerning in the footnotes/endnotes as well as in the
>>> body text, put
>>> \usetypescript[serif,sans,mono,mm][hanging][normal]
>>> \setupalign[hz,hanging]
>>> \setupfootnotes[align={hz,hanging}]
>>> before the fonts are installed.
>>
>>
>> indeed; this has to do with the fact that pdftex (tex) has some nasty
>> global font assignments and optimizations hard coded
>>
>> Hans
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: margin kerning problem
2005-10-25 17:04 ` Hans Hagen Test
@ 2005-10-26 1:23 ` David Wooten
2005-10-26 6:21 ` Taco Hoekwater
0 siblings, 1 reply; 13+ messages in thread
From: David Wooten @ 2005-10-26 1:23 UTC (permalink / raw)
Greetings all,
On a related note, is there a similar (or dissimilar for that matter)
solution to margin kerning with the bib-module?
David
On Oct 25, 2005, at 10:04 AM, Hans Hagen Test wrote:
> Alan Bowen wrote:
>
>> To answer my own question:
>> To get margin kerning in the footnotes/endnotes as well as in the
>> body text, put
>> \usetypescript[serif,sans,mono,mm][hanging][normal]
>> \setupalign[hz,hanging]
>> \setupfootnotes[align={hz,hanging}]
>> before the fonts are installed.
>
> indeed; this has to do with the fact that pdftex (tex) has some
> nasty global font assignments and optimizations hard coded
>
> Hans
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: margin kerning problem
2005-10-25 14:50 ` Alan Bowen
@ 2005-10-25 17:04 ` Hans Hagen Test
2005-10-26 1:23 ` David Wooten
0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen Test @ 2005-10-25 17:04 UTC (permalink / raw)
Alan Bowen wrote:
> To answer my own question:
> To get margin kerning in the footnotes/endnotes as well as in the
> body text, put
> \usetypescript[serif,sans,mono,mm][hanging][normal]
> \setupalign[hz,hanging]
> \setupfootnotes[align={hz,hanging}]
> before the fonts are installed.
indeed; this has to do with the fact that pdftex (tex) has some nasty
global font assignments and optimizations hard coded
Hans
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: margin kerning problem
2005-10-21 20:29 margin kerning problem Alan Bowen
@ 2005-10-25 14:50 ` Alan Bowen
2005-10-25 17:04 ` Hans Hagen Test
0 siblings, 1 reply; 13+ messages in thread
From: Alan Bowen @ 2005-10-25 14:50 UTC (permalink / raw)
To answer my own question:
To get margin kerning in the footnotes/endnotes as well as in the
body text, put
\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
\setupfootnotes[align={hz,hanging}]
before the fonts are installed.
Cheers, A.
On Oct 21, 2005, at 4:29 PM, Alan Bowen wrote:
> Sorry for the flurry of questions. But here’s one about margin
> kerning now.
>
> I see that by using
> \usetypescript[serif,sans,mono,mm][hanging][normal]
> \setupalign[hz,hanging]
> I can get margin kerning in the body text, but not in any footnotes/
> endnotes. What else is needed to get margin kerning throughout the
> notes too?
>
> As ever, any advice will be gratefully received.
>
> Alan
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* margin kerning problem
@ 2005-10-21 20:29 Alan Bowen
2005-10-25 14:50 ` Alan Bowen
0 siblings, 1 reply; 13+ messages in thread
From: Alan Bowen @ 2005-10-21 20:29 UTC (permalink / raw)
Sorry for the flurry of questions. But here’s one about margin
kerning now.
I see that by using
\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
I can get margin kerning in the body text, but not in any footnotes/
endnotes. What else is needed to get margin kerning throughout the
notes too?
As ever, any advice will be gratefully received.
Alan
^ permalink raw reply [flat|nested] 13+ messages in thread
* margin kerning problem
@ 2005-10-21 20:04 Alan C. Bowen
0 siblings, 0 replies; 13+ messages in thread
From: Alan C. Bowen @ 2005-10-21 20:04 UTC (permalink / raw)
Sorry for the flurry of questions. But here’s one about margin
kerning now.
I see that by using
\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
I can get margin kerning in the body text, but not in any footnotes/
endnotes. What else is needed to get margin kerning throughout the
notes too?
As ever, any advice will be gratefully received.
Alan
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-07-24 9:35 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-23 13:54 Margin Kerning Problem Helin Gai
2006-07-23 14:40 ` Alan Bowen
2006-07-23 14:43 ` Helin Gai
2006-07-23 15:39 ` Alan Bowen
2006-07-23 15:02 ` Mojca Miklavec
2006-07-24 9:35 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2005-10-21 20:29 margin kerning problem Alan Bowen
2005-10-25 14:50 ` Alan Bowen
2005-10-25 17:04 ` Hans Hagen Test
2005-10-26 1:23 ` David Wooten
2005-10-26 6:21 ` Taco Hoekwater
2005-10-26 22:33 ` David Wooten
2005-10-21 20:04 Alan C. Bowen
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).