Re: --link-stylesheet path not relative to working directory

Guenter Milde via Docutils-users <[email protected]> Thu, 8 Jul 2021 09:34:09 -0000 (UTC)
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
On 2021-07-07, Alan G. Isaac wrote:
> If I try to link to the stylesheet instead of embedding it
> (in rst2html5) I get a path that is not relative to the
> working directory. Instead it backs up to the root and
> works it's way down. (But that's terrible, since the
> target computer naturally has a different folder
> structure.)

> 1. Is this expected?

> 2. Possibly relevant (?): I invoke a particular Python
> by using it's full path.

Use, depending on your use case, stylesheet__ or stylesheet_path__.
__ https://docutils.sourceforge.io/docs/user/config.html#stylesheet
__ https://docutils.sourceforge.io/docs/user/config.html#stylesheet-path-1

Günter



_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.