ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Not all the way back
@ 2001-08-24  4:12 David Arnold
  2001-08-24  8:32 ` Olya Briginets
       [not found] ` <200108241259.FAA14176@smtpout.mac.com>
  0 siblings, 2 replies; 9+ 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] 9+ messages in thread

* Re: Not all the way back
  2001-08-24  4:12 Not all the way back David Arnold
@ 2001-08-24  8:32 ` Olya Briginets
  2001-08-24  8:44   ` Hans Hagen
       [not found] ` <200108241259.FAA14176@smtpout.mac.com>
  1 sibling, 1 reply; 9+ 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] 9+ 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; 9+ 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] 9+ messages in thread

* Re: ConTeXt example
       [not found] ` <200108241259.FAA14176@smtpout.mac.com>
@ 2001-08-24 15:44   ` David Arnold
  2001-08-24 16:16     ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: David Arnold @ 2001-08-24 15:44 UTC (permalink / raw)
  Cc: ntg-context

Arun,

The font is Lucida, which I bought from YandY some time back. 

For mathematics, you are really limited in the choice of fonts. Basically,
the way I understand it, you have three choices: Computer Modern,
Mathtimes, and Lucida. When I bought the YandY tex system, one font came
for free, which I chose as Mathtimes (because of a text I was writing).
Later, I purchased the remaining two.

Indeed, Lucdida is a beautiful font, which looks particularly nice in
onscreen documents.

At 08:59 AM 8/24/01 -0400, you wrote:
>Hello,
>
>I looked at your tutorial, and it looked very nice when I compiled it 
>[I'm just a ConTeXt beginner]. However there were a few font artifacts. 
>I was wondering if you added any fonts to your base TeX collection.
>
>I don't have MikTex, but the teTeX installation. I really like the font 
>you used.
>- Arun
>
>
>On Friday, August 24, 2001, at 12:12  AM, 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.
>>
>> 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.
>
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ConTeXt example
  2001-08-24 15:44   ` ConTeXt example David Arnold
@ 2001-08-24 16:16     ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2001-08-24 16:16 UTC (permalink / raw)
  Cc: Arun Mangalam, ntg-context

At 08:44 AM 8/24/2001 -0700, David Arnold wrote:
>Arun,
>
>The font is Lucida, which I bought from YandY some time back.
>
>For mathematics, you are really limited in the choice of fonts. Basically,
>the way I understand it, you have three choices: Computer Modern,
>Mathtimes, and Lucida. When I bought the YandY tex system, one font came
>for free, which I chose as Mathtimes (because of a text I was writing).
>Later, I purchased the remaining two.
>
>Indeed, Lucdida is a beautiful font, which looks particularly nice in
>onscreen documents.

If you fetch the tx and px fonts from ctan, and put 'm in the right place 
in your tree, you can use palatino as well as times math for free; see 
mfonts and fontdemo file for usage and samples.

The palatino looks nice on screen.

There are also some math fonts from vtex (informal, helvetica, baskerville, 
times, ...), which i will support too. So in the end there will be some 10 
free+yandy+vtex math fonts to play with. Not that bad eh?

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] 9+ 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; 9+ 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] 9+ messages in thread

* Re: Not all the way back
  2001-08-24 16:44   ` David Arnold
@ 2001-08-26 20:01     ` Hans Hagen
  0 siblings, 0 replies; 9+ 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] 9+ 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-26 20:01     ` Hans Hagen
  0 siblings, 1 reply; 9+ 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] 9+ messages in thread

* 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; 9+ 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] 9+ messages in thread

end of thread, other threads:[~2001-08-26 20:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-24  4:12 Not all the way back David Arnold
2001-08-24  8:32 ` Olya Briginets
2001-08-24  8:44   ` Hans Hagen
2001-08-26  7:24     ` Olya Briginets
     [not found] ` <200108241259.FAA14176@smtpout.mac.com>
2001-08-24 15:44   ` ConTeXt example David Arnold
2001-08-24 16:16     ` Hans Hagen
     [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-26 20:01     ` Hans Hagen

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).