From owner-freebsd-doc@freebsd.org Fri Jan 6 18:05:07 2017 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4E05CA2CA3 for ; Fri, 6 Jan 2017 18:05:07 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CD4F1A1A for ; Fri, 6 Jan 2017 18:05:07 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:54763] helo=raspberrypi.bildanet.com) by cdptpa-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 16/3C-28949-15CDF685; Fri, 06 Jan 2017 18:05:05 +0000 Received: from [192.168.1.40] (helo=desktop.example.org) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1cPYsz-0003Qp-Av; Fri, 06 Jan 2017 13:05:05 -0500 Subject: Re: Building docs To: Warren Block References: <5ff12bca-f3c1-aef9-d665-66e4adf95f7e@columbus.rr.com> Cc: freebsd-doc@FreeBSD.org From: scrat Message-ID: <19df6d46-9be4-1203-95b8-c8c70eaff4f7@columbus.rr.com> Date: Fri, 6 Jan 2017 13:05:05 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.7:25 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2017 18:05:07 -0000 On 01/06/17 12:55, Warren Block wrote: > On Fri, 6 Jan 2017, scrat wrote: > >> >> >> On 01/06/17 11:22, Warren Block wrote: >>> On Fri, 6 Jan 2017, scrat wrote: >>> >>>> I am trying to render the documentation from the svn repo for the docs. >>>> >>>> I have followed the fdp-primer as well as I can and installed >>>> textproc/docproj. >>>> >>>> Here is what I did >>>> >>>> svn checkout https://svn.FreeBSD.org/doc/head ~/doc >>>> cd ~/doc/en_US.ISO8859-1/books/handbook >>>> make FORMATS="html pdf" DESTDIR="~/books/handbook" install >>>> >>>> >>>> html works >>>> >>>> pdf the text is rendered as ######### ############## ############# etc. >>>> >>>> How to fix? >>> >>> Did you install textproc/docproj as a package or a port? >> >> I installed by ports using synth. Built from 2017Q1 branch port. > > Well, okay, but what I'm trying to determine is whether the options were > the defaults or not. The correct fonts for PDF generation should be > installed when the FOP option is set. Installing fop on its own as a > separate package might not do that. I have found the issue... synth uses the default options and fop is not set in the makefile. I had synth build fop separate for docproj. editing the docproj Makefile From: OPTIONS_DEFAULT+= SVN To: OPTIONS_DEFAULT+= SVN FOP makes it all work. There is nothing in the fdp-primer about this, that is why I think I missed it.