Received: from mail-iy0-f189.google.com ([209.85.210.189]:37056) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1RRobe-0000KY-P0; Sat, 19 Nov 2011 09:21:43 -0800 Received: by iage36 with SMTP id e36sf6933900iag.16 for ; Sat, 19 Nov 2011 09:21:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=8aIP4mVk2bYd2d7QOUi3lLj2wbv4jFYKC0y4u0eSO/U=; b=O9VcbpNmMDG3zOgPiPnkp8KfAudWezX+DwiSLIRj7r6b/A5l7Tr8dQasIdJgVAj3i2 wQXeiXZSokJofSD7RLwz+7fVP2QidE+mNguN8RwPjoeUJ8n6xANtgODpSIQKe2TR3Pxh LG5SeupQjNzGs4QUPNw+GvehpQFHJI5FotAfM= Received: by 10.50.94.134 with SMTP id dc6mr1093389igb.9.1321723285790; Sat, 19 Nov 2011 09:21:25 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.231.24.104 with SMTP id u40ls3014932ibb.6.gmail; Sat, 19 Nov 2011 09:21:24 -0800 (PST) Received: by 10.42.158.4 with SMTP id f4mr11194481icx.4.1321723284965; Sat, 19 Nov 2011 09:21:24 -0800 (PST) Received: by 10.42.158.4 with SMTP id f4mr11194478icx.4.1321723284954; Sat, 19 Nov 2011 09:21:24 -0800 (PST) Received: from mail-iy0-f177.google.com (mail-iy0-f177.google.com [209.85.210.177]) by gmr-mx.google.com with ESMTPS id ic2si828747icc.3.2011.11.19.09.21.24 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Nov 2011 09:21:24 -0800 (PST) Received-SPF: pass (google.com: domain of rdentato@gmail.com designates 209.85.210.177 as permitted sender) client-ip=209.85.210.177; Received: by mail-iy0-f177.google.com with SMTP id p10so6767349iap.36 for ; Sat, 19 Nov 2011 09:21:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.140.1 with SMTP id rc1mr8417711igb.25.1321723284405; Sat, 19 Nov 2011 09:21:24 -0800 (PST) Received: by 10.42.180.200 with HTTP; Sat, 19 Nov 2011 09:21:24 -0800 (PST) In-Reply-To: <20111119161915.GQ2500@stodi.digitalkingdom.org> References: <20111118045721.GW2500@stodi.digitalkingdom.org> <0016364164db04b7e204b213db2d@google.com> <20111119142612.GM2500@stodi.digitalkingdom.org> <20111119161915.GQ2500@stodi.digitalkingdom.org> Date: Sat, 19 Nov 2011 18:21:24 +0100 Message-ID: Subject: Re: [lojban] CLLv1.1 again: html -> pdf with page numbers? From: Remo Dentato To: lojban@googlegroups.com X-Original-Sender: rdentato@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of rdentato@gmail.com designates 209.85.210.177 as permitted sender) smtp.mail=rdentato@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Spam_score: 0.0 X-Spam_score_int: 0 X-Spam_bar: / On Sat, Nov 19, 2011 at 5:19 PM, Robin Lee Powell wrote: > On Sat, Nov 19, 2011 at 04:56:14PM +0100, Remo Dentato wrote: >> On Sat, Nov 19, 2011 at 3:26 PM, Robin Lee Powell >> wrote: >> > Ummm. >> > >> > Loading it in LibreOffice and saving as PDF would get you *page >> > numbered internal references*? =A0*Really*? >> >> Just tried and the HTML is indeed to complex. > > Even the short one? > >> Will you share the docbook files too? I never tried importing >> docbook files into Libreoffice, not sure what comes out. > > http://vrici.lojban.org/~rlpowell/media/public/tmp/cll_pdf_test.xml > is a slightly pared down version, but should do fon this test. > > I would be very surprised if it did anything useful. > I was hoping to be able to load it into libreoffice and do the changes with a script or by definining the proper style in a template. Turned out it was not so simple to do it, as you already had guessed. You want to fix only the indices, right? Not to augment any crossreference with the page number. If you have the PDF "almost right", what about generating a .ps file, write a script to replace the "Section x.y" with the proper number and then transform the .ps into a .pdf file? --=20 You received this message because you are subscribed to the Google Groups "= lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegrou= ps.com. For more options, visit this group at http://groups.google.com/group/lojban= ?hl=3Den.