* menu question
@ 2008-08-02 19:10 Alan Stone
2008-08-03 8:25 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Alan Stone @ 2008-08-02 19:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 491 bytes --]
Hi,
With...
\startinteractionmenu[right]
\placecontent[..., criterium=chapter (or section), ...]
\stopinteractionmenu
and chapter/section lists longer than the text area height,
how do you prevent the menu items from extending beyond
the bottom of the text area (and page) and have the menu
scroll down after the menu's bottom chapter/section item ?
I tried my luck with distance=\textheight but no luck and don't
see any other option which could provide this feature.
Thanks,
Alan
[-- Attachment #1.2: Type: text/html, Size: 592 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: menu question
2008-08-02 19:10 menu question Alan Stone
@ 2008-08-03 8:25 ` Hans Hagen
2008-08-03 11:09 ` Alan Stone
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2008-08-03 8:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
Alan Stone wrote:
> Hi,
>
> With...
>
> \startinteractionmenu[right]
> \placecontent[..., criterium=chapter (or section), ...]
> \stopinteractionmenu
>
> and chapter/section lists longer than the text area height,
> how do you prevent the menu items from extending beyond
> the bottom of the text area (and page) and have the menu
> scroll down after the menu's bottom chapter/section item ?
>
> I tried my luck with distance=\textheight but no luck and don't
> see any other option which could provide this feature.
it's a fixed size area so the best you can do is to either make the
fontsize smaller, the area wider (less linebreaks) or see of
\startsimplecolumns ... \stopsimplecolumns helps
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: menu question
2008-08-03 8:25 ` Hans Hagen
@ 2008-08-03 11:09 ` Alan Stone
2008-08-03 11:34 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Alan Stone @ 2008-08-03 11:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1453 bytes --]
>the best you can do is to either make the fontsize smaller
It would decrease the menu readability too much.
>the area wider (less linebreaks)
It would decrease the text area width too much.
>or see of \startsimplecolumns ... \stopsimplecolumns
Although I don't see how adding columns would provide
a solution - the chapter/section titles are in french, i.e.
usually longer than for ex. in english ( they could be
shortened and then most would become meaningless)
- where is that command documented ? I didn't find it in
the main manual, excursion, wiki, texshow.
>helps
Not really I'm afraid. :O(
Thanks anyway.
Best,
Alan
On Sun, Aug 3, 2008 at 10:25 AM, Hans Hagen <pragma@wxs.nl> wrote:
> Alan Stone wrote:
> > Hi,
> >
> > With...
> >
> > \startinteractionmenu[right]
> > \placecontent[..., criterium=chapter (or section), ...]
> > \stopinteractionmenu
> >
> > and chapter/section lists longer than the text area height,
> > how do you prevent the menu items from extending beyond
> > the bottom of the text area (and page) and have the menu
> > scroll down after the menu's bottom chapter/section item ?
> >
> > I tried my luck with distance=\textheight but no luck and don't
> > see any other option which could provide this feature.
>
> it's a fixed size area so the best you can do is to either make the
> fontsize smaller, the area wider (less linebreaks) or see of
> \startsimplecolumns ... \stopsimplecolumns helps
>
> Hans
>
[-- Attachment #1.2: Type: text/html, Size: 1983 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: menu question
2008-08-03 11:09 ` Alan Stone
@ 2008-08-03 11:34 ` Hans Hagen
2008-08-03 12:22 ` Alan Stone
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2008-08-03 11:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
Alan Stone wrote:
>> the best you can do is to either make the fontsize smaller
>
> It would decrease the menu readability too much.
>
>> the area wider (less linebreaks)
>
> It would decrease the text area width too much.
>
>> or see of \startsimplecolumns ... \stopsimplecolumns
>
> Although I don't see how adding columns would provide
> a solution - the chapter/section titles are in french, i.e.
> usually longer than for ex. in english ( they could be
> shortened and then most would become meaningless)
in that case don't menu's just use local tocs in the text area and use
the menu to refer to them
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: menu question
2008-08-03 11:34 ` Hans Hagen
@ 2008-08-03 12:22 ` Alan Stone
0 siblings, 0 replies; 5+ messages in thread
From: Alan Stone @ 2008-08-03 12:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 763 bytes --]
That will do it!
Thanks for the tip.
Best,
Alan
On Sun, Aug 3, 2008 at 1:34 PM, Hans Hagen <pragma@wxs.nl> wrote:
> Alan Stone wrote:
> >> the best you can do is to either make the fontsize smaller
> >
> > It would decrease the menu readability too much.
> >
> >> the area wider (less linebreaks)
> >
> > It would decrease the text area width too much.
> >
> >> or see of \startsimplecolumns ... \stopsimplecolumns
> >
> > Although I don't see how adding columns would provide
> > a solution - the chapter/section titles are in french, i.e.
> > usually longer than for ex. in english ( they could be
> > shortened and then most would become meaningless)
>
> in that case don't menu's just use local tocs in the text area and use
> the menu to refer to them
>
[-- Attachment #1.2: Type: text/html, Size: 1173 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-03 12:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-02 19:10 menu question Alan Stone
2008-08-03 8:25 ` Hans Hagen
2008-08-03 11:09 ` Alan Stone
2008-08-03 11:34 ` Hans Hagen
2008-08-03 12:22 ` Alan Stone
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).