I've converted a plain text file to MORE format using the
specifications for MORE described in Chapter 5, Importing Files into
Leo Outlines:

>Headlines are denoted by a leading + or - character,
>preceding by zero or more tabs that denote the level of
>the headline. Body text follows its headline, with no
>indentation.

I also studied: leo\test\unittest\input\flat.txt

I'm using MORE because it looks to be the simplest format for
importing, and because the plain text file had some structure to it
already.

The file is 1,509 lines at a total of 62,730 bytes in size (in case
there's a limit I don't know about) and lines use CR/LF terminators.

When I attempt to do the import, I get "not a valid MORE file" but
there's no further information to indicate where I screwed up in
creating the file.

I've studied leoImport.py's MORE-related routines but cannot make
sense of the logic because 1) I lack sufficient knowledge of how Leo
operates and 2) I don't know Python.

What would help me most right now is if leoImport.py could tell me the
line# of the import file that it stopped at. Can anyone help with this?

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