Hi, I just learned by reading LeoDocs that I can do stylesheet setting by using @rst-options in the body of the @rst node.
I guess I must have read some older documentation somewhere about the @settings node. Thanks! Daniel On Tuesday, June 17, 2014 11:21:56 AM UTC-3, daniel wrote: > > Hi, > > I read in the help files that I can use a @settings node to set a > different stylesheet to be used by rst3. This is what I did: > > I added a @settings node to the same leo file where I have my "@rst > my_page.html" node. As children of @settings I added the following nodes: > > @bool rst3_call_docutils = True > @string rst3_stylesheet_path = ./ > @string rst3_stylesheet_name = mystyle.css > > But I keep getting the error: > > stylesheet not found > > Note that the leo file is not in the same folder as the output folder for > the rst file. The @rst node is child of a @path node. > I have tried copying the CSS stylesheet to the same folder as the leo > file, but to no avail. I also used absolute path for the stylsheet_path but > it did not work either. > > I'll keep working on it. In the meantime, if anyone has any idea or > pointer, I greatly appreciate. > > Cheers, > > Daniel > -- 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/d/optout.
