I am putting the graph I generated into two pdf separately by putpdf command below. (This is just an example. I have over 150 graphs to put into pdf actually...)
Code:
forvalues k = 1/2 { if `k' == 1 { local image_name "yr\`i\'_first_stage_\`j\'_tlf.png" local pdf_name "first_stage_tlf.pdf" } else if `k' == 2 { local image_name "same_school_last_y_year\`i\'_\`j\'_r1.png" local pdf_name "same_school_last_year_r1.pdf" } putpdf clear putpdf begin putpdf paragraph forvalues i = 2/5 { forvalues j = 1/3 { putpdf image `image_name', height(4.9) } } putpdf save `pdf_name', replace }
Otherwise, I can only put the two pdf I generated here into latex and then add a table of content to merge them together.
Thanks.
0 Response to Question on putpdf
Post a Comment