r - PDF page number clashes with LaTeX page number when included -


another day, question! have created documentation of r package using r cmd rd2pdf workdir/. documentation done in roxygen2 comments.

i wanted include pdf latex script, have managed follows:

\usepackage{pdfpages}  \includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{docu.pdf} 

which means included pdf pages , used pagecommand option make latex page numbering visible again.

which worked quiet far. scrolling through pages liked outcome - until reached last page of included pdf, index page.

sadly, page numbering of both, latex , included pdf, both @ bottom - last page. don't , maybe can relate (see image).

i can think of 3 possibilities: 1) somehow remove index page 2) remove pdf numbering index page or @ least move it. 3) remove latex page number page.

which do? think option 3) easiest, maybe missing something.

this how looks like...

thank you!

without working example can't confirm answer? tex.stackexchange-includepdf-pages-with-page-numbering-of-new-document-and-remove-blank-page-after

does following work?

\usepackage{pdfpages}  \includepdf[pages=-,pagecommand={}]{docu.pdf} 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -