ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Empty last page, broken markings ??
@ 2006-08-23 13:06 WN
  2006-08-23 16:52 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: WN @ 2006-08-23 13:06 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 2155 bytes --]

Hello,

The last page in my documents is always empty. The document is setup as 
singlesided via

*\setuppagenumbering[location=,alternative=singlesided,way=bytext,partnumber=no]*

On http://wiki.contextgarden.net/Empty_page_at_the_end a workaround is 
given, by using

\setupsectionblock[frontpart][page=no]
\setupsectionblock[bodypart][page=no]
\setupsectionblock[appendix][page=no]
\setupsectionblock[backpart][page=no]

In my environment I only use :
*\setupsectionblock[bodypart][page=no]** *

This eliminates the empty page at the end of my document, however the
chapter and section markers in the page headers/footers for the last couple of pages are not working anymore.
I use the following setup

% reset footer texts
\setupfootertexts[]

%
% First page of chapter has a footer, no header
%
\definetext[chapterfooter][footer][{{\blue\pagenumber} \hfill Hoofdstuk \getmarking[chapternumber]} ]
\setuphead[chapter][footer=chapterfooter,header=empty]

%
% All other pages have a header, no footer
%
\setupheadertexts[\setups{texta}][][][\setups{textb}]
\startsetups[texta]
 \inframed[frame=off,framecolor=black,rulethickness=0.8pt,bottomframe=on,width=\textwidth]{ {\blue\pagenumber}
  \hfill
  \getmarking[chapter]
  \hfill
  Hoofdstuk \getmarking[chapternumber]}
\stopsetups
\startsetups[textb]
\inframed[frame=off,framecolor=black,rulethickness=0.8pt,bottomframe=on,width=\textwidth]{ {\blue\getmarking[sectionnumber]}
  \hfill
  \getmarking[section]
  \hfill
  {\blue\pagenumber}}
\stopsetups

I use a couple of environment files which all define several things, title page, Table of contents,
Table of Figures, page layout, page numbering, headers/footers etc. I could attach all of them,
but I think the above settings are the one's that matter. I am not sure how to proceed to provide
the correct but minimal information. I tried to put everything in a test file, but I was not successful.

I tried to attach the last three pages of my document, which demostrates the problem
but I exceeded the 40 KB. Is there another way of uploading documents 
which are more than 40 KB in size ?

Any help is appreciated

Kind regards
Wim Neimeijer







[-- Attachment #1.2: Type: text/html, Size: 3040 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-24 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-23 13:06 Empty last page, broken markings ?? WN
2006-08-23 16:52 ` Taco Hoekwater
2006-08-24 13:43   ` WN

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).