This is very nice and indeed it is good to be able to work in one single environment. The way your notebook saves a figure in LaTeX format is impressive, but how about equations, especially numbered equations which are referred to in the text, and also references which are cited in the text? Because plain text (of course without figures) can be saved directly from a notebook, so no extra LaTeX generator is needed.
I tried to elaborate another (far less advanced) solution to this some time ago: made a style file which makes a notebook look like a latex file as much as possible. Then I do all work in the notebook without converting it into latex. When finally I want submit the the file for publication, I save it from the notebook as latex, then I have to do manual adjustments (e.g. reference list which I cannot make in my styled notebook, and figures also must be imported manually) and submit the final product.
I wrote a note on this in this discussion group three years ago, see:
Styled notebook with LaTeX appearance
Some of the problems discussed there have been solved through the discussion, and I implemented them in the style file. I attach it here.
The best would be to combine the functionality of your notebook with my style file, and include the capability of numbered referred equations (if they are already in your notebook, please let me know, I was unable to create equations with the notebook you supplied.
Thanks
Imre
Attachments: