Created
June 14, 2013 08:15
-
-
Save laanwj/5780289 to your computer and use it in GitHub Desktop.
Texinfo.tex configuration for generating PDFs readable with Kobo Glo 6" screen size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\def\afivepaper{{\globaldefs = 1 | |
\parskip = 2pt plus 1pt minus 0.1pt | |
\textleading = 12.5pt | |
% | |
\internalpagesizes{111mm}{94mm}% | |
{-.5in}{-.85in}% | |
{0pt}{8pt}% | |
{127mm}{100mm}% | |
\lispnarrowing = 0.2in | |
\tolerance = 800 | |
\hfuzz = 1.2pt | |
\contentsrightmargin = 0pt | |
\defbodyindent = 2mm | |
\tableindent = 12mm | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change the
\afivepaper
section intexinfo.tex
to this, add@afivepaper
to the start of the.texi
(replace any other paper size directives), and copy it to the directory in which the pdf is generated.A more flexible approach would be to use the steps on https://github.com/ikrukov/epub to convert the texi to epub. However, this didn't work for the gdb manual, it generates an invalid docbook that can not be xslt'ed to epub due to some listitem issue.