Hello Péter

Currently only solution is to use relative links, like [[./PageOne]].  I
had the same issue with my multilingval site.  I plan to look to this
issue, but I'm not sure how it should be fixed...

Baranyi Péter  at "Sat, 06 Feb 2010 21:18:55 +0100" wrote:
 BP> Hey list, i have a problem with publishing html to multiple directories.
 BP> Any link i make, like [[PageOne]] links to the first output directory,
 BP> instead of linking the same directory where the file is.  

 BP> I export to two directories because its a multilingual project. This is
 BP> my test setup:

 BP> (setq load-path (add-to-list 'load-path "~/muse-3.20"))
 BP> (require 'muse-mode)
 BP> (require 'muse-publish)
 BP> (require 'muse-html)

 BP> (muse-derive-style "html-one" "html"
 BP>               :maintainer "[email protected]")

 BP> (muse-derive-style "html-two" "html"
 BP>               :maintainer "[email protected]")

 BP> (setq muse-project-alist `(
 BP>                       ("test"
 BP>                        ("~/test"
 BP>                         :default "index")

 BP>                        (:base "html-one"
 BP>                               :path "~/public_html/one")

 BP>                        (:base "html-two"
 BP>                               :path "~/public_html/two")
 BP> )))

 BP> I made an index.muse file with the content:

 BP>         new page with some links:
 BP>         
 BP>          - [[PageOne]]
 BP>          - [[PageTwo]]
 BP>         
 BP>         wonder where they point?
 BP>         
 BP> In the one directory, the links look like:
 BP> <a href="PageTwo.html">PageTwo</a>

 BP> but in the two directory, all links gets published like:
 BP> <a href="../one/PageOne.html">PageOne</a>

 BP> Pointing to the first output directory! How can i make all links like in
 BP> the first example?

 BP> Thanks for any help!


-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/        http://alexott.net/
http://alexott-ru.blogspot.com/

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

Reply via email to