LaTeX forum ⇒ Page LayoutCreatepage blocks \begin{document}

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Posts: 2
Joined: Sun Sep 16, 2018 5:04 pm

Createpage blocks \begin{document}

Postby Haines » Sun Sep 16, 2018 5:52 pm

I installed Giniewics' createpage.sty file.
  1. \documentclass{memoir} %
  2. \usepackage{createspace} %
  3. \usepackage[T1]{fontenc} %
  4. \usepackage[utf8]{inputenc} %
  5. \usepackage{tgtermes} %
  7. \begin{document}
  8. test
  9. \end{document}

Result: LaTeX Error: Missing \begin{document}


User avatar
Site Moderator
Posts: 3830
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Sep 16, 2018 5:57 pm

Haines wrote:I installed Giniewics' createpage.sty file.

Welcome to the forum.
Where does this package come from?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9019
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Sep 16, 2018 7:01 pm

Sounds like this one:

Site admin

Posts: 170
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Mon Sep 17, 2018 3:02 am

Well, if you tried to download file by file from that page, there's a good chance you got html files instead of text files...
try the clone/download button instead.


Posts: 2
Joined: Sun Sep 16, 2018 5:04 pm

Postby Haines » Thu Sep 20, 2018 2:42 pm

I may have found the reason for the error message, but not the solution.

When pdflatex is run on the test file, the log has:

  1. ...
  2. ! pdfTeX error (ext5): cannot open file for embedding.
  3. \@begindocumenthook ..._Uncoated_ISO12647_bas.ICC}
  4. \edef \cs@profile {\the \p...
  5. l.13 \begin{document}
  6. %
  7. ! ==> Fatal error occurred, no output PDF file produced!

When I unzipped the package from github, it provided these files:


Directions said to put the .ICC files into a TeX path. So I simply copied
them to the same place as the createspace.sty file. But the names are
not quite the same as the file mentioned in the log.

Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 1 guest