Am 22.09.2012 um 14:06 schrieb Philipp Gesang :
> \dosetupstrut is undefined in mkiv. Hence in typo-mar.mkiv, line
> 246:
>
> - \dosetupstrut[\currentmargindatastrut]%
> + \setupstrut[\currentmargindatastrut]%
Faster alternative for internal use:
\s
\dosetupstrut is undefined in mkiv. Hence in typo-mar.mkiv, line
246:
- \dosetupstrut[\currentmargindatastrut]%
+ \setupstrut[\currentmargindatastrut]%
Test document:
···
\starttext
\setupmargindata
est wishes, Peter
\starttext
\startbuffer[FOO]
%\startlocal
\defineparagraphs[SomePar][n=2]%,rule=on]%
%\setupparagraphs [SomePar][1][width=.5\hsize]%
%\setupparagraphs [SomePar][2][width=.4\hsize]%
%\CalloutFont\setupstrut\setupinterlinespace % right font must be set
%\setupwhitespace[small]%
\s
use the values for the lineheight from Latin modern and
> MkIV use the values from Tahoma.
>
> \usetypescriptfile[type-microsoft-tahoma]
>
> \usetypescript[tahoma]
> \setupbodyfont[10pt]
>
> \starttext
>
> \the\dimexpr1ex\relax
>
> \switchtobodyfont[tahoma,10
ight). Same
> example with Tahoma and things go the wrong way.
The output for Tahoma in MkIV is correct but it is different from MkIV
because MkII use the values for the lineheight from Latin modern and
MkIV use the values from Tahoma.
\usetypescriptfile[type-microsoft-t
setuppublications[options]
\setupquote[options]
\setupreferencelist[names][options]
\setupreferencing[options]
\setupregister[singular][name][options]
\setuprotate[options]
\setuprule[name][options]
# \setups
\setupscreens[options]
\setupsection[name][name][options]
\setupsectionbloc
ed the text* in one shifted macro and the overlay
>> gfx is placed correctly. Does that ring a bell?
>>
> \starttext
>
> \definelayer[test][width=10cm,height=10cm]
>
> \setlayer[test]{xxx}
> \setlayer[test][preset=rightbottom]{xxx}
>
> \framed[background=test,wi
work:
\startframedtext[middle][width=fit]
\strut\endgraf
\type{extra vertical space}\endgraf
\type{normal vertical space}\endgraf
\strut\endgraf
\stopframedtext
as may this: (smaller strut)
\startframedtext[middle][width=fit,strut=no]
{\setupstrut[x]\strut}\endgraf\nointerlineskip
\type{extra v
Greetings,
Peter
% interface=en output=pdftex
% Time-stamp:
%
\setupcolors[state=start]
\setupstrut
\unprotect
%% \def\limitatefirstline#1#2#3%
%% {\hbox\bgroup\strut
%% \setbox\scratchbox\hbox{#1}%
%% \ifdim\wd\scratchbox>#2\relax
%%\setbox\scratchbox\hbox{#3}%
%%\hsize#2\relax