ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Problem with German quotes and kerning
Date: Fri, 27 Jan 2006 13:58:46 +0100	[thread overview]
Message-ID: <43DA1906.9060700@wxs.nl> (raw)
In-Reply-To: <43D9F2E5.4030906@elvenkind.com>

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

  parent reply	other threads:[~2006-01-27 12:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-23 12:18 Thomas A. Schmitz
2006-01-23 12:49 ` Henning Hraban Ramm
2006-01-23 13:07   ` Thomas A. Schmitz
2006-01-25 12:45 ` Mojca Miklavec
2006-01-25 17:38   ` Henning Hraban Ramm
2006-01-25 17:44   ` Thomas A. Schmitz
2006-01-27  0:53     ` Mojca Miklavec
2006-01-27  8:51       ` Taco Hoekwater
2006-01-27  9:43         ` Thomas A. Schmitz
2006-01-27 10:16           ` Taco Hoekwater
2006-01-27 10:59             ` Thomas A. Schmitz
2006-01-27 12:58             ` Hans Hagen [this message]
2006-01-27 15:06               ` Thomas A. Schmitz
2006-01-27 15:56                 ` Hans Hagen
2006-01-27 16:16                 ` Hans Hagen
2006-01-27 17:17                   ` Thomas A. Schmitz
2006-01-27 19:48                     ` Hans Hagen
2006-01-28 13:16                       ` Thomas A. Schmitz
2006-01-30 11:13                         ` Hans Hagen
2006-01-30 11:42                           ` Taco Hoekwater
2006-01-30 11:43                           ` Thomas A. Schmitz
2006-01-30 11:16                         ` Hans Hagen
2006-01-30 13:44                           ` Thomas A. Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43DA1906.9060700@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).