Received: from mail-pz0-f61.google.com ([209.85.210.61]:43717) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1RRvER-0002qM-Vu; Sat, 19 Nov 2011 16:26:14 -0800 Received: by pzk33 with SMTP id 33sf3037637pzk.16 for ; Sat, 19 Nov 2011 16:25:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id :mail-followup-to:references:mime-version:in-reply-to:user-agent :sender:x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:list-subscribe:list-unsubscribe:content-type :content-disposition:content-transfer-encoding; bh=QeOy5CYRnpO48dKGK8hxdFIpFwf4GBVGqssQe3eNoXM=; b=o9xET+8V+LyX1/x/Lxr1oPVGYsobpPPgYQhgZDJpWVqFN0ZOcirUrGDcg8VR9IxXuI KyHDscf8IN7HzG6jp9R6C4DnWo3f7l+QrRb63CX+Ds7jms7zRO+OloV3HPvvWrUMsRlp uEI534B01/di/LRelrGE6T7DsmhjQEE0GpKyQ= Received: by 10.68.66.33 with SMTP id c1mr917793pbt.20.1321748755616; Sat, 19 Nov 2011 16:25:55 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.68.75.232 with SMTP id f8ls14687262pbw.7.gmail; Sat, 19 Nov 2011 16:25:54 -0800 (PST) Received: by 10.68.15.41 with SMTP id u9mr12358947pbc.3.1321748754539; Sat, 19 Nov 2011 16:25:54 -0800 (PST) Received: by 10.68.15.41 with SMTP id u9mr12358946pbc.3.1321748754527; Sat, 19 Nov 2011 16:25:54 -0800 (PST) Received: from stodi.digitalkingdom.org (mail.digitalkingdom.org. [173.13.139.236]) by gmr-mx.google.com with ESMTPS id h2si11782832pba.0.2011.11.19.16.25.54 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Nov 2011 16:25:54 -0800 (PST) Received-SPF: pass (google.com: domain of rlpowell@stodi.digitalkingdom.org designates 173.13.139.236 as permitted sender) client-ip=173.13.139.236; Received: from rlpowell by stodi.digitalkingdom.org with local (Exim 4.76) (envelope-from ) id 1RRvEH-0002qJ-A1 for lojban@googlegroups.com; Sat, 19 Nov 2011 16:25:53 -0800 Date: Sat, 19 Nov 2011 16:25:53 -0800 From: Robin Lee Powell To: lojban@googlegroups.com Subject: Re: [lojban] CLLv1.1 again: html -> pdf with page numbers? Message-ID: <20111120002552.GR2500@stodi.digitalkingdom.org> Mail-Followup-To: lojban@googlegroups.com References: <20111118045721.GW2500@stodi.digitalkingdom.org> <0016364164db04b7e204b213db2d@google.com> <20111119142612.GM2500@stodi.digitalkingdom.org> <20111119161915.GQ2500@stodi.digitalkingdom.org> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: lojban@googlegroups.com X-Original-Sender: rlpowell@digitalkingdom.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of rlpowell@stodi.digitalkingdom.org designates 173.13.139.236 as permitted sender) smtp.mail=rlpowell@stodi.digitalkingdom.org 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: List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline 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 06:21:24PM +0100, Remo Dentato wrote: > 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. > > >=20 > 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. >=20 > Turned out it was not so simple to do it, as you already had > guessed. >=20 > You want to fix only the indices, right? Not to augment any > crossreference with the page number. >=20 > 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? Do you have something that will generate .ps from HTML? This is all somewhat moot anyways, as the docbook -> latex -> pdf process is actually going reasonably well; I just figured that maybe someone out there knew a really good way to do html -> pdf that I wasn't aware of, so I didn't have to solve a bunch of presentation problems twice (once in XSLT and CSS, and once in XSLT and LaTex). -Robin --=20 http://singinst.org/ : Our last, best hope for a fantastic future. Lojban (http://www.lojban.org/): The language in which "this parrot is dead" is "ti poi spitaki cu morsi", but "this sentence is false" is "na nei". My personal page: http://www.digitalkingdom.org/rlp/ --=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.