Follow-up Comment #1, bug #6648 (project muse-el):

I found some information about this bug.

In the file `muse-publish.el' there is a function `muse-publish-url' that is
called to publish the image (and other files).

During publication, the following form is execuded on my image:

`(setq url (file-name-sans-extension url))'

at that time, the url has value "images/test.png" and after execution of this
form, the value is either

"/path/to/some/wrong/directory/images/test" when the publication was caused
by `muse-project-publish' or "/path/to/source/directory/images/test" when the
publication was caused by `muse-project-publish-this-file'.

The correct behavior should be to return "images/test.png", therefore I
suggest not to use the function `file-name-sans-extension'.

(but I don't know enough to replace it by something else...)


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?6648>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Muse-el-commits mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-commits

Reply via email to