Thanks Matt and Edward,

I checked the print-settings in Matt's file: [M] rst3writeintermediatefile 
= False. 

So the @settings node is not having an effect. I noticed that in the doc it 
says that the default for options is only (?) in myLeoSettings or 
leoSettings: 

Defaults for options 
<http://leoeditor.com/rstplugin3.html#id6><http://leoeditor.com/rstplugin3.html#defaults-for-options>

Settings in leoSettings.leo or myLeoSettings.leo specify the defaults to be 
used for all rst3 options. The form of these settings is:

@bool rst3_<option name> = True/False
@string rst3_<option name> = aString

That is, to create a default value for an rst3 setting, you must prefix the 
option name with ‘rst3_’. For example:

@bool rst3_write_intermediate_file = True


That seems to say that write_intermediate_file (no rst_) can be set in the 
rst node as an option, but not rst3_write_intermediate_file. I tried 
various ways to set both options, with no luck. 

I will upgrade and see if that fixes the problem. 

Best,

Bill 

On Tuesday, 5 November 2013 01:12:53 UTC-8, Matt Wilkie wrote:
>
> writing the intermediate file to disk is off by default. Turn it on 
> creating a "@settings" node with the content:
>
> @bool write_intermediate_file = True
>
> If you're using my rst-tutorial-example.leo this should be already set. If 
> it's still not working I'm not sure what's going on. It should still have 
> worked with 4.11a. I think.
>  
>
>
> On Mon, Nov 4, 2013 at 5:01 PM, wgw <[email protected] <javascript:>>wrote:
>
>> Thanks for this example, Matt. It makes all the difference to see it 
>> working on an example that's not too complex.  
>>
>> I ran it on my machine but the rst3 command did not generate the 
>> intermediate file.
>>
>> Any idea why? (Maybe I need to upgrade? )
>>
>> Best,
>>
>> Bill 
>>
>> Leo Log Window
>> Leo 4.11a3, build 6172, 2013-10-22 19:33:55
>> Python 2.7.3, qt version 4.8.1
>> linux2
>> Abbreviations off
>> reading: /data2/Soft/leo-work/rst-tutorial-example.leo
>> saved: rst-tutorial-example.leo
>> stylesheet not found
>>  /data2/Soft/leo-work/default.css
>> @path: /data2/Soft/leo-work
>> open path: /data2/Soft/leo-work
>> wrote: /data2/Soft/leo-work/myDocument.html
>> done
>>
>>
>> On Wednesday, 30 October 2013 00:20:59 UTC-7, Matt Wilkie wrote:
>>>
>>> *Suggested addition:*
>>> Summary <http://leoeditor.com/tutorial-rst3.html#id16> 
>>>    
>>>    - The rst3 command converts an @rst tree to one or more text files 
>>>    containing reStructuredText markup.
>>>    ...
>>>
>>>
>>>    - The rst3 command provides *many* other capabilities. For details, 
>>>    see the rst3 chapter <http://leoeditor.com/rstplugin3.html>.
>>>
>>>
>>> See the *rst-tutorial-example.leo* project which demonstrates most of 
>>> the features introduced in this tutorial.
>>> [image: Inline image 1]
>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "leo-editor" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/leo-editor.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to