ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Missing hyphentation in natural tables (was: French hyphenation issue in tablepaired boxes)
@ 2016-08-15 14:46 Wolfgang Schuster
  2016-08-15 15:10 ` Jean-Pierre Delange
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Schuster @ 2016-08-15 14:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Jean-Pierre Delange <mailto:adeimantos@free.fr>
> 15. August 2016 um 15:05
> 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'.
The missing hyphentation has nothing to do with floats, footnotes or 
paired boxes but a result of the default alignment setting for natural 
tables. To change the default value for the alignment you can use the 
align key for \setupTABLE.

\mainlanguage[fr]

\setcharacterspacing[frenchpunctuation]

\starttext

\setupTABLE[start][align=normal]
%\setupTABLE[start][align=flushleft]
%\setupTABLE[start][align={flushleft,broad}]

\bTABLE
     \bTR
         \bTD
             « 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. »
         \eTD
     \eTR
\eTABLE

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2785 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Missing hyphentation in natural tables (was: French hyphenation issue in tablepaired boxes)
  2016-08-15 14:46 Missing hyphentation in natural tables (was: French hyphenation issue in tablepaired boxes) Wolfgang Schuster
@ 2016-08-15 15:10 ` Jean-Pierre Delange
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Pierre Delange @ 2016-08-15 15:10 UTC (permalink / raw)
  To: ntg-context


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

Thanks Wolfgang ! It works well : clear and (apparently) simple.

JP


Le 15/08/2016 à 16:46, Wolfgang Schuster a écrit :
>> Jean-Pierre Delange <mailto:adeimantos@free.fr>
>> 15. August 2016 um 15:05
>> 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'.
> The missing hyphentation has nothing to do with floats, footnotes or 
> paired boxes but a result of the default alignment setting for natural 
> tables. To change the default value for the alignment you can use the 
> align key for \setupTABLE.
>
> \mainlanguage[fr]
>
> \setcharacterspacing[frenchpunctuation]
>
> \starttext
>
> \setupTABLE[start][align=normal]
> %\setupTABLE[start][align=flushleft]
> %\setupTABLE[start][align={flushleft,broad}]
>
> \bTABLE
>     \bTR
>         \bTD
>             « 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. »
>         \eTD
>     \eTR
> \eTABLE
>
> \stoptext
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 4718 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-15 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-15 14:46 Missing hyphentation in natural tables (was: French hyphenation issue in tablepaired boxes) Wolfgang Schuster
2016-08-15 15:10 ` Jean-Pierre Delange

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