From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95803 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Pierre Delange Newsgroups: gmane.comp.tex.context Subject: Re: placelocalfootnotes breaks center alignment Date: Mon, 15 Aug 2016 13:19:40 +0200 Message-ID: References: <93af955b-5fb4-9f95-fb36-a647c8e8a5b2@gmail.com> <57B1990D.4090208@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4089460421150277323==" X-Trace: blaine.gmane.org 1471260019 16642 195.159.176.226 (15 Aug 2016 11:20:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Aug 2016 11:20:19 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 15 13:20:15 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZFwB-0003wM-Vs for gctc-ntg-context-518@m.gmane.org; Mon, 15 Aug 2016 13:20:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F1AE814E09; Mon, 15 Aug 2016 13:19:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JUv9p11AR50U; Mon, 15 Aug 2016 13:19:55 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A646014E0C; Mon, 15 Aug 2016 13:19:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AB13E14E0A for ; Mon, 15 Aug 2016 13:19:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UflYN8J26gSp for ; Mon, 15 Aug 2016 13:19:53 +0200 (CEST) Original-Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3139314E09 for ; Mon, 15 Aug 2016 13:19:43 +0200 (CEST) Original-Received: from [192.168.0.11] (unknown [78.208.237.21]) by smtp2-g21.free.fr (Postfix) with ESMTP id 97AB6200216 for ; Mon, 15 Aug 2016 11:15:00 +0200 (CEST) In-Reply-To: <57B1990D.4090208@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95803 Archived-At: This is a multi-part message in MIME format. --===============4089460421150277323== Content-Type: multipart/alternative; boundary="------------D1CFA16F522655A66F7CA02A" This is a multi-part message in MIME format. --------------D1CFA16F522655A66F7CA02A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Dear Wolfgang, Thanks a lot ! In order to verify the mechanism with a French document, I have set your code sample with French commands and replace 'Content' by 2 texts of around 15 lines each (after removing \input tufte and \input ward previously given), and fill the tables titles with words of my own. All is fine, except hyphenation which doesn't appear here. \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \defineparagraphs[n=1, align={hz,hanging}] \setupalign[hyphenated] You may try with this text (in place of 'Content') : « 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. » Thanks for your help. JP > \definepairedbox > [footnote] > [width=\textwidth, > align=middle] > > \starttext > > \startplacetable[title={some table}] > \startlocalfootnotes > \startplacepairedbox[footnote] > \startcontent > \startTABLE > \NC Content\footnote{Footnote} \NC\NR > \stopTABLE > \stopcontent > \startcaption > \placelocalfootnotes > \stopcaption > \stopplacepairedbox > \stoplocalfootnotes > \stopplacetable > > \startplacetable[title={some table}] > \startlocalfootnotes > \placepairedbox[footnote] > {\startTABLE > \NC Content\footnote{Footnote} \NC\NR > \stopTABLE} > {\placelocalfootnotes} > \stoplocalfootnotes > \stopplacetable > > \stoptext --------------D1CFA16F522655A66F7CA02A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Dear Wolfgang,

Thanks a lot ! In order to verify the mechanism with a French document, I have set your code sample with French commands and replace 'Content' by 2 texts of around 15 lines each (after removing \input tufte and \input ward previously given), and fill the tables titles with words of my own. All is fine, except hyphenation which doesn't appear here.

\mainlanguage[fr]

\setcharacterspacing[frenchpunctuation]

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

\setupalign[hyphenated]



You may try with this text (in place of 'Content') :
« 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. »

Thanks for your help.
JP
\definepairedbox
  [footnote]
  [width=\textwidth,
   align=middle]

\starttext

\startplacetable[title={some table}]
    \startlocalfootnotes
        \startplacepairedbox[footnote]
            \startcontent
                \startTABLE
                \NC Content\footnote{Footnote} \NC\NR
                \stopTABLE
            \stopcontent
            \startcaption
                \placelocalfootnotes
            \stopcaption
        \stopplacepairedbox
    \stoplocalfootnotes
\stopplacetable

\startplacetable[title={some table}]
    \startlocalfootnotes
        \placepairedbox[footnote]
            {\startTABLE
             \NC Content\footnote{Footnote} \NC\NR
             \stopTABLE}
            {\placelocalfootnotes}
    \stoplocalfootnotes
\stopplacetable

\stoptext

--------------D1CFA16F522655A66F7CA02A-- --===============4089460421150277323== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4089460421150277323==--