* Last names @ 2011-05-20 9:47 Flavien Lambert 2011-05-20 9:50 ` Flavien Lambert 2011-05-20 9:53 ` Mojca Miklavec 0 siblings, 2 replies; 17+ messages in thread From: Flavien Lambert @ 2011-05-20 9:47 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 270 bytes --] Dear all, could you tell me how to prevent a name from being splitted in two pieces if it is at the end of a line? Thanks, -- Flavien. ---------------------------- "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. [-- Attachment #1.2: Type: text/html, Size: 317 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] 17+ messages in thread
* Last names 2011-05-20 9:47 Last names Flavien Lambert @ 2011-05-20 9:50 ` Flavien Lambert 2011-05-20 22:33 ` yoraxe 2011-05-20 9:53 ` Mojca Miklavec 1 sibling, 1 reply; 17+ messages in thread From: Flavien Lambert @ 2011-05-20 9:50 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 270 bytes --] Dear all, could you tell me how to prevent a name from being splitted in two pieces if it is at the end of a line? Thanks, -- Flavien. ---------------------------- "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. [-- Attachment #1.2: Type: text/html, Size: 305 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] 17+ messages in thread
* Re: Last names 2011-05-20 9:50 ` Flavien Lambert @ 2011-05-20 22:33 ` yoraxe 0 siblings, 0 replies; 17+ messages in thread From: yoraxe @ 2011-05-20 22:33 UTC (permalink / raw) To: mailing list for ConTeXt users > Dear all, could you tell me how to prevent a name from being splitted in two > pieces if it is at the end of a line? Just try the non-braking space. http://en.wikipedia.org/wiki/Non-breaking_space ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 9:47 Last names Flavien Lambert 2011-05-20 9:50 ` Flavien Lambert @ 2011-05-20 9:53 ` Mojca Miklavec 2011-05-20 10:03 ` Hans Hagen 1 sibling, 1 reply; 17+ messages in thread From: Mojca Miklavec @ 2011-05-20 9:53 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: > Dear all, could you tell me how to prevent a name from being splitted in two > pieces if it is at the end of a line? \hbox{Some Very Very Very Very Very Long Name} The other question is how to make the rest of text look acceptable. Mojca ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 9:53 ` Mojca Miklavec @ 2011-05-20 10:03 ` Hans Hagen 2011-05-20 10:39 ` Steffen Wolfrum ` (2 more replies) 0 siblings, 3 replies; 17+ messages in thread From: Hans Hagen @ 2011-05-20 10:03 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Mojca Miklavec On 20-5-2011 11:53, Mojca Miklavec wrote: > On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: >> Dear all, could you tell me how to prevent a name from being splitted in two >> pieces if it is at the end of a line? > > \hbox{Some Very Very Very Very Very Long Name} A bad suggestion by the hyphenation lady ... how about: \setupalign[verytolerant] \starttext \starttabulate[|p(8cm)|p(8cm)|] \NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns \recurselevel\space} \NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns \recurselevel\space} \NC \NR \stoptabulate \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 10:03 ` Hans Hagen @ 2011-05-20 10:39 ` Steffen Wolfrum 2011-05-20 10:43 ` Wolfgang Schuster 2011-05-20 11:27 ` luigi scarso 2011-05-20 14:09 ` Mojca Miklavec 2 siblings, 1 reply; 17+ messages in thread From: Steffen Wolfrum @ 2011-05-20 10:39 UTC (permalink / raw) To: mailing list for ConTeXt users Am 20.05.2011 um 12:03 schrieb Hans Hagen: > On 20-5-2011 11:53, Mojca Miklavec wrote: >> On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: >>> Dear all, could you tell me how to prevent a name from being splitted in two >>> pieces if it is at the end of a line? >> >> \hbox{Some Very Very Very Very Very Long Name} > > A bad suggestion by the hyphenation lady ... how about: > > \setupalign[verytolerant] > > \starttext > \starttabulate[|p(8cm)|p(8cm)|] > \NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns \recurselevel\space} > \NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns \recurselevel\space} > \NC \NR > \stoptabulate > \stoptext btw: is it possible to define eg. one column of a (natural) table to be set *not* hyphenated? st. ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 10:39 ` Steffen Wolfrum @ 2011-05-20 10:43 ` Wolfgang Schuster 2011-05-20 10:57 ` Steffen Wolfrum 0 siblings, 1 reply; 17+ messages in thread From: Wolfgang Schuster @ 2011-05-20 10:43 UTC (permalink / raw) To: mailing list for ConTeXt users Am 20.05.2011 um 12:39 schrieb Steffen Wolfrum: > btw: > > is it possible to define eg. one column of a (natural) table to be set *not* hyphenated? \setupTABLE[…][…][align=nothyphenated] 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Last names 2011-05-20 10:43 ` Wolfgang Schuster @ 2011-05-20 10:57 ` Steffen Wolfrum 2011-05-20 11:21 ` luigi scarso 2011-05-20 11:26 ` Peter Münster 0 siblings, 2 replies; 17+ messages in thread From: Steffen Wolfrum @ 2011-05-20 10:57 UTC (permalink / raw) To: mailing list for ConTeXt users Am 20.05.2011 um 12:43 schrieb Wolfgang Schuster: > > Am 20.05.2011 um 12:39 schrieb Steffen Wolfrum: > >> btw: >> >> is it possible to define eg. one column of a (natural) table to be set *not* hyphenated? > > \setupTABLE[…][…][align=nothyphenated] I thought the same, but why does this end in lines that are not only nothyphenated but also "not-wrapped"?? See example bellow, please. Steffen ------- \starttext { \bTABLE[offset=2pt,align={flushleft,high},option=stretch] \setupTABLE[column][1][align=right,width=2.7cm,align=nothyphenated] \setupTABLE[column][each][align=left] \bTR \bTD[nr=2] Lehre mit Abschluss\eTD \bTD Anzahl\eTD \bTD 1\eTD \bTD 23\eTD \bTD 53\eTD \bTD 28\eTD \bTD 27\eTD \bTD 132\eTD \eTR \bTR[background=color,backgroundcolor=gray] \bTD{\,\%}\eTD \bTD 9,1{\kern0.1em}{\%}\eTD \bTD 24,2{\kern0.1em}{\%}\eTD \bTD 53,0{\kern0.1em}{\%}\eTD \bTD 46,7{\kern0.1em}{\%}\eTD \bTD 77,1{\kern0.1em}{\%}\eTD \bTD 43,9{\kern0.1em}{\%}\eTD \eTR \bTR \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD \bTD Anzahl\eTD \bTD 0\eTD \bTD 1\eTD \bTD 2\eTD \bTD 3\eTD \bTD 0\eTD \bTD 6\eTD \eTR \bTR[background=color,backgroundcolor=gray] \bTD{\,\%}\eTD \bTD ,0{\kern0.1em}{\%}\eTD \bTD 1,1{\kern0.1em}{\%}\eTD \bTD 2,0{\kern0.1em}{\%}\eTD \bTD 5,0{\kern0.1em}{\%}\eTD \bTD ,0{\kern0.1em}{\%}\eTD \bTD 2,0{\kern0.1em}{\%}\eTD \eTR \eTABLE } \stoptext ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 10:57 ` Steffen Wolfrum @ 2011-05-20 11:21 ` luigi scarso 2011-05-20 11:35 ` Wolfgang Schuster 2011-05-20 11:26 ` Peter Münster 1 sibling, 1 reply; 17+ messages in thread From: luigi scarso @ 2011-05-20 11:21 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, May 20, 2011 at 12:57 PM, Steffen Wolfrum <context@st.estfiles.de> wrote: > > Am 20.05.2011 um 12:43 schrieb Wolfgang Schuster: > >> >> Am 20.05.2011 um 12:39 schrieb Steffen Wolfrum: >> >>> btw: >>> >>> is it possible to define eg. one column of a (natural) table to be set *not* hyphenated? >> >> \setupTABLE[…][…][align=nothyphenated] > > > > I thought the same, but why does this end in lines that are not only nothyphenated but also "not-wrapped"?? > Perhaps because it's a long word ? > \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD \bTD[nr=2] Fachschule (Meister)\hskip0sp/\hskip0sp höherer Abschluss\eTD -- luigi ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 11:21 ` luigi scarso @ 2011-05-20 11:35 ` Wolfgang Schuster 2011-05-20 12:51 ` Steffen Wolfrum 0 siblings, 1 reply; 17+ messages in thread From: Wolfgang Schuster @ 2011-05-20 11:35 UTC (permalink / raw) To: mailing list for ConTeXt users Am 20.05.2011 um 13:21 schrieb luigi scarso: >> \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD > > \bTD[nr=2] Fachschule (Meister)\hskip0sp/\hskip0sp höherer Abschluss\eTD \bTD[nr=2] Fachschule (Meister)|/|höherer Abschluss\eTD or “\setbreakpoints[compound]” at the begin of the document. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Last names 2011-05-20 11:35 ` Wolfgang Schuster @ 2011-05-20 12:51 ` Steffen Wolfrum 0 siblings, 0 replies; 17+ messages in thread From: Steffen Wolfrum @ 2011-05-20 12:51 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 629 bytes --] Am 20.05.2011 um 13:35 schrieb Wolfgang Schuster: > > Am 20.05.2011 um 13:21 schrieb luigi scarso: > >>> \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD >> >> \bTD[nr=2] Fachschule (Meister)\hskip0sp/\hskip0sp höherer Abschluss\eTD > > \bTD[nr=2] Fachschule (Meister)|/|höherer Abschluss\eTD > > or > > “\setbreakpoints[compound]” at the begin of the document. No, this has no effect ... see attached, please: The three words in the first row "Lehre mit Abschluss" are quite uncomplicated (no componds etc.) I can see no reason why this line does not wrap after "mit"? Steffen ------- [-- Attachment #2: notwrap.pdf --] [-- Type: application/pdf, Size: 9566 bytes --] [-- Attachment #3: notwrap.tex --] [-- Type: application/octet-stream, Size: 1113 bytes --] %&context %!TEX TS-program = luatex \setbreakpoints[compound] \starttext { \bTABLE[offset=2pt,align={flushleft,high},option=stretch] \setupTABLE[column][1][align=right,width=2.7cm,align=nothyphenated] \setupTABLE[column][each][align=left] \bTR \bTD[nr=2] Lehre mit Abschluss\eTD \bTD Anzahl\eTD \bTD 1\eTD \bTD 23\eTD \bTD 53\eTD \bTD 28\eTD \bTD 27\eTD \bTD 132\eTD \eTR \bTR[background=color,backgroundcolor=gray] \bTD{\,\%}\eTD \bTD 9,1{\kern0.1em}{\%}\eTD \bTD 24,2{\kern0.1em}{\%}\eTD \bTD 53,0{\kern0.1em}{\%}\eTD \bTD 46,7{\kern0.1em}{\%}\eTD \bTD 77,1{\kern0.1em}{\%}\eTD \bTD 43,9{\kern0.1em}{\%}\eTD \eTR \bTR \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD \bTD Anzahl\eTD \bTD 0\eTD \bTD 1\eTD \bTD 2\eTD \bTD 3\eTD \bTD 0\eTD \bTD 6\eTD \eTR \bTR[background=color,backgroundcolor=gray] \bTD{\,\%}\eTD \bTD ,0{\kern0.1em}{\%}\eTD \bTD 1,1{\kern0.1em}{\%}\eTD \bTD 2,0{\kern0.1em}{\%}\eTD \bTD 5,0{\kern0.1em}{\%}\eTD \bTD ,0{\kern0.1em}{\%}\eTD \bTD 2,0{\kern0.1em}{\%}\eTD \eTR \eTABLE } \stoptext [-- Attachment #4: 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] 17+ messages in thread
* Re: Last names 2011-05-20 10:57 ` Steffen Wolfrum 2011-05-20 11:21 ` luigi scarso @ 2011-05-20 11:26 ` Peter Münster 2011-05-20 13:02 ` Steffen Wolfrum 1 sibling, 1 reply; 17+ messages in thread From: Peter Münster @ 2011-05-20 11:26 UTC (permalink / raw) To: mailing list for ConTeXt users Steffen Wolfrum <context@st.estfiles.de> writes: >> \setupTABLE[…][…][align=nothyphenated] > > I thought the same, but why does this end in lines that are not only > nothyphenated but also "not-wrapped"?? align={nothyphenated, stretch} or align={nothyphenated, flushleft} can help here. -- Peter ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 11:26 ` Peter Münster @ 2011-05-20 13:02 ` Steffen Wolfrum 2011-05-20 13:15 ` Peter Münster 0 siblings, 1 reply; 17+ messages in thread From: Steffen Wolfrum @ 2011-05-20 13:02 UTC (permalink / raw) To: mailing list for ConTeXt users Am 20.05.2011 um 13:26 schrieb Peter Münster: > Steffen Wolfrum <context@st.estfiles.de> writes: > >>> \setupTABLE[…][…][align=nothyphenated] >> >> I thought the same, but why does this end in lines that are not only >> nothyphenated but also "not-wrapped"?? > > align={nothyphenated, stretch} or align={nothyphenated, flushleft} can > help here. \setupTABLE[column][1][align=right,width=2.7cm,align=nothyphenated] vs. \setupTABLE[column][1][width=2.7cm,align={nothyphenated,right}] ;o) Steffen ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 13:02 ` Steffen Wolfrum @ 2011-05-20 13:15 ` Peter Münster 2011-05-20 13:19 ` Steffen Wolfrum 0 siblings, 1 reply; 17+ messages in thread From: Peter Münster @ 2011-05-20 13:15 UTC (permalink / raw) To: mailing list for ConTeXt users Steffen Wolfrum <context@st.estfiles.de> writes: > \setupTABLE[column][1][width=2.7cm,align={nothyphenated,right}] Please don't use align=right, it's so horrible ! ;)) (the big bug, that'll never be fixed...) -- Peter ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 13:15 ` Peter Münster @ 2011-05-20 13:19 ` Steffen Wolfrum 0 siblings, 0 replies; 17+ messages in thread From: Steffen Wolfrum @ 2011-05-20 13:19 UTC (permalink / raw) To: mailing list for ConTeXt users Am 20.05.2011 um 15:15 schrieb Peter Münster: > Steffen Wolfrum <context@st.estfiles.de> writes: > >> \setupTABLE[column][1][width=2.7cm,align={nothyphenated,right}] > > Please don't use align=right, it's so horrible ! ;)) > (the big bug, that'll never be fixed...) ... I love it :o) Steffen ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 10:03 ` Hans Hagen 2011-05-20 10:39 ` Steffen Wolfrum @ 2011-05-20 11:27 ` luigi scarso 2011-05-20 14:09 ` Mojca Miklavec 2 siblings, 0 replies; 17+ messages in thread From: luigi scarso @ 2011-05-20 11:27 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, May 20, 2011 at 12:03 PM, Hans Hagen <pragma@wxs.nl> wrote: > On 20-5-2011 11:53, Mojca Miklavec wrote: >> >> On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: >>> >>> Dear all, could you tell me how to prevent a name from being splitted in >>> two >>> pieces if it is at the end of a line? >> >> \hbox{Some Very Very Very Very Very Long Name} > > A bad suggestion by the hyphenation lady ... how about: > > \setupalign[verytolerant] > > \starttext > \starttabulate[|p(8cm)|p(8cm)|] > \NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} > \NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} > \NC \NR > \stoptabulate > \stoptext There is also \hyphenchar\font=-1 (which is global) \setupbodyfont[lmroman,10pt] \starttext \vbox{\hsize10cm\hyphenchar\font=-1 \input knuth\relax} \vbox{\hsize10cm\hyphenchar\font="17\input knuth\relax} \stoptext I haven't found it in base/*: maybe it's use is discouraged. -- luigi ___________________________________________________________________________________ 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] 17+ messages in thread
* Re: Last names 2011-05-20 10:03 ` Hans Hagen 2011-05-20 10:39 ` Steffen Wolfrum 2011-05-20 11:27 ` luigi scarso @ 2011-05-20 14:09 ` Mojca Miklavec 2 siblings, 0 replies; 17+ messages in thread From: Mojca Miklavec @ 2011-05-20 14:09 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, May 20, 2011 at 12:03, Hans Hagen wrote: > On 20-5-2011 11:53, Mojca Miklavec wrote: >> >> On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: >>> >>> Dear all, could you tell me how to prevent a name from being splitted in >>> two >>> pieces if it is at the end of a line? >> >> \hbox{Some Very Very Very Very Very Long Name} > > A bad suggestion by the hyphenation lady ... how about: > > \setupalign[verytolerant] > > \starttext > \starttabulate[|p(8cm)|p(8cm)|] > \NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} > \NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} > \NC \NR > \stoptabulate > \stoptext I'm not sure if he wanted to prevent hyphenation or to prevent to break between two words. Is the following solution: Some~Very~Very~Very~Very~Very~Long~Name combined with \hyphenation{some}\hyphenation{very}\hyphenation{long}\hyphenation{name} also unacceptable? Mojca ___________________________________________________________________________________ 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] 17+ messages in thread
end of thread, other threads:[~2011-05-20 22:33 UTC | newest] Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-05-20 9:47 Last names Flavien Lambert 2011-05-20 9:50 ` Flavien Lambert 2011-05-20 22:33 ` yoraxe 2011-05-20 9:53 ` Mojca Miklavec 2011-05-20 10:03 ` Hans Hagen 2011-05-20 10:39 ` Steffen Wolfrum 2011-05-20 10:43 ` Wolfgang Schuster 2011-05-20 10:57 ` Steffen Wolfrum 2011-05-20 11:21 ` luigi scarso 2011-05-20 11:35 ` Wolfgang Schuster 2011-05-20 12:51 ` Steffen Wolfrum 2011-05-20 11:26 ` Peter Münster 2011-05-20 13:02 ` Steffen Wolfrum 2011-05-20 13:15 ` Peter Münster 2011-05-20 13:19 ` Steffen Wolfrum 2011-05-20 11:27 ` luigi scarso 2011-05-20 14:09 ` Mojca Miklavec
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).