Skip to content

Commit

Permalink
gavrie's additions
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabander committed Nov 21, 2011
2 parents af59c1b + 58ae231 commit f0f9d21
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
6 changes: 0 additions & 6 deletions README

This file was deleted.

3 changes: 3 additions & 0 deletions src/sicp.texi
@@ -1,5 +1,6 @@
\input texinfo
@input utopia
@kindle
@comment **********************************************************
@setfilename sicp
@settitle Structure and Interpretation of Computer Programs, 2e
Expand Down Expand Up @@ -132,6 +133,8 @@ based on @url{http://www.neilvandyke.org/sicp-texi/, 2.neilvandyke4} (January 10
@end titlepage
@everyheading @| @| @thispage

@headingsoff

@c to suppress the black boxes after overfull lines:
@finalout

Expand Down
25 changes: 23 additions & 2 deletions src/texinfo.tex
Expand Up @@ -253,7 +253,7 @@
\newdimen\outerhsize \newdimen\outervsize % set by the paper size routines
\newdimen\cornerlong \cornerlong=1pc
\newdimen\cornerthick \cornerthick=.3pt
\newdimen\topandbottommargin \topandbottommargin=.75in
\newdimen\topandbottommargin \topandbottommargin=0in

% Output a mark which sets \thischapter, \thissection and \thiscolor.
% We dump everything together because we only have one kind of mark.
Expand Down Expand Up @@ -754,7 +754,8 @@

% @endpage starts a new page without restarting footnote counter from zero % new def added by A.R
%
\def\endpage{\par\vfill\par\penalty -20000}
%\def\endpage{\par\vfill\par\penalty -20000}
\def\endpage{}

% @exdent text....
% outputs text on separate line in roman font, starting at standard page margin
Expand Down Expand Up @@ -9184,6 +9185,26 @@
{11.5in}{8.8in}%
}}
% Use @kindle for Kindle formatting (based on smallbook)
\def\kindle{{\globaldefs = 1
\parskip = 2pt plus 1pt
\textleading = 20pt
%
% Parameters in order: 1) textheight; 2) textwidth;
% 3) voffset; 4) hoffset; 5) binding offset; 6) topskip;
% 7) physical page height; 8) physical page width.
\internalpagesizes{7.5in}{5.5in}%
{-0.75in}{-0.75in}%
{0pt}{0pt}%
{8in}{6in}%
%
\lispnarrowing = 0.3in
\tolerance = 700
\hfuzz = 1pt
\contentsrightmargin = 0pt
\defbodyindent = .5cm
}}
% Use @smallbook to reset parameters for 7x9.25 trim size.
\def\smallbook{{\globaldefs = 1
\parskip = 2pt plus 1pt
Expand Down

0 comments on commit f0f9d21

Please sign in to comment.