I just want to add individual .pdf pages to my final latex document. A snippet of the code is presented below:
\documentclass[12pt, a4paper, twoside]{book}
\usepackage[top=1.50in, bottom=1.50in, left=1.25in, right=1.25in]{geometry}
...
\usepackage[shortlabels]{enumitem}
\usepackage{pdfpages}
\usepackage{balance}
\usepackage{color}
...
And this is why it tells me:
LaTeX Warning: You have requested package
eso-pic',
everyshi'.
but the package provides! LaTeX Error: Command \@EveryShipout@Hook already defined.
Or name \end… illegal, see p.192 of the manual.See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
I am using TeX Live 2012, on Ubuntu 11.10, with the pdflatex command for compilation.
Best Answer
I can't reproduce the error with the code snipset:
The file runs without errors or warnings. The version list:
In the comments the OP assumes the following as culprit:
The function can be found in the French Wikipedia:
Then μ and σ are the first and second parameter of your new function
gauss
. But there is a third paramter, the function argumentx
itself.Then the function is called with three arguments: μ, σ, and x. \pgfmathparse{gauss(0,1,2)}
The function can also be optimized. For example, the calculations with constants can be moved outside: