changeset 9778:7b8f901268f6

Explain how to remedy the TeX save_size error.
author Bruno Haible <bruno@clisp.org>
date Mon, 10 Mar 2008 00:00:52 +0100
parents 631ce3b6e822
children 569a44f4dd4d
files ChangeLog doc/Makefile
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-09  Bruno Haible  <bruno@clisp.org>
+
+	* doc/Makefile (%.pdf): Explain how to remedy the save_size error.
+	Report and solution by Simon Josefsson.
+
 2008-03-06  Bruno Haible  <bruno@clisp.org>
 
 	Make fflush after ungetc work on BSD platforms.
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -16,7 +16,7 @@
 	LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo --no-split --reference-limit=2000 $<
 
 %.pdf: %.texi
-	texi2pdf $<
+	texi2pdf $< || { if texi2pdf $< 2>/dev/null | grep 'TeX capacity exceeded, sorry \[save size=' > /dev/null; then echo '*** You must increase the save_size in your texmf.cnf file.'; fi; exit 1; }
 
 all: info html dvi
 info: $(doc).info