Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tG0rJ-000Q9W-7E for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Nov 2024 19:04:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tG0rH-0097yE-Ks for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Nov 2024 19:04:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tG0rH-0097y6-BQ for pgsql-hackers@lists.postgresql.org; Tue, 26 Nov 2024 19:04:23 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tG0rE-004Bxp-MM; Tue, 26 Nov 2024 19:04:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=4x5gSgcM1yxuw2jPYkXbQ+Y7korH5KwuLUlQLpGzn3k=; b=mxhgA G9Zfat7+sZCT6IqVhcCDj/RAkd+TOV0DUwKYikF25SfFJHUDLQv+nIcu6Q4LbAk/7h6CVEWLnA+Fo KPqglDs0tLoC2CBj7FOIU99NIcZm3RJyU3B84CgnTS+XCEtoYD+en5F173glgJnKYCYvlYb+QVNNi p1J1OkecJjMJ412KumpjbOTG1Io6Yht2klOBF0cXJeSq9LO4nbGtOH8fnx4j28sEr42WEZhJsn7JL 2QOCKt5+PdX6+48xm33vuRY52Kt7kX6RLt1eJpTdvv8VlOsGrU01emjhVkMeVFk7l6MgrSVBeDn62 KGx3RxcIiSeiZdhVNmsNDlmlS1CYQ==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1tG0r9-00B9NP-2n; Tue, 26 Nov 2024 14:04:15 -0500 Date: Tue, 26 Nov 2024 14:04:15 -0500 From: Bruce Momjian To: Tom Lane Cc: Tatsuo Ishii , nagata@sraoss.co.jp, peter@eisentraut.org, daniel@yesql.se, pgsql-hackers@postgresql.org Subject: Re: Doc: typo in config.sgml Message-ID: References: <20241119112907.1cdfe086df16e7ac173f9571@sraoss.co.jp> <20241119193121.7ba727c489b5f0b6d20f9c25@sraoss.co.jp> <20241126.182513.1752581942460106099.ishii@postgresql.org> <1682864.1732639382@sss.pgh.pa.us> <1689262.1732642897@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="HpkrNr5+cKEDw25c" Content-Disposition: inline In-Reply-To: <1689262.1732642897@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --HpkrNr5+cKEDw25c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 26, 2024 at 12:41:37PM -0500, Tom Lane wrote: > Bruce Momjian writes: > > On Tue, Nov 26, 2024 at 11:43:02AM -0500, Tom Lane wrote: > >> I don't think this patch is doing anything I want at all. > > > Gee, I kind of liked the patch, but maybe you didn't like the additional > > complexity to check the PDF output twice, once on input (complex) and > > once on output. The attached patch only does the output check. > > It's still not doing anything I want at all. I'm with Tatsuo > on this: I do not want the makefiles deciding for me which > warnings are acceptable. Okay, how about the attached patch that just prints the message at the bottom, with no error. We could do this for all warnings, but I think there are some we expect. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com When a patient asks the doctor, "Am I going to die?", he means "Am I going to die soon?" --HpkrNr5+cKEDw25c Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="latin1.diff" diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index a04c532b536..cffb06317f9 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -156,7 +156,9 @@ XSLTPROC_FO_FLAGS += --stringparam img.src.path '$(srcdir)/' $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_FO_FLAGS) --stringparam paper.type USletter -o $@ $^ %.pdf: %.fo $(ALL_IMAGES) - $(FOP) -fo $< -pdf $@ + LANG=C $(FOP) -fo $< -pdf $@ 2>&1 | \ + awk 'BEGIN { warn = 0 } { print } /not available in font/ { warn = 1 } \ + END { if (warn != 0) print("\nFound characters that cannot be displayed in the PDF document") }' 1>&2 ## --HpkrNr5+cKEDw25c--