I am trying to use Kile+Okular under Fedora 18 to write using XeLaTeX. I use SyncTex to synchronize these two applications. It worked fine in Fedora 15, but since 16 it doesn't work. Investigating a bit, I found that Okular have problems with reading synctex data from the directory with utf8 characters in its name. This is the result when I try to open okular manually: ----------------- [hedayat@hedayat-lap ~]% /usr/bin/okular --unique "file:/mnt/hedayat/درس<200c>ها/پروژه پایانی/final_report/thesis.pdf#src:1599/mnt/hedayat/درس<200c>ها/پروژه پایانی/final_report/thesis.tex" SyncTeX Warning: No tag for /mnt/hedayat/??????/????? ??????/final_report/thesis.tex ----------------- As can be seen, it replaces utf8 characters with '?', and then it is unable to load synctex data. Reproducible: Always Steps to Reproduce: 1. create a tex document using Kile in a directory with non-latin characters. 2. Configure Kile's build options for PDFLatex/XeLaTeX to use "Modern" build (which generates SyncTeX data) 3. Compile your document using PDFLatex or XeLaTeX 4. Try ForwardPDF Actual Results: Document opens in Okular, but it doesn't go the the same line as you are in Kile. Expected Results: It should open the document on the same line as where you are in Kile in the document. It seems to be independent of the active locale, and happens in en_US.utf8 locale too.
Can you please exactly say how step 2 is done? Also a sample document for trying would help :-)
Created attachment 76644 [details] A sample two page document.
And about the step 2: 2.1. Open Kile->Settings->Configure Kile->Build(under Tools) 2.2. Select 'PDFLaTeX' under "Select a tool" column 2.3. Change the configuration from 'Default' to 'Modern' in the right column under "Choose a configuration for the tool PDFLaTeX" (Select: )
Git commit 00cbba3ecec708cb147e990112bb3074778eca65 by Albert Astals Cid. Committed on 23/01/2013 at 00:02. Pushed by aacid into branch 'KDE/4.10'. Propertly encode the filename FIXED-IN: 4.10.0 M +1 -1 generators/poppler/generator_pdf.cpp http://commits.kde.org/okular/00cbba3ecec708cb147e990112bb3074778eca65