ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Line break in header
Date: Tue, 27 Nov 2012 10:36:47 +0100	[thread overview]
Message-ID: <CAG5iGsD5A_aRPEi9Y3UXUhsoKJe=wsMpW4hSG2aTqwrgApk=gw@mail.gmail.com> (raw)
In-Reply-To: <B3517D92-1F0D-45F4-9939-B15CFC8CA79D@gmail.com>

On Tue, Nov 27, 2012 at 10:24 AM, Wolfgang Schuster
<wolfgang.schuster@gmail.com> wrote:
>
> 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.
ah now I see -- the headertext .

Hm, you can try a temp. patch

\showframe
\setupheadertexts[][\vbox{\hsize=0.45\textwidth\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.}

\dorecurse{100}{\input knuth }
\stoptext

There is a macro to make a shortert title, but
a shorter text with the “marking” key from \startsection
is better, of course
___________________________________________________________________________________
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:36 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
2012-11-27  9:36     ` luigi scarso [this message]
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='CAG5iGsD5A_aRPEi9Y3UXUhsoKJe=wsMpW4hSG2aTqwrgApk=gw@mail.gmail.com' \
    --to=luigi.scarso@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).