ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to troubleshoot why my document begins with a blank page?
       [not found] <1390850709.571762.1642435909995.ref@mail.yahoo.com>
@ 2022-01-17 16:11 ` Joel via ntg-context
  2022-01-17 16:31   ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2022-01-17 16:11 UTC (permalink / raw)
  To: ntg-context; +Cc: Joel


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

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

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: How to troubleshoot why my document begins with a blank page?
  2022-01-17 16:11 ` How to troubleshoot why my document begins with a blank page? Joel via ntg-context
@ 2022-01-17 16:31   ` Wolfgang Schuster via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2022-01-17 16:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Joel via ntg-context; +Cc: Wolfgang Schuster

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
___________________________________________________________________________________

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

end of thread, other threads:[~2022-01-17 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1390850709.571762.1642435909995.ref@mail.yahoo.com>
2022-01-17 16:11 ` How to troubleshoot why my document begins with a blank page? Joel via ntg-context
2022-01-17 16:31   ` Wolfgang Schuster via ntg-context

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