Permalink
Browse files

suggest dimensions change if faced with issue #5

  • Loading branch information...
1 parent 6fadae5 commit 95a2095b7542523cb4e038e6feb00a28596cc3b1 @sarabander committed Nov 13, 2013
Showing with 7 additions and 4 deletions.
  1. +4 −1 README.md
  2. +3 −3 src/preamble.tex
View
@@ -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
-------
View
@@ -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

0 comments on commit 95a2095

Please sign in to comment.