Yoriyuki Yamagata | 14 Nov 2011 10:17
Picon

Broken link when publishing to html

Hi, list.

I have encountered the following problem.  When I link Muse page (in
the same project) by [[page][text]] notations and publish these links,
they are converted to the link "page", not "page.html".

I tried to understand the issue and I found
"muse-project-applicable-styles" returns page verbatim.  I don't know
this is relevant or not, though.

So, my question is, this is the bug or feature, or my
misconfiguration?  Any suggestion will be appreciated.

I use most recent Git version of Muse.  My configuration is

;;Muse
(add-to-list 'load-path "~/site-lisp/muse-el/lisp")
(require 'muse-mode)     ; load authoring mode
(require 'muse-html)     ; load publishing styles I use
(require 'muse-project)

(setq muse-project-alist
      '(("aist-web"
         ("~/Action/web" :default "index")
         (:base "html" :path "~/Action/web-public")
         (:base "pdf" :path "~/Action/web-public/pdf"))))

Best,
--

-- 
Yoriyuki Yamagata
(Continue reading)

Glasspen | 14 Nov 2011 21:06
Picon

Re: Broken link when publishing to html

Hi!

Try to add:

(require 'muse-publish)

and change your project like this:

(setq muse-project-alist
      '(("aist-web"
         ("~/Action/web" :default "index"
          :major-mode muse-mode)
         (:base "html" :path "~/Action/web-public")
         (:base "pdf" :path "~/Action/web-public/pdf"))))

Yoriyuki Yamagata wrote 2011-11-14 10:17:
> Hi, list.
>
> I have encountered the following problem.  When I link Muse page (in
> the same project) by [[page][text]] notations and publish these links,
> they are converted to the link "page", not "page.html".
>
> I tried to understand the issue and I found
> "muse-project-applicable-styles" returns page verbatim.  I don't know
> this is relevant or not, though.
>
> So, my question is, this is the bug or feature, or my
> misconfiguration?  Any suggestion will be appreciated.
>
> I use most recent Git version of Muse.  My configuration is
(Continue reading)

Yoriyuki Yamagata | 15 Nov 2011 00:02
Picon

Re: Broken link when publishing to html

Thanks! I will try that.

2011/11/15 Glasspen <ckglasspen48 <at> gmail.com>:
> Hi!
>
> Try to add:
>
> (require 'muse-publish)
>
> and change your project like this:
>
> (setq muse-project-alist
>      '(("aist-web"
>         ("~/Action/web" :default "index"
>          :major-mode muse-mode)
>         (:base "html" :path "~/Action/web-public")
>         (:base "pdf" :path "~/Action/web-public/pdf"))))
>
>
> Yoriyuki Yamagata wrote 2011-11-14 10:17:
>> Hi, list.
>>
>> I have encountered the following problem.  When I link Muse page (in
>> the same project) by [[page][text]] notations and publish these links,
>> they are converted to the link "page", not "page.html".
>>
>> I tried to understand the issue and I found
>> "muse-project-applicable-styles" returns page verbatim.  I don't know
>> this is relevant or not, though.
>>
(Continue reading)


Gmane