changeset 9244:f262a3e9e21e

Change texi2pdf call to include local TeX configuration file which increases save_history variable. The current pdf documentation cannot be built unless the save_size variable is increased from its value of 5000. On UNIX systems, not all users will have local root and the ability to change the default. I work around this by defining a local configuration file to use in addition to the system-wide texmf.cnf file.
author Rik <rdrider0-list@yahoo.com>
date Thu, 21 May 2009 13:41:36 -0700
parents a934975ab458
children 16f53d29049f
files doc/ChangeLog doc/interpreter/Makefile.in doc/texmf.cnf
diffstat 3 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-21  Rik  <rdrider0-list@yahoo.com>
+
+	* interpreter/Makefile.in, texmf.cnf: Change texi2pdf call to include local
+	TeX configuration file which increases save_history variable.
+
 2009-05-17  Rik  <rdrider0-list@yahoo.com>
 
 	* interpreter/tips.txi: Change recommendation to use @tex rather than
--- a/doc/interpreter/Makefile.in
+++ b/doc/interpreter/Makefile.in
@@ -136,9 +136,11 @@
 # octave-a4.texi) and call texi2[dvi|pdf] on it.
 
 TEXI2DVICOMMAND = TEXINPUTS="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXINPUTS)$(sepchar)" \
+	TEXMFCNF="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXINPUTS)$(sepchar)" \
 	  $(TEXI2DVI)
 
 TEXI2PDFCOMMAND = TEXINPUTS="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXINPUTS)$(sepchar)" \
+	TEXMFCNF="..$(sepchar)$(srcdir)$(sepchar)$(srcdir)/..$(sepchar)$(TEXMFCNF)$(sepchar)" \
 	  $(TEXI2PDF)
 
 FORMATTED = octave.info octave.pdf octave-a4.pdf octave.info-[0-9]*
new file mode 100644
--- /dev/null
+++ b/doc/texmf.cnf
@@ -0,0 +1,3 @@
+% Increase save size to run @seealso macro for Octave documentation
+save_size = 10000
+