On Apr 8, 2007, at 11:00 AM, Timothy Reaves wrote:
Bennett Helm wrote:
On Apr 7, 2007, at 10:31 PM, Timothy Reaves wrote:
What is the correct way to set up pdfsync with the 1.5
branch? More specifically, PDFView.
In PDFView's preferences, use a custom preset for PDFSync support,
with the following entries:
/Applications/LyX.app/Contents/MacOS/lyxeditor
"%file" %line
Also, make sure that the .lyxpipe.in and .lyxpipe.out files do not
exist when LyX is not running. (They are normally deleted when LyX
quits, but if LyX crashes, they remain and prevent LyX from
communicating with PDFView.) Their location can be found in LyX >
Preferences > Paths.
Finally, make sure that you include
\usepackage{pdfsync}
in your preamble. Then <Cmd>-click in PDFView should take you to
the relevant place in the LyX document.
Bennett
Thanks for the response. Unfortunatly, I didn't make myself
clear; I'm wanting to know how to configure LyX. In LyX, there is
no preference for 'viewers', so I'm assuming that the 'file
formats' are what need to be setup. For 'PDF(pdflatex)' Viewer is
set to auto, and Editor is not set. I figured I needed to replace
auto with PDFView. But every time I replace auto with anything,
neither the Save nor Apple button are enabled, and switching views
looses the setting.
So what is the correct way to configure LyX?
"auto" will use the default .pdf viewer. One way to change what LyX
uses is to change the default for all .pdf files in the Finder. If
you don't want to do that, you'll need to enter "open -a PDFSync.app $
$i" (without quotes) in the viewer setting. *Then* you need to click
the Modify button, and then Save.
Bennett