* lemmas for headers
@ 2011-11-14 17:35 Idris Samawi Hamid ادريس سماوي حامد
2011-11-14 17:49 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-11-14 17:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear gang,
Consider the following global setup:
\setupheadertexts%
[][section][chapter][]
Sometimes a given section heading may be too long to comfortably fit in
the header. Is there any mechanism or good workaround that will allow me
to define, for a given header, a lemma such that it replaces <section>
with <sectionlemma>.
Of course I can interrupt the main flow with
\setupheadertexts%
[][sectionlemma][chapter][]
manually, but what usually happens is that at least one header gets lost
completely, generally the page immediately preceding the onset of the
given section.
Any help or tips greatly appreciated and
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shiʿi Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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] 3+ messages in thread
* Re: lemmas for headers
2011-11-14 17:35 lemmas for headers Idris Samawi Hamid ادريس سماوي حامد
@ 2011-11-14 17:49 ` Hans Hagen
2011-11-14 18:24 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2011-11-14 17:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
Cc: Idris Samawi Hamid ادريس
سماوي حامد
On 14-11-2011 18:35, Idris Samawi Hamid ادريس سماوي حامد wrote:
>
>
> Dear gang,
>
> Consider the following global setup:
>
> \setupheadertexts%
> [][section][chapter][]
>
> Sometimes a given section heading may be too long to comfortably fit in
> the header. Is there any mechanism or good workaround that will allow me
> to define, for a given header, a lemma such that it replaces <section>
> with <sectionlemma>.
>
> Of course I can interrupt the main flow with
>
> \setupheadertexts%
> [][sectionlemma][chapter][]
>
> manually, but what usually happens is that at least one header gets lost
> completely, generally the page immediately preceding the onset of the
> given section.
>
> Any help or tips greatly appreciated and
\startchapter[title={a lot of bla bla},marking={just bla}]
title list marking bookmark
given that you bring up an issue that has quite probably been answered
before you have to wikify it for future reference
Hans
-----------------------------------------------------------------
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] 3+ messages in thread
* Re: lemmas for headers
2011-11-14 17:49 ` Hans Hagen
@ 2011-11-14 18:24 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 0 replies; 3+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-11-14 18:24 UTC (permalink / raw)
To: Hans Hagen
On Mon, 14 Nov 2011 10:49:01 -0700, Hans Hagen <pragma@wxs.nl> wrote:
> \startchapter[title={a lot of bla bla},marking={just bla}]
> title list marking bookmark
> given that you bring up an issue that has quite probably been answered
> before you have to wikify it for future reference
Ok, I did it just for you ;-)
http://wiki.contextgarden.net/Headers_and_Footers#Substituting_a_shorter_lemma_for_a_section_header
But no time to test each key so I ask others to augment or edit etc.
Thanks again for the helpful tip, and
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shiʿi Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2011-11-14 18:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-14 17:35 lemmas for headers Idris Samawi Hamid ادريس سماوي حامد
2011-11-14 17:49 ` Hans Hagen
2011-11-14 18:24 ` Idris Samawi Hamid ادريس سماوي حامد
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).