[NTG-context] Problem with German quotes and kerning
Hans Hagen
pragma at wxs.nl
Fri Jan 27 13:58:46 CET 2006
Taco Hoekwater wrote:
>Thomas A. Schmitz wrote:
>
>
>>Taco,
>>
>>I hate doing it, but I have to disagree ;-) I was trying to fix this
>>
>>
>
>Ok. Thomas, can you try the definition below with a font that
>has correct kerning? (you have to set \smartquotationfontstrue
>as well, of course ). Should work, but I cannot test due to lack
>of fonts ;-)
>
>Cheers, Taco
>
>\unprotect
>\newif\ifsmartquotationfonts
>
>\def\dohandlequotation#1#2%
> {\ifsmartquotationfonts
> #2%
> \ifhmode \penalty\!!tenthousand\hskip\zeropoint \fi \strut
> \languageparameter#1%
> \else
> \ifdim\lastskip=\quotationsignal
> \unskip\hskip\hspaceamount\currentlanguage{interquotation}%
> \else
> #2%
> \fi
> \ifhmode \penalty\!!tenthousand\hskip\zeropoint \fi \strut
> \symbol[#1]%
> \penalty\!!tenthousand\hskip\quotationsignal
> \fi }%
>\protect
>
>
the current quotation/quote/speech handler is now replaced by the
delimited text one although that one is not yet activated; so any
adaptions should take place there; i added an option:
\setupdelimitedtext[quotation][method=font]
test \quotation{test} test
or:
\definedelimitedtext[whatever][quotation]
\setupdelimitedtext[whatever][method=font]
xxx \whatever{xx} xxx
When using that option, it's all up to the font ...
I'll generate a new 'current'
Hans
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
-----------------------------------------------------------------
More information about the ntg-context
mailing list