Re: Leo n00b on Mac OS X

2021-04-09 Thread tbp1...@gmail.com
This fix works on Windows, too - the "~" expands correctly to my user home directory. On Friday, April 9, 2021 at 10:11:49 PM UTC-4 tbp1...@gmail.com wrote: > It looks like there is a simple fix. This hasn't had hardly any testing, > but on the surface it's doing the right thing. The little e

Re: Leo n00b on Mac OS X

2021-04-09 Thread tbp1...@gmail.com
It looks like there is a simple fix. This hasn't had hardly any testing, but on the surface it's doing the right thing. The little example that failed in an earlier post created the right directories. In *leoCommands.py*, in the method *expand_path_expression(self, s)*, add the line marked be

Re: Leo n00b on Mac OS X

2021-04-09 Thread TEK42
I checked this on os x and get the same results: *import osg.cls() # <-- does nothing on macos (darwin), probably same with linux since the procedure checks for "win" onlyg.es (os.path.expanduser('~'))# --> /Users/leodudeg.es (os.environ["HOME"])# --> /

Re: Leo n00b on Mac OS X

2021-04-09 Thread tbp1...@gmail.com
Subject to correction by Edward or some else who knows more, it looks like the place to intervene is in c.expand_path_expression() because on even on Linux it returns this: >>> c.expand_path_expression('~') '~' This method is in the class *Commands*. I'm not sure how tricky this would be to

Re: The new rst3 command is now in devel

2021-04-09 Thread Viktor Ransmayr
Hello Edward, Edward K. Ream schrieb am Freitag, 9. April 2021 um 19:03:13 UTC+2: > > @ @rst-options >> default_path=./TL/2021/01/CWxx/ >> @c >> >> in the @path body. - Did you consider removing the now 'useless' >> default_path' statement - or - the @rst-options section in general? >> > > I d

Re: Leo n00b on Mac OS X

2021-04-09 Thread tbp1...@gmail.com
I recreated that example file tree on Linux, and darned if I didn't get the same result as you. I must have had my eyes see the "~" and start reading from there because that's what I expected to see. So, a real bug and not just a Mac quirk. In fact, I get the same behavior on Windows. It's

Re: [ctlug] M$ Joy

2021-04-09 Thread Edward K. Ream
On Thu, Apr 8, 2021 at 7:55 AM Steve Litt wrote: Hi Steve. Thanks for the summary. I'm not sure I have the attributions correct below, but here are my comments. > I'm also looking into something called Restructured Text and a program called Sphinx that seems to be a front end for Restructured T

Re: The new rst3 command is now in devel

2021-04-09 Thread Edward K. Ream
On Fri, Apr 9, 2021 at 3:15 AM Viktor Ransmayr wrote: >> I was happy to create the conversion script, but imo @rst-preformat is not needed for new writing. > After having worked for a couple of days with the @rst-no-head approach I fully agree with your call. Oh good :-) Thanks for the feedback

Re: Leo n00b on Mac OS X

2021-04-09 Thread TEK42
Thanks for the input. I don't have a Mac, so I can't help much, but I can speak a bit about the *@path > ~* matter. This does work on Linux. When you wrote "does not expand", > did you mean that the implied paths are not created when you save an > "external" file? If so, you can change thi

Re: The new rst3 command is now in devel

2021-04-09 Thread Viktor Ransmayr
Hello Edward, Edward K. Ream schrieb am Montag, 5. April 2021 um 07:51:32 UTC+2: > On Sun, Apr 4, 2021 at 1:27 PM Viktor Ransmayr > wrote: > ... > >> I'm not (yet?) confident / really happy about the removal of the >> "@rst-preformat" option. >> >> The first one is a one-time conversion action