ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Csikos Bela <bcsikos425@freemail.hu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: small space before some characters (: ; ! ?)
Date: Thu, 2 Apr 2015 17:21:40 +0200 (CEST)	[thread overview]
Message-ID: <freemail.20150402172140.85403.1@fmxmldata10.freemail.hu> (raw)
In-Reply-To: <0E00F53F-FFAE-40FE-9033-14FA90E8A835@gmail.com>

Wolfgang Schuster  írta:
>
>> Am 02.04.2015 um 12:05 schrieb Csikos Bela :
>> 
>> Wolfgang Schuster  írta:
>>> 
>>>> Am 01.04.2015 um 18:46 schrieb Csikos Bela:
>>>> 
>>>> Hello:
>>>> 
>>>> Hungarian typography requires inserting small spaces before :, ;, ! and ? characters.
>>>> The width of this small space should be equal to that of the period (.). In latex magyarlatex (magyar.ldf) module (part of biblatex) contains definitions to achieve this. How could I set this in context?
>>> 
>>> 
>>> You can use the french settings which also requires a small space before these characters.
>>> 
>>> \starttext
>>> 
>>> Take a look at this; this: this! or this?
>>> 
>>> \setcharacterspacing[frenchpunctuation]
>>> 
>>> Take a look at this; this: this! or this?
>>> 
>>> \stoptext
>> 
>> Thanks!
>> It is something I'd like to have but the space inserted is too big, it looks like a normal interword space. It should be 1/3 or 1/4 interword space or the width of the dot (the visible part), but definitely less than a normal space. Is it possible to redefine the inserted space width? 
>
>\definecharacterspacing [hungarian]
>
>\setupcharacterspacing [hungarian] ["003A] [left=.1,alternative=1] % :
>\setupcharacterspacing [hungarian] ["003B] [left=.1,alternative=1] % ;
>\setupcharacterspacing [hungarian] ["003F] [left=.1,alternative=1] % ?
>\setupcharacterspacing [hungarian] ["0021] [left=.1,alternative=1] % !
>
>\starttext
>
>Take a look at this; this: this! or this?
>
>Take a look at this.; this.: this.! or this.?
>
>\setcharacterspacing[frenchpunctuation]
>
>Take a look at this; this: this! or this?
>
>\setcharacterspacing[hungarian]
>
>Take a look at this; this: this! or this?
>
>\stoptext
>

Yes, this looks OK.
Thank you a lot!

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

      reply	other threads:[~2015-04-02 15:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 16:46 [***SPAM***] " Csikos Bela
2015-04-02  4:36 ` Wolfgang Schuster
2015-04-02 10:05   ` Csikos Bela
2015-04-02 11:40     ` Wolfgang Schuster
2015-04-02 15:21       ` Csikos Bela [this message]

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=freemail.20150402172140.85403.1@fmxmldata10.freemail.hu \
    --to=bcsikos425@freemail.hu \
    --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).