[Okular-devel] [okular] [Bug 313700] New: Okular can't read synctex files from utf8(non-ascii) directories

Hedayat Vatankhah hedayatv+kdebugs at gmail.com
Tue Jan 22 18:04:40 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=313700

            Bug ID: 313700
           Summary: Okular can't read synctex files from utf8(non-ascii)
                    directories
    Classification: Unclassified
           Product: okular
           Version: 0.15.5
          Platform: Fedora RPMs
               URL: https://bugzilla.redhat.com/show_bug.cgi?id=747976
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: hedayatv+kdebugs at gmail.com

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 at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list