Received: from mail-pz0-f61.google.com ([209.85.210.61]:64729) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1RRJsZ-0004Yb-AC; Fri, 18 Nov 2011 00:33:08 -0800 Received: by pzk33 with SMTP id 33sf916627pzk.16 for ; Fri, 18 Nov 2011 00:32:52 -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-spam-score:x-spam_score :x-spam_score_int:x-spam_bar: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; bh=pQ8zCmIglxz+jEEE+ge4KiROQnMqumyjaCbwSA3CyjU=; b=n4hbGnlqAQqRKG31iWg1yjQwozEMSC5sqf+5TecsuW19RsDiEDFTNOyDrSXorMGxHH zbfiwGZorhcqk6G4gfeEa5VwVZqgFwndstg1a10ptFJz5Ck9zRRTP11gi1dah+o+xFge sAg4/Mwc2UXUXqluWqAOCj+4LZmKyF589QJWk= Received: by 10.68.38.200 with SMTP id i8mr561982pbk.13.1321604855208; Fri, 18 Nov 2011 00:27:35 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.68.3.45 with SMTP id 13ls8862287pbz.4.gmail; Fri, 18 Nov 2011 00:27:34 -0800 (PST) Received: by 10.68.35.131 with SMTP id h3mr1161832pbj.1.1321604854422; Fri, 18 Nov 2011 00:27:34 -0800 (PST) Received: by 10.68.35.131 with SMTP id h3mr1161830pbj.1.1321604854401; Fri, 18 Nov 2011 00:27:34 -0800 (PST) Received: from stodi.digitalkingdom.org (mail.digitalkingdom.org. [173.13.139.236]) by gmr-mx.google.com with ESMTPS id h2si5056237pba.0.2011.11.18.00.27.34 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Nov 2011 00:27:34 -0800 (PST) Received-SPF: pass (google.com: domain of nobody@stodi.digitalkingdom.org designates 173.13.139.236 as permitted sender) client-ip=173.13.139.236; Received: from nobody by stodi.digitalkingdom.org with local (Exim 4.76) (envelope-from ) id 1RRJnJ-0004W4-6u for lojban@googlegroups.com; Fri, 18 Nov 2011 00:27:33 -0800 Received: from mail-fx0-f53.google.com ([209.85.161.53]:33882) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1RRJn9-0004Vr-PZ for lojban-list@lojban.org; Fri, 18 Nov 2011 00:27:32 -0800 Received: by faan15 with SMTP id n15so4769085faa.40 for ; Fri, 18 Nov 2011 00:27:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.150.4 with SMTP id ue4mr473694obb.74.1321604835406; Fri, 18 Nov 2011 00:27:15 -0800 (PST) Received: by 10.182.42.73 with HTTP; Fri, 18 Nov 2011 00:27:15 -0800 (PST) In-Reply-To: <20111118045721.GW2500@stodi.digitalkingdom.org> References: <20111118045721.GW2500@stodi.digitalkingdom.org> Date: Fri, 18 Nov 2011 01:27:15 -0700 Message-ID: Subject: Re: [lojban] CLLv1.1 again: html -> pdf with page numbers? From: Jonathan Jones To: lojban@googlegroups.com, lojban-list@lojban.org X-Spam-Score: -0.1 (/) X-Spam_score: -0.1 X-Spam_score_int: 0 X-Spam_bar: / Sender: lojban@googlegroups.com X-Original-Sender: eyeonus@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of nobody@stodi.digitalkingdom.org designates 173.13.139.236 as permitted sender) smtp.mail=nobody@stodi.digitalkingdom.org; 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: List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary=f46d04479685bf731604b1fe1a5f X-Spam-Score: 0.0 (/) X-Spam_score: 0.0 X-Spam_score_int: 0 X-Spam_bar: / --f46d04479685bf731604b1fe1a5f Content-Type: text/plain; charset=ISO-8859-1 Obviously this doesn't matter with printouts, but are the references linked? That is, in the generated pdf, if you click on the "Section 1.17" bit, will it take you to that section? The only thing I can think of that might fix it is to first determine what page each of these sections is on, and do a find/replace on them in the references. The problem with that is, the initial work of creating the section x = pg(s) y database is quite likely a lot of effort, even if the actual find/replace can be fully automated, and the database would need to be recreated anytime there's a change to the page structure (I mostly refer to addition or deletion of content, but even font changes apply). If there were a way to automatically determine which page(s) a certain section will be on in the generated document, it would be possible to automate the whole thing, including the f/r database creation, but I have no idea how to go about doing that. On Thu, Nov 17, 2011 at 9:57 PM, Robin Lee Powell < rlpowell@digitalkingdom.org> wrote: > > So I would dearly love to be able to generate a PDF version of > CLLv1.1 from the HMTL version. The problem I'm finding with all of > the converters I've tried is that they don't fix internal cross > references from names into page numbers, so that the index (for > example) is full of things like: > > klama: Section 1.17, Section 2.4 > > rather than: > > klama: 4, 8 > > Either an html->pdf converter that handles this, or something that > converts the cross references in the resulting pdf, would be > fantastic. > > -Robin > > -- > 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/ > > -- > 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@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/lojban?hl=en. > > -- mu'o mi'e .aionys. .i.e'ucai ko cmima lo pilno be denpa bu .i doi.luk. mi patfu do zo'o (Come to the Dot Side! Luke, I am your father. :D ) -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban?hl=en. --f46d04479685bf731604b1fe1a5f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Obviously this doesn't matter with printouts, but are the references li= nked? That is, in the generated pdf, if you click on the "Section 1.17= " bit, will it take you to that section?

The only thing I can t= hink of that might fix it is to first determine what page each of these sec= tions is on, and do a find/replace on them in the references. The problem w= ith that is, the initial work of creating the section x =3D pg(s) y databas= e is quite likely a lot of effort, even if the actual find/replace can be f= ully automated, and the database would need to be recreated anytime there&#= 39;s a change to the page structure (I mostly refer to addition or deletion= of content, but even font changes apply).

If there were a way to automatically determine which page(s) a certain = section will be on in the generated document, it would be possible to autom= ate the whole thing, including the f/r database creation, but I have no ide= a how to go about doing that.

On Thu, Nov 17, 2011 at 9:57 PM, Robin Lee P= owell <= rlpowell@digitalkingdom.org> wrote:

So I would dearly love to be able to generate a PDF version of
CLLv1.1 from the HMTL version. =A0The problem I'm finding with all of the converters I've tried is that they don't fix internal cross
references from names into page numbers, so that the index (for
example) is full of things like:

klama: Section 1.17, Section 2.4

rather than:

klama: 4, 8

Either an html->pdf converter that handles this, or something that
converts the cross references in the resulting pdf, would be
fantastic.

-Robin

--
http://singinst.org/= : =A0Our last, best hope for a fantastic future.
Lojban (http://www.loj= ban.org/): The language in which "this parrot
is dead" is "ti poi spitaki cu morsi", but "this senten= ce is false"
is "na nei". =A0 My personal page: http://www.digitalkingdom.org/rlp/
--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojba= n?hl=3Den.




--
mu'o mi'= e .aionys.

.i.e'ucai ko cmima lo pilno be denpa bu .i doi.luk. m= i patfu do zo'o
(Come to the Dot Side! Luke, I am your father. :D )<= br>

--
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.
--f46d04479685bf731604b1fe1a5f--