I can confirm the problem for pgf in texlive 2007-13, using Ubuntu 8.04 hardy.
I examined tikz.code.tex, where [EMAIL PROTECTED]@[EMAIL PROTECTED] is defined:

[EMAIL PROTECTED]@[EMAIL PROTECTED]:#2\relax{%
  \pgfmathparse{#1}%
  [EMAIL PROTECTED]@start=\pgfmathresult%
  \pgfmathparse{#2}%
  [EMAIL PROTECTED]@end=\pgfmathresult%
  [EMAIL PROTECTED]@start+([EMAIL PROTECTED]@[EMAIL PROTECTED]@start)/[EMAIL 
PROTECTED]@samples}%
  [EMAIL PROTECTED]@[EMAIL PROTECTED]@start,\pgfmathresult,...,[EMAIL 
PROTECTED]@end}%
}

The colon used in this definition is used by babel as shorthand, see
frenchb.ldf. You could disable this shorthand temporarily. I modified
the example above to get it compilable:

\documentclass[10pt]{article}
\usepackage[frenchb]{babel}
\usepackage{tikz}
\begin{document}
\shorthandoff{:}
\begin{tikzpicture}
\draw plot[domain=-2:2] function{x};
\end{tikzpicture}
\shorthandon{:}
\end{document}

-- 
Tikz bugs when computing functions
https://bugs.launchpad.net/bugs/152315
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to