Received: from mail-ig0-f186.google.com ([209.85.213.186]:46058) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VxT2W-0004cE-FO for lojban-list-archive@lojban.org; Sun, 29 Dec 2013 18:57:20 -0800 Received: by mail-ig0-f186.google.com with SMTP id k19sf2769873igc.3 for ; Sun, 29 Dec 2013 18:57:06 -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 :content-transfer-encoding; bh=xFjvSeW3Pm9rynD9QHEn+T1pSPdW0hkfPXSP+H5rmbE=; b=CyYeOar48tM/dd0YxSecKyuZIhdKbvWrGXynIt3AeIvXxzZXOp0YXEKdWOx2NiAu16 5eXMenrF83E432lpZsiyXstIxNaM5/q3NEb3N0eiKtPo1SDqfgftaONmZFr7Z6GAAOS+ 4KTP/CskaYxvqZtLMMS+ngaQwnZad6cCj69gbPkrJBWfMM6A1fIXobgpJDEbz9MapTRw QXXHit9pOIOdKS/CYxlc8Og7KfzjjZx27nQCXBaWHFZ7kEZPKNwH8VDJ1mIA0NMNzzOp tyx3yiJ5OA6L7wjMmF4VxS84s974TT2ovyLYUuWw7k6V2MILEtyiLKbF/E1+s50UKNq+ o8Zw== X-Received: by 10.50.79.228 with SMTP id m4mr902842igx.9.1388372226405; Sun, 29 Dec 2013 18:57:06 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.50.176.226 with SMTP id cl2ls678222igc.15.canary; Sun, 29 Dec 2013 18:57:06 -0800 (PST) X-Received: by 10.66.190.197 with SMTP id gs5mr24776536pac.14.1388372226046; Sun, 29 Dec 2013 18:57:06 -0800 (PST) Received: from stodi.digitalkingdom.org (mail.digitalkingdom.org. [173.13.139.236]) by gmr-mx.google.com with ESMTPS id pa7si2733777pac.2.2013.12.29.18.57.05 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Sun, 29 Dec 2013 18:57:05 -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 1VxT2O-0004c9-VF for lojban@googlegroups.com; Sun, 29 Dec 2013 18:57:05 -0800 Date: Sun, 29 Dec 2013 18:57:04 -0800 From: Robin Lee Powell To: lojban@googlegroups.com Subject: Re: [lojban] Re: The CLL project, technical directions Message-ID: <20131230025704.GK15882@stodi.digitalkingdom.org> Mail-Followup-To: lojban@googlegroups.com References: <20131227041501.GA21848@stodi.digitalkingdom.org> <8306dbd5-1789-4def-8b65-810283aa58f5@googlegroups.com> MIME-Version: 1.0 In-Reply-To: <8306dbd5-1789-4def-8b65-810283aa58f5@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=windows-1252 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 Sun, Dec 29, 2013 at 05:08:28AM -0800, entot wrote: > 1. =93Is there a better solution?" >=20 > There *are* tools for generating HTML and PDF from a single > source. I think capitalizing on one of them is a worthwhile option > to consider. Of course, but all the ones I've looked at have fallen short. > In particular, Publican (based on docbook; maintained by RedHat) Nope; uses wkhtmltopdf , which generates PDFs that use named references instead of page numbered references. No good. (I've looked at *SO MANY* such systems ;_;) > and Sphinx (based on reStructuredText, a wiki-like markup > language; official documentation tool of Python) appear to be > well-maintained. >=20 > Sphinx: http://sphinx-doc.org/ >=20 > Further in particular, I think Sphinx fits the overall bill: Now *this*. *THIS*. This is genuinely impressive. The only serious problem is that it's a completely different markup format from what we currently have and hence I'd have to convert everything, but that's not necessarily a serious problem. My hat is off to you for finding a serious contender. I'll deal with it being Python on my own :) (nothing against Python, I've just managed to avoid learning it for 20 years and was kind of perversely proud of the accomplishment) and take a serious look at this. Thank you very much. In my own defense, I *did* look at reST, but not sphinx; non-sphinx reST has no indexes. IIRC. > - Conversion from reStructuredText (reST) to HTML and LaTeX is written in= =20 > Python, not XSLT > - the conversion flow is > reST -> HTML > reST -> LaTeX -> PDF > alternatively, reST -> PDF (via a Python library called rst2pdf, whic= h=20 > in turn uses reportlab) > - I don't know which route to PDF is better That's distinctly not bad. [snip various further neatness] > If we are to consider Sphinx as an alternative to the current > setup, I think it's best to prototype first with the set of > constructs from the book that we want to support, as there may be > some features Sphinx is missing. The last statement implies I'm > not an expert on the ins and outs of Sphinx. I did use it for work > once though. I completely agree. Chapter 2 is the canonical test case. If it can do Chapters 2, 19, and any one other, that would be a complete proof of concept. > 2. =93What needs to be streamlined to smoothly fix an issue" >=20 > - If the issue stems from the toolchain itself: a sandbox environment to= =20 > test small code snippets. Probably unit tests, or a very small subset of= =20 > the book that can be built in seconds. That last part is a good idea regardless. > 3. =93What if the initial conversion from local source to docbook was in= =20 > Haskell or Ruby, etc.?" >=20 > I want to make sure I understand why the initial conversion may be a=20 > problem: >=20 > - Because it's in XSLT and few people know how to work with it? Yes. > - Because it's hard to maintain, i.e. tends to go spaghetti or > easily get broken when trying to fix something else, etc.? Yes, but mostly the other one. > 4. "I would better be able to help if..." >=20 > * Shorter build time. I=92ll have to re-check to give an actual > number, but for a full build, it was in the range of tens of > minutes. Shorter build time means less time for distraction. Hours, actually. I don't know how much I can fix that. > * An automated build server like Jenkins. For trivial fixes, > people can just modify the source locally and make a pull request > (or push to their own repo, depending on the setup) to let Jenkins > build the entire book and archive the result for inspection. Long > build time may not be much of a problem if a build server were in > place. I can help with setting one up. Oh, so people would work on their own copy of the repo on their own machines, but vrici would take their source and Do The Thing (tm)? That sounds emminently doable. > * Regular hackathons. Having a fixed appointment will help me in > setting aside time for CLL. Timezone differences may be > problematic. I'm on GMT+0900. The complete fullness of my life is also an issue, but yes, this would almost certainly help. -Robin --=20 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 e= mail 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.