On Wed, Apr 25, 2012 at 1:32 PM, Richard <
richard...@gmail.com> wrote:
> Thank you very much.
>
> Export >> Remove Sentinals works great.
Glad to hear it. And thanks to Matt for his comments.
The great thing about Python (and Leo) is that you can create a Leo
script based on the remove-sentinels command that will be easier to
use than using the system's file-save dialog.
A little searching (I never remember these kinds of details) leads to
the following node in leoPy.leo:
Code-->Core classes-->@file leoImport.py--><< class leoImportCommands
>>-->Export-->ic.removeSentinelsCommand--><< Write s into newFileName
>>
You can use this as the nucleus of (say) an @button script that will
automatically convert an @file tree to a corresponding file without
sentinels.
If you decide to do this, please feel free to ask whatever questions
you might have. I'm always happy to help script writers, and it's a
lot easier for me because I know what kind of searches will yield the
info I want.
Edward