* Synctex with auctex and Skim @ 2009-07-20 19:05 Giovanni Lanzani 2009-07-23 16:24 ` Tom Dye 0 siblings, 1 reply; 4+ messages in thread From: Giovanni Lanzani @ 2009-07-20 19:05 UTC (permalink / raw) To: help-gnu-emacs Hi there, I'm using the CVS version of Emacs.app and I would like to use synctex from Skim.app with Emacs.app (+ Auctex loaded). However it doesn't work (while it does with Aquamacs). Has anyone any clue about this issue? In the TeX on Mac OS X wiki (http://mactex-wiki.tug.org/wiki/ index.php?title=SyncTeX) it is reported that synctex should work with Carbon Emacs. Are there modifications in Carbon Emacs which could explain the syncing between pdf and .tex to work inside it and not to work in the vanilla version of Emacs.app? Thanks, Giovanni ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Synctex with auctex and Skim 2009-07-20 19:05 Synctex with auctex and Skim Giovanni Lanzani @ 2009-07-23 16:24 ` Tom Dye 2009-07-26 16:55 ` Giovanni Lanzani 0 siblings, 1 reply; 4+ messages in thread From: Tom Dye @ 2009-07-23 16:24 UTC (permalink / raw) To: help-gnu-emacs On 2009-07-20 09:05:46 -1000, Giovanni Lanzani <ulissesroc@gmail.com> said: > Hi there, > > I'm using the CVS version of Emacs.app and I would like to use synctex > from Skim.app with Emacs.app (+ Auctex loaded). However it doesn't > work (while it does with Aquamacs). Has anyone any clue about this > issue? In the TeX on Mac OS X wiki (http://mactex-wiki.tug.org/wiki/ > index.php?title=SyncTeX) it is reported that synctex should work with > Carbon Emacs. Are there modifications in Carbon Emacs which could > explain the syncing between pdf and .tex to work inside it and not to > work in the vanilla version of Emacs.app? > > Thanks, > > Giovanni Giovanni, From what I understand, you should be able to achieve in Emacs what Carbon Emacs does with synctex. If I remember correctly, there are two things to do: 1) configure Emacs so the latex command invokes synctex, and 2) start the server so synctex can use emacsclient to get back to the running instance of Emacs. These steps are fully documented and you should be able to find them. These steps let you jump from a pdf file back into the LaTeX document, but not from the LaTeX document to the pdf file. I believe that the ability to jump from the LaTeX file to the pdf file in Aquamacs is due to some code written expressly for Aquamacs. HTH, Tom -- Tom Dye T. S. Dye & Colleagues, Archaeologists, Inc. Honolulu, Hawai`i ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Synctex with auctex and Skim 2009-07-23 16:24 ` Tom Dye @ 2009-07-26 16:55 ` Giovanni Lanzani 2009-07-26 21:26 ` Giovanni Lanzani 0 siblings, 1 reply; 4+ messages in thread From: Giovanni Lanzani @ 2009-07-26 16:55 UTC (permalink / raw) To: help-gnu-emacs Hi Tom, thanks for the reply. I already invoke latex with the synctex option, but for 2) (start the server so synctex can use emacsclient), what should I do? Use M-x server-start? Because doing just so doens't work. And no, I don't need to jump from LaTeX to the pdf, just from the pdf to LaTeX. Thanks for your time and patience, Giovanni On Jul 23, 6:24 pm, Tom Dye <t...@tsdye.com> wrote: > On 2009-07-20 09:05:46 -1000, Giovanni Lanzani <ulisses...@gmail.com> said: > > > Hi there, > > > I'm using the CVS version of Emacs.app and I would like to usesynctex > > from Skim.app with Emacs.app (+ Auctex loaded). However it doesn't > > work (while it does with Aquamacs). Has anyone any clue about this > > issue? In the TeX on Mac OS X wiki (http://mactex-wiki.tug.org/wiki/ > > index.php?title=SyncTeX) it is reported thatsynctexshould work with > > Carbon Emacs. Are there modifications in Carbon Emacs which could > > explain the syncing between pdf and .tex to work inside it and not to > > work in the vanilla version of Emacs.app? > > > Thanks, > > > Giovanni > > Giovanni, > > From what I understand, you should be able to achieve in Emacs what > Carbon Emacs does withsynctex. If I remember correctly, there are two > things to do: 1) configure Emacs so the latex command invokessynctex, > and 2) start the server sosynctexcan use emacsclient to get back to > the running instance of Emacs. These steps are fully documented and > you should be able to find them. These steps let you jump from a pdf > file back into the LaTeX document, but not from the LaTeX document to > the pdf file. > > I believe that the ability to jump from the LaTeX file to the pdf file > in Aquamacs is due to some code written expressly for Aquamacs. > > HTH, > Tom > > -- > Tom Dye > T. S. Dye & Colleagues, Archaeologists, Inc. > Honolulu, Hawai`i ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Synctex with auctex and Skim 2009-07-26 16:55 ` Giovanni Lanzani @ 2009-07-26 21:26 ` Giovanni Lanzani 0 siblings, 0 replies; 4+ messages in thread From: Giovanni Lanzani @ 2009-07-26 21:26 UTC (permalink / raw) To: help-gnu-emacs Just to be more clear: if Carbon Emacs is running and I invoke emacsclient from the command line, it jumps to the requested file. But if I compile a LaTeX file and open Skim, the sync does not work between Carbon Emacs and Skim. But if I close Carbon Emacs and run Aquamacs, from Skim the sync works. Therefore the 2 conditions you talked about are fulfilled: synctex is invoked (it works with Aquamacs, without recompiling) and emacsclient can invoke files in Carbon Emacs. On Jul 26, 6:55 pm, Giovanni Lanzani <ulisses...@gmail.com> wrote: > Hi Tom, > > thanks for the reply. > > I already invoke latex with thesynctexoption, but for 2) (start the > server sosynctexcan use emacsclient), what should I do? Use M-x > server-start? Because doing just so doens't work. > > And no, I don't need to jump from LaTeX to the pdf, just from the pdf > to LaTeX. > > Thanks for your time and patience, > > Giovanni > > On Jul 23, 6:24 pm, Tom Dye <t...@tsdye.com> wrote: > > > > > On 2009-07-20 09:05:46 -1000, Giovanni Lanzani <ulisses...@gmail.com> said: > > > > Hi there, > > > > I'm using the CVS version of Emacs.app and I would like to usesynctex > > > from Skim.app with Emacs.app (+ Auctex loaded). However it doesn't > > > work (while it does with Aquamacs). Has anyone any clue about this > > > issue? In the TeX on Mac OS X wiki (http://mactex-wiki.tug.org/wiki/ > > > index.php?title=SyncTeX) it is reported thatsynctexshould work with > > > Carbon Emacs. Are there modifications in Carbon Emacs which could > > > explain the syncing between pdf and .tex to work inside it and not to > > > work in the vanilla version of Emacs.app? > > > > Thanks, > > > > Giovanni > > > Giovanni, > > > From what I understand, you should be able to achieve in Emacs what > > Carbon Emacs does withsynctex. If I remember correctly, there are two > > things to do: 1) configure Emacs so the latex command invokessynctex, > > and 2) start the server sosynctexcan use emacsclient to get back to > > the running instance of Emacs. These steps are fully documented and > > you should be able to find them. These steps let you jump from a pdf > > file back into the LaTeX document, but not from the LaTeX document to > > the pdf file. > > > I believe that the ability to jump from the LaTeX file to the pdf file > > in Aquamacs is due to some code written expressly for Aquamacs. > > > HTH, > > Tom > > > -- > > Tom Dye > > T. S. Dye & Colleagues, Archaeologists, Inc. > > Honolulu, Hawai`i ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-26 21:26 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-07-20 19:05 Synctex with auctex and Skim Giovanni Lanzani 2009-07-23 16:24 ` Tom Dye 2009-07-26 16:55 ` Giovanni Lanzani 2009-07-26 21:26 ` Giovanni Lanzani
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).