mcnees / LaTeX-Graph-Paper

Make your own quadrille, graph, hex, etc paper! Uses the pgf/TikZ package for LaTeX, which should be part of any modern TeX installation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some error about `Pattern `' already defined`

pxxyyz opened this issue · comments

I use TeX Live (2019/W32TeX) and run the engineer-pad.tex example.

\documentclass{article}
\usepackage[pattern=majmin, colorset=engineer]{gridpapers}
\begin{document}
\thispagestyle{empty}
~
\end{document}

There are four error as following. And I skip those errors and run pdflatex twice

! Package pgf Error: Pattern `' already defined.

See the pgf package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.545 \GP@declaretripat
                       
? 

! Package pgf Error: Pattern `' already defined.

See the pgf package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.546 \GP@declarelightconepat
                             
? 

! Package pgf Error: Pattern `' already defined.

See the pgf package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.547 \GP@declaredotpat
                       
? 

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.547 \GP@declaredotpat
                       
? 
) (./graph paper.aux)
\openout1 = `"graph paper.aux"'.

At the same time, text appears in the output PDF.
image

The input of other mode parameters results in a completely black pdf output.

Could this be a problem with the Tex Live version?

@pxxyyz this appears to be an issue with the TeX Live version as you suggested. I upgraded to 2022/Debian and no longer have this issue