[NTG-context] Mojca, Miktex, and seeming success!
Mojca, OK, saw your new post on: http://blog.miktex.org/post/2008/05/ConTeXt-support.aspx So, I extracted cont-tfm.zip to c:\Contet, used Miktex2.7->Settings to add it as a Root, refreshed the filename database, but the formats will still not build in Miktext2.7->Settings->Format cont-en.pdftex. Creating the cont-en.pdftex format file... Running pdftex... This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) entering extended mode ("C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini") ! Emergency stop. <*> cont-en.ini No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.ini. initexmf.EXE: The operation failed for some reason. And my new format attempt won't build either: ("C:\Program Files\MiKTeX 2.7\tex\context\patterns\lang-hu.pat" ! TeX capacity exceeded, sorry [pattern memory=30]. l.1243 ^^c3^^a1h1ors No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.tex. initexmf.EXE: The operation failed for some reason. Finally, I gave up on trying to use Miktex2.7->Settings to build the formats, opened a DOS box, and typed: $ texmfstart texexec --make --all I refreshed the filename database, now things seemingly work. This file: \starttext Hello, World! \stoptext Does compile with: $ texmfstart texexec --pdf junk.tex And this file: input mp-tool beginfig(1); numeric u; 10u=4in; drawdblarrow (-5u,0)--(5u,0); label.rt(btex $\theta$ etex, (5u,0)); drawdblarrow (0,-5u)--(0,5u); label.top(btex $\phi$ etex, (0,5u)); endfig; end. Does compile with: $ mpost junk.mp And more importantly, mptopdf now seemingly works, as I can now do: $ mptopdf junk.1 Which produces junk-1.pdf and opens correctly with the correct fonts. So, we'll see how this stands up Thanks for the help. Still open to further suggestion if any critique of my method. D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Miktex won't allow cont-en.tex change
Mojca, I tried running Miktex2.7->Settings->Formats, selecting cont-en.pdftex, then tried changing input filename from cont-en.ini to cont-en.tex, but I was "not allowed to change built-in" something or other. I tried adding a new format, calling it cont-en, compiler pdftex, and input filename cont-en.tex, but when I tried to build, it erred with: No pages of output. ("C:\Program Files\MiKTeX 2.7\tex\context\patterns\lang-fi.pat") language: hyphenations fi for fi loaded (n=41,e=ec,m=ec) ("C:\Program Files\MiKTeX 2.7\tex\context\patterns\lang-fi.hyp") language: patterns hu for hu loaded (n=42,e=ec,m=ec) ("C:\Program Files\MiKTeX 2.7\tex\context\patterns\lang-hu.pat" ! TeX capacity exceeded, sorry [pattern memory=30]. l.1243 ^^c3^^a1h1ors No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.tex. initexmf.EXE: The operation failed for some reason. Not sure what to try next. D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Miktex 2.7 Blues
Mojca, When I try to build cont-en, using the settings you proposed from Context Garden, I get: Creating the cont-en.pdftex format file... Running pdftex... This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) entering extended mode ("C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini") ! Emergency stop. <*> cont-en.ini No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.ini. initexmf.EXE: The operation failed for some reason. D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Miktex 2.7 --- Remove quotes from "%*"
Mojca, OK. Removed quotes, so texmfstart.bat now reads: @echo off ruby "C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb" %* This now works: $ C:\temp>texmfstart texexec --help TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | --checkcheck versions TeXExec | --figures generate overview of figures TeXExec | --listing list of file content TeXExec | --make make formats TeXExec | --modules generate module documentation TeXExec | --mpgraphicprocess mp file to stand-alone graphics TeXExec | --mpstatic process mp/ctx file to stand-alone graphics TeXExec | --mptexprocess mp file TeXExec | --mpxtex process mpx file TeXExec | --pdfarrange impose pages (booklets) TeXExec | --pdfcombine combine multiple pages TeXExec | --pdfcopy copy pages from file(s) TeXExec | --pdfselectselect pages from file(s) TeXExec | --pdfsplit split file in pages TeXExec | --pdftrim trim pages from file(s) TeXExec | --process process file TeXExec | TeXExec | --help --all shows all switches However, I cannot make the formats. Going to Miktex 2.7->Settings->Formats, attempting to build cont-en results in, even though I've copied cont-en.ini into the directory expected by Miktex 2.7. Creating the cont-en.pdftex format file... Running pdftex... This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (INITEX) entering extended mode ("C:\Program Files\MiKTeX 2.7\tex\context\config\cont-en.ini") ! Emergency stop. <*> cont-en.ini No pages of output. Transcript written on cont-en.log. makefmt: pdftex failed on cont-en.ini. initexmf.EXE: The operation failed for some reason. So, here is where I stand. D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mswincontext.zip
All, A bit frustrated as I cannot seem to get a mswincontext scite combination going. I gave up on: http://pragma-ade.com/context/install/mswintex.zip. I got absolutely nowhere with the installation and trying to connect scite. So, I just downloaded: http://pragma-ade.com/context/install/mswincontext.zip After extracting to c:\context, I ran the file first-setup.bat, which proceeded to install a lot of files. Was this a correct thing to do? Strange, as the distribution size was already huge. It would really help to have a readme.txt in this distribution with installation directions. After first-setup was complete, I ran cscite.bat. Scite opened. Good! I entered the usual test file: \starttext Hello, World! \stoptext And saved as test.tex. Then I tried Tools->Compile, which resulted in this error mesage: texmfstart concheck test.tex ruby: no such file to load--ubygems (LoadError) Any suggestions? D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Installing Scite
All, I've installed Context Minimals from: http://minimals.contextgarden.net/setup/context-setup-mswin.zip Did a: ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Installing Scite
All, I have Miktex installed. Downloaded and installed: http://minimals.contextgarden.net/setup/context-setup-mswin.zip to c:\context. When I run startupcontext.bat (contains the setuptex.bat command), I can compile at the dos prompt with either context sscon.tex or texmfstart texexec sccon.tex. Download and extracted: http://prdownloads.sourceforge.net/scintilla/wscite176.zip?download to c:\wscite Dragged over the *.properties files to c:\wscite. On the last line of SciTEGlobal.properties, I added the line "import context". Testfile sscon.tex: \starttext Hello, World!" \stoptext Hitting Ctrl+F7 to compile gives this error: >texmfstart concheck sccon.tex >The system cannot find the file specified. That concheck does not look correct. Hitting F7 to build gives this error: >texmfstart texexec --autopdf --pdf sccon.tex >The system cannot find the file specified. How am I going to get Scite to find this location? D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Minimal Windows install
All, I've installed Miktex, the latest version. Then I installed Minimal Context following directions on: http://wiki.contextgarden.net/ConTeXt_Minimals Namely: Download and unzip context-setup-mswin.zip Run first-setup.bat, go for a coffee. Ran the setuptex.bat as descibed. NOw I have this metapost file: input mp-tool; beginfig(1); numeric u; 10u=4in; drawdblarrow (-5u,0)--(5u,0); drawdblarrow (0,-5u)--(0,5u); label.rt(btex $x$ etex, (5u,0)); label.top(btex $\phi$ etex, (0,5u)); pair A, B, C; A:=(0,0) scaled u; B:=(5,5) scaled u; C:=(5,0) scaled u; drawdblarrow B--A--C; draw anglebetween(B--A,C--A,btex $\theta$ etex); endfig; end. When I compile it: C:\temp>texmfstart texexec --mpgraphic jack.mp I get the strangest result. See: http://online.redwoods.edu/instruct/darnold/jack.pdf Bug? Log file: http://online.redwoods.edu/instruct/darnold/texexec.log ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] modes with Scite
Hans, I thought Shift+F8, paramters, would have something to do with adding options at the command line, but it did not work with --mode=short. Hans Hagen <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > All, > > > > I am using the Scite editor provided by one of the Context dristributions. > > > > Is there a way to include modes with one of the various compiling commands? > > > no, but you can > > (1) temporary put \enablemode[...] at the to of the file > (2) use a separate file where you set the mode, and load the file > > Hans > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > - > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] spell checking in scite
Hans et al, How do I set up spell checking in the Scite that comes with my context distribution? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Hitting 'e' for error in Scite?
Hans et all, How do I set up scite that comes with context so that when I hit 'e' in the console window, I am taken to the line of the error in Scite? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Question on Itemize
width is the size of the box containing the item number distance is the distance between the item number box and the beginning of the text of the item. Helin Gai <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to play with \setupitemize, and I can't figure out what the > key "distance" actually does. > For example, the following two lines seem to produce the same effect: > > \setupitemize[each][packed][width=20pt,distance=15pt] > \setupitemize[each][packed][width=20pt,distance=5pt] > > Can someone please give me a hint? > Thanks! > > Colin > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Setting to help with overflow in Metapost
All, This code is causing an overflow. Isn't there a setting that will allow bigger numbers? I am not looking for more code and/or rescaling code, but a setting that I know is there that will allow larger numbers. %mode=short \startcomponent section1exercises \project book \product chapter5/chapter5 \usemodule[newmat] \usemodule[math=ext] \usemodule[fig-base] \usefigurebase[figures/figlibSection1] \setupheadnumber[chapter][6] \setupheadnumber[section][1] \def\qor{\quad\text{or}\quad} \def\qqor{\qquad\text{or}\qquad} \def\qand{\quad\text{and}\quad} \def\qqand{\qquad\text{and}\qquad} \setupcolors[state=start] \definecolor[gridlines][s=0.7] \startMPinclusions color mygridcolor; mygridcolor=\MPcolor{gridlines}; color gridlines; gridlines:=\MPcolor{gridlines}; def vtick(expr pos)= draw ((0,-3)--(0,3)) shifted pos; enddef; def htick(expr pos)= draw ((-3,0)--(3,0)) shifted pos; enddef; def opendot(expr pos)= fill fullcircle scaled 4pt shifted pos withcolor white; draw fullcircle scaled 4pt shifted pos withcolor red; enddef; def filleddot(expr pos)= fill fullcircle scaled 4pt shifted pos withcolor red; draw fullcircle scaled 4pt shifted pos withcolor red; enddef; \stopMPinclusions \startuseMPgraphic{55_grid} for k=-5u step 1u until 5u: draw (k,-5u)--(k,5u) withcolor gridlines; draw (-5u,k)--(5u,k) withcolor gridlines; endfor; \stopuseMPgraphic \startuseMPgraphic{55_xy_axes} drawdblarrow (-5u,0)--(5u,0); label.rt(btex $\tfx x$ etex, (5u,0)); label.bot(btex $\tfx 5$ etex, (5u,0)); drawdblarrow (0,-5u)--(0,5u); label.top (btex $\tfx y$ etex, (0,5u)); label.lft(btex $\tfx 5$ etex, (0,5u)); \stopuseMPgraphic \startuseMPgraphic{1010_grid} for k=-10u step 1u until 10u: draw (k,-10u)--(k,10u) withcolor gridlines; draw (-10u,k)--(10u,k) withcolor gridlines; endfor; \stopuseMPgraphic \startuseMPgraphic{1010_xy_axes} drawdblarrow (-10u,0)--(10u,0); label.rt(btex $\tfx x$ etex, (10u,0)); label.bot(btex $\tfx 10$ etex, (10u,0)); drawdblarrow (0,-10u)--(0,10u); label.top (btex $\tfx y$ etex, (0,10u)); label.lft(btex $\tfx 10$ etex, (0,10u)); \stopuseMPgraphic \startuseMPgraphic{1010_xy_axes_ti} drawdblarrow (-10u,0)--(10u,0); label.rt(btex $\tfx x$ etex, (10u,0)); label.bot(btex $\tfx 10$ etex, (10u,0)); label.bot(btex $\tfx -10$ etex, (-10u,0)); drawdblarrow (0,-10u)--(0,10u); label.top (btex $\tfx y$ etex, (0,10u)); label.lft(btex $\tfx 10$ etex, (0,10u)); label.lft(btex $\tfx -10$ etex, (0,-10u)); \stopuseMPgraphic \startuseMPgraphic{05_grid} for k=0 step 1u until 5u: draw (k,0)--(k,5u) withcolor gridlines; draw (0,k)--(5u,k) withcolor gridlines; endfor; \stopuseMPgraphic \startuseMPgraphic{05_xy_axes} drawarrow (0,0)--(5u,0); label.rt(btex $\tfx x$ etex, (5u,0)); label.bot(btex $\tfx 5$ etex, (5u,0)); drawarrow (0,0)--(0,5u); label.top (btex $\tfx y$ etex, (0,5u)); label.lft(btex $\tfx 5$ etex, (0,5u)); \stopuseMPgraphic \startquestions % Exercise #29 \beginquestion \startquestion[ex:secqu.29] $p(x)=-x^6-4x^5+27x^4+78x^3+4x^2+376x-480$ \stopquestion \endquestion \beginlonganswer \startanswer %\startlinecorrection[blank] %\midaligned{\externalfigure[q25v][width=0.4\textwidth]} %\midaligned{\externalfigure[q25][width=0.4\textwidth]} %\stoplinecorrection \stopanswer \endlonganswer \beginshortanswer \startanswer Note that the leading term $-x^6$ (dashed) has the same end-behavior as the polynomial $p$. \startbuffer %initialize scale and draw axes numeric u; 20ux=2in; 1uy=2in; drawdblarrow (-10ux,0)--(10ux,0); label.rt(btex $\tfx x$ etex, (10ux,0)); label.bot(btex $\tfx -10$ etex, (-10ux,0)); label.bot(btex $\tfx 10$ etex, (10ux,0)); drawdblarrow (0,-5000uy)--(0,5000uy); label.top(btex $\tfx y$ etex, (0,5000uy)); label.lft(btex $\tfx -5000$ etex, (0,-5000uy)); label.lft(btex $\tfx 15$ etex, (0,5000uy)); %leading term vardef lead(expr x)= -1*x*x*x*x*x*x enddef; %polynomial vardef p(expr x)= -1*x**6-4*x**5+27*x**4+78*x**3+4*x**2+376*x-480 enddef; %path p_lead path p_lead; p_lead:=(-4.1352,lead(-4.1352)); for x=-4.1352 step .1 until 4.1252: p_lead:=p_lead--(x,lead(x)); endfor; p_lead:=p_lead--(4.1252,lead(4.1252)); p_lead:=p_lead xyscaled(ux,uy); draw p_lead dashed evenly withcolor red; %path p_p path p_p; p_p:=(-6.5009,p(-6.5009)); for x=-6.5009 step .1 until 5.3356 : p_p:=p_p--(x,p(x)); endfor; p_p:=p_p--( 5.3356 ,p(5.3356)); p_p:=p_p xyscaled(ux,uy); drawdblarrow p_p withcolor blue; label.rt(btex $\tfx p(x)=-x^6-4x^5+27x^4+78x^3+4x^2+376x-480$ etex, (5.3356 ,p(5.3356 )) xyscaled(ux,uy)); \stopbuffer \startlinecorrection[blank] \midaligned{\processMPbuffer} \stoplinecorrection \stopanswer \endshortanswer % Exercise #30 \beginquestion \startquestion[ex:secqu.30] $p(x)=2x^4-3x^3+x-10$ \stopquestion \endquestion \beginlonganswer[-] \startanswer \stopanswer \endlonganswer \beginshortanswer[-] \startanswer \stopanswer \endshortanswer \stopq
[NTG-context] Scite for Windows -- Repeat command in Dos console
All, Anyone know how to repeat a command in the DOS console in Windows Scite? F3 woks in a DOS box in XP, but that is reserved for something else in Scite. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Toggle output window open and closed in Scite
All, Anyone know how to toggle the output window open and closed in Scite? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] modes with Scite
All, I am using the Scite editor provided by one of the Context dristributions. Is there a way to include modes with one of the various compiling commands? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context