asciidoctor / asciidoctor-latex

:triangular_ruler: Add LaTeX features to AsciiDoc & convert AsciiDoc to LaTeX
http://asciidoctor.org
Other
112 stars 26 forks source link

Latex2Asciidoctor #21

Open jxxcarlson opened 9 years ago

jxxcarlson commented 9 years ago

I've started roughing out a converter for LaTeX to Asciidoctor -- for the moment working on a very rough recursive descent parser for a coarse-grained version of LaTeX, which is all that will be needed in the way of LaTeX parsers. For the moment it is not very recursive. but once I am confident of what I am doing now, I will update the grammar to make it more so.

@mojavelinux, if you have any suggestions on this, that would be great, since I am just starting and it is now easy to change course. Also, did you see your gmail account? I will be in Denver Feb 9, arriving at 10:30 am, leaving the next morning for Boulder and Fort Collins. Would you have time for a quick bite or a drink?

The repo is at https://github.com/jxxcarlson/latex2asciidoctor

(( I will update the README this evening to give an idea of what the current structure is, what it currently does, and what it should do. ))

jxxcarlson commented 9 years ago

@jirutka, I've started implementing some tests for this using rspec (see the README). It would be great if there were also doctest tests. What I am doing at the moment is to use a "backend" that is suppose to turn parsed output into something equivalent to the input modulo white space. A good check on the parser, but we should have more.

jirutka commented 9 years ago

I’ll look at it over the weekend (hopefully). Quite busy now. :(

jxxcarlson commented 9 years ago

Thanks! From the :-( I guess it is not the fun kind of busy --- :-(

Sent from my iPhone

On Jan 16, 2015, at 10:10 AM, Jakub Jirutka notifications@github.com wrote:

I’ll look at it over the weekend (hopefully). Quite busy now. :(

— Reply to this email directly or view it on GitHub.

mojavelinux commented 9 years ago

Excellent news!

I think you should consider rolling latex2asciidoctor into asciidoctor-latex eventually. One stop shopping for AsciiDoc<=>LaTeX concerns. wdyt?

jxxcarlson commented 9 years ago

Yes, that would be the way to do it.

On Jan 19, 2015, at 12:34 AM, Dan Allen notifications@github.com wrote:

Excellent news!

I think you should consider rolling latex2asciidoctor into asciidoctor-latex eventually. One stop shopping for AsciiDoc<=>LaTeX concerns. wdyt?

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/asciidoctor-latex/issues/21#issuecomment-70448229.