ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange <adeimantos@free.fr>
To: ntg-context@ntg.nl
Subject: Re: French hyphenation issue in tablepaired boxes
Date: Mon, 15 Aug 2016 15:05:30 +0200	[thread overview]
Message-ID: <56147332-2496-e9f5-7bc0-4a2a67f16dc4@free.fr> (raw)
In-Reply-To: <57B1990D.4090208@gmail.com>


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

Dear List,
In order to verify the mechanism with a French document, I have set the 
code sample given by Wolfgang for paired boxes with align footnotes 
through French language commands. And I have substitute 2 French texts 
to 'Content'  (after removing previous \input tufte and \input ward), 
and fill the tables titles with my own. All is fine, except hyphenation 
which seems to be an issue here  : see in the first text the word 
'automatiquement'.

I have added the following commands :
\mainlanguage[fr]

\setcharacterspacing[frenchpunctuation]

\defineparagraphs[n=1, align={hz,hanging}]

\setupalign[hyphenated]

Thanks for your help.
JP

See the sample below :

\mainlanguage[fr]

\setcharacterspacing[frenchpunctuation]


\definepairedbox

[footnote]

[width=\textwidth,

align=middle]

\defineparagraphs[n=1, align={hz,hanging}]

\starttext

\setupalign[hyphenated]


\startplacetable[title={Manuels et Intellectuels}]

\startlocalfootnotes

\startplacepairedbox[footnote]

\startcontent

\startTABLE

\NC « Dans la société présente, où le jeu de la spécialisation s’est 
outré automatiquement, les fonctions intellectuelles et les fonctions 
manuelles ne sont presque jamais attribuées aux mêmes ouvriers ; les 
ouvriers intellectuels délaissent presque tout le travail des mains ; 
les ouvriers manuels délaissent presque tout travail de l’esprit, 
presque tout exercice de la raison. » \footnote{Charles Péguy. Ed. 
Gallimard, coll. La Pléiade, {\em Œuvres en prose complètes}, tome I, 
pp. 1390.} \NC\NR

\stopTABLE

\stopcontent

\startcaption

\placelocalfootnotes

\stopcaption

\stopplacepairedbox

\stoplocalfootnotes

\stopplacetable


\startplacetable[title={La crise de l'enseignement}]

\startlocalfootnotes

\placepairedbox[footnote]

{\startTABLE

\NC « La crise de l'enseignement n'est pas une crise de l'enseignement ; 
il n'y a pas de crise de l'enseignement ; il n'y a jamais eu de crise de 
l'enseignement ; les crises de l'enseignement ne sont pas des crises de 
l'enseignement ; elles sont des crises de vie ; elles dénoncent, elles 
représentent des crises de vie et sont des crises de vie elles-mêmes ; 
elles sont des crises de vie partielles, éminentes, qui annoncent et 
accusent des crises de la vie générales ; ou si l’on veut les crises de 
vie générales, les crises de vie sociales s'aggravent, se ramassent, 
culminent en crises de l'enseignement, qui semblent particulières ou 
partielles, mais qui en réalité sont totales, parce qu'elles 
représentent le tout de la vie sociale. »\footnote{Ed. Gallimard, coll. 
La Pléiade, {\em Œuvres en prose complètes}, tome I, pp. 1390.} \NC\NR

\stopTABLE}

{\placelocalfootnotes}

\stoplocalfootnotes

\stopplacetable


\stoptext




[-- Attachment #1.2: Type: text/html, Size: 8673 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:[~2016-08-15 13:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29 10:48 placelocalfootnotes breaks center alignment Henri Menke
2016-08-14 17:32 ` Henri Menke
2016-08-15 10:27 ` Wolfgang Schuster
2016-08-15 11:19   ` Jean-Pierre Delange
2016-08-15 11:29     ` Wolfgang Schuster
2016-08-15 13:05   ` Jean-Pierre Delange [this message]
2016-08-15 19:22   ` Aditya Mahajan

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=56147332-2496-e9f5-7bc0-4a2a67f16dc4@free.fr \
    --to=adeimantos@free.fr \
    --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).