ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Turning off French character spacing
Date: Fri, 10 Apr 2015 12:22:53 +0200	[thread overview]
Message-ID: <8433BECC-24CA-4B42-B13B-2B6C266FA935@gmail.com> (raw)
In-Reply-To: <55279f46.c14cb40a.53c8.ffffbe23@mx.google.com>


[-- Attachment #1.1: Type: text/plain, Size: 1919 bytes --]

Hi,

You can use: 
	\setcharacterspacing[reset] 
when you don’t want the French character spacing, and 
	\setcharacterspacing[frenchpunctuation]
when you want it.

For instance for the interaction you would say:
	\setupinteraction[color=darkgreen,style={\setcharacterspacing[reset]\tt}]
	\setupinteraction [state=start]

and for setting up the typing
	\setuptype[style={\setcharacterspacing[reset]\tt}]
	\setuptyping[style={\setcharacterspacing[reset]\tt}]

Best regards: OK

> On 10 Apr 2015, at 11:51, joasyannick@gmail.com wrote:
> 
> Dear everyone,
> 
> I am writting a French document.
> I would like to turn off the French character spacing temporarily in order to
> typeset English document title or URL. For instance, I would like to define the commands
> 
> \def\englishtitle#1{\turnofffrenchcharacterspacing{\em #1}\turnonfrenchcharacterspacing}
> \def\url#1{\turnofffrenchcharacterspacing{\em #1}\turnonfrenchcharacterspacing}
> 
> so that a title link “Example: English Title” will be italicised and will not have a space before “:”;
> and a URL like “http://www.example.com <http://www.example.com/>” neither.
> 
> Many thanks,
> Joas
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://tex.aanhet.net <http://tex.aanhet.net/>
> archive  : http://foundry.supelec.fr/projects/contextrev/ <http://foundry.supelec.fr/projects/contextrev/>
> wiki     : http://contextgarden.net <http://contextgarden.net/>
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 12143 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

  parent reply	other threads:[~2015-04-10 10:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10  9:51 joasyannick
2015-04-10 10:18 ` Wolfgang Schuster
2015-04-10 10:22 ` Otared Kavian [this message]
2015-04-10 10:31   ` Wolfgang Schuster
2015-04-10 10:49 ` Peter Münster
2015-04-10 13:39 joasyannick

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=8433BECC-24CA-4B42-B13B-2B6C266FA935@gmail.com \
    --to=otared@gmail.com \
    --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).