ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* French spacing and pdfTeX-1.40
@ 2006-11-14 19:07 Peter Münster
  0 siblings, 0 replies; only message in thread
From: Peter Münster @ 2006-11-14 19:07 UTC (permalink / raw)


Hello,
(it's a repost, in case my previous email got lost...)
my attempt to get correct French spacing before punctuation does no more
work with the latest ConTeXt-beta.
Is there now a new method with pdfTeX-1.40 to get automatically the good
spacing (as announced some months ago)?

Today I try it like this (without success):

%%% module t-french.tex %%%

\def\activateSomeCharacters{%
  \defineactivecharacter « {\leftguillemot\,}%        % does not work
  \defineactivecharacter » {\,\rightguillemot}%       % with utf-encoding
%
%  \defineactivecharacter ; {\,\lettersemicolon}%     % does not work
%
  \defineactivecharacter ? {\,\letterquestionmark}%   % does not work with
  \defineactivecharacter : {\,\lettercolon}%          % project/product
  \defineactivecharacter ! {\,\letterexclamationmark}}% structure

\startlanguagespecifics[fr]
  \activateSomeCharacters
  \setupitemize[symbol=2]
  \lccode`\'=`\'
\stoplanguagespecifics

\mainlanguage[fr]

\appendtoks\activateSomeCharacters\to\everystarttext


Greetings, Peter

-- 
http://pmrb.free.fr/contact/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-14 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-14 19:07 French spacing and pdfTeX-1.40 Peter Münster

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