ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Line Wrapping/Hyphenation in Chapter/Section Headings
@ 2012-03-16 11:09 Malte Stien
  2012-03-16 11:31 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Malte Stien @ 2012-03-16 11:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

I seem to have a problem with line wrapping/hyphenation in chapter/section headings. I have a chapter heading "Technical Definitions, Acronyms and Abbreviations". When I setup my chapter headings as follows

 \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin]

the heading is hyphenated like so:

 Technical Definitions, Acronyms and Abbrevi-
 ations

However, I don't want my headings hyphenated. How can I change that? I found this:

 \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin, align=nothyphenated]

That prevents the hyphenation, but it also seems to prevent the wrapping of the line altogether with the result that now my headings run right across the right margin and over the right edge of the paper. How can I turn off hyphenation but retain wrapping of the line, like so

 Technical Definitions, Acronyms and
 Abbreviations

Thank you,
Malte.
___________________________________________________________________________________
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] 5+ messages in thread

* Re: Line Wrapping/Hyphenation in Chapter/Section Headings
  2012-03-16 11:09 Line Wrapping/Hyphenation in Chapter/Section Headings Malte Stien
@ 2012-03-16 11:31 ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-03-16 11:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.03.2012 um 12:09 schrieb Malte Stien:

> Hi all,
> 
> I seem to have a problem with line wrapping/hyphenation in chapter/section headings. I have a chapter heading "Technical Definitions, Acronyms and Abbreviations". When I setup my chapter headings as follows
> 
> \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin]
> 
> the heading is hyphenated like so:
> 
> Technical Definitions, Acronyms and Abbrevi-
> ations
> 
> However, I don't want my headings hyphenated. How can I change that? I found this:
> 
> \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin, align=nothyphenated]
> 
> That prevents the hyphenation, but it also seems to prevent the wrapping of the line altogether with the result that now my headings run right across the right margin and over the right edge of the paper. How can I turn off hyphenation but retain wrapping of the line, like so

Use “align={flushleft,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] 5+ messages in thread

* Re: Line Wrapping/Hyphenation in Chapter/Section Headings
       [not found] <mailman.60.1331975009.3819.ntg-context@ntg.nl>
@ 2012-03-18  3:26 ` Malte Stien
  0 siblings, 0 replies; 5+ messages in thread
From: Malte Stien @ 2012-03-18  3:26 UTC (permalink / raw)
  To: ntg-context

Hi Wolfgang,

> Use also the "broad" keyword for align which makes ConTeXt more tolerant to break the line with ragged text.

That did the trick. Thank you so much.

Regards,
Malte.

___________________________________________________________________________________
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] 5+ messages in thread

* Re: Line Wrapping/Hyphenation in Chapter/Section Headings
  2012-03-16 22:34 ` Malte Stien
@ 2012-03-17  7:30   ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-03-17  7:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.03.2012 um 23:34 schrieb Malte Stien:

> Wolfgang,
> 
>> Use ?align={flushleft,nothyphenated}?.
> 
> 
> You mean as in 
> 
> \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin, align={flushleft, nothyphenated}]
> 
> I tried that and it has no effect. I also found this article here:
> 
> http://tex.stackexchange.com/questions/35686/avoid-hyphenation-in-chapter-title
> 
> ...which suggests using
> 
> \setuphead[chapter][align={flushleft, nothyphenated, verytolerant}]
> 
> ...but that makes no difference either. My chapter titles continue to run off the page to the right. I am happy to post an example somewhere if that helps.


Use also the “broad” keyword for align which makes ConTeXt more tolerant to break the line with ragged text.

\setuphead[chapter][style=\ssbfc,alternative=inmargin, align={flushleft,broad,nothyphenated}]

\starttext
\chapter{Technical Definitions, Acronyms and Abbreviations}
\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
___________________________________________________________________________________


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

* Re: Line Wrapping/Hyphenation in Chapter/Section Headings
       [not found] <mailman.44.1331913678.3819.ntg-context@ntg.nl>
@ 2012-03-16 22:34 ` Malte Stien
  2012-03-17  7:30   ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Malte Stien @ 2012-03-16 22:34 UTC (permalink / raw)
  To: ntg-context

Wolfgang,

> Use ?align={flushleft,nothyphenated}?.


You mean as in 

 \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin, align={flushleft, nothyphenated}]

I tried that and it has no effect. I also found this article here:

 http://tex.stackexchange.com/questions/35686/avoid-hyphenation-in-chapter-title

...which suggests using

 \setuphead[chapter][align={flushleft, nothyphenated, verytolerant}]

...but that makes no difference either. My chapter titles continue to run off the page to the right. I am happy to post an example somewhere if that helps.

Thank you,
Malte.


On 17/03/2012, at 3:01, ntg-context-request@ntg.nl wrote:

> Send ntg-context mailing list submissions to
> 	ntg-context@ntg.nl
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://www.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
> 	ntg-context-request@ntg.nl
> 
> You can reach the person managing the list at
> 	ntg-context-owner@ntg.nl
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
> 
> 
> Today's Topics:
> 
>   1. Line Wrapping/Hyphenation in Chapter/Section Headings
>      (Malte Stien)
>   2. Re: Line Wrapping/Hyphenation in Chapter/Section	Headings
>      (Wolfgang Schuster)
>   3. Integration of all the information around ConTeXt (Jan Heinen)
>   4.  more indenting (Alan Braslau)
>   5. Footnotes in combinations don't work?
>      (Proch?zka Luk?? Ing. - Pontex s. r. o.)
>   6. Re: more indenting (luigi scarso)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 16 Mar 2012 22:09:54 +1100
> From: Malte Stien <malte@stien.de>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: [NTG-context] Line Wrapping/Hyphenation in Chapter/Section
> 	Headings
> Message-ID: <7BA77C0A-9C03-4FA2-8680-C996621CC16D@stien.de>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi all,
> 
> I seem to have a problem with line wrapping/hyphenation in chapter/section headings. I have a chapter heading "Technical Definitions, Acronyms and Abbreviations". When I setup my chapter headings as follows
> 
> \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin]
> 
> the heading is hyphenated like so:
> 
> Technical Definitions, Acronyms and Abbrevi-
> ations
> 
> However, I don't want my headings hyphenated. How can I change that? I found this:
> 
> \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin, align=nothyphenated]
> 
> That prevents the hyphenation, but it also seems to prevent the wrapping of the line altogether with the result that now my headings run right across the right margin and over the right edge of the paper. How can I turn off hyphenation but retain wrapping of the line, like so
> 
> Technical Definitions, Acronyms and
> Abbreviations
> 
> Thank you,
> Malte.
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 16 Mar 2012 12:31:52 +0100
> From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Line Wrapping/Hyphenation in
> 	Chapter/Section	Headings
> Message-ID: <0EFCB96A-2ED4-4CD8-9960-3754F2D10CD0@googlemail.com>
> Content-Type: text/plain; charset=windows-1252
> 
> 
> Am 16.03.2012 um 12:09 schrieb Malte Stien:
> 
>> Hi all,
>> 
>> I seem to have a problem with line wrapping/hyphenation in chapter/section headings. I have a chapter heading "Technical Definitions, Acronyms and Abbreviations". When I setup my chapter headings as follows
>> 
>> \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin]
>> 
>> the heading is hyphenated like so:
>> 
>> Technical Definitions, Acronyms and Abbrevi-
>> ations
>> 
>> However, I don't want my headings hyphenated. How can I change that? I found this:
>> 
>> \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin, align=nothyphenated]
>> 
>> That prevents the hyphenation, but it also seems to prevent the wrapping of the line altogether with the result that now my headings run right across the right margin and over the right edge of the paper. How can I turn off hyphenation but retain wrapping of the line, like so
> 
> Use ?align={flushleft,nothyphenated}?.
> 
> Wolfgang
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 16 Mar 2012 13:24:23 +0100
> From: Jan Heinen <JaHeinen@gmx.de>
> To: ntg-context@ntg.nl
> Subject: [NTG-context] Integration of all the information around
> 	ConTeXt
> Message-ID: <4F6330F7.3030803@gmx.de>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Hello,
> 
> with the help of ConTeXt and the ConTeXt-Mailinglist I 
> successfully have generated a book which will be printed 
> next week :-)
> Thankl you - everyone!
> 
> And now I would like to give something back to ConTeXt :-)
> 
> There is a lot of information around ConTeXt: Material of 
> Hans Hagen, this very dynamic Mailinglist/Forum, the 
> command-reference-list of Wolfgang Schuster  and the 
> Contextgarden-Wiki.
> 
> I think the best what I can do for ConTeXt is helping to 
> structure, organize and integrating the huge amount of 
> existing information.
> And the wiki ist a very good place to do al this work.
> 
> Since several years I am running an own wiki with mediawiki.
> After informing Hans, Taco and Mojca Miklavec, I no have 
> started, to rename all the commands from reference/en/... to 
> command/...
> The .htaccess takes care, that all the old names will be 
> forwarded to the new names.
> 
> Then I have build a startting-category: "ConTeXt" and every 
> subcategory is a branch of it. So we have a tree with all 
> the wiki-information starting at "ConTeXt". You can find 
> this startingpoint on http://www.contextgarden.net on the 
> right side: Categories.
> I have started to organize the sub-categories ... but 
> everyone who likes ConTeXt is invited to improve the wiki.
> 
> A very good help would be:
> All the commands of context (more than 500) are in one huge 
> category:commands
> For the users it would be usefull to build subcategories for 
> the commands.
> 
> 1. login (or first register on contextgarden.net)
> 2. Go to a command, e.g. command/about: 
> http://wiki.contextgarden.net/Command/about
> 3. Click on edit (top of page)
> 4. go to the bottom of the source-code
> 5. add to
> [[category:Commands]]
> [[category:xxx]]     xxx = new name or existing name
> 6. save the changes
> 7. now you can see the category at the bottom of the page.
> 8. if it is red - click on it
> 9. then write
> [[category:commands]]
> to link it to the tree,
> 
> I hope lot's of you help at least a little bit ... it's fun 
> :-) And it's for ConTeXt.
> 
> Regards
> Jannis
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 16 Mar 2012 16:38:40 +0100
> From: Alan Braslau <alan.braslau@cea.fr>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: [NTG-context]  more indenting
> Message-ID: <20120316163840.1fd49dae@iram-hb-003386.extra.cea.fr>
> Content-Type: text/plain; charset=US-ASCII
> 
> I'm sure that someone is going to tell me that indenting is ugly, bad
> typesetting practice.
> 
> But if I do want to use indenting, there are times when it should be
> suppressed, perhaps automatically (like when immediately following a
> heading, as is the current practice).
> 
> The minimal example below is another such situation:
> \startquotation\stopquotation
> \setupquotation [before=\noindent,after=\noindent]
> would be one solution, but it does not work - maybe the syntax is
> wrong; maybe I'm missing a critical \par. I haven't managed to figure
> this out myself, looking at the source code. Any suggestions? Thanks!
> 
> Alan
> 
> 
> % Minimal example:
> \setupindenting [big,yes]
> \setupquotation [before=\noindent] % no effect
> 
> \starttext
> \input tufte
> \startquotation
> \input tufte
> \stopquotation
> \noindent
> \input tufte
> \stoptext
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 16 Mar 2012 16:41:40 +0100
> From: Proch?zka Luk?? Ing. - Pontex s. r. o. 	<LPr@pontex.cz>
> To: ConTeXt <ntg-context@ntg.nl>
> Subject: [NTG-context] Footnotes in combinations don't work?
> Message-ID: <op.wa9sjqq8tpjj8f@lpr>
> Content-Type: text/plain; charset="iso-8859-2"; Format="flowed";
> 	DelSp="yes"
> 
> Hello,
> 
> slightly discussed several days ago...
> 
> Footnote in a combination is not shown anywhere:
> 
> ----
> \starttext
>   \startcombination[1*1]
>     {Aaa\footnote{Footnote}}{}
>   \stopcombination
> \stoptext
> ----
> 
> Bug, feature (= footnotes are not supposed to be in a combination) or another approach must be chosen to show the footnote?
> 
> Best regards,
> 
> Lukas
> 
> 
> -- 
> Ing. Luk?? Proch?zka [mailto:LPr@pontex.cz]
> Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
> Bezov? 1658
> 147 14 Praha 4
> 
> Tel: +420 244 062 238
> Fax: +420 244 461 038
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: t-Foot2.mkiv
> Type: application/octet-stream
> Size: 101 bytes
> Desc: not available
> URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120316/7113557c/attachment-0001.obj>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: t-Foot2.pdf
> Type: application/pdf
> Size: 6149 bytes
> Desc: not available
> URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120316/7113557c/attachment-0001.pdf>
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 16 Mar 2012 17:01:15 +0100
> From: luigi scarso <luigi.scarso@gmail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] more indenting
> Message-ID:
> 	<CAG5iGsCC-AeKoZ_4CoLLGwfzbcpJ9ji96V4RybboL17OWPffSQ@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> On Fri, Mar 16, 2012 at 4:38 PM, Alan Braslau <alan.braslau@cea.fr> wrote:
>> I'm sure that someone is going to tell me that indenting is ugly, bad
>> typesetting practice.
>> 
>> But if I do want to use indenting, there are times when it should be
>> suppressed, perhaps automatically (like when immediately following a
>> heading, as is the current practice).
>> 
>> The minimal example below is another such situation:
>> \startquotation\stopquotation
>> \setupquotation [before=\noindent,after=\noindent]
>> would be one solution, but it does not work - maybe the syntax is
>> wrong; maybe I'm missing a critical \par. I haven't managed to figure
>> this out myself, looking at the source code. Any suggestions? Thanks!
>> 
>> Alan
>> 
>> 
>> % Minimal example:
>> \setupindenting [big,yes]
>> \setupquotation [before=\noindent] % no effect
>> 
>> \starttext
>> \input tufte
>> \startquotation
>> \input tufte
>> \stopquotation
>> \noindent
>> \input tufte
>> \stoptext
> \setupindenting [big,yes]
> \setupquotation [indentnext=no,indenting=no]
> 
> \starttext
> \input tufte
> \startquotation
> \input tufte
> \stopquotation
> \input tufte
> \stoptext
> 
> -- 
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 
> End of ntg-context Digest, Vol 93, Issue 55
> *******************************************

___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2012-03-18  3:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16 11:09 Line Wrapping/Hyphenation in Chapter/Section Headings Malte Stien
2012-03-16 11:31 ` Wolfgang Schuster
     [not found] <mailman.44.1331913678.3819.ntg-context@ntg.nl>
2012-03-16 22:34 ` Malte Stien
2012-03-17  7:30   ` Wolfgang Schuster
     [not found] <mailman.60.1331975009.3819.ntg-context@ntg.nl>
2012-03-18  3:26 ` Malte Stien

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