Hi,
   Thanks for your replies.

I used the windows set up Leo-4-5-1-2-final.exe.

I'm seeing the basic editor ok.

I've got hold of rst3, so that's done, but nooo idea how to produce
html.

I've already got an aspell binary, but editing the settings doesn't
seem to make any difference to where leo looks for the binary. I
hacked Lib\site-packages\Leo-4-5-1-2-final\leo\config\leoSettings.leo
in a text editor so it points at my aspell dll, I get the spell tab
now but I must be lacking the aspell python thing.

I'm seeing this sort of thing:
Error: 1
<type 'exceptions.TypeError'> Exception in Tk callback
  Function: <function add_commandCallback at 0x026F5EF0> (type: <type
'function'>)
  Args: ()
Traceback (innermost last):
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo
\extensions\Pmw\Pmw_1_3\lib\PmwBase.py", line 1747, in __call__
    return apply(self.func, args)
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoCommands.py", line 5844, in add_commandCallback
    val = command()
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoMenu.py", line 1613, in recentFilesCallback
    c.openRecentFile(name)
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoCommands.py", line 1053, in openRecentFile
    ok, frame = g.openWithFileName(fileName,c)
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoGlobals.py", line 2208, in openWithFileName
    c.updateRecentFiles(relativeFileName or fileName)
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoCommands.py", line 1086, in updateRecentFiles
    frame.menu.createRecentFilesMenuItems()
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoMenu.py", line 1599, in createRecentFilesMenuItems
    self.deleteRecentFilesMenuItems(recentFilesMenu)
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoMenu.py", line 1624, in deleteRecentFilesMenuItems
    self.delete_range(menu,0,toDrop)
  File "C:\bin\Python26\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoTkinterMenu.py", line 125, in delete_range
    return menu.delete(n1,n2)
  File "C:\bin\Python26\lib\lib-tk\Tkinter.py", line 2668, in delete
    if 'command' in self.entryconfig(i):
  File "C:\bin\Python26\lib\lib-tk\Tkinter.py", line 2680, in
entryconfigure
    return self._configure(('entryconfigure', index), cnf, kw)
  File "C:\bin\Python26\lib\lib-tk\Tkinter.py", line 1187, in
_configure
    cnf[x[0][1:]] = (x[0][1:],) + x[1:]
<type 'exceptions.TypeError'>: can only concatenate tuple (not "str")
to tuple

quite a lot, the "can only concatenate tuple" message is pretty
popular.

I've got some minor usability snits; the sizing borders are too
narrow, moving nodes by mouse is a pain (but ctrl R etc ok). I can't
get edits in an @file to show up in leo.

 I think the problem is naive user using a program (designed and used
by  experienced hackers) in unintended ways. To be fair, I haven't put
anything like the amount of effort into this as I have into setting
docbook up; but a lot of docbook setup can be put down to learning
xml.

There is too much learning for me to do at the moment, but I do think
leo is an interesting and worthwhile approach, I'm nervous about
losing my source code in some literate programming package though, it
seems like a rather nasty point of failure. At least with C source in
a text file you need 'a' compiler, not the highly specialised text
retrieval program and a compiler.

FWIW, I'm trying to put program listings into commentary about a
program. The commentary would be read in a browser, as a pdf or
whatever, so docbook looks like a good idea. I was using m4 to do
things like <![CDATA[include(`demo.y')]]> and then running m4 over it
before doing the xslt thing. This was fine, except the visual editor I
use (XMLmind XML Editor) stripped out the CDATA declaration. Leo is
expressly designed to do what I want to do; I don't have to have the
docbook look so it all looks quite promising.

As an aside, I agree with what I've read about python, particularly
not having to do memory management. However, if I write a C++ program
then you don't need to have anything to do with C++ to use it. I've
had similar problems with other python programs: how do you run them
(the answer seems to be, it's in site packages) and before you know
where you are you're up to your elbows configuring python.

Anyhow, thanks for your help and I hope eventually I will have the
time to make leo do what I want it to do.

Cheers

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