asciidoctor-latex icon indicating copy to clipboard operation
asciidoctor-latex copied to clipboard

Latex2Asciidoctor

Open jxxcarlson opened this issue 10 years ago • 5 comments

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 avatar Jan 15 '15 20:01 jxxcarlson

@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.

jxxcarlson avatar Jan 16 '15 14:01 jxxcarlson

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

jirutka avatar Jan 16 '15 15:01 jirutka

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 [email protected] wrote:

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

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

jxxcarlson avatar Jan 16 '15 15:01 jxxcarlson

Excellent news!

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

mojavelinux avatar Jan 19 '15 05:01 mojavelinux

Yes, that would be the way to do it.

On Jan 19, 2015, at 12:34 AM, Dan Allen [email protected] 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.

jxxcarlson avatar Jan 19 '15 09:01 jxxcarlson