V
V
Vadikus2012-03-24 08:10:45
Python
Vadikus, 2012-03-24 08:10:45

Are there scripts for automatic translation from LaTeX / MarkUp / MarkDown to the habra format for translating the chapters of my book of algorithms into habrastati

I would very much like a Latex version. In short, the task is this. There is a draft of a book that I am writing. This is an analysis of algorithmic problems. There is written code.

Those. the script should be like this. We have a Makefile, with which the program sources, latek (but not necessarily, any other markup) text of the description of the algorithm and pictures are collected in one heap, the code is highlighted (this can be done with a Python script) and text is displayed for insertion into the habra. If only he would publish himself. And in case of an error, correction of the source code and republishing ... oh, it would be beautiful.

Maybe someone already thought about such a combine? so I don't have to reinvent the wheel again.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadikus, 2012-03-24
@Vadikus

I'll start answering myself:
http://habrahabr.ru/post/70353/ - a Python parser is used for the highlight service http://highlight.hohli.com/ , which can use habra html tags.
I collect the combine further.
You could even write an article about it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question