ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
       [not found] <13881.46431.700000.473853@PC709>
@ 1998-10-30 13:37 ` Erik.Cuynen
  0 siblings, 0 replies; 10+ messages in thread
From: Erik.Cuynen @ 1998-10-30 13:37 UTC (permalink / raw)
  Cc: Hans Hagen, Nederlandse TeX Gebruikers, W.H. Dekker

Taco,

in c:\texmf\miktex\bin  bevinden zich de volgende batch files:
	1. texexec.bat
---------------------
@echo off
c:\perl\bin\perl.exe c:\texmf\tex\context\texexec.pl %1 %2 %3 %4 %5 %6 %7
%8 %9
naar analogie met:
====================
	2. texutil.bat
-------------------
@echo off
c:\perl\bin\perl.exe c:\texmf\tex\context\texutil.pl %1 %2 %3 %4 %5 %6 %7
%8 %9
==================
ECHTER:
in eender welke directory doe ik: texexec --make nl     met dit als
respons:
-----------------
C:\E\ERIK\Mytex>texexec --make nl

 TeXExec 1.1 - ConTeXt / PRAGMA 1997-1998

Invalid switch
Bad command or file name

            executable : miktex
             format(s) : nl
===========================
NOCHTANS in texexec.ini

set UserInterface to nl
set TeXExecutable to miktex
set TeXFormatPath to c:\texmf\miktex\fmt
set ConTeXtPath   to c:\texmf\tex\context
set SetupPath     to c:\texmf\tex\context

> De goede commandoregel is trouwens
>    texexec --paper=a4a3 --print=2up  hallo
Om een of andere reden wil dit dus nog niet lukken!
mag ik vragen waarom?

nog een vraagje:
kan ik van iemand een heuse context file krijgen om te testen?

Erik

----------------------------------------------------------------------------
Erik Cuynen                                 http://www.uia.ua.ac.be/u/cuynen  
U.I.A. (University of Antwerp) - Dept. Scheikunde (B2.09) 
Universiteitsplein 1, B-2610 Wilrijk BELGIUM            Fax: +32-3-820.23.76
E-mail: cuynen@uia.ua.ac.be                           Phone: +32-3-820.23.78 
----------------------------------------------------------------------------


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
@ 1998-10-30 16:06 Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 1998-10-30 16:06 UTC (permalink / raw)
  Cc: Erik.Cuynen, Nederlandse TeX Gebruikers

Taco Hoekwater wrote:

> zijn. Sorry voor de verwarring hier, Hans dacht dat er
> een apart programma miktex.exe was.

Als Taco er niet was ... welke tex kent hij niet? 

Ik stel voor dat Erik een nete samenvatting maakt van wat nodig is in
miktex, kan meteen de faq in. Engels graag. 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
@ 1998-10-30 15:54 Taco Hoekwater
  0 siblings, 0 replies; 10+ messages in thread
From: Taco Hoekwater @ 1998-10-30 15:54 UTC (permalink / raw)
  Cc: Nederlandse TeX Gebruikers

>>>>> "EC" == Erik Cuynen <cuynen@uia.ua.ac.be> writes:

 EC>  TeXExec 1.1 - ConTeXt / PRAGMA 1997-1998

 EC> Invalid switch
De "Invalid switch" kan ik niet zo snel plaatsen.

 EC> ===========================
 EC> NOCHTANS in texexec.ini

 EC> set UserInterface to nl
 EC> set TeXExecutable to miktex

Maar dit moet 

     set TeXExecutable to tex

zijn. Sorry voor de verwarring hier, Hans dacht dat er 
een apart programma miktex.exe was. 

 EC> set TeXFormatPath to c:\texmf\miktex\fmt
 EC> set ConTeXtPath   to c:\texmf\tex\context
 EC> set SetupPath     to c:\texmf\tex\context

 >> De goede commandoregel is trouwens
 >> texexec --paper=a4a3 --print=2up  hallo
 EC> Om een of andere reden wil dit dus nog niet lukken!
 EC> mag ik vragen waarom?

Waarschijnlijk vanwege hierboven.

Groeten, Taco
-- 
Taco Hoekwater                                 taco.hoekwater@wkap.nl
Kluwer Academic Publishers                            -- Pre Press --
Achterom 119, 3311 KB Dordrecht, The Netherlands  tel.  31-78-6392550
---------------------------------------------------------------------


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
@ 1998-10-30  8:03 Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 1998-10-30  8:03 UTC (permalink / raw)
  Cc: ntg-context

Erik.Cuynen wrote:

> Can't locate Getopt/Long.pm in @INC at \texmf\tex\latex\context\texutil.pl
> line 65.
> BEGIN failed--compilation aborted at \texmf\tex\latex\context\texutil.pl
> line 65.

PERL5LIB=....\perl\lib

Beetje vreemd om context onder latex te zetten, \texmf\tex\context is
beter, al is het alleen maar om te voorkomen dat er verkeerde dingen
worden geladen, en ook omdat het op die plaats hoort te staan in de
texmf boom. In de volgende tetex komt overigens ook een apart gebied
\texmf\context voor de perl scripts etc.   

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
@ 1998-10-29 21:04 W.H. Dekker
  0 siblings, 0 replies; 10+ messages in thread
From: W.H. Dekker @ 1998-10-29 21:04 UTC (permalink / raw)
  Cc: pragma, ntg-context

"Erik.Cuynen" wrote:
> Na installatie van Perl5 (WIN95), met name Pw32i316.exe (self-extracting),
> probeer ik dit:
> 
> C:\E\ERIK\Mytex>perl \texmf\tex\latex\context\texutil.pl
> 
> met de boodschap:
> 
> Can't locate Getopt/Long.pm in @INC at \texmf\tex\latex\context\texutil.pl
> line 65.
> BEGIN failed--compilation aborted at \texmf\tex\latex\context\texutil.pl
> line 65.

Perl kan dus de module \Getopt\Long.pm niet vinden. Als je perl -V
doet laat hij zien wat er in @INC zit, namelijk de directories waarin
hij modules zoekt. Kijk of je in die directories \Getopt\Long.pm kunt
vinden. Zo niet zorg dat hij erin komt, eventueel door hem van een
andere directory, van de CD of van CPAN te halen.

-- 
Hartelijke groet,
Wybo
===================Servalys Analytical Chemistry Services=================
Wybo H. Dekker        | Deilsedijk 60                 | tel +31-345-652164
wybo@servaly.hobby.nl | 4158 CH Deil, The Netherlands | fax +31-345-652383


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
  1998-10-29 13:58 Hans Hagen
@ 1998-10-29 16:16 ` Erik.Cuynen
  0 siblings, 0 replies; 10+ messages in thread
From: Erik.Cuynen @ 1998-10-29 16:16 UTC (permalink / raw)
  Cc: ntg-context

Beste Hans,

> Context schrijft een file weg, filename.tui, die moet worden omgezet in
> filename.tuo. Dat doet texutil voor je. In LaTeX heb je aux, idx, toc
> etc files, in context gaat alles in een file. TeXUtil sorteert een en
> ander (indexen, lijsten, enz). 
> 
> Kortom: perl 5 installeren en runnen maar. (texutil is een perl script).
> 
Na installatie van Perl5 (WIN95), met name Pw32i316.exe (self-extracting),
probeer ik dit:

C:\E\ERIK\Mytex>perl \texmf\tex\latex\context\texutil.pl

met de boodschap:

Can't locate Getopt/Long.pm in @INC at \texmf\tex\latex\context\texutil.pl
line 65.
BEGIN failed--compilation aborted at \texmf\tex\latex\context\texutil.pl
line 65.

Enige suggesties?

Erik

----------------------------------------------------------------------------
Erik Cuynen                                 http://www.uia.ua.ac.be/u/cuynen  
U.I.A. (University of Antwerp) - Dept. Scheikunde (B2.09) 
Universiteitsplein 1, B-2610 Wilrijk BELGIUM            Fax: +32-3-820.23.76
E-mail: cuynen@uia.ua.ac.be                           Phone: +32-3-820.23.78 
----------------------------------------------------------------------------


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
@ 1998-10-29 15:48 Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 1998-10-29 15:48 UTC (permalink / raw)
  Cc: Erik.Cuynen, wybo, ntg-context

Taco Hoekwater wrote:
> 
> >>>>> "EC" == Erik Cuynen <cuynen@uia.ua.ac.be> writes:
> 
>  EC> <prompt> cd \texmf\tex\latex\context
> 
>  EC> first: generate fmt file as follows:
> 
>  EC> <prompt> tex   --ini cont-nl
> 
> This worked for me. In fact, "initex" instead of "tex --ini"
> works too.
> 
> 10-29-98  15:36       3,108,392  cont-nl.fmt
> 10-29-98  15:36          14,220  cont-nl.log
> 
> I picked up miktex "bare.exe" from CTAN and "cont-tex.zip" from
> www.ntg.nl, both 15 min. ago. For some reason copying virtex.exe to
> cont-nl.exe does not work, but besides that, everything was fine.

I can compose a faq on this, but others have to do the writing. So, when
someone submits a text in the format  

\FrequentlyAskedQuestion
  {\index[tex]{\TEX}\index{probleem}\index{geheugen}}
  {Hans Hagen}

\beginquestion

....

\endquestion

\beginanswer

.....

\endanswer

I can easily generated index'd faq documents (screen and paper). 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
@ 1998-10-29 15:11 Taco Hoekwater
  0 siblings, 0 replies; 10+ messages in thread
From: Taco Hoekwater @ 1998-10-29 15:11 UTC (permalink / raw)
  Cc: Hans Hagen, wybo, ntg-context

>>>>> "EC" == Erik Cuynen <cuynen@uia.ua.ac.be> writes:

 EC> <prompt> cd \texmf\tex\latex\context

 EC> first: generate fmt file as follows:

 EC> <prompt> tex   --ini cont-nl   

This worked for me. In fact, "initex" instead of "tex --ini"
works too.

10-29-98  15:36       3,108,392  cont-nl.fmt
10-29-98  15:36          14,220  cont-nl.log

I picked up miktex "bare.exe" from CTAN and "cont-tex.zip" from
www.ntg.nl, both 15 min. ago. For some reason copying virtex.exe to
cont-nl.exe does not work, but besides that, everything was fine.

Greetings, Taco
-- 
Taco Hoekwater                                 taco.hoekwater@wkap.nl
Kluwer Academic Publishers                            -- Pre Press --
Achterom 119, 3311 KB Dordrecht, The Netherlands  tel.  31-78-6392550
---------------------------------------------------------------------


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
@ 1998-10-29 13:58 Hans Hagen
  1998-10-29 16:16 ` Erik.Cuynen
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 1998-10-29 13:58 UTC (permalink / raw)
  Cc: wybo, ntg-context

Erik.Cuynen wrote:

> loading        : Context Core Macros (a)
> ! Missing number, treated as zero.
> <to be read again>
>                    u
> \s!unknown ->u
>               nknown
> \v!compareprocessaction ...telement {#1}#2
>                                           \let \p!doprocessaction =\g...
> \next2 #1,->\p!doprocessaction {#1}
>                                    \doprocesscommaitem
> \nextcommaitem ...}\doprocesscommaitem #1,
>                                           ]\relax \advance \commaleve...
> \processaction ... [#3]\p!doprocessaction
>                                           \expandactions
> ...
> l.16118                 \c!regels=]
> 
> ?
> 
> press RETURN, RETURN, RETURN, RETURN (as many times as necessary)

Something wrong here. Why does miktex abort? 

> the following files were created:
> 
> CONTEXT  CON        18,590  10-29-98  1:17p context.con
> CONTEXT  COM        23,136  10-29-98  1:17p context.com
> CONT-NL  LOG        18,327  10-29-98  1:18p cont-nl.log
> CONT-NL  DVI           308  10-29-98  1:18p cont-nl.dvi
> CONT-NL  FMT     3,431,120  10-29-98  1:18p cont-nl.fmt
> CONT-NEW LOG           925  10-29-98  1:21p cont-new.log
> CONT-NEW TUI            88  10-29-98  1:21p cont-new.tui

Pretty large one, cont-nl.fmt. Looks like a lot of fonts are included
(probably due to the error/RETURN etc .   

Can it be that there is still a memory problem?  

> then run context by:
> 
> <prompt> tex &cont-nl
> 
> which displays:
> 
> Dit pakket is gebaseerd op Plain TeX. Er wordt gebruik gemaakt van een
> aangepaste versie van het mark mechanisme van J. Fox (1987) en onderdelen
> van het sidefloat mechanisme van D. Comenetz (1993). De functionaliteit
> van D.E. Knuth's Plain TeX (3.141592) is grotendeels beschikbaar en kan
> zonder problemen worden gebruikt. Dit pakket gebruikt TaBlE, ontworpen
> door
> M.J. Wichura (1988), die ook het auteursrecht bezit. Er worden slechts een
> paar hulpfiles gegenereerd, waarvan er enkele moeten worden bewerkt door
> TeXUtil (1998.07.07). Het blokmechanisme heeft versienummer 1996.03.10.
> 
> Copyright 1990-1998 / PRAGMA / J. Hagen - A.F. Otten
> 
> systeem        : cont-new geladen
> (cont-new.tex)
> systeem        : cont-old geladen
> (cont-old.tex
> loading        : Context Old Macros
> )
> systeem        : cont-fil geladen
> (cont-fil.tex
> loading        : Context File Synonyms
> )
> korps          : 12pt romaan wordt geladen
> specials       : tex,postscript,rokicki geladen
> 
> *
> 
> <prompt> \end
> 
> Vergeet niet TeXUtil en zonodig ConTeXt nog eens te runnen.
> 
> --------------------
> Okay, so far so good I presume; what should be done next?
> Please keep in mind that I more or less used to LaTeX; will I still be
> albe to Latex <filename> by including context.sty (something like this) or
> is a different approach necessary?
> 
> Can someone send me a relatively simple context file so I can quickly test
> if everything is processed as it should?

\starttekst 
Hallo daar! 
\stoptekst

> PS what is meant by: "Vergeet niet TeXUtil en ..." nog eens te runnen?

Context schrijft een file weg, filename.tui, die moet worden omgezet in
filename.tuo. Dat doet texutil voor je. In LaTeX heb je aux, idx, toc
etc files, in context gaat alles in een file. TeXUtil sorteert een en
ander (indexen, lijsten, enz). 

Kortom: perl 5 installeren en runnen maar. (texutil is een perl script).

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


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

* Re: (continued) howto integrate context with existing Latex2e (MikTeX 1.11)
  1998-10-29 11:00 integratie context/Latex2e " Hans Hagen
@ 1998-10-29 13:39 ` Erik.Cuynen
  0 siblings, 0 replies; 10+ messages in thread
From: Erik.Cuynen @ 1998-10-29 13:39 UTC (permalink / raw)
  Cc: wybo, ntg-context

<prompt> cd \texmf\tex\latex\context

first: generate fmt file as follows:

<prompt> tex   --ini cont-nl   

untils processing halts and something like this appears:

loading        : Context Core Macros / Navigation
) (core-ref.tex
loading        : Context Core Macros / Cross Referencing
) (core-obj.tex
loading        : Context Core Macros / Object Handling
) (core-01a.tex
loading        : Context Core Macros (a)
! Missing number, treated as zero.
<to be read again>
                   u
\s!unknown ->u
              nknown
\v!compareprocessaction ...telement {#1}#2
                                          \let \p!doprocessaction =\g...
\next2 #1,->\p!doprocessaction {#1}
                                   \doprocesscommaitem
\nextcommaitem ...}\doprocesscommaitem #1,
                                          ]\relax \advance \commaleve...
\processaction ... [#3]\p!doprocessaction
                                          \expandactions
...
l.16118                 \c!regels=]

?

press RETURN, RETURN, RETURN, RETURN (as many times as necessary)

the following files were created:

CONTEXT  CON        18,590  10-29-98  1:17p context.con
CONTEXT  COM        23,136  10-29-98  1:17p context.com
CONT-NL  LOG        18,327  10-29-98  1:18p cont-nl.log
CONT-NL  DVI           308  10-29-98  1:18p cont-nl.dvi
CONT-NL  FMT     3,431,120  10-29-98  1:18p cont-nl.fmt
CONT-NEW LOG           925  10-29-98  1:21p cont-new.log
CONT-NEW TUI            88  10-29-98  1:21p cont-new.tui

then run context by:

<prompt> tex &cont-nl 

which displays:

Dit pakket is gebaseerd op Plain TeX. Er wordt gebruik gemaakt van een
aangepaste versie van het mark mechanisme van J. Fox (1987) en onderdelen
van het sidefloat mechanisme van D. Comenetz (1993). De functionaliteit
van D.E. Knuth's Plain TeX (3.141592) is grotendeels beschikbaar en kan
zonder problemen worden gebruikt. Dit pakket gebruikt TaBlE, ontworpen
door
M.J. Wichura (1988), die ook het auteursrecht bezit. Er worden slechts een
paar hulpfiles gegenereerd, waarvan er enkele moeten worden bewerkt door
TeXUtil (1998.07.07). Het blokmechanisme heeft versienummer 1996.03.10.

Copyright 1990-1998 / PRAGMA / J. Hagen - A.F. Otten

systeem        : cont-new geladen
(cont-new.tex)
systeem        : cont-old geladen
(cont-old.tex
loading        : Context Old Macros
)
systeem        : cont-fil geladen
(cont-fil.tex
loading        : Context File Synonyms
)
korps          : 12pt romaan wordt geladen
specials       : tex,postscript,rokicki geladen

*

<prompt> \end

Vergeet niet TeXUtil en zonodig ConTeXt nog eens te runnen.

--------------------
Okay, so far so good I presume; what should be done next?
Please keep in mind that I more or less used to LaTeX; will I still be
albe to Latex <filename> by including context.sty (something like this) or
is a different approach necessary?

Can someone send me a relatively simple context file so I can quickly test
if everything is processed as it should?

Thanks!
Erik

PS what is meant by: "Vergeet niet TeXUtil en ..." nog eens te runnen?


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

end of thread, other threads:[~1998-10-30 16:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <13881.46431.700000.473853@PC709>
1998-10-30 13:37 ` (continued) howto integrate context with existing Latex2e (MikTeX 1.11) Erik.Cuynen
1998-10-30 16:06 Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
1998-10-30 15:54 Taco Hoekwater
1998-10-30  8:03 Hans Hagen
1998-10-29 21:04 W.H. Dekker
1998-10-29 15:48 Hans Hagen
1998-10-29 15:11 Taco Hoekwater
1998-10-29 13:58 Hans Hagen
1998-10-29 16:16 ` Erik.Cuynen
1998-10-29 11:00 integratie context/Latex2e " Hans Hagen
1998-10-29 13:39 ` (continued) howto integrate context with existing Latex2e " Erik.Cuynen

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