ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Olivier Guéry" <nemolivier@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: French punctuation : tests
Date: Fri, 26 Sep 2008 11:57:23 +0200	[thread overview]
Message-ID: <5c2c86e70809260257r384910d2s6bb8cb9c0c95d1a1@mail.gmail.com> (raw)
In-Reply-To: <5c2c86e70809260105h4a737603mfea523fbd8f5be60@mail.gmail.com>


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

Ok, aftre some test…

It seem's that it's linked to the fonts… damn !
The value in « \definehspace[fr][footnote][-.2667\emspaceamount] » need to
be negative, as I set it (work with my fontin_sans font, too big for lmodern
font).
Then I found two problems :
— the space after is way too big :o)
— how can I set other values of the \setupfootnotes ? I tried this :
\setupfootnotes[textcommand={\hspace[footnote]\nobreak\high},
bodyfont=\tfxx, width=70mm]

But I get an error.
Here is a minimal test about footnotes.

%%%%%%%%%%%%%%%%%%%%%
\mainlanguage [fr]
\language [fr]
\usemodule [french]
\setcharacterspacing [frenchpunctuation]

\starttext

\definehspace[fr][footnote][.1667\emspaceamount]
\definehspace[footnote][\hspaceamount\currentlanguage{footnote}]
\setupfootnotes[textcommand={\hspace[footnote]\nobreak\high}]

This texte, with a footnote\footnote{there's a point just after}.

\definehspace[fr][footnote][-.05\emspaceamount]
\definehspace[footnote][\hspaceamount\currentlanguage{footnote}]
\setupfootnotes[textcommand={\hspace[footnote]\nobreak\high}]

Same thing, with a negative value\footnote{look at the space after…}.

\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Cheers,
Olivier.

PS : Context version : 2008.09.21 22:31, luatex 0.29.0 beta.

-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-09-26  9:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25 19:40 Olivier Guéry
2008-09-25 20:33 ` Wolfgang Schuster
2008-09-26  8:05   ` Olivier Guéry
2008-09-26  9:57     ` Olivier Guéry [this message]
2008-09-29 20:13 ` Peter Münster
2008-09-30  9:51   ` Olivier Guéry
2008-09-30 12:19     ` Peter Münster
2008-09-30 20:26       ` Hans Hagen
2008-10-01 10:23         ` Olivier Guéry
2008-10-01  9:46       ` Olivier Guéry

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=5c2c86e70809260257r384910d2s6bb8cb9c0c95d1a1@mail.gmail.com \
    --to=nemolivier@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).