But I prepend a outdir to it. Would you feel comfortable hand editing the plugin.py in a text editor and trying to see if this fixes the issue. If so, here is what I would like you to try if possible:
Near line 70 in plugin.py you will see the following:
Code:
css_new_filename = unique_filename('sgc_styles.css', namelist)
style_folders = bk.group_to_folders("Styles","")
css_new_bookpath = style_folders[0] + "/" + css_new_filename
Code:
css_new_filename = unique_filename('sgc_styles.css', namelist)
style_folders = bk.group_to_folders("Styles",[""])
css_new_bookpath = css_new_filename
if style_folders[0] != "":
css_new_bookpath = style_folders[0] + "/" + css_new_filename
Notice the added "[" "]" brackets in the line that gets the folder list (it should always return a list).
And notice the test for non-empty default style_folder to prevent starting with "/" in the book path.
The spacing for the indent is 4 spaces in case it gets messed up by the post.
If you could try that and let me know if it works. If it does I will make an official new release with that change in place.
If you do not feel comfortable editing python code, just let me know and I will try to build something for you to test. I have just been so tied up with the new Sigil release. I apologize for the delay.