Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I convert the pdf to txt, open with emacs and look at

1348 0 obj
<</Metadata 1302 0 R/PageLabels 1306 0 R/Pages 1308 0 R/Type/Catalog>>

QUESTION: I want the first n pages to be numbered in roman, the following arabic: what is the string I need to put ? (the general idea is here How to change internal page numbers in the meta data of a PDF? , but the coding is slightly different)

BONUS question: is it possible to do this job via some command line tool, e.g. pdftk?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.