Discussion:
[Skim-app-users] forward inverse search not working
Daniel Wolk
2016-01-30 03:44:22 UTC
Permalink
This is a simple user's question. I do not know the ins and outs of using
Skim.

I have been using Skim with Aquamacs under Mac OS for quite some time now,
and everything was synching properly. I just did an automatic update to
Version 1.4.17 and suddenly the forward inverse search (from the tex source
file to the pdf file) does not work. I have checked all my the relevant
Aquamacs AucTeX settings I could think of, and have no idea why the forward
search does not work. I have the LaTeX command set to XeLaTeX. Neither
the View command nor the Jump to PDF command preserves the forward search.
I get no yellow bar in my pdf file under Skim. Oddly, however, the back
search (from the pdf file to the tex source file) does work. Under the
sync setting under Preferences, I tried as the PDF Sync Support Preset both
Aquamacs and Custom with Command: emacsclient. That made no difference.

Any help will be appreciated.

Daniel Wolk
Christiaan Hofman
2016-01-30 12:49:05 UTC
Permalink
This is a simple user's question. I do not know the ins and outs of using Skim.
I have been using Skim with Aquamacs under Mac OS for quite some time now, and everything was synching properly. I just did an automatic update to Version 1.4.17 and suddenly the forward inverse search (from the tex source file to the pdf file) does not work. I have checked all my the relevant Aquamacs AucTeX settings I could think of, and have no idea why the forward search does not work. I have the LaTeX command set to XeLaTeX. Neither the View command nor the Jump to PDF command preserves the forward search. I get no yellow bar in my pdf file under Skim. Oddly, however, the back search (from the pdf file to the tex source file) does work. Under the sync setting under Preferences, I tried as the PDF Sync Support Preset both Aquamacs and Custom with Command: emacsclient. That made no difference.
Any help will be appreciated.
Daniel Wolk
We have changed absolutely nothing about (forward) synctex search support whatsoever in 1.4.17, bun fact not for a long time. So it can’t be coming from the Skim side. Have you tried testing from the command line?

Christiaan
Christiaan Hofman
2016-01-30 12:58:17 UTC
Permalink
Post by Christiaan Hofman
This is a simple user's question. I do not know the ins and outs of using Skim.
I have been using Skim with Aquamacs under Mac OS for quite some time now, and everything was synching properly. I just did an automatic update to Version 1.4.17 and suddenly the forward inverse search (from the tex source file to the pdf file) does not work. I have checked all my the relevant Aquamacs AucTeX settings I could think of, and have no idea why the forward search does not work. I have the LaTeX command set to XeLaTeX. Neither the View command nor the Jump to PDF command preserves the forward search. I get no yellow bar in my pdf file under Skim. Oddly, however, the back search (from the pdf file to the tex source file) does work. Under the sync setting under Preferences, I tried as the PDF Sync Support Preset both Aquamacs and Custom with Command: emacsclient. That made no difference.
Any help will be appreciated.
Daniel Wolk
We have changed absolutely nothing about (forward) synctex search support whatsoever in 1.4.17, bun fact not for a long time. So it can’t be coming from the Skim side. Have you tried testing from the command line?
Christiaan
When I test this from the command line, I see no problem. So it must be something with Aquatics. Perhaps it has a problem with finding Skim? Is it in the correct location, and could there be an old version of Skim somewhere on your system?

(BTW, the Sync preference settings are only relevant for forward search).

Christiaan
Iliya Lefterov
2016-01-30 13:03:15 UTC
Permalink
Hi Daniel,

do you have this section in your ~/.emacs or Preferences.el files (in one of those)?

(setq TeX-view-program-selection '((output-pdf "PDF Viewer")))
(setq TeX-view-program-list
'(("PDF Viewer" "/Applications/Skim.app/Contents/SharedSupport/displayline -b -g %n %o %b")))

you can also try to change the settings from within the Custom


good luck and have a nice weekend.

Iliya
Post by Christiaan Hofman
Post by Christiaan Hofman
This is a simple user's question. I do not know the ins and outs of using Skim.
I have been using Skim with Aquamacs under Mac OS for quite some time now, and everything was synching properly. I just did an automatic update to Version 1.4.17 and suddenly the forward inverse search (from the tex source file to the pdf file) does not work. I have checked all my the relevant Aquamacs AucTeX settings I could think of, and have no idea why the forward search does not work. I have the LaTeX command set to XeLaTeX. Neither the View command nor the Jump to PDF command preserves the forward search. I get no yellow bar in my pdf file under Skim. Oddly, however, the back search (from the pdf file to the tex source file) does work. Under the sync setting under Preferences, I tried as the PDF Sync Support Preset both Aquamacs and Custom with Command: emacsclient. That made no difference.
Any help will be appreciated.
Daniel Wolk
We have changed absolutely nothing about (forward) synctex search support whatsoever in 1.4.17, bun fact not for a long time. So it can’t be coming from the Skim side. Have you tried testing from the command line?
Christiaan
When I test this from the command line, I see no problem. So it must be something with Aquatics. Perhaps it has a problem with finding Skim? Is it in the correct location, and could there be an old version of Skim somewhere on your system?
(BTW, the Sync preference settings are only relevant for forward search).
Christiaan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________
Skim-app-users mailing list
https://lists.sourceforge.net/lists/listinfo/skim-app-users
Daniel Wolk
2016-01-30 18:08:11 UTC
Permalink
Christiaan and Iliya,

Thanks for your quick responses. You both prompted me to dig a little
further and I figured out the problem, which is an Aquamacs issue rather
than a Skim issue *per se*. I had the same problem from the command line
but discovered that the issue was I had spaces in my tex source file name,
and the Aquamacs configuration was not picking that up. So I changed the
key line in my Aquamacs preferences file (in my case customizations.el) to
put the source file buffer name in single quotation marks. Here is how the
relevant code in my TeX-view-program-list reads for me now:

("Skim" "/Applications/Skim.app/Contents/SharedSupport/displayline -b -g %n
%o '%b'")

I.e., putting %b in single quotation marks did the trick. [%o works fine.]
(Also note: unlike in Iliya's suggested code, somewhere in my code, "Skim"
becomes an alias for my PDF Viewer.)

So far it works fine for me. Can anybody see a downside to this? If not,
maybe the single quotation marks ought to be recommended?

Thanks,
Daniel
Post by Iliya Lefterov
Hi Daniel,
do you have this section in your ~/.emacs or Preferences.el files (in one of those)?
(setq TeX-view-program-selection '((output-pdf "PDF Viewer")))
(setq TeX-view-program-list
'(("PDF Viewer" "/Applications/Skim.app/Contents/SharedSupport/displayline
-b -g %n %o %b")))
you can also try to change the settings from within the Custom

good luck and have a nice weekend.
Iliya
This is a simple user's question. I do not know the ins and outs of using Skim.
I have been using Skim with Aquamacs under Mac OS for quite some time now,
and everything was synching properly. I just did an automatic update to
Version 1.4.17 and suddenly the forward inverse search (from the tex source
file to the pdf file) does not work. I have checked all my the relevant
Aquamacs AucTeX settings I could think of, and have no idea why the forward
search does not work. I have the LaTeX command set to XeLaTeX. Neither
the View command nor the Jump to PDF command preserves the forward search.
I get no yellow bar in my pdf file under Skim. Oddly, however, the back
search (from the pdf file to the tex source file) does work. Under the
sync setting under Preferences, I tried as the PDF Sync Support Preset both
Aquamacs and Custom with Command: emacsclient. That made no difference.
Any help will be appreciated.
Daniel Wolk
We have changed absolutely nothing about (forward) synctex search support
whatsoever in 1.4.17, bun fact not for a long time. So it can’t be coming
from the Skim side. Have you tried testing from the command line?
Christiaan
When I test this from the command line, I see no problem. So it must be
something with Aquatics. Perhaps it has a problem with finding Skim? Is it
in the correct location, and could there be an old version of Skim
somewhere on your system?
(BTW, the Sync preference settings are only relevant for forward search).
Christiaan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________
Skim-app-users mailing list
https://lists.sourceforge.net/lists/listinfo/skim-app-users
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Skim-app-users mailing list
https://lists.sourceforge.net/lists/listinfo/skim-app-users
Loading...