[Pharo-project] markdown to latext and html

Camillo Bruni camillobruni at gmail.com
Thu Jul 26 04:58:52 EDT 2012


markdown / pandoc work pretty well for that :)

http://johnmacfarlane.net/pandoc/

I use it for all non-paper text. Plus you can simply output a .tex file and put it
into a real latex document if needed.

On 2012-07-25, at 22:04, Tudor Girba wrote:

> The Pier Book offers this pretty much out of the box.
> 
> Doru
> 
> 
> On 25 Jul 2012, at 11:22, Stéphane Ducasse wrote:
> 
>> Hi 
>> 
>> To support the publication in pdf and html directly, plus let people not to bother about latex, 
>> I would really to experiment the following for the next chapters of books.
>> I do not know well markdown but I would like to know if the following makes sense.
>> 
>> 	I would like to see if we can use markdown (plus some extensions for in text annotation, figure definition)
>> 	as pivot language and to be able to generate latex and html from it.
>> 
>> From a simple analysis of current chapter here are the needs:
>> 
>> structure
>> 	title (with ref)
>> 	section (with ref) 
>> 	subsection
>> 	paragraph
>> 	itemize/enumerate
>> 	code snippet (with ref)
>> 	figure with caption and ref
>> 
>> inside a text area
>> 	link
>> 	code 
>> 	index
>> 	comment for editor
>> 	citation
>> 	reference
>> 
>> I probably miss some of them but this is the core and we can reduce the number from the latex stand point. 
>> What do you think? Does markdown support the item above. 
>> Is the petitMarkdown parser working? Because I would like to write a visitor that generates the latex we use for the book.  
>> 
>> I would like to use Zinc documentation as a test.
>> 
>> Stef
>> 
>> 
> 
> --
> www.tudorgirba.com
> 
> "Being happy is a matter of choice."
> 
> 
> 
> 





More information about the Pharo-dev mailing list