* Setuplayout bug? @ 2011-05-13 8:25 Verhaag, G.C.H.M. 2011-05-14 9:15 ` Verhaag, G.C.H.M. 0 siblings, 1 reply; 7+ messages in thread From: Verhaag, G.C.H.M. @ 2011-05-13 8:25 UTC (permalink / raw) To: ntg-context Hi, The \setuplayout command causes problems I don't understand, sorry! I use the following setup in a screen (\setuppapersize[S6][S6]) document: \setuplayout [header=0cm, topspace=.2cm, backspace=.2cm, margin=0cm, width=fit, footer=1cm, bottomdistance=5pt, bottom=20pt, height=fit] This gives a result as aspected! However adding the setting rightedge=3cm to the layout command, for a menu, yields an unexpected result. Okay, an area on the right of the screen is indeed blank as aspected! But the text of a full page is also shifted downward, and overlaps the text within the footer area, which is quite weird isn't it? I don't grasp this footer problem as indicated above!!!! Any idea what's wrong? Regards, Gerard Verhaag P.S. I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: english/english ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: Setuplayout bug? 2011-05-13 8:25 Setuplayout bug? Verhaag, G.C.H.M. @ 2011-05-14 9:15 ` Verhaag, G.C.H.M. 2011-05-14 11:21 ` Hans Hagen 0 siblings, 1 reply; 7+ messages in thread From: Verhaag, G.C.H.M. @ 2011-05-14 9:15 UTC (permalink / raw) To: ntg-context On 05/13/2011 10:25 AM, Verhaag, G.C.H.M. wrote: > Hi, > > The \setuplayout command causes problems I don't understand, sorry! I > use the following setup in a screen (\setuppapersize[S6][S6]) document: > > \setuplayout > [header=0cm, > topspace=.2cm, > backspace=.2cm, > margin=0cm, > width=fit, > footer=1cm, > bottomdistance=5pt, > bottom=20pt, > height=fit] > > This gives a result as aspected! However adding the setting > > rightedge=3cm > > to the layout command, for a menu, yields an unexpected result. Okay, > an area on the right of the screen is indeed blank as aspected! But > the text of a full page is also shifted downward, and overlaps the > text within the footer area, which is quite weird isn't it? > > I don't grasp this footer problem as indicated above!!!! Any idea > what's wrong? > > Regards, > Gerard Verhaag > > P.S. > I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: > english/english > > ... Hi, I figured out that the problem is caused by the \setupinteraction command. When switching the menu off by setting menu=off, the layout of the text is okay, without the shift! However, when I use \setupinteraction [state=start, style=small, page=yes, menu=on] the annoying interference of the text with the footer is introduced. Any ideas how to correct the problem? Regards, Gerard Verhaag ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: Setuplayout bug? 2011-05-14 9:15 ` Verhaag, G.C.H.M. @ 2011-05-14 11:21 ` Hans Hagen 2011-05-14 17:44 ` Verhaag, G.C.H.M. 0 siblings, 1 reply; 7+ messages in thread From: Hans Hagen @ 2011-05-14 11:21 UTC (permalink / raw) To: mailing list for ConTeXt users On 14-5-2011 11:15, Verhaag, G.C.H.M. wrote: > On 05/13/2011 10:25 AM, Verhaag, G.C.H.M. wrote: >> Hi, >> >> The \setuplayout command causes problems I don't understand, sorry! I >> use the following setup in a screen (\setuppapersize[S6][S6]) document: >> >> \setuplayout >> [header=0cm, >> topspace=.2cm, >> backspace=.2cm, >> margin=0cm, >> width=fit, >> footer=1cm, >> bottomdistance=5pt, >> bottom=20pt, >> height=fit] >> >> This gives a result as aspected! However adding the setting >> >> rightedge=3cm >> >> to the layout command, for a menu, yields an unexpected result. Okay, >> an area on the right of the screen is indeed blank as aspected! But >> the text of a full page is also shifted downward, and overlaps the >> text within the footer area, which is quite weird isn't it? >> >> I don't grasp this footer problem as indicated above!!!! Any idea >> what's wrong? >> >> Regards, >> Gerard Verhaag >> >> P.S. >> I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: >> english/english >> >> ... > > Hi, > > I figured out that the problem is caused by the \setupinteraction > command. When switching the menu off by setting menu=off, the layout of > the text is okay, without the shift! However, when I use > > \setupinteraction > [state=start, > style=small, > page=yes, > menu=on] > > the annoying interference of the text with the footer is introduced. Any > ideas how to correct the problem? We need a one page self contained example for this. 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] 7+ messages in thread
* Re: Setuplayout bug? 2011-05-14 11:21 ` Hans Hagen @ 2011-05-14 17:44 ` Verhaag, G.C.H.M. 2011-05-16 9:12 ` Hans Hagen 0 siblings, 1 reply; 7+ messages in thread From: Verhaag, G.C.H.M. @ 2011-05-14 17:44 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 1944 bytes --] On 05/14/2011 01:21 PM, Hans Hagen wrote: > On 14-5-2011 11:15, Verhaag, G.C.H.M. wrote: >> On 05/13/2011 10:25 AM, Verhaag, G.C.H.M. wrote: >>> Hi, >>> >>> The \setuplayout command causes problems I don't understand, sorry! I >>> use the following setup in a screen (\setuppapersize[S6][S6]) document: >>> >>> \setuplayout >>> [header=0cm, >>> topspace=.2cm, >>> backspace=.2cm, >>> margin=0cm, >>> width=fit, >>> footer=1cm, >>> bottomdistance=5pt, >>> bottom=20pt, >>> height=fit] >>> >>> This gives a result as aspected! However adding the setting >>> >>> rightedge=3cm >>> >>> to the layout command, for a menu, yields an unexpected result. Okay, >>> an area on the right of the screen is indeed blank as aspected! But >>> the text of a full page is also shifted downward, and overlaps the >>> text within the footer area, which is quite weird isn't it? >>> >>> I don't grasp this footer problem as indicated above!!!! Any idea >>> what's wrong? >>> >>> Regards, >>> Gerard Verhaag >>> >>> P.S. >>> I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: >>> english/english >>> >>> ... >> >> Hi, >> >> I figured out that the problem is caused by the \setupinteraction >> command. When switching the menu off by setting menu=off, the layout of >> the text is okay, without the shift! However, when I use >> >> \setupinteraction >> [state=start, >> style=small, >> page=yes, >> menu=on] >> >> the annoying interference of the text with the footer is introduced. Any >> ideas how to correct the problem? > > We need a one page self contained example for this. > > Hans > .... Hi, You'll find the self contained example (rightedge.tex) attached! I compile it using: context --pdf rightedge and view the result with Acrobat Reader 9. I upgraded to the latest version and now use: ConTeXt ver: 2011.05.13 12:01 MKIV fmt: 2011.5.14 int: english/english Thanks for paying attention to this problem! Regards, Gerard Verhaag [-- Attachment #2: rightedge.tex --] [-- Type: text/x-tex, Size: 1256 bytes --] \setuppapersize [S6][S6] \language[nl] \setuplayout [header=0cm, topspace=.2cm, backspace=.2cm, margin=0cm, width=fit, footer=1cm, rightedge=3cm, bottomdistance=5pt, bottom=20pt, height=fit] \showframe \definecolor [MyColor] [darkgreen] \setupfootertexts [chapter][{\currentdate[month,year]}] \setupinteraction [state=start, style=small, menu=on, % switching between on and off will show my problem (the vertical shift of the entire text!)! title=ABL File, author=Geert Verhaag] \setupbackgrounds [page] [background=color, backgroundcolor=darkgreen] \setupbackgrounds [text,header,footer][leftmargin,text,rightmargin] [background=color, backgroundcolor=white, backgroundoffset=.5mm] \setupinteractionmenu [right] [background=color, backgroundcolor=MyColor, color=blue, frame=off, distance=overlay, unknownreference=no, samepage=yes] \defineinteractionmenu [main][right] [state=start, width=\rightedgewidth, align=middle] \startinteractionmenu[main] \but [inleiding] Inleiding \\ \vfill \but [CloseDocument] sluit \\ \stopinteractionmenu \starttext \chapter[inleiding]{Inleiding} \dorecurse{3}{\input tufte \par \input knuth \par} \stoptext [-- Attachment #3: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Setuplayout bug? 2011-05-14 17:44 ` Verhaag, G.C.H.M. @ 2011-05-16 9:12 ` Hans Hagen 2011-05-16 16:19 ` Verhaag, G.C.H.M. 2011-05-16 20:52 ` Alan Braslau 0 siblings, 2 replies; 7+ messages in thread From: Hans Hagen @ 2011-05-16 9:12 UTC (permalink / raw) To: Verhaag, G.C.H.M.; +Cc: mailing list for ConTeXt users On 14-5-2011 7:44, Verhaag, G.C.H.M. wrote: >>> I figured out that the problem is caused by the \setupinteraction >>> command. When switching the menu off by setting menu=off, the layout of >>> the text is okay, without the shift! However, when I use you can test the upcoming beta ----------------------------------------------------------------- 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] 7+ messages in thread
* Re: Setuplayout bug? 2011-05-16 9:12 ` Hans Hagen @ 2011-05-16 16:19 ` Verhaag, G.C.H.M. 2011-05-16 20:52 ` Alan Braslau 1 sibling, 0 replies; 7+ messages in thread From: Verhaag, G.C.H.M. @ 2011-05-16 16:19 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users On 05/16/2011 11:12 AM, Hans Hagen wrote: > On 14-5-2011 7:44, Verhaag, G.C.H.M. wrote: > >>>> I figured out that the problem is caused by the \setupinteraction >>>> command. When switching the menu off by setting menu=off, the >>>> layout of >>>> the text is okay, without the shift! However, when I use > > you can test the upcoming beta > > ... Hi Hans, I compiled using: ConTeXt ver: 2011.05.16 11:00 MKIV fmt: 2011.5.16 int: english/english and now it works just fine! The shift is gone! Thanks very much! Regards, Gerard Verhaag ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: Setuplayout bug? 2011-05-16 9:12 ` Hans Hagen 2011-05-16 16:19 ` Verhaag, G.C.H.M. @ 2011-05-16 20:52 ` Alan Braslau 1 sibling, 0 replies; 7+ messages in thread From: Alan Braslau @ 2011-05-16 20:52 UTC (permalink / raw) To: ntg-context; +Cc: Hans Hagen More setupinteraction pagelayout interference: In the example below (compiled using the very latest minimals) the inclusion of \setupinteractionscreen [option=bookmark] shifts the output of the text on the page. Alan %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definepapersize [17x24] [width=17cm,height=24cm] \setuppapersize [page=17x24,paper=A4] \setuplayout [ backspace=3.5cm, leftedgedistance=0.25cm, leftmargin=3cm, leftmargindistance=0.25cm, width=fit, rightmargindistance=0.25cm, rightmargin=2cm, rightedgedistance=0.25cm, topspace=1cm, header=1cm, headerdistance=0.25cm, height=fit, footerdistance=0.25cm, footer=1cm, bottomspace=1cm, location=middle, marking=on, ] \showlayout \setupinteractionscreen [option=bookmark] \starttext \input knuth \stoptext ___________________________________________________________________________________ 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] 7+ messages in thread
end of thread, other threads:[~2011-05-16 20:52 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-05-13 8:25 Setuplayout bug? Verhaag, G.C.H.M. 2011-05-14 9:15 ` Verhaag, G.C.H.M. 2011-05-14 11:21 ` Hans Hagen 2011-05-14 17:44 ` Verhaag, G.C.H.M. 2011-05-16 9:12 ` Hans Hagen 2011-05-16 16:19 ` Verhaag, G.C.H.M. 2011-05-16 20:52 ` Alan Braslau
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).