On Wed, Mar 14, 2018 at 10:41 PM, Joel Kulesza wrote:
> On Wed, Mar 14, 2018 at 10:40 PM, Joel Kulesza wrote:
>
>> On Wed, Mar 14, 2018 at 3:11 PM, Stephan Witt wrote:
>>
>>> Am 14.03.2018 um 21:54 schrieb list_em...@icloud.com:
>>> >
>>> >
>>> >> On Mar 14, 2018, at 6:17 AM, Joel Kulesza wrote:
>>> >>
>>> >> On Wed, Mar 14, 2018 at 4:00 AM, wrote:
>>> >>> I’m confused. Is it working for you or not?
>>> >>
>>> >> It does not work insofar as nothing happens other than Skim opening
>>> with the PDF when I click the preview eyeballs. It doesn't move the
>>> document to a particular point nor display the type of markup you described.
>>> >>
>>> >> I'll respond later in detail to Stephan's post regarding what I did
>>> to set it up and what I ultimately experience (in both 2.2.3 and 2.3.0).
>>> >>
>>> >
>>> > OK. I have egg on my face. (I don’t know if that translates into your
>>> slang. 8^) First, I was not receiving all the list mail, only yours. I just
>>> now fixed my list subscription. Second and more important, as told in
>>> Stephan’s note, I did not have the document setting for “Synchronize with
>>> output” turned on.
>>>
>>> To be honest - it was Pavel who mentioned it first. I’ve luckily
>>> repeated this to make a self contained recipe. :)
>>>
>>> > I guess I didn’t realize that setting was per-document. SORRY
>>> everyone. With that turned on, syncing is working. The only problem that I
>>> see is that with reverse search, the Skim document window is not brought to
>>> the front—but the scrolling and highlighting does happen. Not sure that’s a
>>> LyX problem though—could be the OS or Skim not sending the right
>>> (Applescipt?) command.
>>>
>>> You want LyX front-most when doing the Command-Shift click in Skim? I
>>> think this may be a legal enhancement request for LyX.
>>>
>>> The work-around is to add custom arguments in Skim (I’ve grabbed it from
>>> LyX wiki):
>>>
>>> For standard LyX enter:
>>> "%file" %line ; /usr/bin/osascript -e 'tell application "LyX" to
>>> activate'
>>>
>>> For custom command e.g.:
>>> /path/to/LyX.app/Contents/MacOS/lyxeditor "%file" %line ;
>>> /usr/bin/osascript -e 'tell application "LyX" to activate‘
>>>
>>> Stephan
>>>
>>> > Still, though, I first tested with the default document when selecting
>>> File -> New which is “Article (Standard Class)” and the “Synchronize with
>>> output” setting is already checked, by default. My mistake then I suppose
>>> was assuming that this would then happen with the IEEE template but that is
>>> a bad assumption.
>>> >
>>> > Sorry again for the hassle and thanks as usual for all the friendly
>>> help.
>>> >
>>> > Jerry
>>> >
>>>
>>
>> My experiences and thoughts after experimenting with this:
>>
>>- I've tried to configure forward/reverse search with LyX+Skim (LyX
>>installed from lyx.org and Skim installed via brew cask install) on
>>two separate machines using 2.3.0rc2. I've gotten only reverse searching
>>working. I do not have anything that indicates that forward searching is
>>functional. Can someone please post a screencast showing what correct
>>forward search looks like so I know what to look for?
>>- On one machine that reverse search works, both LyX and Skim are
>>installed to /Applications. On the other, they are installed to /local.
>>For the /local installations, I had to use a custom Skim preference
>>providing the full path to lyxeditor and the osascript append that Stephan
>>copied from the wiki to get reverse search working.
>>- Jerry noted that he overlooked the fact that PDF synchronization is
>>per document. I admit that I also overlooked this for some time. One
>>possible reason: I think the WIki page at https://wiki.lyx.org/LyX/Sy
>>ncTeX has this step mislabeled. It says "Document > Settings > Output
>>", which I mistook for LyX>Preferences>Output rather than
>>Document>Settings>Formats. If folks agree that the Wiki is mislabeled, I
>>can correct this. However, perhaps someone with working forward and
>>reverse searching can create a formulaic write-up giving the steps
>>necessary to setup LyX from a fresh install and a document without
>>synchronization enabled. It would be helpful (to me, at least) if the
>>write-up gave absolute paths/caveats for non-standard LyX and Skim (or
>>other viewer) locations.
>>
>> The steps I used to configure the two applications are as follows (note
>> that I totally removed LyX 2.3.0rc2 and Skim.app and the associated
>> preferences (~/Library/Application Support/LyX-2.3 and
>> ~/Library/Preferences/net.sourceforge.skim-app*) before proceeding.
>> Please let me know what step is incorrect or missing to get synchronization
>> / forward search working.
>>
>>1. Install LyX 2.3.0rc2 from UCSD mirror (
>>ftp://ftp.ucsd.edu/LyX/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0