Take the 2-minute tour ×
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.

Note the way this renders when using pdftex.

\input eplain
\beginpackages
  \usepackage{url}
  \usepackage{color}
\endpackages

% comment in the following 4 lines
% \input tikz
% \enablehyperlinks
% \definecolor{urlcolor}{rgb}{.2,.4,.6}
% \hlopts{colormodel=,color=urlcolor}

% ... and comment me out
\enablehyperlinks\hlopts{}

\vbox to 0pt{}
\vfil

{\leftmargin=2in\rightmargin=2in
\definexref{anchor}{display}{type} Hi there. This refers to the
\ref{anchor}. This text should be in the center of the page. Right?}

\vfil\eject
\bye

The text is in the middle of the page between the top and bottom margins.

If you follow the instructions in the text and comment & uncomment the respective lines, the text will move to near the top of the page. Why is this and how can I fix it?

share|improve this question
    
I can't reproduce the issue. Which version of tikz do you use? There have been problems in the past with plain and it should now be fixed in the cvs repository (and in tlcontrib). –  cjorssen Feb 1 '12 at 8:36
    
@cjorssen, how can I tell the version? I installed the texlive version from MacPorts, my package manager. –  EfForEffort Feb 1 '12 at 15:47
    
\show\pgfversion after \input tikz. –  cjorssen Feb 1 '12 at 15:58
    
@cjorssen, I'm using tikz 2.10 (or pgf 2.10, I guess). –  EfForEffort Feb 2 '12 at 3:43
    
So you should update to the current cvs version (sourceforge.net/scm/?type=cvs&group_id=142562). –  cjorssen Feb 2 '12 at 12:40

1 Answer 1

up vote 2 down vote accepted

The issue you're describing has been hopefully fixed in the development version of tikz/pgf. You can get it from the cvs repository or here if you want a TDS packaged version or, if you're a TeXlive user, from the tlcontrib texlive repository.

share|improve this answer
    
This isn't really what I wanted to hear, but it's the right answer. Thanks. –  EfForEffort Mar 10 '12 at 4:06

Your Answer

 
discard

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.