Vim does have the files open, but there are several Vim instances open,
each with several files. I didn't think it was unusual to have several
editors open, each editing multi-file LaTeX documents, but I believe the
solution you propose would resolve the issue (having %output be the PDF
file's full path).
Thanks!
Dominique
On Mon, Dec 8, 2014 at 6:51 PM, Christiaan Hofman <[email protected]>
wrote:
> I know nothing about Vim, so I also have no idea what a "server" means in
> this context.
>
> You should admit that this is not a natural situation, because usually
> text editors just have files opened.
>
> I guess we could also replace something like %output with the PDF file's
> path.
>
> Christiaan
>
>
> On Dec 9, 2014, at 0:04, Dominique Orban wrote:
>
> You're right that you want to edit a specific file, but to avoid having to
> search all Vim servers, I give each Vim instance a server name equal to the
> full path of the master TeX file (which also ends up being the name of the
> PDF file, save for the extension). If it were possible to obtain the name
> of the PDF file from Skim, I could call the appropriate vim server
> directly, and not scan through them all (which is not very elegant).
>
> It also seems natural to know which Skim instance emitted the request; I
> typically have multiple multi-file TeX documents typeset in multiple Skim
> windows.
>
> I imagine the same issue must come up with other editors.
>
> Thanks.
>
> Dominique
>
> On Mon, Dec 8, 2014 at 4:33 PM, Christiaan Hofman <[email protected]>
> wrote:
>
>> No, as I said, there are no other variables.
>>
>> Still, why would this be relevant? You want to edit a specific file, not
>> the master file per se.
>>
>> Christiaan
>>
>> On Dec 8, 2014, at 17:59, Dominique Orban wrote:
>>
>> It could be useful to know the name of the master TeX file, which is also
>> the name of the PDF file. Is there no way to get that information?
>>
>> Dominique
>>
>> On Mon, Dec 8, 2014 at 5:05 AM, Christiaan Hofman <[email protected]>
>> wrote:
>>
>>>
>>> On Dec 8, 2014, at 6:19, Dominique Orban wrote:
>>>
>>> I've got reverse sync working between Vim (in the terminal) and Skim,
>>> but it only seems to work when my document consists of a single file. I
>>> know about
>>> http://molecularclouds.blogspot.ca/2012/01/latex-vim-skim.html (though
>>> I haven't tested it) but I'm looking for a solution that doesn't require
>>> scanning all Vim servers (I have several) and all tabs.
>>>
>>> I'm wondering if Skim defines other variables in addition to %line and
>>> %file that may be useful when editing multi-file LaTeX documents.
>>>
>>> Thanks.
>>>
>>> Dominique
>>>
>>>
>>> No, there are no other variables. You want to show one line in one file,
>>> in all cases, so there is no need for more variables (and no more
>>> information to give.)
>>>
>>> Christiaan
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Skim-app-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/skim-app-users
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk_______________________________________________
>> Skim-app-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/skim-app-users
>>
>>
>> Christiaan
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Skim-app-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/skim-app-users
>>
>>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk_______________________________________________
> Skim-app-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skim-app-users
>
>
> Christiaan
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Skim-app-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skim-app-users
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users