ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Willi Egger" <w.egger@xs4all.nl>
Subject: Conflicting 'index' with 'bottomtext'
Date: Sun, 11 Mar 2001 21:47:20 +0100	[thread overview]
Message-ID: <002201c0aa6c$9ff99de0$0100a8c0@xs4all.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

Hi all,

Finally (Yes Hans!) my bookbinding book is complete as far as the text is
concernd.

Now I pepared a screen version of this document. It contains also an index
of several pages. While througout the document the buttons, which are placed
in the \bottomtext environment are typeset correctly, they aren't in the
index.  On the full screens the bottomtext seems to be split into two
columns, which makes it necessary to hyphenate the button-texts.  The last
screen of the index is a couple of lines only, on this page the buttons are
placed correctly.

How can I prevent this?
As an attachment I provide you the relevant part of my layout-environment.

With the parameters chosen the screen width is not completely used. Which of
the variables have to be changed to force the document to use the maximum
width and height of the screen?

Greetings Willi

[-- Attachment #2: layout.tex --]
[-- Type: application/octet-stream, Size: 2568 bytes --]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%							%%
%%	Layout			     	%%
%%	         					%%
%%	by Willi Egger				%%
%%	filename: layout.tex		%%
%%	January 2001				%%
%%							%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\startenvironment layout

\setupoutput[pdftex]

\mainlanguage[nl]
\language[nl]
\usemodule[units]

\setupreferencing[global=yes]

\setuppagenumber[state=start]

\startmode[paper]
	\setuppapersize[A4][A4]
	\setuppagenumbering[alternative=doublesided, 		location={header,marginedge}]
	\setupbodyfont
		[ber,ppl,11pt]

	% Layout setup 
	\setuplayout
	  [header=20pt,
	   headerdistance=0.5cm,
	   backspace=1.7cm,
	   location=middle]
\stopmode

\startnotmode[paper]
	\setuppapersize[S6][S6]
	% Interactionscreen
	\setupinteractionscreen
	 	[option=max,
	 	 height=fit,
	 	 width=max]
	% Enable colors %
	\setupcolors[state=start]
		\definecolor[grey][r=.85,g=.85,b=.85]
		\definecolor[darkgreen][r=0,g=0.5,b=0]
	% Enable interaction
	\setupinteraction
		[state=start,
		 color=darkgreen]
	\setupbodyfont
		[ber,ppl,12pt]
	\setuppagenumbering[alternative=singlesided, 		location={footer,marginedge}]
	\setuplayout
  		[style={\switchtobodyfont[12pt]}]
	\setuplayout
  		[topspace=1.5cm,
  		margin=40pt,
   		header=18pt,
   		footer=15pt,
   		bottomdistance=0.5cm,
   		bottom=25pt] %,width=fit,height=fit]
	\setupwhitespace
  		[small]
	\setuptyping
  		[margin=standard]
	\setupbuttons
		[frame=off,
       	height=0.8cm,
      	width=0.10\textwidth]

	\def\InhoudButton%
  		{\button
     		{\tfxx Inhoud}[content]}

	\def\PreviousPageButton%
  		{\button
		{\tfxx $<--$}[PreviousPage]}

	\def\NextPageButton%
  		{\button
		{\tfxx $-->$}[NextPage]}

	\def\PreviousJumpButton%
  		{\button
		{\tfxx Terug}[PreviousJump]}

	\def\ExitButton%
  		{\button
		{\tfxx Verlaten}[CloseDocument]}

	\def\LastPageButton%
  		{\button
		{\tfxx Laatste}[LastPage]}

	% Define Background-button
	\def\BackgroundButton%
  		{\button
     		[backgroundoffset=.25cm,
      	frame=off,
      	height=\vsize,
      	width=\hsize]{}[NextPage]}

	% Bottom texts (interactive)
	\def\Klein%
		{\switchtobodyfont[10pt]}

	\setupbottomtexts
  	[{\Klein {\tfxx \copyright~W.Egger, 2001}}
  		\InhoudButton
	 	\hfill
	 	\PreviousPageButton
	 	\hfill
	 	\NextPageButton
	 	\hfill
	 	\PreviousJumpButton
	 	\hfill
	 	\LastPageButton
	 	\hfill
	 	\ExitButton][] %redundant

	\setuptexttexts
  		[\BackgroundButton]
  		[]
\stopnotmode

\stopenvironment

             reply	other threads:[~2001-03-11 20:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-11 20:47 Willi Egger [this message]
2001-03-12 10:15 ` Hans Hagen

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='002201c0aa6c$9ff99de0$0100a8c0@xs4all.nl' \
    --to=w.egger@xs4all.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).