[Cuis-dev] Erudite

Mariano Montone marianomontone at gmail.com
Tue Oct 18 09:36:19 PDT 2022


I'm not sure I can easily fix the parser to include paragraphs and 
lists, but I'm thinking that adding some CSS stylesheet option to the 
HTML renderer could improve the output.

El 18/10/22 a las 13:31, Gerald Klix escribió:
> Hi Mariano,
>
> Yes of course, please do so!
> And perhaps, please, test it; I am not sure whether it still works.
>
>
> HTH,
>
> Gerald
>
>
> On 18.10.22 18:27, Mariano Montone wrote:
>> Gerald,
>>
>> I'd like to add this to Erudite repo, so it can be easily found, and 
>> hopefully work more on it later. May I ?
>>
>> I can see that the Erudite parser makes it difficult to implement the 
>> HTML rendering. There's no concept of paragraphs and lists and items 
>> in the parser, that HTML needs for a correct display.
>>
>> Thanks,
>>
>>       Mariano
>>
>> El 15/10/22 a las 12:21, Gerald Klix escribió:
>>> Maybe the attached packages helps.
>>> It's a bit old and untested/unused for at least a year,
>>> but it may provide a start.
>>>
>>>
>>> HTH,
>>>
>>> Gerald
>>>
>>>
>>> On 15.10.22 15:36, Mariano Montone via Cuis-dev wrote:
>>>> El 15/10/22 a las 10:18, Mariano Montone escribió:
>>>>>>
>>>>>> Mariano, in the example you mentioned, the documentation are 
>>>>>> markdown files. How does it work with literate programming?
>>>>>>
>>>>> My example was with Markdown, but you would use files in Erudite 
>>>>> source format, not Markdown, for your usecase. Then you build 
>>>>> Erudite books from those files. It is straightforward. There are 
>>>>> no conversions. Only matter: there are no good external editing 
>>>>> tools for those files, that can give you a preview, etc. But, are 
>>>>> there good user-facing editing tools for TexInfo, for example? Not 
>>>>> sure Emacs counts. So, I think it would be more or less like what 
>>>>> you have now with TexInfo, but you would have Erudite source files 
>>>>> instead. Also, I'm thinking a specialized Erudite editor could be 
>>>>> provided for files in Erudite format, coded in Cuis + Erudite, if 
>>>>> you wanted.
>>>>>
>>>> Difference is TexInfo can produce HTML, and Erudite does not atm. 
>>>> Perhaps implement an Erudite -> TexInfo exporter. Still not sure 
>>>> what would be the best option that'd give you what you are looking 
>>>> for in the cheapest way.
>>>>
>>
>



More information about the Cuis-dev mailing list