URL:
  <http://gna.org/bugs/?11413>

                 Summary: PDF browsing
                 Project: Emacs Muse
            Submitted by: None
            Submitted on: mercredi 02.04.2008 à 16:38 CEST
                Category: muse
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi,

There is a small problem in my local muse installation when I want to browse
the result of a PDF publishing with muse-browse-result.

In fact there seems to be two little problems :

First, the browsing command defined in in muse-latex-pdf-browse-file ("open")
didn't work for me, but maybe it is a local configuration problem. I solved it
by adding the following to my .emacs :

(defun muse-latex-pdf-browse-file (file)
  (shell-command (concat "xpdf " file)))

The second problem is that the filename that Muse try to browse is build with
a '.tex' extension instead of '.pdf'. After a short investigation it seems
that it is due to a lack of ':suffix' configuration in the pdf publishing
style. I solved it by adding the following in my .emacs :

(muse-derive-style "pdf" "latex"
                   :final   'muse-latex-pdf-generate
                   :browser 'muse-latex-pdf-browse-file
                   :link-suffix 'muse-latex-pdf-extension
                   :osuffix 'muse-latex-pdf-extension
                   :suffix 'muse-latex-pdf-extension)

Thanks for all your work on this greatly useful program !

Sincerely,

Julien





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to