Skip to content

Commit

Permalink
suggest dimensions change if faced with issue #5
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabander committed Nov 13, 2013
1 parent 6fadae5 commit 95a2095
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ You may need to issue the `xelatex sicp.tex` command again once or twice to get

The Perl script pulls in both `preamble.tex` and `postamble.tex.` The preamble contains all the configuration and style declarations. Note that the LaTeX file `sicp.tex` will be generated on the fly, overwriting the previous version. To keep `sicp.texi` and `sicp.tex` in sync, I make changes to `sicp.texi,` which is already a hybrid of Texinfo and LaTeX code. This is fine, because all non-Texinfo content remains unchanged by the script.

Chances for successful compilation by `xelatex` are increased if you have almost complete installation of recent TeX Live distribution. The needed OpenType fonts must be installed in the operating system.
Chances for successful compilation by `xelatex` are increased if you have almost complete installation of recent TeX Live distribution (the pdf here is compiled with 2012 edition). The needed OpenType fonts must be installed in the operating system.

If compilation stops with "LaTeX Error: Too many unprocessed floats.", you could try to increase the width and height of text area in [preamble](https://github.com/sarabander/sicp-pdf/blob/master/src/preamble.tex#L70-L71). Newer TeX Live or fonts could result in different character metrics, so that some figures no longer fit. The problem is reported in issue [#5](https://github.com/sarabander/sicp-pdf/issues/5).

Acknowledgements
----------------
Expand All @@ -31,6 +33,7 @@ Acknowledgements
* Neil Van Dyke
* Gavrie Philipson
* J. E. Johnson
* Mingshen Sun

License
-------
Expand Down
6 changes: 3 additions & 3 deletions src/preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
% Page geometry for 10-inch tablets:
\usepackage[papersize={148mm,197mm},
top=21mm,
textwidth=111mm,
textheight=148mm,
hcentering,
textwidth=111mm, % increase one or both of these by 1mm or so to
textheight=148mm, % make the source compile with TeX Live 2013
hcentering, % if you get "Too many unprocessed floats" error
]{geometry}

\usepackage{titlesec} % to change the appearance of section titles
Expand Down

0 comments on commit 95a2095

Please sign in to comment.