From: Ben Pfaff <blp@cs.stanford.edu>
Date: Mon, 17 Jul 2017 04:07:33 +0000 (-0700)
Subject: doc: Keep copyright and license comments from showing up in TeX output.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53f132c7a4afb6bdf7335b5ce4df3c8b7aab8dbe;p=pspp

doc: Keep copyright and license comments from showing up in TeX output.

The "\input texinfo" line is what changes the comment syntax from TeX
syntax to Texinfo syntax, so it has to go before the @c comments or else
those comments show up in output produced by TeX.
---

diff --git a/doc/pspp-dev.texi b/doc/pspp-dev.texi
index b33d35f53f..1570271a22 100644
--- a/doc/pspp-dev.texi
+++ b/doc/pspp-dev.texi
@@ -1,3 +1,4 @@
+\input texinfo @c -*- texinfo -*-
 @c PSPP - a program for statistical analysis.
 @c Copyright (C) 2017 Free Software Foundation, Inc.
 @c Permission is granted to copy, distribute and/or modify this document
@@ -6,8 +7,7 @@
 @c with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 @c A copy of the license is included in the section entitled "GNU
 @c Free Documentation License".
-@c
-\input texinfo @c -*- texinfo -*-
+
 @c %**start of header
 @setfilename pspp-dev.info
 @settitle PSPP
diff --git a/doc/pspp.texi b/doc/pspp.texi
index 6b0eac1a51..2e8b8f43f2 100644
--- a/doc/pspp.texi
+++ b/doc/pspp.texi
@@ -1,3 +1,4 @@
+\input texinfo @c -*- texinfo -*-
 @c PSPP - a program for statistical analysis.
 @c Copyright (C) 2017 Free Software Foundation, Inc.
 @c Permission is granted to copy, distribute and/or modify this document
@@ -6,8 +7,7 @@
 @c with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 @c A copy of the license is included in the section entitled "GNU
 @c Free Documentation License".
-@c
-\input texinfo @c -*- texinfo -*-
+
 @c %**start of header
 @setfilename pspp.info
 @settitle PSPP