Re: Aquamacs Emacs 3.1a

#98005
OldClaudio
Partecipante
    Up
    0
    Down
    ::

    illinguista1972″ post=97566Questo è quello che vedo nel minibuffer:
    [tt]View command: (aquamacs-call-viewer 19 “nome-file.tex”)[/tt]

    Ciao
    Tommaso

    A me risulta che l’Help di Aquamaca abbia una sezione 4.4 che a sua volta contiene la sottosezione 4.4.1 che dice quanto segue:

    4.4.1 Skim: A LATEX Previewer

    When editing LATEXfiles, you will often need to view the compiled results. Apple’s Preview.app can view PDF files. But for regular use you may prefer a program like Skim which has features specifically supporting LATEXediting. Skim is available here: http://skim-app.sourceforge.net/ . Skim can automatically reload PDFs after every they are recompiled. It also includes a configuration preset to allow it to jump back and forth between Aquamacs and Skim, showing the documents at the corrsponding locations. An up-to-date LaTeX distribution such as MacTeX 2009 is required to use the “SyncTeX” feature.

    Clicking on a position in the PDF file in Skim while holding the Command and Shift keys causes Aquamacs to move your cursor to the corresponding point in the underlying source file, opening it if necessary. To enable Skim with SyncTeX, enable Aquamacs in Skim’s Preferences dialog. Aquamacs does not need to be configured further – it should recognize Skim when it is running (you need to start it yourself).

    If you want to be able to start Skim from inside Aquamacs, do the following.

    Having opened a Latex buffer in Aquamacs, go “MenuLatexCustomize Auctex” and then click on “Extend this Menu.” Then, once more, go “MenuLatexCustomize Auctex.” In the list of items you see now, drag the mouse to “Tex Command,” in the list you see then, drag it to “Tex View”, and in the list which finally opens, click on “Tex View Program Selection.” You now have a customization buffer opened. There, you see a line which contains the words “output-pdf.” In the line below that line, you see the word “Viewer.” To the right of it, there is a button “Value Menu.” Click on it, and choose “Skim” in the list that pops up.

    Finally, before you close the customization buffer, do not forget to click on the button “State” and, in the list then popping up, to click on “Save for Further Sessions”. That’s all.

    Now you can use the view icon in the toolbar, or the key combination C-c C-v, or “MenuCommandView” to open Skim with your pdf-output file.

    Furthermore, things are configured so that these three ways to call Skim also yield syncing from source to pdf-output. Syncing from source to pdf-output can also be obtained by clicking on a position in your source-file while holding the Command and Shift keys.

    (If you had not rejected Apple’s default in the installation of Leopard or Snow Leopard to put X11 on your system, you may also consider to choose xdvi for “output-dvi.”)

    Quindi Se Skim è già aperto sul file da visualizzare, Aquamacs fa tutto da solo; se si vuole che Aquamacs apra Skim bisogna configurare Aquamacs come deltto nella seconda parte delle istruzioni.

    Io ho sia Acquamacs 3.1a, sia Skim, ma non uso quasi mai Aquamacs per lavorare sui file LaTeX, quindi non ho configurato Aquamacs come descritto sopra, perché “non mi serve ( tra virgolette, perché non si sa mai, in futuro potrebbe servirmi).

    NOTA. Strano come nell’ultima edizione di Aquamacs, che è appunto la versione 3.1a, si parli ancora del formato DVI quando per i Mac il formato PDF è quello di default. Strano che faccia riferimento ancora a gwTeX, che non è più aggiornato dal 2006; strano che si riferisca ancora a MacTeX 2009…

    Go to top