* Re: Not all the way back [not found] <3.0.5.32.20010823211229.008702a0@mail.northcoast.com> @ 2001-08-24 8:34 ` Hans Hagen 2001-08-24 16:44 ` David Arnold 0 siblings, 1 reply; 10+ messages in thread From: Hans Hagen @ 2001-08-24 8:34 UTC (permalink / raw) Cc: ntg-context At 09:12 PM 8/23/2001 -0700, David Arnold wrote: >Hans, et al, > >I am not all the way back. That is, the current beta installation of >Context is not yet fully backward compatible. I've attached a small zip >file of a document I prepared last fall with a previous version of Miktex >and Context. > >After unzipping to a temp directory, type make.bat in the directory to run >the compile. > >Note that I am not getting a table of contents as I once did. Hm, i get a toc in the screen version, centered with nicely colored sections. can you see if the tuo is loaded [in log]? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Not all the way back 2001-08-24 8:34 ` Not all the way back Hans Hagen @ 2001-08-24 16:44 ` David Arnold 2001-08-25 9:18 ` Re[2]: " Giuseppe Bilotta 2001-08-26 20:01 ` Hans Hagen 0 siblings, 2 replies; 10+ messages in thread From: David Arnold @ 2001-08-24 16:44 UTC (permalink / raw) Cc: cs, ntg-context Hans, Christian, >>I am not all the way back. That is, the current beta installation of >>Context is not yet fully backward compatible. I've attached a small zip >>file of a document I prepared last fall with a previous version of Miktex >>and Context. >> >>After unzipping to a temp directory, type make.bat in the directory to run >>the compile. >> >>Note that I am not getting a table of contents as I once did. > >Hm, i get a toc in the screen version, centered with nicely colored sections. > >can you see if the tuo is loaded [in log]? I checked the log file and there is no mention of any tuo file getting loaded. Christian, I've found a cure, which I'll describe here, in the hopes that this will help with a more stable installation of Context in the Miktex distribution. Here, as I see it, may be the problem. Christian has taken texexec.rme, renamed it to texexec.ini, and placed texexec.ini in \texmf\miktex\bin. This, on the surface appears an excellent strategy, because during installation of Miktex, the setup program automatically adds Miktex to the path (in older installations of Miktex, this was probably the number one source of problems for users, not adjusting their path after the installation). However, Context users have traditionally added \texmf\Context\perltk to their path (at least I have always done it this way), because there are a number of perl files that the Context system uses that are in that directory (fdf2tan.pl, makempy.pl, mptopdf.pl, texexec.pl, texfont.pl, texshow.pl, and *MOST* importantly in this case, texutil.pl. Many of us use the runperl.exe wrapper. For example, I change runperl.exe to mptopdf.exe, etc. Basically, I runperl.exe to filename.exe for each of the above mentioned filename.pl. Well, to make a long story short, I cut texexec.ini, texexec.exe from \texmf\miktex\bin and put them back in \texmf\context\perltk (where I think they really belong) and voila! The tuo file is now loaded and I have my Table of Contents in my document. Hans, I hope you will comment on these musing by a non guru so that Christian can make a more stable Context installation as part of the general Miktex distribution. Can you explain why Miktex failed to find texutil. Does texutil have to be in the same directory as texexec.pl? Finally, with the original Miktex arrangement, there was no mention of any tuo file in the log file and no TOC. After moving texexec.ini and texexec.pl to \texmf\Context\perltk, the inclusion of the tuo files was clearly evidenced in the log file and I now have my TOC. I await the recommendations of our two gurus. Also, what do we think about these settings in texexec.ini? % MikTeX users probably have to set up some paths too. for miktex set UsedInterfaces to en,nl,de,uk for miktex set UserInterface to en for miktex set TeXExecutable to pdfetex for miktex set TeXVirginFlag to --initialize for miktex set TeXPassString to --alias=context for miktex set TeXBatchFlag to --interaction=batchmode for miktex set MpToTeXExecutable to mptotex for miktex set MpVirginFlag to --initialize for miktex set MpPassString to --alias=mpost for miktex set MpBatchFlag to --interaction=batchmode for miktex set TeXFormatFlag to --undump= for miktex set MpFormatFlag to --undump= At the moment, these four are the ones that are being questioned on the Context mailing list: for miktex set TeXPassString to --alias=context for miktex set MpPassString to --alias=mpost for miktex set TeXFormatFlag to --undump= for miktex set MpFormatFlag to --undump= The last two don't work if TeXFormatPath is set in texexec.ini: set TeXFormatPath to f:/localtexmf/miktex/fmt ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re[2]: Not all the way back 2001-08-24 16:44 ` David Arnold @ 2001-08-25 9:18 ` Giuseppe Bilotta 2001-08-26 19:23 ` Hans Hagen 2001-08-26 20:01 ` Hans Hagen 1 sibling, 1 reply; 10+ messages in thread From: Giuseppe Bilotta @ 2001-08-25 9:18 UTC (permalink / raw) Cc: Hans Hagen, cs, ntg-context Friday, August 24, 2001 David Arnold wrote: DA> Well, to make a long story short, I cut texexec.ini, texexec.exe from DA> \texmf\miktex\bin and put them back in \texmf\context\perltk (where I think DA> they really belong) and voila! The tuo file is now loaded and I have my DA> Table of Contents in my document. Hans, I hope you will comment on these DA> musing by a non guru so that Christian can make a more stable Context DA> installation as part of the general Miktex distribution. Can you explain DA> why Miktex failed to find texutil. Does texutil have to be in the same DA> directory as texexec.pl? I think we could reach an agreement and let texexec config files go (or be allowed to go) in the %texmf%/miktext/config folder. Sounds pretty sensible to me. And of course, when multiple trees are available, the order of search should be the same as standard MiKTeX does. Can Hans work this out with Christian? DA> for miktex set TeXPassString to --alias=context I really wonder if the above is needed. Can someone really please explain what the --alias command is used for? I also add --terminal=oem, so that accented characters display correctly. I decided *not* to pass the --src-special string as well because there is a "bug" (not really a bug) in MiKTeX (any version, AFAIK), so that pdf-variants of TeX don't ignore the --src-specials. pdfTeX, when outputting PDF, echoes "Non-PDF special ignored!" for each non-PDF special it meets. Which is fine. But --src-specials *should* be ignored silenty (or, even bettern, in PDF-production mode the --src-special flag should be ignored). DA> for miktex set MpBatchFlag to --interaction=batchmode IIRC, there was a bug in MiKTeX 2.0 where MetaPost *lacked* the interaction mode flag. -- Giuseppe "Oblomov" Bilotta ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re[2]: Not all the way back 2001-08-25 9:18 ` Re[2]: " Giuseppe Bilotta @ 2001-08-26 19:23 ` Hans Hagen 2001-08-27 9:15 ` Re[3]: " Giuseppe Bilotta 0 siblings, 1 reply; 10+ messages in thread From: Hans Hagen @ 2001-08-26 19:23 UTC (permalink / raw) Cc: David Arnold, cs, ntg-context At 11:18 AM 8/25/2001 +0200, Giuseppe Bilotta wrote: >I think we could reach an agreement and let texexec config files >go (or be allowed to go) in the %texmf%/miktext/config folder. >Sounds pretty sensible to me. And of course, when multiple trees >are available, the order of search should be the same as standard >MiKTeX does. Can Hans work this out with Christian? the best is to use a kpsewhich alike way of locating the file, so if there is a miktex alternative for kpsewhich, i can support that Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re[3]: Not all the way back 2001-08-26 19:23 ` Hans Hagen @ 2001-08-27 9:15 ` Giuseppe Bilotta 0 siblings, 0 replies; 10+ messages in thread From: Giuseppe Bilotta @ 2001-08-27 9:15 UTC (permalink / raw) Cc: ntg-context Sunday, August 26, 2001 Hans Hagen wrote: HH> At 11:18 AM 8/25/2001 +0200, Giuseppe Bilotta wrote: >>I think we could reach an agreement and let texexec config files >>go (or be allowed to go) in the %texmf%/miktext/config folder. >>Sounds pretty sensible to me. And of course, when multiple trees >>are available, the order of search should be the same as standard >>MiKTeX does. Can Hans work this out with Christian? HH> the best is to use a kpsewhich alike way of locating the file, so if there HH> is a miktex alternative for kpsewhich, i can support that MiKTeX has a "initexmf" that includes function for file-searching. I *think* 2.1 *also* has kps features, but I haven't installed it yet, so I can't say. -- Giuseppe "Oblomov" Bilotta ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Not all the way back 2001-08-24 16:44 ` David Arnold 2001-08-25 9:18 ` Re[2]: " Giuseppe Bilotta @ 2001-08-26 20:01 ` Hans Hagen 1 sibling, 0 replies; 10+ messages in thread From: Hans Hagen @ 2001-08-26 20:01 UTC (permalink / raw) Cc: cs, ntg-context At 09:44 AM 8/24/2001 -0700, David Arnold wrote: >texfont.pl, texshow.pl, and *MOST* importantly in this case, texutil.pl. ah, right, you got no toc because texutil was not found -) good point >Well, to make a long story short, I cut texexec.ini, texexec.exe from >\texmf\miktex\bin and put them back in \texmf\context\perltk (where I think >they really belong) and voila! The tuo file is now loaded and I have my >Table of Contents in my document. Hans, I hope you will comment on these >musing by a non guru so that Christian can make a more stable Context >installation as part of the general Miktex distribution. Can you explain >why Miktex failed to find texutil. Does texutil have to be in the same >directory as texexec.pl? This is what the TeXScriptsPath variable can be used for. I leave it up to you where you put the pl files since this also an OS issue; on texlive / win32 they go into the bin path, and in linux to /usr/bin [often as symlink without suffix]. If you add the perltk path to the PATH variable, updates will be found more conveniently, otherwise you need to move the files manually. so, if in miktex they go to bin, all perl script should do; [btw, under win, i use 4dos / 4nt which supports file name associations] >Finally, with the original Miktex arrangement, there was no mention of any >tuo file in the log file and no TOC. After moving texexec.ini and >texexec.pl to \texmf\Context\perltk, the inclusion of the tuo files was >clearly evidenced in the log file and I now have my TOC. btw, if you unzip the context archive, they end up in the perltk path >I await the recommendations of our two gurus. Also, what do we think about >these settings in texexec.ini? that's what i've added / changed so far >set TeXFormatPath to f:/localtexmf/miktex/fmt ideally the path should not be set, but it may come in handy for testing purposes Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Not all the way back @ 2001-08-24 4:12 David Arnold 2001-08-24 8:32 ` Olya Briginets 0 siblings, 1 reply; 10+ messages in thread From: David Arnold @ 2001-08-24 4:12 UTC (permalink / raw) Cc: ntg-context [-- Attachment #1: Type: text/plain, Size: 707 bytes --] Hans, et al, I am not all the way back. That is, the current beta installation of Context is not yet fully backward compatible. I've attached a small zip file of a document I prepared last fall with a previous version of Miktex and Context. After unzipping to a temp directory, type make.bat in the directory to run the compile. Note that I am not getting a table of contents as I once did. Other than this, I'm looking pretty good. What could change in Context between now and last fall that would affect the production of my former table of contents? BTW, everyone is free to use these files in anyway that they wish: Study the style, add to the doc for their own classes, etc. I don't mind. Enjoy. [-- Attachment #2: context-matrices.zip --] [-- Type: application/zip, Size: 16163 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Not all the way back 2001-08-24 4:12 David Arnold @ 2001-08-24 8:32 ` Olya Briginets 2001-08-24 8:44 ` Hans Hagen 0 siblings, 1 reply; 10+ messages in thread From: Olya Briginets @ 2001-08-24 8:32 UTC (permalink / raw) Hello David, David Arnold wrote: > I am not all the way back. That is, the current beta installation of > Context is not yet fully backward compatible. I've attached a small zip > file of a document I prepared last fall with a previous version of Miktex > and Context. > > After unzipping to a temp directory, type make.bat in the directory to run > the compile. > > Note that I am not getting a table of contents as I once did. > > Other than this, I'm looking pretty good. What could change in Context > between now and last fall that would affect the production of my former > table of contents? I compiled your file successfully, except of metapost error message about cmykcolors := true ; statement in mpgraph.mp. (I don't know whose fault it is.) I got very nice TOC in the screen version, but not in letter version, I guess this is because you have put \placecontent in frontmatter only in the screen mode, so I dont know why you had got it last fall (I did not use ConTeXt then). > BTW, everyone is free to use these files in anyway that they wish: Study > the style, add to the doc for their own classes, etc. I don't mind. Enjoy. I really enjoyed it very much :) Olya ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Not all the way back 2001-08-24 8:32 ` Olya Briginets @ 2001-08-24 8:44 ` Hans Hagen 2001-08-26 7:24 ` Olya Briginets 0 siblings, 1 reply; 10+ messages in thread From: Hans Hagen @ 2001-08-24 8:44 UTC (permalink / raw) Cc: ConTeXt mailing list At 11:32 AM 8/24/2001 +0300, Olya Briginets wrote: >I compiled your file successfully, except of metapost error message about > cmykcolors := true ; >statement in mpgraph.mp. (I don't know whose fault it is.) Did you regenerate the metafun format or pur the mp files in the right place? This flag is rather old so it should work ok with todays context >I got very nice TOC in the screen version, but not in letter version, I guess >this is because you have put \placecontent in frontmatter only in the screen >mode, so I dont know why you had got it last fall (I did not use ConTeXt >then). A remark on the file itself: David uses \starttyping >>> \stoptyping so, there is an indent in the file. This works ok since the verbatim environment is clever enough to pick up the indented \stop tag [nesting would also work ok]. However, this is not the way to indent a piece of code, better is to set the margin of the typing environment. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Not all the way back 2001-08-24 8:44 ` Hans Hagen @ 2001-08-26 7:24 ` Olya Briginets 0 siblings, 0 replies; 10+ messages in thread From: Olya Briginets @ 2001-08-26 7:24 UTC (permalink / raw) Hello Hans, Hans Hagen wrote: > >I compiled your file successfully, except of metapost error message about > > cmykcolors := true ; > >statement in mpgraph.mp. (I don't know whose fault it is.) > > Did you regenerate the metafun format or pur the mp files in the right > place? This flag is rather old so it should work ok with todays context My fault! Surely I forgot to regenerate the metafun format after installing new system you had sent me. :) Olya ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-08-27 9:15 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <3.0.5.32.20010823211229.008702a0@mail.northcoast.com> 2001-08-24 8:34 ` Not all the way back Hans Hagen 2001-08-24 16:44 ` David Arnold 2001-08-25 9:18 ` Re[2]: " Giuseppe Bilotta 2001-08-26 19:23 ` Hans Hagen 2001-08-27 9:15 ` Re[3]: " Giuseppe Bilotta 2001-08-26 20:01 ` Hans Hagen 2001-08-24 4:12 David Arnold 2001-08-24 8:32 ` Olya Briginets 2001-08-24 8:44 ` Hans Hagen 2001-08-26 7:24 ` Olya Briginets
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).