Problem with SyncTeX when using some lett ers in the file path (é, è, ...)

Erwan Bousse <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Hello,


I am using MikTeX 2.9 under Windows 8 x64 with TeXStudio 2.4.

I noticed that SyncTeX does not work when the path of the compiled file 
contains french letters like 'é' or 'è'. I already investigated with the 
SyncTeX developper, and we found out that this problem only exists with 
MikTeX binairies and not with TexLive binairies.

Here is my pdflatex version:
--------------------------------
C:\Users\ebousse>pdflatex --version
MiKTeX-pdfTeX 2.9.4535 (1.40.13) (MiKTeX 2.9)
Copyright (C) 1982 D. E. Knuth, (C) 1996-2012 Han The Thanh
TeX is a trademark of the American Mathematical Society.
--------------------------------

And here is a simple example that I use:
--------------------------------
\documentclass[english]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{lmodern}

\begin{document}

\section{One section}
Some text.

\section{Another section}
Some other text.

\end{document}
--------------------------------

If I make two copies of this file like this:
1) D:\tmp\test-e\main.tex
2) D:\tmp\test-é\main.tex

Once in TeXStudio, using pdflatex, SyncTeX works with the first case, 
but doesn't in the second case. With TexLive 2012, SyncTeX works in  
both cases.

Here is the pdflatex version from TeXLive 2012, which works:
--------------------------------
C:\Users\ebousse>pdflatex --version
pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/W32TeX)
kpathsea version 6.1.0
Copyright 2012 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.5.11; using libpng 1.5.11
Compiled with zlib 1.2.7; using zlib 1.2.7
Compiled with xpdf version 3.03
--------------------------------


Maybe there is a problem with the encoding of the path string with MikTeX ?


Regards,
Erwan

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.