Received: from mail-ig0-f192.google.com ([209.85.213.192]:55354) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.80.1) (envelope-from ) id 1XHcPC-0003hl-Ms for lojban-list-archive@lojban.org; Wed, 13 Aug 2014 10:32:11 -0700 Received: by mail-ig0-f192.google.com with SMTP id h18sf242767igc.19 for ; Wed, 13 Aug 2014 10:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=bdfz9wZr5lU1Ag0Z4wd/MQqmBh4I0WvGODCEibok/x4=; b=ySEgdbWXUl2he7hzkMukaCJQ/fFosINEfq/Ju/mWbud4qew+hpNFQc86RUOJqb1fRM 4mxbrJp3VXKWA6xcfMmqO7cyLnRn0omVn14vfI3SdD6yQLfEMTiSBFuGmyyV8OHAm1jp cxF7KjtDozDybM5pT1ceGZ/i7DDArukClwg1SisXgiokaiID+BQtPjdELT23oHdtABkO fuQwsYNt4z+bHWcXmFirEhh6TaW24pw5jGwuj4l5RZNmiHvdXZY2rwZwS3EpzduMw9ub jXv9YvN2B0Dg4pvgDWDaEw34yajfNEmE3hIAHXF9x3w8SgiXMwrUveMx92/HFp6M0aY8 taFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=bdfz9wZr5lU1Ag0Z4wd/MQqmBh4I0WvGODCEibok/x4=; b=QxazXGq9ghRQfk9r5lKmB9GPIXkmv3jsWMdl19ym1Bn8J49svDY1477CwWB+v9untR hfE0OX9l6InYFd5EYaI3fEZtUaJ+KzX2oWdYvb9cC2ojYS/592MGQN4ulHxDQhSLgg7R T3NoGzXDG7HpFz0V6KwLHgGShjhTQMS9pv/My5BddhHGBhv6Kr/V9snGPNX+THTqcBZU bBUW4il/tSb3K6bS4Ovr7MUMKOr82ipqgbOnmNRDDP7rZg3SnWAWwNlVdPmY5UH1BqVL sVVLJMKKdCMcmO2JFnRdu+8kZzcLItpXC6YAP0zYR0E961CEbKYKDTcXfX/vXSWnJ4Po LqNw== X-Received: by 10.140.101.120 with SMTP id t111mr6769qge.39.1407951124156; Wed, 13 Aug 2014 10:32:04 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.140.16.171 with SMTP id 40ls703002qgb.10.gmail; Wed, 13 Aug 2014 10:32:03 -0700 (PDT) X-Received: by 10.140.31.73 with SMTP id e67mr26202qge.30.1407951123875; Wed, 13 Aug 2014 10:32:03 -0700 (PDT) Date: Wed, 13 Aug 2014 10:32:03 -0700 (PDT) From: TR NS To: lojban@googlegroups.com Message-Id: In-Reply-To: <20140809202309.GA23392@stodi.digitalkingdom.org> References: <20131227041501.GA21848@stodi.digitalkingdom.org> <2cee2571-a652-48cb-b581-e97177c89074@googlegroups.com> <2d8a397d-0399-4631-a0ee-b16e3c8cddad@googlegroups.com> <20140807062529.GR23392@stodi.digitalkingdom.org> <450f6fea-1384-44dd-8966-6be903090942@googlegroups.com> <20140808011937.GT23392@stodi.digitalkingdom.org> <6dba3c27-485e-4c1a-b603-4efae8eda6a1@googlegroups.com> <20140809202309.GA23392@stodi.digitalkingdom.org> Subject: Re: [lojban] Re: The CLL project, technical directions MIME-Version: 1.0 X-Original-Sender: transfire@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-Unsubscribe: , Content-Type: multipart/alternative; boundary="----=_Part_5005_417925461.1407951123546" X-Spam-Score: -1.9 (-) X-Spam_score: -1.9 X-Spam_score_int: -18 X-Spam_bar: - ------=_Part_5005_417925461.1407951123546 Content-Type: text/plain; charset=UTF-8 On Saturday, August 9, 2014 4:23:13 PM UTC-4, Robin Powell wrote: > > On Sat, Aug 09, 2014 at 05:44:17AM -0700, TR NS wrote: > > > > On Thursday, August 7, 2014 9:19:44 PM UTC-4, Robin Powell wrote: > > > > > > > > > So let me start off by saying that pandoc is certainly not out of > > > the question and you're welcome to try to do something like that. I > > > played with it myself for a while. > > > > > > > But I would like to see how far I can get the Pandoc solution to > > work. > > I'm totally OK with that. > > Quick status update on my progress in this regard. I have gotten to the point where everything is looking pretty good. The problem I face at this point is having to with examples, e.g. <anchor xml:id="c2e5d5"/> mi tavla do zo'e zo'e I talk to you about something in some language. To convert that into an example that could be rendered by Pandoc would entail removing all these custom tags, e.g. (@)c2e5d5 mi tavla do zo'e zo'e I talk to you about something in some language. Even though the final result looks good, loosing all this metadata seems like a bad idea to me. To prevent that means I need to write pandoc filter(s) to properly handle the custom XML. This is not out of the question. Unfortunately I have found that writing filters for Pandoc is much more difficult than one would expect. The API for doing so does not apper to be well documented and it doesn't help that Pandoc is written in Haskell (which I find mind numbing to decipher). So now I have decide if wrestling with Haskell and Pandoc filters is worth the effort. Or seek another solution. -- 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. ------=_Part_5005_417925461.1407951123546 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Saturday, August 9, 2014 4:23:13 PM UTC-4, Robi= n Powell wrote:
On Sat, Aug 09,= 2014 at 05:44:17AM -0700, TR NS wrote:
>=20
> On Thursday, August 7, 2014 9:19:44 PM UTC-4, Robin Powell wrote:
> >
> >
> > So let me start off by saying that pandoc is certainly not ou= t of=20
> > the question and you're welcome to try to do something like t= hat.  I=20
> > played with it myself for a while.=20
> >
>=20
> But I would like to see how far I can get the Pandoc solution to
> work.

I'm totally OK with that.


Quick status update on my progress= in this regard. I have gotten to the point where everything is looking pre= tty good. The problem I face at this point is having to with examples, e.g.=

    <example role=3D"interli= near-gloss-example" xml:id=3D"example-random-id-k02C">
=       <title>
      &= nbsp; <anchor xml:id=3D"c2e5d5"/>
      </title>
      <interlinear-gl= oss-itemized>
&nb= sp;       <jbo>
          <sumti>mi</sum= ti> 
  =         <selbri>tavla</selbri> =
       = ;   <sumti>do</sumti> 
          <sumti>zo= 'e</sumti> 
          <sumti>zo'e</sumti>
      &nbs= p; </jbo>
&nbs= p;       <natlang>I talk to you about something in som= e language.</natlang>        
      </interlinear-g= loss-itemized>
&n= bsp;   </example>
 
To convert that into an example that could= be rendered by Pandoc would entail removing all these custom tags, e.g.

    (@)c2e5d5      =  mi tavla do zo'e zo'e
                  &nb= sp;  I talk to you about something in some language.
<= div> 
Even though the final result looks good, loosing al= l this metadata seems like a bad idea to me. To prevent that means I need t= o write pandoc filter(s) to properly handle the custom XML. This = is not out of the question. Unfortunately I have found that writing filters= for Pandoc is much more difficult than one would expect. The API for doing= so does not apper to be well documented and it doesn't help that Pandoc is= written in Haskell (which I find mind numbing to decipher). So now I have = decide if wrestling with Haskell and Pandoc filters is worth the effort. Or= seek another solution.

--
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.
------=_Part_5005_417925461.1407951123546--