jlaurens / synctex

Synchronization for TeX
MIT License
64 stars 19 forks source link

Go to source texstudio #31

Open CSMathematics opened 5 years ago

CSMathematics commented 5 years ago

I am using TexStudio with a TexLive 2019 distribution. Before I switch to TexLive I was working with MikTex and the "Go to source" function was working fine. Now this option is not working an it can be frustrating when working witlarge projects. I searched a lot for a solution in questions like these and today I think I accidently discovered the reason of this issue.

I write in greek, which means that many of my forders have a greek name resulting in paths which contain greek words in them. If I place a test.tex file in such directory then the "go to source" function isn't working. Putting the same file in a directory like "C:\usres\ (user-folder)" make things work file. So I am 99% sure that the reason behind the problem is the greek words inside a path.

For example

Working path: "C:\usres\ (user-folder)".

Not working path: "C:\Users\Spyros\Μαθηματικά\Διαγωνίσματα\Η έννοια της συνάρτησης"

I do not want to rename the folders or move them to a different directory because that would lead to more issues conserning custom commands that use the current folder structure. Besides this would not fix the problem.

The test.synctex file has question marks in place of the greek words something like this "C:\Users\Spyros\?????????????\????????????\?????????????".

I use -synctex=1 in the build command as mentioned by many and I compile with xelatex.

jlaurens commented 5 years ago

Hi Spyros,

Support for unicode is complicated in texlive.

Does this problem occur with pdftex too ?

TIA

Le 6 août 2019 à 23:27, SpyrosFronimos notifications@github.com a écrit :

I am using TexStudio with a TexLive 2019 distribution. Before I switch to TexLive I was working with MikTex and the "Go to source" function was working fine. Now this option is not working an it can be frustrating when working witlarge projects. I searched a lot for a solution in questions like these and today I think I accidently discovered the reason of this issue.

I write in greek, which means that many of my forders have a greek name resulting in paths which contain greek words in them. If I place a test.tex file in such directory then the "go to source" function isn't working. Putting the same file in a directory like "C:\usres\ (user-folder)" make things work file. So I am 99% sure that the reason behind the problem is the greek words inside a path.

For example

Working path: "C:\usres\ (user-folder)".

Not working path: "C:\Users\Spyros\Μαθηματικά\Διαγωνίσματα\Η έννοια της συνάρτησης"

I do not want to rename the folders or move them to a different directory because that would lead to more issues conserning custom commands that use the current folder structure. Besides this would not fix the problem.

The test.synctex file has question marks in place of the greek words something like this "C:\Users\Spyros??????????????????????????????????????".

I use -synctex=1 in the build command as mentioned by many and I compile with xelatex.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jlaurens/synctex/issues/31?email_source=notifications&email_token=AAMK7T5RR7GYIHQLYSGHF2LQDHUFHA5CNFSM4IJ2MSPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDXUGYA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMK7T4H22TFONZMQ6M6THLQDHUFHANCNFSM4IJ2MSPA.

CSMathematics commented 5 years ago

Yes the problem occur with pdftex too. Recently I had an answer about this issue and it seems to be a bug in texlive 2019 which will be fixed I hope in the next version.

Στάλθηκε από την Αλληλογραφία για Windows 10

Από: LAURENS Jérôme Αποστολή: Δευτέρα, 2 Σεπτεμβρίου 2019 12:43 μμ Προς: jlaurens/synctex Κοιν.: SpyrosFronimos; Author Θέμα: Re: [jlaurens/synctex] Go to source texstudio (#31)

Hi Spyros,

Support for unicode is complicated in texlive.

Does this problem occur with pdftex too ?

TIA

Le 6 août 2019 à 23:27, SpyrosFronimos notifications@github.com a écrit :

I am using TexStudio with a TexLive 2019 distribution. Before I switch to TexLive I was working with MikTex and the "Go to source" function was working fine. Now this option is not working an it can be frustrating when working witlarge projects. I searched a lot for a solution in questions like these and today I think I accidently discovered the reason of this issue.

I write in greek, which means that many of my forders have a greek name resulting in paths which contain greek words in them. If I place a test.tex file in such directory then the "go to source" function isn't working. Putting the same file in a directory like "C:\usres\ (user-folder)" make things work file. So I am 99% sure that the reason behind the problem is the greek words inside a path.

For example

Working path: "C:\usres\ (user-folder)".

Not working path: "C:\Users\Spyros\Μαθηματικά\Διαγωνίσματα\Η έννοια της συνάρτησης"

I do not want to rename the folders or move them to a different directory because that would lead to more issues conserning custom commands that use the current folder structure. Besides this would not fix the problem.

The test.synctex file has question marks in place of the greek words something like this "C:\Users\Spyros??????????????????????????????????????".

I use -synctex=1 in the build command as mentioned by many and I compile with xelatex.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jlaurens/synctex/issues/31?email_source=notifications&email_token=AAMK7T5RR7GYIHQLYSGHF2LQDHUFHA5CNFSM4IJ2MSPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDXUGYA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMK7T4H22TFONZMQ6M6THLQDHUFHANCNFSM4IJ2MSPA.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.


Αυτό το e-mail ελέγχθηκε για ιούς από το πρόγραμμα Avast antivirus. https://www.avast.com/antivirus