ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: compilation is stuck!
@ 2000-11-02 12:15 Denis B. Roegel
  2000-11-02 12:28 ` Hans Hagen
  0 siblings, 1 reply; 17+ messages in thread
From: Denis B. Roegel @ 2000-11-02 12:15 UTC (permalink / raw)
  Cc: ntg-context, roegel

> In what sense? It runsok here. 

With 

\setupcolors[state=start]
\starttext
\startMPenvironment
  \setupbodyfont[pos]
\stopMPenvironment
\startMPcode
  draw btex Meta is a female lion! etex
  xysized (\the\textwidth,\the\textheight);
\stopMPcode
\stoptext

I get

-----------
russell context2 472 % texexec --color --pdf test34

 TeXExec 2.3 - ConTeXt / PRAGMA ADE 1997-2000

            executable : pdfetex
                format : cont-en
             inputfile : test34
                output : pdftex
             interface : en
               options : color
          current mode : all
               TeX run : 1

This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x)
entering extended mode
(./test34.tex{/usr/local/tex/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2000.10.22  fmt: 2000.10.26  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(/users/model/roegel/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/users/model/roegel/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/users/model/roegel/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(./cont-sys.tex)
bodyfont       : 12pt rm is loaded
language       : patterns 2-en-2 2-de-2 2-fr-2 2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
system         : test34.top loaded
(./test34.top
specials       : tex,postscript,rokicki is reset
specials       : loading definition file tpd
(/users/model/roegel/texmf/tex/context/base/spec-tpd.tex <unprotect 2>
specials       : loading definition file fdf
(/users/model/roegel/texmf/tex/context/base/spec-fdf.tex <unprotect 3>
<unprotect 4> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3> <protect 2>)
specials       : fdf,tpd loaded
color          : rgb color space is supported
color          : cmyk color space is supported
color          : system rgb is global activated
) (./test34.tuo) (./test34.tuo) (./test34.tuo) (./test34.tuo) (./test34.tuo)
(./test34.tuo) (./test34.tuo) (./test34.tuo) (./test34.tuo) (./test34.tuo)
color          : rgb color space is supported
color          : cmyk color space is supported
color          : system rgb is global activated
(./test34.tuo) (./test34.tuo)
systems        : begin file test34 at line 2
Randomizer initialized to 928886561.
 TeXExec 2.3 - ConTeXt / PRAGMA ADE 1997-2000

       metapost to tex : test34-mpgraph
            executable : pdfetex
                format : cont-en
             inputfile : tmpgraph
                output : dvips
             interface : en
               options : once batch nomp
          current mode : all

This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x)
entering extended mode

=>>>>>> Here I do CTRL-Z (CTRL-C wouldn't work)

Suspended
russell context2 473 % ps
  PID TTY          TIME CMD
  915 ttyp1    00:00:01 tcsh
 9189 ttyp1    00:00:01 emacs
 9190 ttyp1    00:00:00 perl
 9196 ttyp1    00:00:00 pdfetex
 9197 ttyp1    00:00:00 perl
 9202 ttyp1    00:00:01 pdfetex
10599 ttyp1    00:00:00 sh
10600 ttyp1    00:00:00 mktextfm
10615 ttyp1    00:00:00 mktextfm
10616 ttyp1    00:00:00 kpsewhich
10617 ttyp1    00:00:00 ps
russell context2 474 % kill -9 9190 9196 9197 9202 10600 10615 10616
9196: No such process
9197: No such process
9202: No such process
10600: No such process
10615: No such process
10616: No such process
[3]    Killed                        texexec --color --pdf test34
russell context2 475 % ps
  PID TTY          TIME CMD
  915 ttyp1    00:00:01 tcsh
 9189 ttyp1    00:00:01 emacs
10622 ttyp1    00:00:00 ps
russell context2 476 % 

-------------

Denis


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

* Re: compilation is stuck!
  2000-11-02 12:15 compilation is stuck! Denis B. Roegel
@ 2000-11-02 12:28 ` Hans Hagen
  2000-11-03 15:31   ` Denis B. Roegel
  2000-11-03 15:49   ` Ed L Cashin
  0 siblings, 2 replies; 17+ messages in thread
From: Hans Hagen @ 2000-11-02 12:28 UTC (permalink / raw)
  Cc: ntg-context, roegel

At 01:15 PM 11/2/00 +0100, Denis B. Roegel wrote:
>
>> In what sense? It runsok here. 
>
>With 
>
>\setupcolors[state=start]
>\starttext
>\startMPenvironment
>  \setupbodyfont[pos]
>\stopMPenvironment
>\startMPcode
>  draw btex Meta is a female lion! etex
>  xysized (\the\textwidth,\the\textheight);
>\stopMPcode
>\stoptext

I cannot get this hung, nor with pdftex, pdfetex, dvips output, dvipsone
output, pdf output. Can someone else try this on his linux box? [with
latest version that has metafun support]

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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] 17+ messages in thread

* Re: compilation is stuck!
  2000-11-02 12:28 ` Hans Hagen
@ 2000-11-03 15:31   ` Denis B. Roegel
  2000-11-03 15:49   ` Ed L Cashin
  1 sibling, 0 replies; 17+ messages in thread
From: Denis B. Roegel @ 2000-11-03 15:31 UTC (permalink / raw)
  Cc: Denis B. Roegel, ntg-context, roegel

`Hans Hagen' wrote
>   
>   >\setupcolors[state=start]
>   >\starttext
>   >\startMPenvironment
>   >  \setupbodyfont[pos]
>   >\stopMPenvironment
>   >\startMPcode
>   >  draw btex Meta is a female lion! etex
>   >  xysized (\the\textwidth,\the\textheight);
>   >\stopMPcode
>   >\stoptext
>   
>   I cannot get this hung, nor with pdftex, pdfetex, dvips output, dvipsone
>   output, pdf output. Can someone else try this on his linux box? [with
>   latest version that has metafun support]

I am also stuck on solaris with the same example.
The culprit is \setupbodyfont[pos].

Denis


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

* Re: compilation is stuck!
  2000-11-02 12:28 ` Hans Hagen
  2000-11-03 15:31   ` Denis B. Roegel
@ 2000-11-03 15:49   ` Ed L Cashin
  2000-11-03 15:58     ` Denis B. Roegel
  1 sibling, 1 reply; 17+ messages in thread
From: Ed L Cashin @ 2000-11-03 15:49 UTC (permalink / raw)
  Cc: Denis B. Roegel, ntg-context, roegel

Hans Hagen <pragma@wxs.nl> writes:

> At 01:15 PM 11/2/00 +0100, Denis B. Roegel wrote:
> >
> >> In what sense? It runsok here. 
> >
> >With 
> >
> >\setupcolors[state=start]
> >\starttext
> >\startMPenvironment
> >  \setupbodyfont[pos]
> >\stopMPenvironment
> >\startMPcode
> >  draw btex Meta is a female lion! etex
> >  xysized (\the\textwidth,\the\textheight);
> >\stopMPcode
> >\stoptext
> 
> I cannot get this hung, nor with pdftex, pdfetex, dvips output, dvipsone
> output, pdf output. Can someone else try this on his linux box? [with
> latest version that has metafun support]

When texexec looks hung it is often asking for input:

              run time : 1 seconds
       dvi to metapost : mpgraph
              metapost : mpgraph
                format : metafun
This is MetaPost, Version 0.641 (Web2C 7.3.1)
Sorry, I can't find the mem file `metafun.mem'; will try `mpost.mem'.
(mpgraph.mp)
*

... and it's waiting for the user to type a response.  I have never
gotten used to working with tex interactively, so I use makefiles that
redirect texexec's standard input from /dev/null.  

Doing that you get quick failure instead of hanging, so you can check
the log files.

Try something like this:

        texexec --pdf test < /dev/null

-- 
--Ed Cashin                     PGP public key:
  ecashin@coe.uga.edu           http://www.coe.uga.edu/~ecashin/pgp/


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

* Re: compilation is stuck!
  2000-11-03 15:49   ` Ed L Cashin
@ 2000-11-03 15:58     ` Denis B. Roegel
  2000-11-03 16:10       ` Ed L Cashin
                         ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Denis B. Roegel @ 2000-11-03 15:58 UTC (permalink / raw)
  Cc: Hans Hagen, Denis B. Roegel, ntg-context, roegel

`Ed L Cashin' wrote
>   
>   Try something like this:
>   
>           texexec --pdf test < /dev/null

Unfortunately, it doesn't work. I have checked the log
files to see if something unusual happens, but I couldn't find
anything.

Actually, the problem is not related with texexec, but might be
a pdftex one. If I merely call cont-en on the test file

------
\setupcolors[state=start]
\starttext
\startMPenvironment
  \setupbodyfont[pos]
%\setupbodyfont[ber,pcr,10pt]
\stopMPenvironment
\startMPcode
  draw btex Meta is a female lion! etex
  xysized (\the\textwidth,\the\textheight);
\stopMPcode
\stoptext
------

I get hung too (I copied the test under a fresh name
to make sure there is no memory of the past).

Denis

bar context2 289 % cont-en test34a.tex 
This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x)
entering extended mode
(./test34a.tex{/usr/local/tex/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2000.10.22  fmt: 2000.10.26  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(/users/model/roegel/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/users/model/roegel/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/users/model/roegel/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(./cont-sys.tex)
bodyfont       : 12pt rm is loaded
language       : patterns 2-en-2 2-de-2 2-fr-2 2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
color          : rgb color space is supported
color          : cmyk color space is supported
color          : system rgb is global activated
systems        : begin file test34a at line 2
Randomizer initialized to 1189064326.
 TeXExec 2.3 - ConTeXt / PRAGMA ADE 1997-2000

       metapost to tex : test34a-mpgraph
            executable : pdfetex
                format : cont-en
             inputfile : tmpgraph
                output : dvips
             interface : en
               options : once batch nomp
          current mode : all

This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x)
entering extended mode
^Z
Suspended
bar context2 290 % ps
   PID TTY      TIME CMD
  3703 pts/0    0:00 mktextfm
  2544 pts/0    0:00 sh
 29468 pts/0    0:00 ghostvie
 29469 pts/0    0:04 gs6.01
  2537 pts/0    0:00 sh
 17171 pts/0    0:44 netscape
 17172 pts/0    0:00 netscape
  3748 pts/0    0:00 mktextfm
  3701 pts/0    0:00 sh
 14954 pts/0    0:01 tcsh
  2520 pts/0    0:01 pdfetex
  2538 pts/0    0:01 perl5.00
  3778 pts/0    0:00 mktexdir
  2545 pts/0    0:03 pdfetex
  3702 pts/0    0:00 sh
bar context2 291 % 


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

* Re: compilation is stuck!
  2000-11-03 15:58     ` Denis B. Roegel
@ 2000-11-03 16:10       ` Ed L Cashin
  2000-11-03 16:16         ` Denis B. Roegel
  2000-11-03 16:55       ` Hans Hagen
  2000-11-03 16:57       ` Hans Hagen
  2 siblings, 1 reply; 17+ messages in thread
From: Ed L Cashin @ 2000-11-03 16:10 UTC (permalink / raw)
  Cc: Hans Hagen, ntg-context, roegel

Denis B. Roegel <Denis.Roegel@loria.fr> writes:

> `Ed L Cashin' wrote
> >   
> >   Try something like this:
> >   
> >           texexec --pdf test < /dev/null
> 
> Unfortunately, it doesn't work. I have checked the log
> files to see if something unusual happens, but I couldn't find
> anything.

You seem to be using a C shell or tcshell, so your results might be
different.  I don't know much about the C shell.  

> bar context2 289 % cont-en test34a.tex 

Are you saying that if you do this:

    % bash
    $ cont-en test34a < /dev/null

... it still hangs?  You get the same results?  I'm just curious.

-- 
--Ed Cashin                     PGP public key:
  ecashin@coe.uga.edu           http://www.coe.uga.edu/~ecashin/pgp/


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

* Re: compilation is stuck!
  2000-11-03 16:10       ` Ed L Cashin
@ 2000-11-03 16:16         ` Denis B. Roegel
  0 siblings, 0 replies; 17+ messages in thread
From: Denis B. Roegel @ 2000-11-03 16:16 UTC (permalink / raw)
  Cc: Denis B. Roegel, Hans Hagen, ntg-context, roegel

`Ed L Cashin' wrote
>   
>   You seem to be using a C shell or tcshell, so your results might be
>   different.  I don't know much about the C shell.  
>   
>   > bar context2 289 % cont-en test34a.tex 
>   
>   Are you saying that if you do this:
>   
>       % bash
>       $ cont-en test34a < /dev/null
>   
>   ... it still hangs?  You get the same results?  I'm just curious.

I made the experiment on linux (I'm not sure I have bash on solaris 
here) and I get the same results.

Denis

bash$ cont-en test34a < /dev/null
This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x)
entering extended mode
(./test34a.tex{/usr/local/tex/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2000.10.22  fmt: 2000.10.26  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(/users/model/roegel/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/users/model/roegel/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/users/model/roegel/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(./cont-sys.tex)
bodyfont       : 12pt rm is loaded
language       : patterns 2-en-2 2-de-2 2-fr-2 2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
color          : rgb color space is supported
color          : cmyk color space is supported
color          : system rgb is global activated
systems        : begin file test34a at line 2
Randomizer initialized to 1212398646.
 TeXExec 2.3 - ConTeXt / PRAGMA ADE 1997-2000

       metapost to tex : test34a-mpgraph
            executable : pdfetex
                format : cont-en
             inputfile : tmpgraph
                output : dvips
             interface : en
               options : once batch nomp
          current mode : all

This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x)
entering extended mode

[1]+  Stopped                 cont-en test34a </dev/null
bash$ ps
  PID TTY          TIME CMD
11742 ttyp5    00:00:01 tcsh
17261 ttyp5    00:00:00 bash
17431 ttyp5    00:00:00 pdfetex
17435 ttyp5    00:00:00 perl
17441 ttyp5    00:00:01 pdfetex
18409 ttyp5    00:00:00 sh
18410 ttyp5    00:00:00 mktextfm
18416 ttyp5    00:00:00 mktextfm
18417 ttyp5    00:00:00 kpsewhich
18419 ttyp5    00:00:00 ps
bash$ 


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

* Re: compilation is stuck!
  2000-11-03 15:58     ` Denis B. Roegel
  2000-11-03 16:10       ` Ed L Cashin
@ 2000-11-03 16:55       ` Hans Hagen
  2000-11-03 19:27         ` Denis B. Roegel
  2000-11-03 16:57       ` Hans Hagen
  2 siblings, 1 reply; 17+ messages in thread
From: Hans Hagen @ 2000-11-03 16:55 UTC (permalink / raw)
  Cc: Ed L Cashin, Denis B. Roegel, ntg-context, roegel

At 04:58 PM 11/3/00 +0100, Denis B. Roegel wrote:

>I get hung too (I copied the test under a fresh name
>to make sure there is no memory of the past).

Can you kind of abort the job? On windows ctrl-c, then tex stops and you
can see what it is doing, in which macro is it. 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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] 17+ messages in thread

* Re: compilation is stuck!
  2000-11-03 15:58     ` Denis B. Roegel
  2000-11-03 16:10       ` Ed L Cashin
  2000-11-03 16:55       ` Hans Hagen
@ 2000-11-03 16:57       ` Hans Hagen
  2000-11-03 19:45         ` Denis B. Roegel
  2 siblings, 1 reply; 17+ messages in thread
From: Hans Hagen @ 2000-11-03 16:57 UTC (permalink / raw)
  Cc: Ed L Cashin, Hans Hagen, Denis B. Roegel, ntg-context, roegel

At 04:58 PM 11/3/00 +0100, Denis B. Roegel wrote:
>`Ed L Cashin' wrote
>>   
>>   Try something like this:
>>   
>>           texexec --pdf test < /dev/null
>
>Unfortunately, it doesn't work. I have checked the log
>files to see if something unusual happens, but I couldn't find
>anything.

You may want to turn of web2c font auto generation, when a font is not
found (you probably need [ber,pos] to get the right mapping on the font
file) tex starts looking/generating/etc. 

Hans 
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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] 17+ messages in thread

* Re: compilation is stuck!
  2000-11-03 16:55       ` Hans Hagen
@ 2000-11-03 19:27         ` Denis B. Roegel
  0 siblings, 0 replies; 17+ messages in thread
From: Denis B. Roegel @ 2000-11-03 19:27 UTC (permalink / raw)
  Cc: Denis B. Roegel, Ed L Cashin, ntg-context, roegel

`Hans Hagen' wrote
>   
>   At 04:58 PM 11/3/00 +0100, Denis B. Roegel wrote:
>   
>   >I get hung too (I copied the test under a fresh name
>   >to make sure there is no memory of the past).
>   
>   Can you kind of abort the job? On windows ctrl-c, then tex stops and you
>   can see what it is doing, in which macro is it. 

I know, but as I said in a previous mail, ctrl-c doesn't work
and with ctrl-z, you see all the things that are running.

Denis


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

* Re: compilation is stuck!
  2000-11-03 16:57       ` Hans Hagen
@ 2000-11-03 19:45         ` Denis B. Roegel
  2000-11-04 15:15           ` Hraban
  2000-11-05 20:18           ` compilation is stuck! Hans Hagen
  0 siblings, 2 replies; 17+ messages in thread
From: Denis B. Roegel @ 2000-11-03 19:45 UTC (permalink / raw)
  Cc: Denis B. Roegel, Ed L Cashin, Hans Hagen, ntg-context, roegel

`Hans Hagen' wrote
>   
>   At 04:58 PM 11/3/00 +0100, Denis B. Roegel wrote:
>   >`Ed L Cashin' wrote
>   >>   
>   >>   Try something like this:
>   >>   
>   >>           texexec --pdf test < /dev/null
>   >
>   >Unfortunately, it doesn't work. I have checked the log
>   >files to see if something unusual happens, but I couldn't find
>   >anything.
>   
>   You may want to turn of web2c font auto generation, when a font is not
>   found (you probably need [ber,pos] to get the right mapping on the font
>   file) tex starts looking/generating/etc. 

Ok, so I have added MKTEXTFM = 0 to my texmf.cnf file, and this helps.
pdftex no longer hangs, 
but (with the source code having \setupbodyfont[pos]) I get a message

---
...
This is MetaPost, Version 0.641 (Web2C 7.3.2x)

figures        : figure test34b-mpgraph can not be found
...
---

and of course, no graphics.

If I do a fresh experiment with \setupbodyfont[ber,pos] I get the
good result, even though I have MKTEXTFM = 0.
(And actually, if I do not alter MKTEXTFM, it works now too...)

Why was mktextfm called and why is `ber' needed?
(Sorry, I have not yet had the time to read the context manual...
I will, in due time, when I am done with the metafun manual :-)

Thanks!

Denis


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

* Re: compilation is stuck!
  2000-11-03 19:45         ` Denis B. Roegel
@ 2000-11-04 15:15           ` Hraban
  2000-11-05 20:52             ` Hans Hagen
  2000-11-05 20:18           ` compilation is stuck! Hans Hagen
  1 sibling, 1 reply; 17+ messages in thread
From: Hraban @ 2000-11-04 15:15 UTC (permalink / raw)


"Denis B. Roegel" wrote:
> Why was mktextfm called and why is `ber' needed?

font-ber.tex defines the Karl Berry names for some PS fonts.
Just look at the file yourself. Perhaps youmust change some
definitions or get the right fonts (and tfm) from CTAN.
That solved my fonts problems -- e.g. my teTeX distrib lacked
the *8t.* files for Palatino, that's why mktextfm was called
and failed.

Grüßlis vom Hraban!


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

* Re: compilation is stuck!
  2000-11-03 19:45         ` Denis B. Roegel
  2000-11-04 15:15           ` Hraban
@ 2000-11-05 20:18           ` Hans Hagen
  2000-11-08 12:37             ` compilation is stuck! (problems with postscript fonts on unix) Uwe Koloska
  1 sibling, 1 reply; 17+ messages in thread
From: Hans Hagen @ 2000-11-05 20:18 UTC (permalink / raw)
  Cc: ntg-context

At 08:45 PM 11/3/00 +0100, you wrote:

>Ok, so I have added MKTEXTFM = 0 to my texmf.cnf file, and this helps.

Interesting, since in texexec I set this env var to 0 but maybe not
correctly for unix. Can someone check this?

>pdftex no longer hangs, 
>but (with the source code having \setupbodyfont[pos]) I get a message

>This is MetaPost, Version 0.641 (Web2C 7.3.2x)
>
>figures        : figure test34b-mpgraph can not be found
>...
>---
>
>and of course, no graphics.

One way to trace an error is to isolate the mp code so that you have one
graphic, and then run 

texexec --mptex test34b-mpgraph.mp 

>If I do a fresh experiment with \setupbodyfont[ber,pos] I get the
>good result, even though I have MKTEXTFM = 0.
>(And actually, if I do not alter MKTEXTFM, it works now too...)
>
>Why was mktextfm called and why is `ber' needed?

in context, font names are resolved as late as possible, and ber [you can
search for a file font-ber.tex and take a look] maps the fonts to berry
names, which I suppose you use. 

>(Sorry, I have not yet had the time to read the context manual...

A quick browse may help. 

>I will, in due time, when I am done with the metafun manual :-)

Search for a file calles cont-sys.rme, rename it to cont-sys.tex and
preload the ber font file there so that you never have to say ber again. 

Hans 

-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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] 17+ messages in thread

* Re: compilation is stuck!
  2000-11-04 15:15           ` Hraban
@ 2000-11-05 20:52             ` Hans Hagen
  2000-11-06 15:47               ` Taco Hoekwater
  2000-11-07 18:54               ` Fonts (Was: compilation is stuck!) Hraban
  0 siblings, 2 replies; 17+ messages in thread
From: Hans Hagen @ 2000-11-05 20:52 UTC (permalink / raw)
  Cc: ConTeXt, taco

At 04:15 PM 11/4/00 +0100, Hraban wrote:
>"Denis B. Roegel" wrote:
>> Why was mktextfm called and why is `ber' needed?
>
>font-ber.tex defines the Karl Berry names for some PS fonts.
>Just look at the file yourself. Perhaps youmust change some
>definitions or get the right fonts (and tfm) from CTAN.
>That solved my fonts problems -- e.g. my teTeX distrib lacked
>the *8t.* files for Palatino, that's why mktextfm was called
>and failed.

Right, i still don't know what palatino names to take. Maybe taco knows the
definitive answer to that. 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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] 17+ messages in thread

* Re: compilation is stuck!
  2000-11-05 20:52             ` Hans Hagen
@ 2000-11-06 15:47               ` Taco Hoekwater
  2000-11-07 18:54               ` Fonts (Was: compilation is stuck!) Hraban
  1 sibling, 0 replies; 17+ messages in thread
From: Taco Hoekwater @ 2000-11-06 15:47 UTC (permalink / raw)


Hans Hagen wrote:
> >
> >That solved my fonts problems -- e.g. my teTeX distrib lacked
> >the *8t.* files for Palatino, that's why mktextfm was called
> >and failed.
> 
> Right, i still don't know what palatino names to take. Maybe taco knows the
> definitive answer to that.

There is no such thing as a palatino font, I'm afraid. There are a lot
of them.
The URW version of Palatino is quite different from the Adobe version
which is 
quite distinct from the Monotype one and that doesn't even count the
Corel/Bitstream 
versions. I personally prefer to use the Berry names only for Adobe PFB
fonts,
to avoid confusion on my system, but it's a matter of taste, really. 

-- 
groeten,

Taco


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

* Fonts (Was: compilation is stuck!)
  2000-11-05 20:52             ` Hans Hagen
  2000-11-06 15:47               ` Taco Hoekwater
@ 2000-11-07 18:54               ` Hraban
  1 sibling, 0 replies; 17+ messages in thread
From: Hraban @ 2000-11-07 18:54 UTC (permalink / raw)


Hans Hagen wrote:
> >That solved my fonts problems -- e.g. my teTeX distrib lacked
> >the *8t.* files for Palatino, that's why mktextfm was called
> >and failed.
> Right, i still don't know what palatino names to take. Maybe taco knows the
> definitive answer to that.

I liked to use the Adobe Palatino (also because they're built in PS
printers), 
but my try to convert the MacOS fonts to Linux/Windows pfbs failed
(wrong enc?),
so I do now use the URW Palladio -- it's free, and the quality seems ok. 

I'd suggest you set preferences to the free URW PS fonts that come also
with Ghostscript.
Ehm, if the fonts are under the GPL (and not GPLL) -- must I put all
TeX "source code" that uses them under GPL? What abaout the printed
products?

BTW:
I was surprised not to find TeX files for Berkeley (pby) on CTAN.
Seems I must make it myself. (Berkeley OS italic is my "corporate font").

---
Grüßlis vom Hraban!
---
http://angerweit.tikon.ch/lieder/
http://www.planet-interkom.de/fiee.visuelle/formelsammlung.html


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

* Re: compilation is stuck! (problems with postscript fonts on unix)
  2000-11-05 20:18           ` compilation is stuck! Hans Hagen
@ 2000-11-08 12:37             ` Uwe Koloska
  0 siblings, 0 replies; 17+ messages in thread
From: Uwe Koloska @ 2000-11-08 12:37 UTC (permalink / raw)


You wrote on Son, 05 Nov 2000:
>At 08:45 PM 11/3/00 +0100, you wrote:
>
>>Ok, so I have added MKTEXTFM = 0 to my texmf.cnf file, and this helps.
>
>Interesting, since in texexec I set this env var to 0 but maybe not
>correctly for unix. Can someone check this?

I have downloaded the context beta yesterday with texexec 2.3 (BTW: in the
modul header there is version=2000.03.25) and there is no MKTEXTFM in it. 
But I am no perl expert so if it is set in a file sourced by texexec ...

>in context, font names are resolved as late as possible, and ber [you can
>search for a file font-ber.tex and take a look] maps the fonts to berry
>names, which I suppose you use. 
>

Why do you use the URW name for palatino?  AFAIK the URW font is an exact
replacement for the adobe one (in terms of metrics) and so teTeX uses the
adobe names for the standard 35 postscript fonts and only substitutes the
pfb-files.

So with my (regarding to fonts) non modified teTeX beta the adobe names
has to be used for the standard 35 postscript fonts:

\definefontsynonym [Palatino-Roman]             [pplr8t]  [encoding=ec]
\definefontsynonym [Palatino-Italic]            [pplri8t] [encoding=ec]
\definefontsynonym [Palatino-Slanted]           [pplro8t] [encoding=ec]
\definefontsynonym [Palatino-Bold]              [pplb8t]  [encoding=ec]
\definefontsynonym [Palatino-BoldItalic]        [pplbi8t] [encoding=ec]
\definefontsynonym [Palatino-BoldSlanted]       [pplbo8t] [encoding=ec]

Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


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

end of thread, other threads:[~2000-11-08 12:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-02 12:15 compilation is stuck! Denis B. Roegel
2000-11-02 12:28 ` Hans Hagen
2000-11-03 15:31   ` Denis B. Roegel
2000-11-03 15:49   ` Ed L Cashin
2000-11-03 15:58     ` Denis B. Roegel
2000-11-03 16:10       ` Ed L Cashin
2000-11-03 16:16         ` Denis B. Roegel
2000-11-03 16:55       ` Hans Hagen
2000-11-03 19:27         ` Denis B. Roegel
2000-11-03 16:57       ` Hans Hagen
2000-11-03 19:45         ` Denis B. Roegel
2000-11-04 15:15           ` Hraban
2000-11-05 20:52             ` Hans Hagen
2000-11-06 15:47               ` Taco Hoekwater
2000-11-07 18:54               ` Fonts (Was: compilation is stuck!) Hraban
2000-11-05 20:18           ` compilation is stuck! Hans Hagen
2000-11-08 12:37             ` compilation is stuck! (problems with postscript fonts on unix) Uwe Koloska

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