On Mon, Mar 9, 2009 at 12:33 PM, mdb <[email protected]> wrote:

>
> I can create an @auto note that brings back Latex commands created by
> the rst2 plugin and LEO was smart enough to start the node edit box with
> @language tex
>
> I might be best off using a created ReST file as the intermediary step
> and I could not get similarly on the read back
> @language rest,  only @language unknown_language


Iirc, @auto uses the file's extension to create the @language directive.
What is the extension of the @auto file?

>
>
> I tried c.read-at-auto-nodes() and c.readAutoNodes()


Sorry, I wasn't clear. `at` is a shorthand.  Try:

    at = c.atFileCommands

followed by the code I gave previously.

Note that c.read-at-auto-nodes() has no chance of working, because it is an
arithmetic expression, and `read`, `at`, `auto` and `nodes` will be
undefined :-)

Edward

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to