Sorry in advance for the possible lack of details. I'm not experienced and I don't know what could help you to make an educated guess; feel free to ask for details and I'll be more than happy to provide them.
I have an issue that has been bugging me for several months, and I can't find a working solution. Straight to the point, whenever I try to use TikZ/PGF with pdflatex in conjunction with iccv.sty, I get the following error:
- ! Illegal unit of measure (pt inserted).
<to be read again>
\kern
Code: Select all
\documentclass[10pt,twocolumn,letterpaper]{article}
\usepackage{iccv}
\usepackage{pgfplots}
\usepackage{pgf,tikz}
% Include other packages here, before hyperref.
% If you comment hyperref and then uncomment it, you should delete
% egpaper.aux before re-running latex
\usepackage[pagebackref=true,breaklinks=true,letterpaper=true,colorlinks,bookmarks=false]{hyperref}
% \iccvfinalcopy % *** Uncomment this line for the final submission
\def\iccvPaperID{1111} % *** Enter the ICCV Paper ID here
\def\httilde{\mbox{\tt\raisebox{-.5ex}{\symbol{126}}}}
% Pages are numbered in submission mode, and unnumbered in camera-ready
\ificcvfinal\pagestyle{empty}\fi
\begin{document}
\title{test}
\author{First Author}
\maketitle
test
\end{document}
Some people do not experience this problem. I tried by changing distribution (Miktex, Texlive) and using online services (Overleaf, ShareLatex). Out of the four options, and using the exact same source files, only ShareLatex is able to recover from the error and produce the correct pdf.
I tried looking at the full log of ShareLatex, and even though it DOES give the error above, for some reason it bypasses it and is able to compile correctly. It would be great if I could reproduce this behavior, and I'm sure many other researchers will find it super helpful.
Please help! And please bear with my ignorance, I'll do my best to give the necessary details.
Thank you very much!