Bug 389456 - Inverse search with xelatex not working
Summary: Inverse search with xelatex not working
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: 2.9.91
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-26 09:55 UTC by Simone Gaiarin
Modified: 2018-02-18 10:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Test project (834 bytes, application/octet-stream)
2018-01-26 21:38 UTC, Simone Gaiarin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Gaiarin 2018-01-26 09:55:37 UTC
Inverse search using Xelatex and the embedded viewer is not working.

I think I have read somewhere that only pdflatex is supported, but also with xelatex should be possible to have inverse search.
Comment 1 Michel Ludwig 2018-01-26 19:00:35 UTC
Inverse search with XeLaTeX should work.

You seem to be using an older version. Can you try it out with the latest version from the git master branch?

Can you also attach a small test case that demonstrates the problem?

Thanks.
Comment 2 Simone Gaiarin 2018-01-26 21:29:28 UTC
Ok. I did some more tests.

I have a file A (root document) that includes two files B and C (with \include)

I did this: 

- Open the root document A
- Tools > Set current document as Master (this setting seems irrelevant though)
- Open the included file B
- QuickBuild
- Shift+Click on the embedded viewer in a piece of text corresponding to the included document B

Results: Nothing happens

- Shift+Click on the embedded viewer in a piece of text corresponding to the 
included document C

Results: File C is opened in the editor, but not in the correct line (the cursor stays where it was)

- Shift+Click on the embedded viewer in a piece of text corresponding to the included document B

Results: File B is opened in the editor, but not in the correct line (the cursor stays where it was)


So basically inverse search partially works in the sense that jumps to the correct file, but not to the correct line.

The test has been done with Kile 2.2.91 (if I can I'll try with the git version)
Comment 3 Simone Gaiarin 2018-01-26 21:38:29 UTC
Created attachment 110137 [details]
Test project

Attached a test project to test the problem
Comment 4 Simone Gaiarin 2018-01-26 21:58:56 UTC
I confirm that the behavior is the same with the git master version
Comment 5 Michel Ludwig 2018-02-18 08:16:35 UTC
Can you try if it works in git master for you now (commit e54d140fcf183cfbea6ea7e76904c989c5f19269)?

I'm closing the bug for now.
Comment 6 Simone Gaiarin 2018-02-18 10:01:04 UTC
It works!