# \label inside the \pagecommand inside \includepdfmerge does not seem to work

\includepdfmerge[
nup=1x2,
frame,
landscape,
scale=0.8,
pagecommand={{\chapter{fracture}\section{Theoretical}},{\label{sect:frac-theor}}}]
{icm-model.pdf,1,/Fractal-Fracture-SE.pdf,1}

will result in the wrong entry when \ref{sect:frac-theor} is subsequenly invoked and does not even point to the correct page.

A similar problem encountered with

\includepdf[
scale=0.8,
frame,
page=1,
pagecommand={{\section{Fluid-Fracture Interaction}},{\label{sect:fluid-fracture}}}]
{c:/Victor/Research/Pdf-Library/Saouma/slowik-dynamic-uplift.pdf}
-
What's the comma in pagecommand for? –  egreg Apr 27 '12 at 0:00