Re: Weird problem in TeXworks but not command-line

Sébastien Loisel <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <CAB_nmA=Z7vYCmAGGjets2UxvsaNLzTrhD0Uk+e1RXtkH4LDN-A@mail.gmail.com>
Dear Ulrike,

Apologies if this doesn't thread right, apparently I'm getting a digest of
the mailing list.

I have done as you suggested. First, the command-line things:

C:\Users\Sébastien\Dropbox\2013\miktex-bug>kpsewhich matha8.tfm
C:/Users/Sébastien/AppData/Local/MiKTeX/2.9/fonts/tfm/public/mathabx/matha8.tfm


C:\Users\Sébastien\Dropbox\2013\miktex-bug> kpsewhich -all matha8.tfm
C:/Users/Sébastien/AppData/Local/MiKTeX/2.9/fonts/tfm/public/mathabx/matha8.tfm


C:\Users\Sébastien\Dropbox\2013\miktex-bug>cd ..

C:\Users\Sébastien\Dropbox\2013>cd fischer

C:\Users\Sébastien\Dropbox\2013\fischer>set
ALLUSERSPROFILE=C:\ProgramData
AMDAPPSDKROOT=C:\Program Files (x86)\AMD APP\
APPDATA=C:\Users\Sébastien\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=DELL
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Sébastien
KMP_DUPLICATE_LIB_OK=TRUE
LOCALAPPDATA=C:\Users\Sébastien\AppData\Local
LOGONSERVER=\\MicrosoftAccount
MOZ_PLUGIN_PATH=C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\
NUMBER_OF_PROCESSORS=8
OS=Windows_NT
Path=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program
Files (x8
6)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;c:\Program
Files (x
86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS
Client\;C:\Windows\system32;C
:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c
:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program
Files\Inte
l\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R)
Mana
gement Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R)
Management En
gine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Comp
onents\IPT;C:\Program Files (x86)\Windows Live\Shared;C:\Program
Files\MATLAB\R2
012b\runtime\win64;C:\Program Files\MATLAB\R2012b\bin;C:\Program
Files\nodejs\;C
:\Users\Sébastien\AppData\Roaming\npm\;C:\Program Files
(x86)\Emacs\emacs\bin;C:
\Program Files\MiKTeX
2.9\miktex\bin\x64\;C:\Users\Sébastien\AppData\Roaming\npm
\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3a09
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\SBASTI~1\AppData\Local\Temp
TMP=C:\Users\SBASTI~1\AppData\Local\Temp
USERDOMAIN=DELL
USERDOMAIN_ROAMINGPROFILE=DELL
USERNAME=Sébastien
USERPROFILE=C:\Users\Sébastien
windir=C:\Windows

C:\Users\Sébastien\Dropbox\2013\fischer>initexmf --report
MiKTeX: 2.9
Invokers: explorer/cmd
SystemAdmin: yes
PowerUser: no
OS: Microsoft Windows 8 Business Edition, 64-bit (build 9200)
Root 0: C:\Users\Sébastien\AppData\Roaming\MiKTeX\2.9
Root 1: C:\Users\Sébastien\AppData\Local\MiKTeX\2.9
Root 2: C:\ProgramData\MiKTeX\2.9
Root 3: C:\Program Files\MiKTeX 2.9
UserInstall: C:\Users\Sébastien\AppData\Roaming\MiKTeX\2.9
UserData: C:\Users\Sébastien\AppData\Local\MiKTeX\2.9
UserConfig: C:\Users\Sébastien\AppData\Roaming\MiKTeX\2.9
CommonInstall: C:\Program Files\MiKTeX 2.9
CommonData: C:\ProgramData\MiKTeX\2.9
CommonConfig: C:\ProgramData\MiKTeX\2.9

Inside TeXworks, the testset.log file is:

AMDAPPSDKROOT=C:\Program Files (x86)\AMD APP\

ComSpec=C:\Windows\system32\cmd.exe

progname=miktex-pdftex

ProgramFiles=C:\Program Files

PROMPT=$P$G

USERPROFILE=C:\Users\S?bastien

USERNAME=S?bastien

PROCESSOR_LEVEL=6

TEMP=C:\Users\SBASTI~1\AppData\Local\Temp

HOMEPATH=\Users\S?bastien

TMPDIR=C:\Users\SBASTI~1\AppData\Local\Temp\

OS=Windows_NT

MOZ_PLUGIN_PATH=C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\

MIKTEX_GS_LIB=C:\Program Files\MiKTeX
2.9\ghostscript\base;C:\ProgramData\MiKTeX\2.9\ghostscript\base;C:\Program
Files\MiKTeX 2.9\fonts;C:\ProgramData\MiKTeX\2.9\fonts

SystemDrive=C:

PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel

PUBLIC=C:\Users\Public

ProgramData=C:\ProgramData

USERDOMAIN=DELL

ProgramFiles(x86)=C:\Program Files (x86)

CommonProgramFiles=C:\Program Files\Common Files

PROCESSOR_ARCHITECTURE=AMD64

PROCESSOR_REVISION=3a09

ProgramW6432=C:\Program Files

windir=C:\Windows

GSC=mgs.exe

KMP_DUPLICATE_LIB_OK=TRUE

SESSIONNAME=Console

LOGONSERVER=\\MicrosoftAccount

USERDOMAIN_ROAMINGPROFILE=DELL

TEMPDIR=C:\Users\SBASTI~1\AppData\Local\Temp\

MIKTEX_EDITOR=C:/Program Files/MiKTeX
2.9/miktex/bin/x64/miktex-texworks.exe --position=%l "%f"

HOME=C:\\Users\S?bastien

HOMEDRIVE=C:

APPDATA=C:\Users\S?bastien\AppData\Roaming

COMPUTERNAME=DELL

SystemRoot=C:\Windows

NUMBER_OF_PROCESSORS=8

LOCALAPPDATA=C:\Users\S?bastien\AppData\Local

TEXEDIT=C:/Program Files/MiKTeX 2.9/miktex/bin/x64/miktex-texworks.exe
--position=%d %s

PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\

ALLUSERSPROFILE=C:\ProgramData

CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

CommonProgramW6432=C:\Program Files\Common Files

TMP=C:\Users\SBASTI~1\AppData\Local\Temp

Path=C:\Program Files\MiKTeX 2.9\miktex/bin/x64;C:/Program Files/MiKTeX
2.9/miktex/bin/x64;C:\Program Files (x86)\NVIDIA
Corporation\PhysX\Common;C:\Program Files (x86)\AMD
APP\bin\x86_64;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program
Files\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program
Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program
Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files
(x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files
(x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files
(x86)\Windows Live\Shared;C:\Program
Files\MATLAB\R2012b\runtime\win64;C:\Program
Files\MATLAB\R2012b\bin;C:\Program Files\nodejs\;C:\Program Files
(x86)\Emacs\emacs\bin;C:\Program Files\MiKTeX
2.9\miktex\bin\x64\;C:\Program Files (x86)\AMD
APP\bin\x86;C:\Users\S?bastien\AppData\Roaming\npm\

FP_NO_HOST_CHECK=NO


The testreport.log is:

MiKTeX: 2.9

Invokers: .../miktex-texworks/miktex-pdftex/cmd

SystemAdmin: yes

PowerUser: no

OS: Microsoft Windows 8 Business Edition, 64-bit (build 9200)

Root 0: C:\ProgramData\MiKTeX\2.9

Root 1: C:\Program Files\MiKTeX 2.9

UserInstall: C:\ProgramData\MiKTeX\2.9

UserData: C:\ProgramData\MiKTeX\2.9

UserConfig: C:\ProgramData\MiKTeX\2.9

CommonInstall: C:\Program Files\MiKTeX 2.9

CommonData: C:\ProgramData\MiKTeX\2.9

CommonConfig: C:\ProgramData\MiKTeX\2.9


Thanks,

Sébastien Loisel

On Wed, Feb 13, 2013 at 11:53 AM, <
[email protected]> wrote:

> Message: 4
> Date: Wed, 13 Feb 2013 10:32:33 +0100
> From: Ulrike Fischer <[email protected]>
> Subject: Re: [MiKTeX] Weird problem in TeXworks but not command-line
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Am Wed, 13 Feb 2013 00:48:37 +0000 schrieb S?bastien Loisel:
>
>
> > I have a baffling issue.
>
> > Then I build using the green "play" button in TeXworks. This is the
> output
> > I get:
> >
> > This is XeTeX, Version 3.1415926-2.4-0.9998 (MiKTeX 2.9 64-bit)
> ...
> > C:\ProgramData\MiKTeX\2.9\fonts/tfm/public/mathabx\matha8.tfm already
> > exists.
> > miktex-xetex.exe: The font file could not be found.
> > miktex-xetex.exe: Data: matha8
>
>
> > I can confirm that no PDF file is generated.
>
> > Then, I open a command line window using cmd.exe. I do this:
>
> > C:\Users\S?bastien\Dropbox\2013\miktex-bug>xelatex bug.tex
> > This is XeTeX, Version 3.1415926-2.4-0.9998 (MiKTeX 2.9 64-bit)
> ...
> > Output written on bug.pdf (1 page).
>
>
> The tfm-path above means that the tfm has not been installed but has
> been generated (e.g. from a mf-source), but I do find the path a bit
> curious. I don't have a multiuser installation so I can't test but I
> would have expected the tfm in the UserData root and not in
> CommonData.
>
> What do you get when you run on the command line (where everything
> works)
>
>    kpsewhich matha8.tfm
>
> and
>
>    kpsewhich -all matha8.tfm
>
> ?
>
>
> Also you could run in texworks the following document (use a
> test.tex in an empty folder!). You will have to add the argument
> --shell-escape to the call to pdflatex first (in the options):
>
> \documentclass{article}
> \begin{document}
>
> \immediate\write18{set > testset.log}
> \immediate\write18{initexmf --report >testreport.log}
> \end{document}
>
> You can then compare the log-files with the output of "set" and
> "initexmf --report" on the command line.
>
>
> You should also check the log-files: They often contains more
> informations then the terminal output.
>
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/


-- 
Sébastien Loisel
Department of Mathematics
Heriot-Watt University
Riccarton EH14 4AS
United Kingdom
web: http://www.ma.hw.ac.uk/~loisel/
email: S.Loisel at hw.ac.uk
phone: +44 131 451 3234
fax: +44 131 451 3249
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
MiKTeX-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/miktex-users
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.