Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\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}
share|improve this question
1  
What's the comma in pagecommand for? –  egreg Apr 27 '12 at 0:00

1 Answer 1

The pagecommand option doesn't take a list as argument:

pagecommand={\chapter{fracture}\section{Theoretical}\label{sect:frac-theor}}
share|improve this answer
    
Does { } around \chapter and \section would localize the internal macros used by \label? This would explain why it doesn't work here with them. –  Martin Scharrer Apr 27 '12 at 0:16
    
@egreg: it worked, thanks –  victor Apr 27 '12 at 5:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.