[NTG-context] New Context Installation on Windows XP
Erik Van Eynde
Erik.VanEynde at cc.kuleuven.be
Fri Oct 21 14:20:19 CEST 2005
Hi Windows / Miktex wizards ..
1.
First there was in August 2003 a same problem (check on \dosetupsystem
....) occured.
But no solutions was given ....
Well a "Work Around" insert "}"
2.
I have installed the last Context version, and had followed the wiki
Install instructions
My windows version is WIN2000.
I have changed nothing except in the texexec.ini
I set my TexShell to Winedt
I tested with "test.tex":
\starttext
Hello world!
\stoptext
Error occured but I can insert "}" and I have a correct dvi file ....
Look to the test.tmp I found ....
% first.top
\unprotect
\def\MPOSTbatchswitch {--interaction=batchmode}
\def\MPOSTnonstopswitch {--interaction=nonstopmode}
\def\MPOSTformatswitch {--alias=mpost --translate-file=natural.tcx
--undump=}
\setupoutput[pdftex]
\setupsystem[\c!gebied={%USERPROFILE%/}]
\setupsystem[\c!n=1]
\setupsystem[inputfile=first.tex]
\protect:
I think %USERPROFILE% isn''t wrong !!!! .....
If try out %USERPROFILE% in a DOS box: I become c:\documents,
If I do this in a bat file I receive c:\documents and settings\.....
3.
In the Miktex setup log file I see:
for the Environment variables:
.....
HOME=%USERPROFILE%
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator.LUDIT-ERIK
LOGONSERVER=\\LUDIT-ERIK
.....
4.
If I start Context from a "context.bat" file... It works correctly.
and the I have the following test.tmp file:
% test.top
\unprotect
\def\MPOSTbatchswitch {--interaction=batchmode}
\def\MPOSTnonstopswitch {--interaction=nonstopmode}
\def\MPOSTformatswitch {--alias=mpost --translate-file=natural.tcx
--undump=}
\setupsystem[\c!directory={"C:/Documents and
Settings/Administrator.LUDIT-ERIK/"}]
\setupsystem[\c!n=2]
\setupsystem[inputfile=test.tex]
\protect
....
Thus working from a bat file is a solution where I can live with ....
Erik Van Eynde wrote:
> Gegroet contexts wizards,
>
> I try to install the last CONTEXT on a XP Windows:
> Miktex distribution, Winedt; Perl.....
>
> -For LaTeX no problemt at all.
>
> -For context:
>
> >> texexec --make gives me
>
> unknown filetype texmfscripts ...
>
> for output:
>
> TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>
> current path : F:/Context_Folder/example
> locating ini file : kpsewhiching texexec.ini on scripts
> locating ini file : kpsewhiching texexec.ini elsewhere
> locating ini file : found by kpsewhich
> reading : d:/ludittex/texmf/context/config/texexec.ini
> setting : 'TeXShell' to 'miktex' for 'all'
> setting : 'UseEnginePath' to 'true' for 'all'
> setting : 'UsedInterfaces' to 'en nl metafun mptopdf'
> for 'all'
> setting : 'UserInterface' to 'en' for 'all'
> setting : 'TeXExecutable' to 'tex' for 'all'
> setting : 'MpExecutable' to 'mpost' for 'all'
> setting : 'MpToTeXExecutable' to 'mpto' for 'all'
> setting : 'DviToMpExecutable' to 'dvitomp' for 'all'
> setting : 'DviSpecialScript' to 'dvispec' for 'all'
> setting : 'MpFormat' to 'metafun' for 'all'
> setting : 'TeXFormatFlag' to '&' for 'all'
> setting : 'MpFormatFlag' to '&' for 'all'
> setting : 'TeXHashExecutable' to 'initexmf
> --update-fndb' for 'miktex'
> setting : 'TeXExecutable' to 'pdfetex' for 'miktex'
> setting : 'TeXVirginFlag' to '--initialize' for 'miktex'
> setting : 'TeXPassString' to '--alias=context
> --translate-file=natural.tcx' for 'miktex'
> setting : 'TeXBatchFlag' to '--interaction=batchmode'
> for 'miktex'
> setting : 'TeXNonStopFlag' to
> '--interaction=nonstopmode' for 'miktex'
> setting : 'MpToTeXExecutable' to 'mptotex' for 'miktex'
> setting : 'MpVirginFlag' to '--initialize' for 'miktex'
> setting : 'MpPassString' to '--alias=mpost
> --translate-file=natural.tcx' for 'miktex'
> setting : 'MpBatchFlag' to '--interaction=batchmode' for
> 'miktex'
> setting : 'MpNonStopFlag' to '--interaction=nonstopmode'
> for 'miktex'
> setting : 'TeXFormatFlag' to '--undump=' for 'miktex'
> setting : 'MpFormatFlag' to '--undump=' for 'miktex'
>
> used setting : TeXShell = miktex
> used setting : SetupPath =
> used setting : UserInterface = en
> used setting : UsedInterfaces = en nl metafun mptopdf
> used setting : TeXFontsPath = .
> used setting : MpExecutable = mpost
> used setting : MpToTeXExecutable = mptotex
> used setting : DviToMpExecutable = dvitomp
> used setting : TeXProgramPath =
> used setting : TeXFormatPath =
> used setting : ConTeXtPath =
> used setting : TeXScriptsPath =
> used setting : TeXHashExecutable = initexmf --update-fndb
> used setting : TeXExecutable = pdfetex
> used setting : TeXVirginFlag = --initialize
> used setting : TeXBatchFlag = --interaction=batchmode
> used setting : TeXNonStopFlag = --interaction=nonstopmode
> used setting : MpBatchFlag = --interaction=batchmode
> used setting : MpNonStopFlag = --interaction=nonstopmode
> used setting : TeXPassString = --alias=context
> --translate-file=natural.tcx
> used setting : TeXFormatFlag = --undump=
> used setting : MpFormatFlag = --undump=
> used setting : MpVirginFlag = --initialize
> used setting : MpPassString = --alias=mpost
> --translate-file=natural.tcx
> used setting : MpFormat = metafun
> used setting : MpFormatPath =
> used setting : UseEnginePath = 1
> used setting : FmtLanguage =
> used setting : FmtBodyFont =
> used setting : FmtResponse =
> used setting : TcXPath =
> used setting : SetFile =
>
> applications will use :
>
> --help overview of all options and their values
> --help all all about all options
> --help short just the main options
> --help mode ... pdf all about a few options
> --help '*.pdf' all about options containing 'pdf'
>
> more info
> http://www.pragma-ade.com/general/manuals/mtexexec.pdf
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
> total run time : 0 seconds
>
> >>>>
>
> Afterwards I run a small sample file
> compiling stops with ...
> ........
> Runaway argument?
> \c!directory ={\setupsystem [\c!n =1] \setupsystem
> [inputfile=test.te\ETC.
> ! File ended while scanning use of \dosetupsystem.
> <inserted text>
> \par
> <to be read again>
> I What wriong here
>
>------------------------------------------------------------------------
>
>This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=cont-en 2005.10.20) 20 OCT 2005 12:24
>entering extended mode
>**test.tex
>(test.tex
>
>ConTeXt ver: 2005.08.31 fmt: 2005.10.20 int: english mes: english
>
>language : language en is active
><protectionstate 0>
>system : cont-new loaded
>(d:\ludittex\texmf\tex\context\base\cont-new.tex
>systems : beware: some patches loaded from cont-new.tex
>color : palette rollover is available
>)
>system : cont-old loaded
>(d:\ludittex\texmf\tex\context\base\cont-old.tex
>loading : Context Old Macros
>)
>system : cont-fil loaded
>(d:\ludittex\texmf\tex\context\base\cont-fil.tex
>loading : Context File Synonyms
>)
>system : cont-sys loaded
>(d:\ludittex\texmf\tex\context\user\cont-sys.tex
>(d:\ludittex\texmf\tex\context\base\./type-exa.tex)
>(d:\ludittex\texmf\tex\context\base\./type-syn.tex)
>(d:\ludittex\texmf\tex\context\base\./type-enc.tex)
>(d:\ludittex\texmf\tex\context\base\./type-dis.tex)
>(d:\ludittex\texmf\tex\context\base\./type-siz.tex)
>(d:\ludittex\texmf\tex\context\base\./type-map.tex)
>(d:\ludittex\texmf\tex\context\base\./type-spe.tex)
>(d:\ludittex\texmf\tex\context\base\./type-akb.tex))
>bodyfont : 12pt rm is loaded
>language : patterns en->ec:ec->1->2:2 uk->ec:ec->2->2:2 de->texnansi:tex
>nansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2
> es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2 pt->ec:ec->9->2:2 it->texnansi
>:texnansi->10->2:2 it->ec:ec->11->2:2 nl->texnansi:texnansi->12->2:2 nl->ec:ec-
>
>
>>13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2 sk->il2:il2->16->2:2 sk->ec:ec
>>
>>
>->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2 loaded
>specials : tex,postscript,rokicki loaded
>system : test.top loaded
>(./test.top
>specials : loading definition file tpd
>(d:\ludittex\texmf\tex\context\base\spec-tpd.tex
>specials : loading definition file fdf
>(d:\ludittex\texmf\tex\context\base\spec-fdf.tex)
>specials : fdf loaded
>)
>specials : fdf,tpd loaded
>)
>Runaway argument?
>\c!directory ={\setupsystem [\c!n =1] \setupsystem [inputfile=test.te\ETC.
>! File ended while scanning use of \dosetupsystem.
><inserted text>
> \par
><to be read again>
> \relax
>\dodoreadfile ...normalinput \readfilename \relax
> \the \everyafterreadfile
><everyjob> ...file \openutilities \loadoptionfile
> \checknotes \initializeMPg...
>l.1
> \starttext
>?
>systems : begin file test at line 1
>fonts : resetting map file list
>fonts : using map file: original-base
>fonts : using map file: ec-public-lm
>fonts : using map file: ec-base
>fonts : using map file: original-ams-base
>fonts : using map file: original-public-lm
>[1.1{original-empty.map}{original-base.map}{ec-public-lm.map}{ec-base.map}{orig
>inal-ams-base.map}{original-public-lm.map}]
>systems : end file test at line 3
> )
>Here is how much of TeX's memory you used:
> 1293 strings out of 61144
> 19678 string characters out of 644912
> 515399 words of memory out of 1076563
> 37088 multiletter control sequences out of 60000
> 75018 words of font info for 37 fonts, out of 1000000 for 2000
> 182 hyphenation exceptions out of 4999
> 44i,18n,49p,396b,467s stack positions out of 5000i,500n,10000p,200000b,32768s
>PDF statistics:
> 8 PDF objects out of 300000
> 0 named destinations out of 300000
> 1 words of extra memory for PDF output out of 65536
>{ec-lm.enc}<d:\ludittex\texmf\fonts\type1\public\lm\lmr12.pfb>
>Output written on test.pdf (1 page, 19462 bytes).
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ntg-context mailing list
>ntg-context at ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
--
------------------ooOoo--- (~) ----ooOoo--------------------------------
Erik Van Eynde -
LUDIT
Leuvens Universitair Dienstencentrum voor Informatica en
Telematica
W. de Croylaan 52a phone: +32 16 322-243
3001 Heverlee fax: +32 16 322-999
Belgie
Electronic adress:
gepers.E-mail: Erik.VanEynde at cc.kuleuven.ac.be
of : Erik.VanEynde at student.kuleuven.ac.be
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
More information about the ntg-context
mailing list