On Sun, Oct 16, 2011 at 3:28 PM, mdb <[email protected]> wrote:
> Finally got a chance to try Ed's version of MakePDF

Thanks for these comments.

> out-dir was not pre-created.

I would suggest honoring the following setting::

    @bool create_nonexistent_directories = False

You can do so by calling::

    g.makeAllNonExistentDirectories

The arguments are (theDir,c=None,force=False,verbose=True)

g.makeAllNonExistentDirectories will return None if the
create_nonexistent_directories settings is False, or if there was any
other problem creating the directories.

> MakePDF was not in the main branch version of scripts.leo
> (revision 4597).

@@button MakePDF is in scripts.leo, the node::

   @thin leoScripts.txt-->Important-->@@button MakePDF

> it seems p.isAnyAtFileNode()  does not recognize nodes starting with @rst.  I 
> guess that makes sense, so I will work on creating a step that translate a 
> @rst node with ReStruct markup  to a @file x.tex node

Possible, or just test p.h.startswith('@rst') in addition to the test
p.isAnyAtFileNode()

Feel free to commit any of your changes to the trunk in scripts.leo.

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