[xiph-commits] r9377 - trunk/vorbis/doc

thomasvs at motherfish-iii.xiph.org thomasvs at motherfish-iii.xiph.org
Mon Jun 6 09:14:24 PDT 2005


Author: thomasvs
Date: 2005-06-06 09:14:22 -0700 (Mon, 06 Jun 2005)
New Revision: 9377

Modified:
   trunk/vorbis/doc/Makefile.am
Log:
add two newlines as input to pdfxmltex for systems where tex complains with LaTeX Error: Something's wrong--perhaps a missing \item for no discernable reason

Modified: trunk/vorbis/doc/Makefile.am
===================================================================
--- trunk/vorbis/doc/Makefile.am	2005-06-06 15:39:26 UTC (rev 9376)
+++ trunk/vorbis/doc/Makefile.am	2005-06-06 16:14:22 UTC (rev 9377)
@@ -112,10 +112,15 @@
 Vorbis_I_spec.fo: $(BUILDDIR)/Vorbis_I_spec.xml
 	cd build; xsltproc --xinclude --output $@ spec-fo.xsl Vorbis_I_spec.xml && mv $@ ..
 
+# we add the two newlines to pdfxmltex because on a number of Fedora systems
+# tex prompts for input complaining about something;
+# and surprisingly there's no way to tell tex to ignore that
+# also, --interaction doesn't seem to actually do anything different
+# if you change it
 Vorbis_I_spec.pdf: Vorbis_I_spec.fo $(SPEC_PNG_BUILD) $(SPEC_PDF_BUILD)
 	cp $< build/spec.fo # work around a passivetex bug
-	cd build; pdfxmltex --interaction nonstopmode spec.fo
-	cd build; pdfxmltex --interaction nonstopmode spec.fo
+	cd build; echo -e -n "\n\n" | pdfxmltex --interaction nonstopmode spec.fo
+	cd build; echo -e -n "\n\n" | pdfxmltex --interaction nonstopmode spec.fo
 	rm build/spec.fo
 	mv build/spec.pdf $@
 else



More information about the commits mailing list