On 2014-11-25, at 22:25, Marcin Borkowski wrote: > Now that I actually started work on my exporter, I'd like to investigate > this further. The thing is, I'm not sure where to start. First of all, > I have a bit old Org-mode (without latex-math-blocks); I guess I'll just > have to update it (I'll try to do an Elpa update in a minute). But my
Just checked, latex-math-block is in git, but in Elpa. I don't have enough time now to install Org from Git (though this may be the final motivation for me to do so), so I'd especially welcome any answers to item 2 below. > question is: > > 1. Is it a good idea to instrument `org-latex--wrap-latex-math-block' > for Edebug to learn what's happening? > > 2. Is there any other (possibly simpler) instance of pseudo-blocks I > could study? It seems to me (from the docstring) that latex-math-blocks > are a bit tricky; what I'm interested in is more like creating a new > element similar to e.g. italics. TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University