Rev d3e7ead introduces Leo's new importer for @auto-rst and .rst and .rest files.
Please report any problems immediately. There is no way I'm going to back to the old code--if problems arise I promise to give them high priority. @auto-rst files appear to work correctly. However, there are difficulties with the unit tests, described in the Post Script. Several unit tests have been disabled temporarily. Still, I thought it best to push the present code... Edward P.S. The new importer code features an excellent new scanning pattern, which I'll describe in another thread. But the real improvement, and the source of the unit testing difficulties, resides in the rst *writer* in leo.plugins.writers.leo_rst. The writer now *conditionally* writes a newline after section lines. That is, the writer writes a newline only if one is needed. Alas, the "if" statement in the writer plays *havoc *with perfect import tests! I'm not sure what the resolution is, but right now there are more important issues on my plate, including resting my poor hands... EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
