Received: from mail-ie0-f189.google.com ([209.85.223.189]:45863) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VwovI-0006Y2-F3 for lojban-list-archive@lojban.org; Sat, 28 Dec 2013 00:07:14 -0800 Received: by mail-ie0-f189.google.com with SMTP id tp5sf2215020ieb.6 for ; Sat, 28 Dec 2013 00:06:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-disposition; bh=Ui1mAV0WjpwHk5MpKAW4D6rbGmxqRozs+ldH9ame9bc=; b=noLubgebbW/DRwIycnjiDST4HI8FdlDXxG5RiLGWe4O/HHh4kc3O1i9OW5UxNMvPJ4 pkCKvaIPs0gfKUkhzgkOvcDxm7ZN2v4MZLnocJjMQDiMRBHznsFZx+8v1cGb1NaGA07X sapv9BB4sMwzgABsGgdlMuNU5R1j2vX2H9S4gKOyPuwVGPdKWl7aanQBjaz07A6BWeUO tzN95S1hRYu6ORT7qSZEnTQREjWQQrXGMALnRjYYoAftmuay558oTTLMk6dCExja6fVp LrCPdWTWAZ9WcIM+6b6CIi2/Bm7jl3Kz802vKPBr70wx9cgpPuleN5+0W5t98WBpWFzn TjZg== X-Received: by 10.50.29.41 with SMTP id g9mr201612igh.4.1388218018320; Sat, 28 Dec 2013 00:06:58 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.50.43.228 with SMTP id z4ls4436985igl.14.gmail; Sat, 28 Dec 2013 00:06:57 -0800 (PST) X-Received: by 10.66.250.200 with SMTP id ze8mr21047496pac.29.1388218017746; Sat, 28 Dec 2013 00:06:57 -0800 (PST) Received: from stodi.digitalkingdom.org (mail.digitalkingdom.org. [173.13.139.236]) by gmr-mx.google.com with ESMTPS id sq4si4368727pbc.0.2013.12.28.00.06.57 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Sat, 28 Dec 2013 00:06:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rlpowell@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.80.1) (envelope-from ) id 1VwovA-0006Xv-Ix for lojban@googlegroups.com; Sat, 28 Dec 2013 00:06:56 -0800 Date: Sat, 28 Dec 2013 00:06:56 -0800 From: Robin Lee Powell To: lojban@googlegroups.com Subject: Re: [lojban] Re: The CLL project, technical directions Message-ID: <20131228080656.GD15882@stodi.digitalkingdom.org> Mail-Followup-To: lojban@googlegroups.com References: <20131227041501.GA21848@stodi.digitalkingdom.org> <4682a0d7-9b6b-453f-bc1c-6f9a4f450637@googlegroups.com> MIME-Version: 1.0 In-Reply-To: <4682a0d7-9b6b-453f-bc1c-6f9a4f450637@googlegroups.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Original-Sender: rlpowell@digitalkingdom.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of rlpowell@digitalkingdom.org designates 173.13.139.236 as permitted sender) smtp.mail=rlpowell@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: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam_score: 0.0 X-Spam_score_int: 0 X-Spam_bar: / On Fri, Dec 27, 2013 at 10:58:55AM -0800, Judson wrote: > My experience with dag/cll is limited to building it a couple of > times to strip it for references for an Anki deck. That said I > think I can contribute at least one insight: > > It's really obnoxiously difficult to set up the CLL build > environment. OMG it really really is. Given the extremely limited subset of docbook we use, one option is to just roll our own conversion to LaTeX and HTML from scratch; that would at least make that part easier. > I wound up having to update my X11 server to make it work, which > is one of those red flags for me normally. It also struck me as > kind of ridiculous as a requirement. That should only be required for Calibre's ebook-convert, which you only need for MOBI and EPUB. They are based on the HTML version and arne't normally needed; they can be ignored for this purpose. > BUT, I have very little experience with document processing, and > especially with docbook. (I have been involved with a project to > write a LaTeX parser in Ruby, which is about as fun as you > imagine.) Maybe there aren't better tools to complete the docbook > to PDF pipeline? I've not found anything; you're welcome to investigate. To see what Nick did with L4B back in the day, see http://www.tlg.uci.edu/~opoudjis/lojbanbrochure/README.html ; it doesn't look much better to me. > All that said, addressing your specific questions: > > 1) I currently am experiencing the initial disbelief one has in > encountering a new project. "Surely it doesn't *need* to be this > complicated." *I KNOW, RIGHT?!?* It's freaking ridiculous. > Of course, that's the viewpoint that led Knuth to start TeX as a > weekend project in the 70s... Every document processing project > I've encountered as requirements that led them to their current > workflow, and I don't have the expertise to address them, so... My > only cogent thought is: given that LaTeX is a necessary evil, > maybe it'd be a better source language? At least things like > \selmaho could be written directly? It's actually trying to do exactly that that led to this current discussion. It turns out that trying to go from LaTeX to HTML is just as horrendous as trying to go from docbook to PDF. Unless you know something there I don't? Given that converting to LaTeX still leaves us with a horrible two-fork mess, I don't see the advantage. > 2) This may already be available, but in general the most useful > tool for debugging text transformations I've found are source > maps. Failing that, the poor-man's version are source comments > (e.g. ) That last is a good idea, thanks. > 3) On the one hand, I'm personally more comfortable in Ruby, but on the > other: is re-writing that conversion process the best approach? What's it > written in now? XSLT, which everyone who has even considered helping me has absolutely refused to touch, which was why I was asking most of these questions in the first place. See https://github.com/dag/cll/blob/docbook/xml/docbook2html_preprocess.xsl for an example. -Robin -- http://intelligence.org/ : Our last, best hope for a fantastic future. .i ko na cpedu lo nu stidi vau loi jbopre .i danfu lu na go'i li'u .e lu go'i li'u .i ji'a go'i lu na'e go'i li'u .e lu go'i na'i li'u .e lu no'e go'i li'u .e lu to'e go'i li'u .e lu lo mamta be do cu sofybakni li'u -- 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/groups/opt_out.