diff --git a/README.md b/README.md index 880c179..99d77c1 100644 --- a/README.md +++ b/README.md @@ -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 ---------------- @@ -31,6 +33,7 @@ Acknowledgements * Neil Van Dyke * Gavrie Philipson * J. E. Johnson +* Mingshen Sun License ------- diff --git a/src/preamble.tex b/src/preamble.tex index c5e6ad4..a3bd370 100644 --- a/src/preamble.tex +++ b/src/preamble.tex @@ -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