Received: from mail-yk0-f187.google.com ([209.85.160.187]:34497) by stodi.digitalkingdom.org with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1Zku8l-0000uP-Nf for lojban-list-archive@lojban.org; Sat, 10 Oct 2015 06:24:54 -0700 Received: by ykdg206 with SMTP id g206sf19357129ykd.1 for ; Sat, 10 Oct 2015 06:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=VyoC6rH4rY9MoXIVOWdvcMlwogu9mU6p5iXc1mnu50I=; b=oWpjef8lGaioYTQs9QZGyJXvNJVfIM7wk4/Kf91QgBheIOSba3gRT4tfdRKuajeI7S pQUYnCZluFbSwETsOD0XTvZ/pYiNt/PG0PRiuhAtVjT+TQLGkPMSFt+bNtW3mR+8juVS Aqj6EcvBr+sSJVVflf1NnyOUn/Xk7HVCbyk58ynWnCG5qEm1cNgisyeOC1O+IWqu8xWX xNVIbSLGtKFSLl5zX+AUG7BFNO0le8O0HQfYX7CHio+IPLdaNft0JFlxvjMZPETmLcJs O2Cfhr6k8PdW9AZh2ijywvNUHTdupL8WsMT/0S8EE7yNpJvs4yrcG6RnYCI8wQx2nWGV lO/g== X-Received: by 10.50.4.70 with SMTP id i6mr56283igi.12.1444483481828; Sat, 10 Oct 2015 06:24:41 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.107.168.160 with SMTP id e32ls1032481ioj.26.gmail; Sat, 10 Oct 2015 06:24:41 -0700 (PDT) X-Received: by 10.50.55.71 with SMTP id q7mr4004504igp.7.1444483481137; Sat, 10 Oct 2015 06:24:41 -0700 (PDT) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com. [2607:f8b0:4001:c05::22d]) by gmr-mx.google.com with ESMTPS id a11si157351igv.3.2015.10.10.06.24.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Oct 2015 06:24:41 -0700 (PDT) Received-SPF: pass (google.com: domain of matt.mattarn@gmail.com designates 2607:f8b0:4001:c05::22d as permitted sender) client-ip=2607:f8b0:4001:c05::22d; Received: by mail-ig0-x22d.google.com with SMTP id rk20so51863832igc.1 for ; Sat, 10 Oct 2015 06:24:41 -0700 (PDT) X-Received: by 10.50.26.66 with SMTP id j2mr4120139igg.42.1444483480886; Sat, 10 Oct 2015 06:24:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.0.138 with HTTP; Sat, 10 Oct 2015 06:24:01 -0700 (PDT) In-Reply-To: <20151008173522.GB13991@stodi.digitalkingdom.org> References: <20150918235949.GQ32487@stodi.digitalkingdom.org> <20150920031516.GR32521@stodi.digitalkingdom.org> <20151006202457.GV7442@stodi.digitalkingdom.org> <20151008080446.GB7442@stodi.digitalkingdom.org> <20151008173522.GB13991@stodi.digitalkingdom.org> From: Matt Arnold Date: Sat, 10 Oct 2015 09:24:01 -0400 Message-ID: Subject: Re: [lojban] Re: CLLv1.1: javascript challenge, help needed To: lojban Content-Type: multipart/alternative; boundary=047d7bd75bb2c324fb0521c0045c X-Original-Sender: matt.mattarn@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of matt.mattarn@gmail.com designates 2607:f8b0:4001:c05::22d as permitted sender) smtp.mailfrom=matt.mattarn@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: lojban@googlegroups.com X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -1.7 (-) X-Spam_score: -1.7 X-Spam_score_int: -16 X-Spam_bar: - --047d7bd75bb2c324fb0521c0045c Content-Type: text/plain; charset=UTF-8 Having investigated how to get Prince to expose its auto-generated index to Javascript, I believe the solution will not be implemented by the Monday deadline. I'll continue to learn Prince and its workflow, and apply that knowledge to CLL 1.2. -epkat On Thu, Oct 8, 2015 at 1:35 PM, Robin Lee Powell < rlpowell@digitalkingdom.org> wrote: > This problem cannot be solved at the HTML level, period. > > The problem only occurs *after* page numbers are assigned. This > only occurs in Prince. The HTML, by definition, has no page > numbers. > > On Thu, Oct 08, 2015 at 11:10:51AM -0400, Matt Arnold wrote: > > I am interested in the whole process of generating the book. It's > > possible that it will be easier for me to fix the generation of > > this HTML file than to fix processing the HTML into a PDF. Would > > you go ahead and set me up with an account? > > > > -epkat > > > > On Thu, Oct 8, 2015 at 4:04 AM, Robin Lee Powell < > > rlpowell@digitalkingdom.org> wrote: > > > > > vrici is my ssh server, where all the tools exist to generate the > > > intermediate stages of the CLL and so on. I suspect you aren't > > > interested in that, but if you want to get an account there, come > > > find me on IRC. > > > > > > So, here's how you do *just* the prince step: > > > > > > Grab > > > > > > > http://vrici.lojban.org/~rlpowell/media/public/cll_processed_xhtml_prince-2015-10-06.html > > > and > http://vrici.lojban.org/~rlpowell/media/public/prince_check_margins.js > > > > > > And run: > > > > > > prince -vvv --script=prince_check_margins.js > > > cll_processed_xhtml_prince-2015-10-06.html cll.pdf > > > > > > Except you'd want to modify/extend/replace prince_check_margins.js > > > with whatever you come up with. prince_check_margins.js isn't > > > actually necessary for successful creation of the PDF anymore; I'm > > > mostly providing it as a template. > > > > > > On Wed, Oct 07, 2015 at 12:49:55PM -0700, Matt Arnold wrote: > > > > I would be happy to learn this. I downloaded and installed Prince. > > > > > > > > One of the results on the second page of Google search results for > > > > "lojban vrici" was vrici.lojban.org, but it's just a Fedora test > > > > page. I would like more information about what to make an account > > > > on. > > > > > > > > -epkat > > > > > > > > On Tuesday, October 6, 2015 at 4:25:00 PM UTC-4, Robin Powell wrote: > > > > > > > > > > You can't actually test this without running prince; if you have a > > > > > vrici account I can walk you through it. > > > > > > > > > > On Tue, Oct 06, 2015 at 07:06:32AM -0700, Matt Arnold wrote: > > > > > > I looked up the `_.uniq` function in lodash.js and I'm adapting > > > > > > and simplifying it for this purpose. Who do I talk to about > > > > > > getting the data to test on it? > > > > > > > > > > > > On Saturday, September 19, 2015 at 11:15:19 PM UTC-4, Robin > Powell > > > > > wrote: > > > > > > > > > > > > > > On Sat, Sep 19, 2015 at 10:04:17AM -0700, TR NS wrote: > > > > > > > > > > > > > > > > > > > > > > > > On Friday, September 18, 2015 at 7:59:52 PM UTC-4, Robin > Powell > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://www.princexml.com/forum/topic/3129/merge-repeated-cross-links?p=1#15171 > > > > > > > > > > > > > > > > > > I probably won't take the time for this one. > > > > > > > > > > > > > > > > > > > > > > > > > Do you just want a separate script that will go through the > index > > > > > > > > and look for identical entries and eliminate all but one? > > > > > > > > > > > > > > That sounds right, yes. > > > > > > > > > > > > > > > > > > > -- > > > > > > You received this message because you are subscribed to the > Google > > > > > Groups "lojban" group. > > > > > > To unsubscribe from this group and stop receiving emails from it, > > > send > > > > > an email to lojban+unsubscribe@googlegroups.com. > > > > > > To post to this group, send email to lojban@googlegroups.com. > > > > > > Visit this group at http://groups.google.com/group/lojban. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > -- > > > > You received this message because you are subscribed to the Google > > > Groups "lojban" group. > > > > To unsubscribe from this group and stop receiving emails from it, > send > > > an email to lojban+unsubscribe@googlegroups.com. > > > > To post to this group, send email to lojban@googlegroups.com. > > > > Visit this group at http://groups.google.com/group/lojban. > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "lojban" group. > > > To unsubscribe from this group and stop receiving emails from it, send > an > > > email to lojban+unsubscribe@googlegroups.com. > > > To post to this group, send email to lojban@googlegroups.com. > > > Visit this group at http://groups.google.com/group/lojban. > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "lojban" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to lojban+unsubscribe@googlegroups.com. > > To post to this group, send email to lojban@googlegroups.com. > > Visit this group at http://groups.google.com/group/lojban. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "lojban" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to lojban+unsubscribe@googlegroups.com. > To post to this group, send email to lojban@googlegroups.com. > Visit this group at http://groups.google.com/group/lojban. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "lojban" group. To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com. To post to this group, send email to lojban@googlegroups.com. Visit this group at http://groups.google.com/group/lojban. For more options, visit https://groups.google.com/d/optout. --047d7bd75bb2c324fb0521c0045c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Having investigated how to get Prince to expose its auto-g= enerated index to Javascript, I believe the solution will not be implemente= d by the Monday deadline. I'll continue to learn Prince and its workflo= w, and apply that knowledge to CLL 1.2.

-epkat

On Thu, Oct 8, = 2015 at 1:35 PM, Robin Lee Powell <rlpowell@digitalkingdom.org> wrote:
This problem cannot = be solved at the HTML level, period.

The problem only occurs *after* page numbers are assigned.=C2=A0 This
only occurs in Prince.=C2=A0 The HTML, by definition, has no page
numbers.

On Thu, Oct 08, 2015 at 11:10:51AM -0400, Matt Arnold wrote:
> I am interested in the whole process of generating the book. It's<= br> > possible that it will be easier for me to fix the generation of
> this HTML file than to fix processing the HTML into a PDF. Would
> you go ahead and set me up with an account?
>
> -epkat
>
> On Thu, Oct 8, 2015 at 4:04 AM, Robin Lee Powell <
>
rlpowell@digitalkingdom= .org> wrote:
>
> > vrici is my ssh server, where all the tools exist to generate the=
> > intermediate stages of the CLL and so on.=C2=A0 I suspect you are= n't
> > interested in that, but if you want to get an account there, come=
> > find me on IRC.
> >
> > So, here's how you do *just* the prince step:
> >
> > Grab
> >
> > h= ttp://vrici.lojban.org/~rlpowell/media/public/cll_processed_xhtml_prince-20= 15-10-06.html
> > and http://vrici.loj= ban.org/~rlpowell/media/public/prince_check_margins.js
> >
> > And run:
> >
> > prince -vvv --script=3Dprince_check_margins.js
> > cll_processed_xhtml_prince-2015-10-06.html cll.pdf
> >
> > Except you'd want to modify/extend/replace prince_check_margi= ns.js
> > with whatever you come up with.=C2=A0 prince_check_margins.js isn= 't
> > actually necessary for successful creation of the PDF anymore; I&= #39;m
> > mostly providing it as a template.
> >
> > On Wed, Oct 07, 2015 at 12:49:55PM -0700, Matt Arnold wrote:
> > > I would be happy to learn this. I downloaded and installed P= rince.
> > >
> > > One of the results on the second page of Google search resul= ts for
> > > "lojban vrici" was vrici.lojban.org, but it'= s just a Fedora test
> > > page. I would like more information about what to make an ac= count
> > > on.
> > >
> > > -epkat
> > >
> > > On Tuesday, October 6, 2015 at 4:25:00 PM UTC-4, Robin Powel= l wrote:
> > > >
> > > > You can't actually test this without running prince= ; if you have a
> > > > vrici account I can walk you through it.
> > > >
> > > > On Tue, Oct 06, 2015 at 07:06:32AM -0700, Matt Arnold w= rote:
> > > > > I looked up the `_.uniq` function in lodash.js and= I'm adapting
> > > > > and simplifying it for this purpose. Who do I talk= to about
> > > > > getting the data to test on it?
> > > > >
> > > > > On Saturday, September 19, 2015 at 11:15:19 PM UTC= -4, Robin Powell
> > > > wrote:
> > > > > >
> > > > > > On Sat, Sep 19, 2015 at 10:04:17AM -0700, TR = NS wrote:
> > > > > > >
> > > > > > >
> > > > > > > On Friday, September 18, 2015 at 7:59:52= PM UTC-4, Robin Powell
> > > > > > > wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > http://www= .princexml.com/forum/topic/3129/merge-repeated-cross-links?p=3D1#15171<= br> > > > > > > > >
> > > > > > > > I probably won't take the time = for this one.
> > > > > > > >
> > > > > > >
> > > > > > > Do you just want a separate script that = will go through the index
> > > > > > > and look for identical entries and elimi= nate all but one?
> > > > > >
> > > > > > That sounds right, yes.
> > > > > >
> > > > >
> > > > > --
> > > > > You received this message because you are subscrib= ed to the Google
> > > > Groups "lojban" group.
> > > > > To unsubscribe from this group and stop receiving = emails from it,
> > send
> > > > an email to lojban+unsubscribe@googlegroups.com.
> > > > > To post to this group, send email to lojban@googlegroups.com.
> > > > > Visit this group at http://groups.goog= le.com/group/lojban.
> > > > > For more options, visit https://groups.go= ogle.com/d/optout.
> > > >
> > > >
> > >
> > > --
> > > You received this message because you are subscribed to the = Google
> > Groups "lojban" group.
> > > To unsubscribe from this group and stop receiving emails fro= m it, send
> > an email to lojban+unsubscribe@googlegroups.com.
> > > To post to this group, send email to lojban@googlegroups.com.
> > > Visit this group at http://groups.google.com/gro= up/lojban.
> > > For more options, visit https://groups.google.com/d= /optout.
> >
> > --
> > You received this message because you are subscribed to the Googl= e Groups
> > "lojban" group.
> > To unsubscribe from this group and stop receiving emails from it,= send an
> > email to lojban+unsubscribe@googlegroups.com.
> > To post to this group, send email to lojban@googlegroups.com.
> > Visit this group at http://groups.google.com/group/lo= jban.
> > For more options, visit https://groups.google.com/d/opto= ut.
> >
>
> --
> You received this message because you are subscribed to the Google Gro= ups "lojban" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email to lojba= n+unsubscribe@googlegroups.com.
> To post to this group, send email to lojban@googlegroups.com.
> Visit this group at http://groups.google.com/group/lojban<= /a>.
> For more options, visit
https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to
lojban+uns= ubscribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http://groups.google.com/group/lojban= .
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsub= scribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http:= //groups.google.com/group/lojban.
For more options, visit http= s://groups.google.com/d/optout.
--047d7bd75bb2c324fb0521c0045c--