如何将页码添加到Postscript/PDF [英] How to add page numbers to Postscript/PDF

查看:121
本文介绍了如何将页码添加到Postscript/PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您在Postscript中有一个大文档(500页以上),并且想要添加页码,那么有人知道如何执行此操作吗?

If you've got a large document (500 pages+) in Postscript and want to add page numbers, does anyone know how to do this?

推荐答案

这可能是一种解决方案:

This might be a solution:

  1. 使用ps2pdf
  2. 将Postscript转换为pdf
  3. 创建一个LaTeX文件并使用 pdfpages 包(\includepdf)
  4. 插入页面
  5. \includepdf
  6. 的参数中使用pagecommand={\thispagestyle{plain}} fancyhdr 包中的某些内容
  7. 如果需要输出postscript,请通过pdf2ps
  8. 将pdflatex输出转换回postscript.
  1. convert postscript to pdf using ps2pdf
  2. create a LaTeX file and insert the pages using the pdfpages package (\includepdf)
  3. use pagecommand={\thispagestyle{plain}} or something from the fancyhdr package in the arguments of \includepdf
  4. if postscript output is required, convert the pdflatex output back to postscript via pdf2ps

这篇关于如何将页码添加到Postscript/PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆