Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This is my first time using docstrip. I've written the attempt.dtx file shown below. However, if I compile attempt.dtx using

pdflatex attempt.dtx

the generated documentation starts by a blank page (immediately followed by the title page). My TeX distro (TeX Live 2013) is up to date. I've compared my dtx to others on CTAN to identify what I'm doing wrong, but I seem to be doing everything right...

Where is that blank page coming from and how can I get rid of it?


% \iffalse meta-comment
% Copyright blah blah blah
% \fi
% \iffalse
%<package>  [2014/02/21 v0.1 test test test]
% \fi
% \CheckSum{0}
% \GetFileInfo{attempt.sty}
% \title{attempt}
% \author{Jubobs}
% \date{\filedate}
% \maketitle
% \begin{abstract}
%   test test test
% \end{abstract}
% \section{Introduction}
% \StopEventually{\PrintIndex}
% \section{Implementation}
% \Finale
share|improve this question
You have three spurious characters before \GetFileInfo – egreg Feb 21 '14 at 18:21
Yes! I should have guessed: I copied and pasted most lines from a PDF (Scott Pakin's How to Package Your LaTeX Package). You're a life saver! – Jubobs Feb 21 '14 at 18:25

1 Answer 1

up vote 6 down vote accepted

If I paste the line

% \GetFileInfo{attempt.sty}

in the input box, I get, in the Unicode U+hex box

% U+FFFC\GetFileInfo{attempt.sty}

So it's a spurious character that produces the problem. It appears as three bytes if Unicode is disabled; here's what less shows:

% <EF><BF><BC>\GetFileInfo{attempt.sty}

In the .log file you find

Missing character: There is no <EF> in font cmr10!
Missing character: There is no <BF> in font cmr10!
Missing character: There is no <BC> in font cmr10!

that's also a way to find the culprit.

share|improve this answer
Thanks! Those damned invisible characters... – Jubobs Feb 21 '14 at 18:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.