[texworks] new binaries for Windows and Mac OS X

Jonathan Kew jonathan at jfkew.plus.com
Tue Oct 28 00:38:32 CET 2008


On 27 Oct 2008, at 11:33 PM, Bruno Voisin wrote:

>> What does "printenv" show, when executed in Terminal?
>
> bvoisin:~ bvoisin$ printenv
> MANPATH=/usr/share/man:/usr/local/share/man:/usr/local/man:/Library/ 
> TeX/Distributions/.DefaultTeX/Contents/Man:/usr/X11/man
> TERM_PROGRAM=Apple_Terminal
> TERM=xterm-color
> SHELL=/bin/bash
> TMPDIR=/var/folders/c2/c2jToudrHjmx4xJr7lzFH++++TI/-Tmp-/
> Apple_PubSub_Socket_Render=/tmp/launch-vJB3AF/Render
> TERM_PROGRAM_VERSION=240
> USER=bvoisin
> COMMAND_MODE=unix2003
> SSH_AUTH_SOCK=/tmp/launch-CvxCgv/Listeners
> __CF_USER_TEXT_ENCODING=0x1F5:0:0
> PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/ 
> X11/bin
> PWD=/Users/bvoisin
> LANG=fr_FR.UTF-8
> SHLVL=1
> HOME=/Users/bvoisin
> LOGNAME=bvoisin
> DISPLAY=/tmp/launch-3f0Dt3/:0
> SECURITYSESSIONID=920000
> _=/usr/bin/printenv
>
> I'm surprised by the line
>
> LANG=fr_FR.UTF-8
>
> given I'm writing this after selecting English as the preferred  
> language in System Preferences > International then rebooting, so  
> every GUI application I'm launching (including Terminal) uses its  
> English locale.

Yes, that seems odd, and might explain why TeXworks defaults to French  
for you. (The default language is selected based on what Qt reports as  
the "system locale", but I don't know exactly how it determines that.)

I still can't figure out why it would ignore the Preferences setting,  
though, as that should override the system/default locale.

JK



More information about the texworks mailing list