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.
Other
457 stars 46 forks source link

Some error about `Pattern `' already defined` #24

Open pxxyyz opened 3 years ago

pxxyyz commented 3 years ago

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 pdflatextwice

! 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?

eirianop commented 1 year ago

@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