* Line break in header
[not found] <mailman.403.1354009009.2161.ntg-context@ntg.nl>
@ 2012-11-27 9:56 ` "H. Özoguz"
0 siblings, 0 replies; 6+ messages in thread
From: "H. Özoguz" @ 2012-11-27 9:56 UTC (permalink / raw)
To: ntg-context
Am 27.11.2012 10:36, schrieb ntg-context-request@ntg.nl:
> A better solution is to provide a shorter text with the ?marking? key from \startsection.
Thanks Wolfgang and Luigi, I did not know that, that is of course the
easiest and best solution!
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Line break in header
2012-11-27 9:36 ` luigi scarso
@ 2012-11-27 9:49 ` Wolfgang Schuster
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2012-11-27 9:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 27.11.2012 um 10:36 schrieb luigi scarso <luigi.scarso@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]}][][]
Or use a customized frame:
\defineframed[headerframed][frame=off,width=.45\textwidth,align=normal,offset=0pt,location=bottom]
\setupheadertexts
[][\headerframed{\getmarking[section]}]
[][]
> There is a macro to make a shortert title, but
> a shorter text with the “marking” key from \startsection
> is better, of course
No need for a macro, it’s available as a option for \setupheader.
\setupheader[width=6cm]
\setupheadertexts
[][section]
[][]
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] 6+ messages in thread
* Re: Line break in header
2012-11-27 9:24 ` Wolfgang Schuster
@ 2012-11-27 9:36 ` luigi scarso
2012-11-27 9:49 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2012-11-27 9:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Line break in header
2012-11-27 9:11 ` luigi scarso
@ 2012-11-27 9:24 ` Wolfgang Schuster
2012-11-27 9:36 ` luigi scarso
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2012-11-27 9:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Line break in header
2012-11-27 9:04 "H. Özoguz"
@ 2012-11-27 9:11 ` luigi scarso
2012-11-27 9:24 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2012-11-27 9:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
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),
but you can try
\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
--
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] 6+ messages in thread
* Line break in header
@ 2012-11-27 9:04 "H. Özoguz"
2012-11-27 9:11 ` luigi scarso
0 siblings, 1 reply; 6+ messages in thread
From: "H. Özoguz" @ 2012-11-27 9:04 UTC (permalink / raw)
To: ntg-context
How to allow line break in headers, to achieve not margined header-texts?
++++++++++++
\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
+++++++++++
Thanks
Huseyin
___________________________________________________________________________________
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] 6+ messages in thread
end of thread, other threads:[~2012-11-27 9:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.403.1354009009.2161.ntg-context@ntg.nl>
2012-11-27 9:56 ` Line break in header "H. Özoguz"
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
2012-11-27 9:49 ` Wolfgang Schuster
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).