ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tracking?
@ 2009-02-06 14:21 Yue Wang
  2009-02-06 18:28 ` Tracking? Hans Hagen
  0 siblings, 1 reply; 18+ messages in thread
From: Yue Wang @ 2009-02-06 14:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

In macrotype (a latex package which uses pdftex extension), I can use
tracking when I want to assign a small caps font.
How can I do that in ConTeXt?

Thanks.

Yue Wang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-06 14:21 Tracking? Yue Wang
@ 2009-02-06 18:28 ` Hans Hagen
  2009-02-06 18:35   ` Tracking? Wolfgang Schuster
  0 siblings, 1 reply; 18+ messages in thread
From: Hans Hagen @ 2009-02-06 18:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Yue Wang wrote:
> Hi,
> 
> In macrotype (a latex package which uses pdftex extension), I can use
> tracking when I want to assign a small caps font.
> How can I do that in ConTeXt?

i have no clue what you mean with tracking



-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-06 18:28 ` Tracking? Hans Hagen
@ 2009-02-06 18:35   ` Wolfgang Schuster
  2009-02-07  2:29     ` Tracking? Yue Wang
  0 siblings, 1 reply; 18+ messages in thread
From: Wolfgang Schuster @ 2009-02-06 18:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 06.02.2009 um 19:28 schrieb Hans Hagen:

> Yue Wang wrote:
>> Hi,
>> In macrotype (a latex package which uses pdftex extension), I can use
>> tracking when I want to assign a small caps font.
>> How can I do that in ConTeXt?
>
> i have no clue what you mean with tracking

He means the letterspacing feature from pdfTeX.

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-06 18:35   ` Tracking? Wolfgang Schuster
@ 2009-02-07  2:29     ` Yue Wang
  2009-02-07  8:31       ` Tracking? Wolfgang Schuster
  2009-02-07 13:15       ` Tracking? Hans Hagen
  0 siblings, 2 replies; 18+ messages in thread
From: Yue Wang @ 2009-02-07  2:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

>> i have no clue what you mean with tracking
>
> He means the letterspacing feature from pdfTeX.


Wolfgang is right. And are there such higher level macros in ConTeXt?
Thanks!

Yue Wang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-07  2:29     ` Tracking? Yue Wang
@ 2009-02-07  8:31       ` Wolfgang Schuster
  2009-02-07 13:15       ` Tracking? Hans Hagen
  1 sibling, 0 replies; 18+ messages in thread
From: Wolfgang Schuster @ 2009-02-07  8:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.02.2009 um 03:29 schrieb Yue Wang:

>>> i have no clue what you mean with tracking
>>
>> He means the letterspacing feature from pdfTeX.
>
> Wolfgang is right. And are there such higher level macros in ConTeXt?

In MkII it is integrated in the font handling mechanism
like protrusion and hz. To stretch words or short sentences
the \stretched command could be used.

In MkIV you can use \setcharacterkerning, you can use it like
the \lsseries command.

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-07  2:29     ` Tracking? Yue Wang
  2009-02-07  8:31       ` Tracking? Wolfgang Schuster
@ 2009-02-07 13:15       ` Hans Hagen
  2009-02-07 14:01         ` Tracking? Yue Wang
  1 sibling, 1 reply; 18+ messages in thread
From: Hans Hagen @ 2009-02-07 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Yue Wang wrote:
> Hi,
> 
>>> i have no clue what you mean with tracking
>> He means the letterspacing feature from pdfTeX.
> 
> 
> Wolfgang is right. And are there such higher level macros in ConTeXt?
> Thanks!

it's organized as 'font handlers' an in mkiv as feature

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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-07 13:15       ` Tracking? Hans Hagen
@ 2009-02-07 14:01         ` Yue Wang
  2009-02-07 17:11           ` Tracking? Hans Hagen
  0 siblings, 1 reply; 18+ messages in thread
From: Yue Wang @ 2009-02-07 14:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi:

> it's organized as 'font handlers' an in mkiv as feature

i get it, Thanks a lot, Hans and Wolfgang!

and... what's the name of that feature?

Yue Wang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-07 14:01         ` Tracking? Yue Wang
@ 2009-02-07 17:11           ` Hans Hagen
  2009-02-07 19:07             ` Tracking? Wolfgang Schuster
  2009-02-08  3:47             ` Tracking? Yue Wang
  0 siblings, 2 replies; 18+ messages in thread
From: Hans Hagen @ 2009-02-07 17:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Yue Wang wrote:
> Hi:
> 
>> it's organized as 'font handlers' an in mkiv as feature
> 
> i get it, Thanks a lot, Hans and Wolfgang!
> 
> and... what's the name of that feature?

protrusion
expansion


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-07 17:11           ` Tracking? Hans Hagen
@ 2009-02-07 19:07             ` Wolfgang Schuster
  2009-02-08  3:48               ` Tracking? Yue Wang
  2009-02-08  3:47             ` Tracking? Yue Wang
  1 sibling, 1 reply; 18+ messages in thread
From: Wolfgang Schuster @ 2009-02-07 19:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans Hagen schrieb:
> Yue Wang wrote:
>> Hi:
>>
>>> it's organized as 'font handlers' an in mkiv as feature
>>
>> i get it, Thanks a lot, Hans and Wolfgang!
>>
>> and... what's the name of that feature?
> 
> protrusion
> expansion

And how do you do this with your two above features.

\starttext

Thus, I came to the conclusion that the designer of a new system
must not only be  the implementer and first large||scale user; the
designer should also write the first  user manual.

\setcharacterkerning[extrakerning]

Thus, I came to the conclusion that the designer of a new system
must not only be  the implementer and first large||scale user; the
designer should also write the first  user manual.

\stoptext

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-07 17:11           ` Tracking? Hans Hagen
  2009-02-07 19:07             ` Tracking? Wolfgang Schuster
@ 2009-02-08  3:47             ` Yue Wang
  1 sibling, 0 replies; 18+ messages in thread
From: Yue Wang @ 2009-02-08  3:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> protrusion
> expansion
>
@@
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-07 19:07             ` Tracking? Wolfgang Schuster
@ 2009-02-08  3:48               ` Yue Wang
  2009-02-08  9:45                 ` Tracking? Wolfgang Schuster
  2009-02-08 11:05                 ` Tracking? Hans Hagen
  0 siblings, 2 replies; 18+ messages in thread
From: Yue Wang @ 2009-02-08  3:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi, Wolfgang:

>
> \starttext
>
> Thus, I came to the conclusion that the designer of a new system
> must not only be  the implementer and first large||scale user; the
> designer should also write the first  user manual.
>
> \setcharacterkerning[extrakerning]
>
> Thus, I came to the conclusion that the designer of a new system
> must not only be  the implementer and first large||scale user; the
> designer should also write the first  user manual.
>
> \stoptext
>

The code doesn't work here. MKII report that set characterkerning is
not defined.
MKIV report this:
>texmfstart texexec --autopdf --pdf test.tex
TeXExec | processing document 'test.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 1302
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
This is luaTeX, Version snapshot-0.31.3-2008122922
(test.tex

ConTeXt  ver: 2009.01.18 14:39 MKIV  fmt: 2009.2.8  int: english/english

system         : cont-new loaded
(C:/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
(C:/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system         : cont-fil loaded
(C:/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys.rme loaded
(C:/context/tex/texmf-context/tex/context/user/cont-sys.rme
(C:/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(C:/context/tex/texmf-context/tex/context/base/type-siz.tex)
(C:/context/tex/texmf-context/tex/context/base/type-otf.tex))
bodyfont       : 12pt rm is loaded
specials       : pdftex loaded
language       : language en is active
system         : test.top loaded
(test.top) (test.tuo) (test.tuo)
systems        : begin file test at line 2
(C:/context/tex/texmf-context/tex/context/sample/zapf.tex)
(C:/context/tex/texmf-context/tex/context/sample/zapf.tex)
fonts          : resetting map file list
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts          : using map file: original-base
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts          : using map file: lm-math
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts          : using map file: lm-rm
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts          : using map file: original-ams-base
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts          : using map file: original-ams-euler
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts          : using map file: original-public-lm
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
[1.1]For node p:=0, 1==0 (l.1195,r.1)

! This can't happen (dotest).
\actualshipout ... \box \postponedcontent \box 0}}
                                                  \else \message {[\ifarrang...
\myshipout ... \fi {\thisisrealpage \realfolio #1}
                                                  \gotonextrealpage \aftersh...
\dofinaloutput ...agebody #1#2\setpagecounters }}}
                                                  \fi \the \everyaftershipou...
\finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
                                                  \resetselectiepagina \incr...
\sidefloatoutput ...e \else \finalsidefloatoutput
                                                  \global \sidefloatvsize \n...
<argument> ...\fi \else \the \defaultstreamoutput
                                                  \fi
...
l.6 \stoptext

!  ==> Fatal error occurred, no output PDF file produced!
LuaTools | running command: luatex
--fmt="C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en"
--lua="C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en.luc"
"test.tex" ""
LuaTools |
LuaTools | runtime: 2.156 seconds
TeXUtil | parsing file test.tui
TeXUtil | check loading of file 'test', begin/end problem
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 2
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 2.344
>Exit code: 0

Yue Wang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-08  3:48               ` Tracking? Yue Wang
@ 2009-02-08  9:45                 ` Wolfgang Schuster
  2009-02-08 15:49                   ` Tracking? Yue Wang
  2009-02-08 11:05                 ` Tracking? Hans Hagen
  1 sibling, 1 reply; 18+ messages in thread
From: Wolfgang Schuster @ 2009-02-08  9:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Yue Wang schrieb:

>> \starttext
>>
>> Thus, I came to the conclusion that the designer of a new system
>> must not only be  the implementer and first large||scale user; the
>> designer should also write the first  user manual.
>>
>> \setcharacterkerning[extrakerning]
>>
>> Thus, I came to the conclusion that the designer of a new system
>> must not only be  the implementer and first large||scale user; the
>> designer should also write the first  user manual.
>>
>> \stoptext
>>
> 
> The code doesn't work here. MKII report that set characterkerning is
> not defined.

I told this in my other mail.

> ConTeXt  ver: 2009.01.18 14:39 MKIV  fmt: 2009.2.8  int: english/english

ConTeXt  ver: 2009.02.04 11:53 MKIV  fmt: 2009.2.5  int: english/english

This is luaTeX, Version snapshot-0.33.1

But I get the same error message when I one of ConTeXt example files,
e.g. "\setcharacterkerning[extrakerning]\input knuth "

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-08  3:48               ` Tracking? Yue Wang
  2009-02-08  9:45                 ` Tracking? Wolfgang Schuster
@ 2009-02-08 11:05                 ` Hans Hagen
  1 sibling, 0 replies; 18+ messages in thread
From: Hans Hagen @ 2009-02-08 11:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Yue Wang wrote:
> Hi, Wolfgang:
> 
>> \starttext
>>
>> Thus, I came to the conclusion that the designer of a new system
>> must not only be  the implementer and first large||scale user; the
>> designer should also write the first  user manual.
>>
>> \setcharacterkerning[extrakerning]
>>
>> Thus, I came to the conclusion that the designer of a new system
>> must not only be  the implementer and first large||scale user; the
>> designer should also write the first  user manual.
>>
>> \stoptext
>>
> 
> The code doesn't work here. MKII report that set characterkerning is
> not defined.
> MKIV report this:

works ok here (although i noticed that i had to improve disc node 
treatment which i did; will be in next beta)

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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-08  9:45                 ` Tracking? Wolfgang Schuster
@ 2009-02-08 15:49                   ` Yue Wang
  2009-02-08 16:15                     ` Tracking? Wolfgang Schuster
  0 siblings, 1 reply; 18+ messages in thread
From: Yue Wang @ 2009-02-08 15:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,


> I told this in my other mail.

You said that I can use something like \stretched{LETTER}.
How can I automatically adjust the spacing? (like add 0.25em space
between each characters).

>
>> ConTeXt  ver: 2009.01.18 14:39 MKIV  fmt: 2009.2.8  int: english/english
>
> ConTeXt  ver: 2009.02.04 11:53 MKIV  fmt: 2009.2.5  int: english/english
>
> This is luaTeX, Version snapshot-0.33.1
>
> But I get the same error message when I one of ConTeXt example files,
> e.g. "\setcharacterkerning[extrakerning]\input knuth "
>

Yes, I test the document with "knuth"

Yue Wang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-08 15:49                   ` Tracking? Yue Wang
@ 2009-02-08 16:15                     ` Wolfgang Schuster
  2009-02-08 16:52                       ` Tracking? Wolfgang Schuster
  0 siblings, 1 reply; 18+ messages in thread
From: Wolfgang Schuster @ 2009-02-08 16:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Yue Wang schrieb:

> You said that I can use something like \stretched{LETTER}.
> How can I automatically adjust the spacing? (like add 0.25em space
> between each characters).

The correct command \strechednormalcase, not \stretched.

You can set the kerning between chars with \stretchedspaceamount
and the space between words with \stretchedspacefactor.

\def\stretchedspacefactor{4}     % default value
\def\stretchedspaceamount{.25em} % default value

\starttext

This is a normal kerned sentence.

\stretchednormalcase{This is a special kerned sentence.}

\stoptext

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-08 16:15                     ` Tracking? Wolfgang Schuster
@ 2009-02-08 16:52                       ` Wolfgang Schuster
  2009-02-08 17:24                         ` Tracking? Wolfgang Schuster
  0 siblings, 1 reply; 18+ messages in thread
From: Wolfgang Schuster @ 2009-02-08 16:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster schrieb:
> Yue Wang schrieb:
> 
>> You said that I can use something like \stretched{LETTER}.
>> How can I automatically adjust the spacing? (like add 0.25em space
>> between each characters).
> 
> The correct command \strechednormalcase, not \stretched.
> 
> You can set the kerning between chars with \stretchedspaceamount
> and the space between words with \stretchedspacefactor.
> 
> \def\stretchedspacefactor{4}     % default value
> \def\stretchedspaceamount{.25em} % default value
> 
> \starttext
> 
> This is a normal kerned sentence.
> 
> \stretchednormalcase{This is a special kerned sentence.}
> 
> \stoptext

Another solution for pdfTeX is to use \knbccode and \knaccode.

\starttext

\input knuth

\pdfappendkern=1

\knbccode\font`a=125 \knaccode\font`a=125
\knbccode\font`b=125 \knaccode\font`b=125
\knbccode\font`c=125 \knaccode\font`c=125
\knbccode\font`d=125 \knaccode\font`d=125
\knbccode\font`e=125 \knaccode\font`e=125
\knbccode\font`f=125 \knaccode\font`f=125
\knbccode\font`g=125 \knaccode\font`g=125
\knbccode\font`h=125 \knaccode\font`h=125
\knbccode\font`i=125 \knaccode\font`i=125
\knbccode\font`j=125 \knaccode\font`j=125
\knbccode\font`k=125 \knaccode\font`k=125
\knbccode\font`l=125 \knaccode\font`l=125
\knbccode\font`m=125 \knaccode\font`m=125
\knbccode\font`n=125 \knaccode\font`n=125
\knbccode\font`o=125 \knaccode\font`o=125
\knbccode\font`p=125 \knaccode\font`p=125
\knbccode\font`q=125 \knaccode\font`q=125
\knbccode\font`r=125 \knaccode\font`r=125
\knbccode\font`s=125 \knaccode\font`s=125
\knbccode\font`t=125 \knaccode\font`t=125
\knbccode\font`u=125 \knaccode\font`u=125
\knbccode\font`v=125 \knaccode\font`v=125
\knbccode\font`w=125 \knaccode\font`w=125
\knbccode\font`x=125 \knaccode\font`x=125
\knbccode\font`y=125 \knaccode\font`y=125
\knbccode\font`z=125 \knaccode\font`z=125

\input knuth

\stoptext

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-08 16:52                       ` Tracking? Wolfgang Schuster
@ 2009-02-08 17:24                         ` Wolfgang Schuster
  2009-02-09  2:42                           ` Tracking? Yue Wang
  0 siblings, 1 reply; 18+ messages in thread
From: Wolfgang Schuster @ 2009-02-08 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster schrieb:

> Another solution for pdfTeX is to use \knbccode and \knaccode.
> 
> \pdfappendkern=1
> 
> \knbccode\font`a=125 \knaccode\font`a=125
 > ...

A shorter version is:

\dostepwiserecurse{65}{122}{1}
   {\knbccode\font#1=125 \knaccode\font#1=125 }

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Tracking?
  2009-02-08 17:24                         ` Tracking? Wolfgang Schuster
@ 2009-02-09  2:42                           ` Yue Wang
  0 siblings, 0 replies; 18+ messages in thread
From: Yue Wang @ 2009-02-09  2:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi

On Mon, Feb 9, 2009 at 1:24 AM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> Wolfgang Schuster schrieb:
>
>> Another solution for pdfTeX is to use \knbccode and \knaccode.
>>
>> \pdfappendkern=1
>>
>> \knbccode\font`a=125 \knaccode\font`a=125
>
>> ...
>
> A shorter version is:
>
> \dostepwiserecurse{65}{122}{1}
>  {\knbccode\font#1=125 \knaccode\font#1=125 }
>
Works, Thanks a lot for this!

Yue Wang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-02-09  2:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-06 14:21 Tracking? Yue Wang
2009-02-06 18:28 ` Tracking? Hans Hagen
2009-02-06 18:35   ` Tracking? Wolfgang Schuster
2009-02-07  2:29     ` Tracking? Yue Wang
2009-02-07  8:31       ` Tracking? Wolfgang Schuster
2009-02-07 13:15       ` Tracking? Hans Hagen
2009-02-07 14:01         ` Tracking? Yue Wang
2009-02-07 17:11           ` Tracking? Hans Hagen
2009-02-07 19:07             ` Tracking? Wolfgang Schuster
2009-02-08  3:48               ` Tracking? Yue Wang
2009-02-08  9:45                 ` Tracking? Wolfgang Schuster
2009-02-08 15:49                   ` Tracking? Yue Wang
2009-02-08 16:15                     ` Tracking? Wolfgang Schuster
2009-02-08 16:52                       ` Tracking? Wolfgang Schuster
2009-02-08 17:24                         ` Tracking? Wolfgang Schuster
2009-02-09  2:42                           ` Tracking? Yue Wang
2009-02-08 11:05                 ` Tracking? Hans Hagen
2009-02-08  3:47             ` Tracking? Yue Wang

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).