Received: from mail-oi0-f60.google.com ([209.85.218.60]:33043) by stodi.digitalkingdom.org with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZlKcZ-00053h-86 for lojban-list-archive@lojban.org; Sun, 11 Oct 2015 10:42:00 -0700 Received: by oiaj5 with SMTP id j5sf2109696oia.0 for ; Sun, 11 Oct 2015 10:41:13 -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=W6B8uyqf3RVufjetVWqRWtfr7jy8ZEAQWvEr8ODtNZY=; b=S9yclt0mtAxE+btGh/r4i11VJq0m86SCC9Ma3oNXFrk+dppC/DDCfcUBCbZkkdhfXj UBHPsvqibKIS/A58Jsnp/fAcQl3+7p9klFKVOv6IbpEdoSfY3OxIglgdmEaTfqmTh/ve gaJj8IMVivoDNO984pgIkqEMmhJkmxqrVleGk+nSA9a0u+CSDR/B5UcWZXLN9RygRmzQ iEv81eMHIw50KvwGy5eH9jXK9BM2gXJ99sUJ+L4UVI7eRyNmZI2EBwhBffujB2htirFI 2zeXK5z+ymLDqBkgT2mQTIOozTPO5k2nKSbxY7h/8tqhh432xWeEZgvTAtLXptXz8X2U SPvQ== X-Received: by 10.50.143.4 with SMTP id sa4mr93757igb.15.1444585273396; Sun, 11 Oct 2015 10:41:13 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.107.160.72 with SMTP id j69ls624277ioe.99.gmail; Sun, 11 Oct 2015 10:41:13 -0700 (PDT) X-Received: by 10.67.14.6 with SMTP id fc6mr21280165pad.14.1444585273050; Sun, 11 Oct 2015 10:41:13 -0700 (PDT) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com. [2607:f8b0:4001:c05::234]) by gmr-mx.google.com with ESMTPS id mh4si423438igb.0.2015.10.11.10.41.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Oct 2015 10:41:13 -0700 (PDT) Received-SPF: pass (google.com: domain of matt.mattarn@gmail.com designates 2607:f8b0:4001:c05::234 as permitted sender) client-ip=2607:f8b0:4001:c05::234; Received: by mail-ig0-x234.google.com with SMTP id pe7so67436974igc.0 for ; Sun, 11 Oct 2015 10:41:12 -0700 (PDT) X-Received: by 10.50.83.65 with SMTP id o1mr8242395igy.50.1444585272784; Sun, 11 Oct 2015 10:41:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.0.138 with HTTP; Sun, 11 Oct 2015 10:40:33 -0700 (PDT) In-Reply-To: <20151011032814.GG13991@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> <20151011032814.GG13991@stodi.digitalkingdom.org> From: Matt Arnold Date: Sun, 11 Oct 2015 13:40:33 -0400 Message-ID: Subject: Re: [lojban] Re: CLLv1.1: javascript challenge, help needed To: lojban Content-Type: multipart/alternative; boundary=089e013cc360083e470521d7b8d0 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::234 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: - --089e013cc360083e470521d7b8d0 Content-Type: text/plain; charset=UTF-8 Please don't hold it up. I am flummoxed by how, if at all, Prince exposes index data to Javascript. The only reason I presume it does so, is that I know of no other purpose for Prince to use Javascript. I cannot estimate how long it will take me to figure out Prince, even to an order of magnitude. On Sat, Oct 10, 2015 at 11:28 PM, Robin Lee Powell < rlpowell@digitalkingdom.org> wrote: > Want me to extend it for a bit? > > Note that this doesn't actually happen very often; the general index > has 8 instances. OTOH, the lojban words index has ... many, and the > examples index has a decent number as well. > > Anyways, if *you* are spending time on the CLL, I'd rather you fixed > all the chapter pics. :D > > In either case, I'm willing to wait a bit, but do note that > currently the CLL isn't being sold by us on Amazon, so faster is > better. > > On Sat, Oct 10, 2015 at 09:24:01AM -0400, Matt Arnold wrote: > > 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. > > -- > 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. --089e013cc360083e470521d7b8d0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Please don't hold it up. I am flummoxed by how, if at = all, Prince exposes index data to Javascript. The only reason I presume it = does so, is that I know of no other purpose for Prince to use Javascript. I= cannot estimate how long it will take me to figure out Prince, even to an = order of magnitude.

On Sat, Oct 10, 2015 at 11:28 PM, Robin Lee Powell <rlpo= well@digitalkingdom.org> wrote:
Want me to extend it for a bit?

Note that this doesn't actually happen very often; the general index has 8 instances.=C2=A0 OTOH, the lojban words index has ... many, and the examples index has a decent number as well.

Anyways, if *you* are spending time on the CLL, I'd rather you fixed all the chapter pics.=C2=A0 :D

In either case, I'm willing to wait a bit, but do note that
currently the CLL isn't being sold by us on Amazon, so faster is
better.

On Sat, Oct 10, 2015 at 09:24:01AM -0400, Matt Arnold wrote:
> 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<= br> > 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.=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
> > > 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. W= ould
> > > you go ahead and set me up with an account?
> > >
> > > -epkat
> > >
> > > On Thu, Oct 8, 2015 at 4:04 AM, Robin Lee Powell <
> > > rlpowell@digi= talkingdom.org> wrote:
> > >
> > > > vrici is my ssh server, where all the tools exist to ge= nerate the
> > > > intermediate stages of the CLL and so on.=C2=A0 I suspe= ct you aren't
> > > > interested in that, but if you want to get an account t= here, 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.lojban.= 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_c= heck_margins.js
> > > > with whatever you come up with.=C2=A0 prince_check_marg= ins.js isn't
> > > > actually necessary for successful creation of the PDF a= nymore; I'm
> > > > mostly providing it as a template.
> > > >
> > > > On Wed, Oct 07, 2015 at 12:49:55PM -0700, Matt Arnold w= rote:
> > > > > I would be happy to learn this. I downloaded and i= nstalled Prince.
> > > > >
> > > > > One of the results on the second page of Google se= arch results for
> > > > > "lojban vrici" was vrici.lojban.org, b= ut 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, R= obin Powell wrote:
> > > > > >
> > > > > > You can't actually test this without runn= ing prince; if you have a
> > > > > > vrici account I can walk you through it.
> > > > > >
> > > > > > On Tue, Oct 06, 2015 at 07:06:32AM -0700, Mat= t Arnold wrote:
> > > > > > > I looked up the `_.uniq` function in lod= ash.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 sc= ript 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 ar= e 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://g= roups.google.com/group/lojban.
> > > > > > > For more options, visit https:/= /groups.google.com/d/optout.
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > 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 email= s 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.co= m/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 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.
--089e013cc360083e470521d7b8d0--