|
From: Kenichi S. <Ken...@jp...> - 2002-08-21 09:57:44
|
Hi, > FROM: Adam Chodorowski > DATE: 08/14/2002 15:21:13 > SUBJECT: [Docutils-develop] Strange --stylesheet handling... > > Hi. > > I'm experiencing some strange handling of the --stylesheet option of the HTML > writer, which I use like the following:: > > stylesheet=aros.css > > But the generated HTML contains:: > > <link rel="stylesheet" href="../../docs/aros.css" type="text/css" /> > > And that is not at all what I specified! It should be noted that the source > file is in a different directory from the destination file, and that the > current directory is the source one. I think this is the problem: for some > reason the --stylesheet option is not taken verbatim, but is looked up > relative to the current directory and "corrected". I have the same problem and it is even worth for me because the driver letter (yes, I'm trying on Windows!) is put in front of the stylesheet path when it becomes the absolute one (e.g. href="z:/default.css"). This is not what I expected and totally useless if I want to publish the html pages through a web server. In my case, the trick found by Adam (specifying "../..." path) doesn't help either. I understand the benefit of modifying the pathname to relative one, but it would be better if we had an option to turn it off. Regards, > This is totally useless for me, as I have separate build and source > directories. If this is a intended feature (I do see the usefullness of it > when building in a single directory), perhaps another option would be > apropriate. Something like --absolute-stylesheet perhaps? > > --- > Adam Chodorowski <<EMAIL: PROTECTED>> > > If studies were interesting, the world would come to a halt and nothing > would ever get done :) > -- James Kehl > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > Docutils-develop mailing list > <EMAIL: PROTECTED> > https://lists.sourceforge.net/lists/listinfo/docutils-develop -- Kenichi SATO |