ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Line break in header
Date: Tue, 27 Nov 2012 10:24:04 +0100	[thread overview]
Message-ID: <B3517D92-1F0D-45F4-9939-B15CFC8CA79D@gmail.com> (raw)
In-Reply-To: <CAG5iGsAAFeOud=SFJEF4Sg4gHuyMbPxs4Q3U4ocgunP9exhKyg@mail.gmail.com>


Am 27.11.2012 um 10:11 schrieb luigi scarso <luigi.scarso@gmail.com>:

> On Tue, Nov 27, 2012 at 10:04 AM, "H. Özoguz" <h.oezoguz@mmnetz.de> wrote:
>> \setupheadertexts
>> 
>> [] [{\getmarking[section]}]
>> 
>> [][]
>> 
>> 
>> \starttext
>> 
>> \section{This is a very long section title, and so, clearly, it does not fit
>> in one line, definitely not, absolutely no change. Without line break not
>> possible.}
>> 
>> \stoptext
> 
> Hm, I dont' understand clearly what you want (the title is ok for me), […]

The headertext isn’t broken into lines.

\defineframed[headerframed][frame=off,width=max,align=normal]

\setupheadertexts
  [][\headerframed{\getmarking[section]}]
  [][]

A better solution is to provide a shorter text with the “marking” key from \startsection.

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
___________________________________________________________________________________


  reply	other threads:[~2012-11-27  9:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27  9:04 "H. Özoguz"
2012-11-27  9:11 ` luigi scarso
2012-11-27  9:24   ` Wolfgang Schuster [this message]
2012-11-27  9:36     ` luigi scarso
2012-11-27  9:49       ` Wolfgang Schuster
     [not found] <mailman.403.1354009009.2161.ntg-context@ntg.nl>
2012-11-27  9:56 ` "H. Özoguz"

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=B3517D92-1F0D-45F4-9939-B15CFC8CA79D@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --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).