bugEmacs Muse - Bugs: bug #11413, PDF browsing

Show feedback again

bug #11413: PDF browsing

Submitted by:  None
Submitted on:  Wed Apr 2 14:38:22 2008  
Category: museSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Apr 2 14:52:11 2008, comment #1:

Sorry, I posted to promptly. My dirty fix with muse-derive-style doesn't work, as it makes publishing impossible because the tex generated file is build with a '.pdf' extension with this modification.

I hope somebody could find a better way to fix this.

Thanks again in advance,


Wed Apr 2 14:38:22 2008, original submission:


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 !





(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup