Hi,

I'm checking the fix in rev 1750. It doesn't work for me. I use the
following rst-options:

@nocolor

@ @rst-options
default_path=./latex
code_mode=False
generate_rst=True
http_server_support = False
show_organizer_nodes=True
show_headlines=True
show_leo_directives=True
write_intermediate_file = False
verbose=True
publish_argv_for_missing_stylesheets=--language=ca, --use-latex-toc, --
output-encoding=utf-8, --stylesheet=/home/vmas/.leo/custom_style.sty
@c

and have a rst-node like:

@rst Chapter_19_Electric_field.tex

Now, when I select this node (or some child) and execute the Write-
Restructured-Text command I can see the following output in the log
pane (written in red) and in the konsole:

stylesheet not found
open directory: /home/vmas/oposicions/carpeta_prova
relative path:
absolute path: /home/vmas/oposicions/carpeta_prova/default.css
wrote: /home/vmas/oposicions/carpeta_prova/latex/
Chapter_19_Electric_field.tex
done

Although the tex file is generated, reading it shows that the options
passed via publish_argv_for_missing_stylesheets are being ignored.

I don't remember to have problems finding the stylesheet before. Maybe
something has changed on this subject and I'm missing it?

Just one more question. When reading 
http://webpages.charter.net/edreamleo/rstplugin3.html
one can see that all rst options use underscores for joining words...
all but publish-argv-for-missing-stylesheets which uses dashes. Is it
a mistake in the page? Anyway, I've got the results described above
with both syntaxes.

Vicent

On 28 Abr, 20:51, "Edward K. Ream" <[email protected]> wrote:
> On Fri, Jan 23, 2009 at 10:46 AM, Edward K. Ream <[email protected]>wrote:
>
>
>
>
>
> > On Mon, Jan 19, 2009 at 11:54 AM, [email protected] <[email protected]>wrote:
>
> >> the arguments passed to option
> >> publish_argv_for_missing_stylesheets are passed to the overrides
> >> dictionary as a list:
>
> >> [u'--language=ca', u'--use-latex-toc', u'--output-encoding=utf-8', u'--
> >> stylesheet=/home/vmas/.leo/custom_style.sty']
>
> >> which is neither a dictionary nor an iterable of key/value pairs
>
> > Many thanks for this report.  I'll fix it immediately.
>
> Rev 1748 of the trunk contains an attempted fix.  I am using the new code
> without problems, and a simple hand test passes, but the testing is still
> minimal.  Please report any problems immediately.  Thanks.
>
> 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