I am using the pdfpages package to include a reprint of a journal article in my dissertation. I am using the addtolist command to add the figures and tables from the included pages into the main document's list of figures and list of tables. It is only partly working. Here is what is happening:
1) If I just do figures, in order of included page number, it works fine.
Code: Select all
\includepdf[pages=-, addtolist={2,figure,Location Figure,fig:2.1[,3,figure,Space-time Evolution of Mw $\ge$ 5.0 Earthquakes on Discovery,fig:2.2[,4,figure,Bathymetry of the Discovery Transform Fault,fig:2.3[,7,figure,Example of a Relative Relocation,fig:2.4[,8,figure,Relocation of the 1998 Mw 5.5 Earthquake,fig:2.5[,9,figure,Repeating Rupture Patches on the Discovery Transform Fault,fig:2.6[,9,figure,Microseismicity on the Discovery Transform Fault,fig:2.7[,10,figure,Differential First Arrival Times for P- and S-waves between Stations D01 \& D07,fig:2.8[,11,figure,Map View and Cross-section of the Combined Seismicity on Discovery, fig:2.9]]]]]]]]}, pagecommand={\thispagestyle{plain}}, scale=0.85, noautoscale=true]{chapters/chap2/paper.pdf}
Code: Select all
\includepdf[pages=-, addtolist={2,figure,Location Figure,fig:2.1[,3,figure,Space-time Evolution of Mw $\ge$ 5.0 Earthquakes on Discovery,fig:2.2[,4,figure,Bathymetry of the Discovery Transform Fault,fig:2.3[,7,figure,Example of a Relative Relocation,fig:2.4[,7,table,Hydroacoustic Events Used in the Relocation of the 1998 Mw 5.5 Event,tab:2.1[,8,table,Estimated Centroid Locations of the 15 Mw $\ge$ 5.4 Repeating Earthquakes,tab:2.2]]]]]}, pagecommand={\thispagestyle{plain}}, scale=0.85, noautoscale=true]{chapters/chap2/paper.pdf}
Code: Select all
PDFpages error: missing number.
5) If I make separate addtolist options, one for tables and one for figures, only the second one works.
Does anyone know how to get addtolist to work with both figure and table entries?
Thank you so much.
Page number in option "addtolist" is not a number.