Yanyg - Software Engineer

Sony Digital Paper PDF

手头有个10.3英寸的DPT-CP1。默认的PDF都是A4排版的,看起来有点累。希望做成B5排版的,且为了有效率用屏幕,需要把边距做窄。

使用texinfo生成手册,一般有文件texinfo.tex。需要参考A4/A5定义,新生成一个页面配置:

\def\dppaper{{\globaldefs = 1
  \parskip = 2pt plus 1pt minus 0.1pt
  \textleading = 12.5pt
  %
  \internalpagesizes{150mm}{140mm}%
                    {20mm}{-17mm}%
                    {\bindingoffset}{8pt}%
                    {210mm}{156mm}%
  %
  \lispnarrowing = 0.2in
  \tolerance = 800
  \hfuzz = 1.2pt
  \contentsrightmargin = 0pt
  \defbodyindent = 2mm
  \tableindent = 12mm
}}

设置默认页面为dppaper,替换原来的letterpaper:

% \letterpaper
\dppaper

需要安装latex.