Re: [NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Wolfgang Schuster via ntg-context

Joel via ntg-context schrieb am 17.01.2022 um 17:11:
I created a book that strangely renders with an entirely blank page. 
There are tons and tons of macros, in dozens of files defined before the 
document starts, but the document itself starts quite simply with a 
title page set inside \startfrontmatter. How can I identify what types 
of preamble information would be causing an entire blank page to render 
before the document even begins?


This minimum working example won't show me the error, but it does show I 
simply have \starttext followed by my title and nothing is between that 
should be rendering an entire blank page.


It's possible you have something in your setups which produces text 
which isn't visible in the PDF because no font was loaded at this point, 
run my example below to see the effect.


To find the problem in your setup first create a new document where you 
use something simple like in my example as content but add you complete 
setups before \starttext. When this is done you can comment (or delete) 
parts of the setup until the empty page disappears.


 begin example
hidden text

\starttext

\startstandardmakeup
Text
\stopstandardmakeup

\stoptext
 end example

Wolfgang
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Joel via ntg-context
I created a book that strangely renders with an entirely blank page. There are 
tons and tons of macros, in dozens of files defined before the document starts, 
but the document itself starts quite simply with a title page set inside 
\startfrontmatter. How can I identify what types of preamble information would 
be causing an entire blank page to render before the document even begins?

This minimum working example won't show me the error, but it does show I simply 
have \starttext followed by my title and nothing is between that should be 
rendering an entire blank page.
--Joel
My minimum working example is here:

\definemakeup[titlepage][align=middle]

\definealternativestyle[titlestyle][\ss\bfd][]
\definealternativestyle[subtitlestyle][\ss\bfb][]
\definealternativestyle[authorstyle][\ss\tfa][]

\starttext % <-- there is no code between \starttext and \startfrontmatter 
below.
    \startfrontmatter
        \startmakeup[titlepage]
            \titlestyle{My story}
            \blank[big]
            \subtitlestyle{\date}
            \blank[big]
            \authorstyle{My name}
        \stopmakeup
    \stopfrontmatter

    \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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___