ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Re: How to use PostScript font
@ 2004-08-20 13:41 skhilji
  2004-08-20 13:54 ` Patrick Gundlach
  0 siblings, 1 reply; 13+ messages in thread
From: skhilji @ 2004-08-20 13:41 UTC (permalink / raw)


----- Original Message -----
From: Patrick Gundlach <patrick@gundla.ch>
Date: Thursday, August 19, 2004 6:01 pm
Subject: [NTG-context] Re: How to use PostScript font

> 
> Please post an error message on the things that we have written. (But
> I doubt you will get any.)
> 


The following works at live.contextgarden.net, but not on my Fedora Core 2 installation.


\usetypescript[adobekb][ec]
\setupbodyfont[ppl,11pt]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext


Please advise on how to fix this issue.



[khilji@localhost PalatinoTest]$ texexec --pdf test
 
 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002
 
            executable : pdfetex
                format : cont-en
             inputfile : test
                output : pdftex
             interface : en
          current mode : none
               TeX run : 1
 
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
 
ConTeXt  ver: 2003.1.31  fmt: 2004.5.28  int: english  mes: english
 
language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system         : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
system         : test.top loaded
(./test.top
specials       : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex <unprotect 3> <unprotect 4>
system (E-TEX) : [line 1815] \ifcsname
<unprotect 5> <protect 5> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
typescript     : [adobekb] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-pre.tex
typescript     : [serif] [palatino] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript     : [serif] [default] [size]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript     : [map] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex
pdftex         : needs map file: original-ams-cmr.map
pdftex         : needs map file: original-ams-euler.map
pdftex         : needs map file: ec-adobe-utopia.map
pdftex         : needs map file: ec-bit-charter.map
pdftex         : needs map file: ec-public-antp.map
pdftex         : needs map file: ec-public-antt.map
pdftex         : needs map file: ec-urw-bookman.map
pdftex         : needs map file: ec-urw-courier.map
pdftex         : needs map file: ec-urw-helvetica.map
pdftex         : needs map file: ec-urw-palatino.map
pdftex         : needs map file: ec-urw-times.map
pdftex         : needs map file: ec-urw-zapfchan.map
pdftex         : needs map file: original-youngryu-px.map
pdftex         : needs map file: original-youngryu-tx.map
pdftex         : needs map file: ec-bh-lucida.map
) (/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running mktextfm ec-uplr8a
/usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation c- for ec-uplr8a.
/usr/share/texmf/web2c/mktexnam: Need to update /usr/share/texmf/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ec-uplr8a
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
 
kpathsea: Running mktexmf ec-uplr8a
! I can't find file `ec-uplr8a'.
<*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a
                                                   
Please type another input file name
! Emergency stop.
<*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a
                                                   
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ec-uplr8a' failed.
kpathsea: Appending font creation commands to missfont.log.
 
! Font \*11ptrmtf*=ec-uplr8a at 11.0pt not loadable: Metric (TFM) file not foun
d.
<to be read again>
                   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                  \let \localrelativefontsiz...
 
\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
                                                  \tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
                                                  \fi \iftryingfont \fontstr...
 
\synchronizefont ...strategy \the \fontstrategies
                                                  \relax \fi \ifskipfontchar...
<argument> \getvalue {\@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle }\if...
...
l.2 \setupbodyfont[ppl,11pt]
                             
?

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

* Re: How to use PostScript font
  2004-08-20 13:41 Re: How to use PostScript font skhilji
@ 2004-08-20 13:54 ` Patrick Gundlach
  2004-08-20 15:04   ` Hans Hagen
  0 siblings, 1 reply; 13+ messages in thread
From: Patrick Gundlach @ 2004-08-20 13:54 UTC (permalink / raw)



[...]

> The following works at live.contextgarden.net, but not on my Fedora
> Core 2 installation.

Oh damned. The adobekb file does not exist on your system and ConTeXt
doesn't feel like giving an error message :-(

install http://levana.de/context/font/adobekb.tex  into your
homedir/TeX system.


Patrick
-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net

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

* Re: Re: How to use PostScript font
  2004-08-20 13:54 ` Patrick Gundlach
@ 2004-08-20 15:04   ` Hans Hagen
  2004-08-20 16:11     ` Patrick Gundlach
  0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2004-08-20 15:04 UTC (permalink / raw)


Patrick Gundlach wrote:

>[...]
>
>  
>
>>The following works at live.contextgarden.net, but not on my Fedora
>>Core 2 installation.
>>    
>>
>
>Oh damned. The adobekb file does not exist on your system and ConTeXt
>doesn't feel like giving an error message :-(
>
>install http://levana.de/context/font/adobekb.tex  into your
>homedir/TeX system.
>  
>

but type-akb.tex should be there ...

\usetypescriptfile[type-akb]

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

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

* Re: How to use PostScript font
  2004-08-20 15:04   ` Hans Hagen
@ 2004-08-20 16:11     ` Patrick Gundlach
  2004-08-20 16:27       ` Hans Hagen
  0 siblings, 1 reply; 13+ messages in thread
From: Patrick Gundlach @ 2004-08-20 16:11 UTC (permalink / raw)


Hello Hans,

[...]

> but type-akb.tex should be there ...
>
> \usetypescriptfile[type-akb]

Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file?
I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex
didn't get loaded with fedora linux that the person (whatever his
name is) used so it is either not available or one has to use the
right magic to load.

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net

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

* Re: Re: How to use PostScript font
  2004-08-20 16:11     ` Patrick Gundlach
@ 2004-08-20 16:27       ` Hans Hagen
  2004-08-20 16:40         ` Patrick Gundlach
  0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2004-08-20 16:27 UTC (permalink / raw)


Patrick Gundlach wrote:

>Hello Hans,
>
>[...]
>
>  
>
>>but type-akb.tex should be there ...
>>
>>\usetypescriptfile[type-akb]
>>    
>>
>
>Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file?
>I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex
>didn't get loaded with fedora linux that the person (whatever his
>name is) used so it is either not available or one has to use the
>right magic to load.
>  
>
just to make sure: type-akb is on your system isn't it? (or did i mess up the distribution ?) 

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

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

* Re: How to use PostScript font
  2004-08-20 16:27       ` Hans Hagen
@ 2004-08-20 16:40         ` Patrick Gundlach
  2004-08-22  5:39           ` Salman Khilji
  0 siblings, 1 reply; 13+ messages in thread
From: Patrick Gundlach @ 2004-08-20 16:40 UTC (permalink / raw)


Hello Hans,

>Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file?
>>I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex
>>didn't get loaded with fedora linux that the person (whatever his
>>name is) used so it is either not available or one has to use the
>>right magic to load.
>>  
> just to make sure: type-akb is on your system isn't it? (or did i mess
> up the distribution ?) Hans

Sure! We have a problem with something archaeological:

ConTeXt  ver: 2003.1.31  fmt: 2004.5.28  int: english  mes: english

So "skhilji@tampabay.rr.com" should report again.

P.
-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net

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

* Re: Re: How to use PostScript font
  2004-08-20 16:40         ` Patrick Gundlach
@ 2004-08-22  5:39           ` Salman Khilji
  2004-08-22  6:28             ` Salman Khilji
  0 siblings, 1 reply; 13+ messages in thread
From: Salman Khilji @ 2004-08-22  5:39 UTC (permalink / raw)


On Friday 20 August 2004 09:40 am, Patrick Gundlach wrote:

>
> So "skhilji@tampabay.rr.com" should report again.
>


Still no luck!!! :-(

Okay, so I got really upset with teTeX so I decided to get rid of it.  Earlier 
I said that I was using Fedora Core 2.  Now I am sitting on a SuSE 8.0 Pro 
machine.  I did the following:

1)  Uninstalled whatever TeX came with SuSE
2)  Downloaded and installed from texlive2003-inst-20030928.iso
3)  I chose not to install latex.  Just context and pdftex alongwith whatever 
texlive said about anything being "essential files"
4)  Next I wiped off whatever ConTeXt came with texlive and followed 
instructions on this page:

http://home.salamander.com/~wmcclain/context-help.html

to install the latest ConTeXt from pragma website.

5) Then I found that adobekb.tex was still NOT installed on my system---yes 
the latest ConTeXt from pragma-ade still does not have adobekb.tex.  But as 
Hans suggested, I do have the file type-akb.tex.  As Patrick suggested, I 
downloaded and installed adobekb.tex in the TeX tree.

6)  So after all this, I try both type-akb and adobekb and the palatino font 
still refuses to cooperate.

Here are the errors that I am getting:

With this:

\usetypescript[berry][ec] % or [8r]
\usetypescript[palatino][ec] %
\setupbodyfont[palatino]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext

gives me the following:

salman@linux:~/Softdev> texexec --pdf paltest

 TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003

            executable : pdfetex
                format : cont-en
             inputfile : paltest
                output : pdftex
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 \write18 enabled.
 %&-line parsing enabled.
 (/usr/TeX/texmf/web2c/natural.tcx)
entering extended mode
(./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.8.15  fmt: 2004.8.21  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
color          : palette rollover is available
system (E-TEX) : [line 567]
system (E-TEX) : [line 622]
)
system         : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(/usr/TeX/texmf/tex/context/user/cont-sys.tex)
bodyfont       : 12pt rm is loaded
kpathsea: Running mktextfm msam7
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input msam7
This is METAFONT, Version 2.71828 (Web2C 7.5.2)
(/usr/TeX/texmf/web2c/cp8bit.tcx)

kpathsea: Running mktexmf msam7
! I can't find file `msam7'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input msam7

Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input msam7

Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
msam7' failed.
kpathsea: Appending font creation commands to missfont.log.
! Font \*7ptmmma*=msam7 at 7.0pt not loadable: Metric (TFM) file not found.
<to be read again>
                   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                  \let 
\localrelativefontsiz...

\dodosetmathfamilyA ...amily \fontsize \endcsname
                                                  \else \ifcsname \fontbody 
...

\dosetmathfamily ...athfamily \scriptscriptfont #1
                                                  \let \fontbody 
#3\dodosetm...
<inserted text> ...\scriptscriptface \c!ma \empty
                                                  \dosetmathfamily \mbfam 
\t...

\synchronizemath ...athfonts \the \mathstrategies
                                                  \fam \mrfam \fi
...
l.1
    \usetypescript[berry][ec] % or [8r]
?







And this:

\usetypescript[type-akb][ec] %or whatever your encoding is
\setupbodyfont[pos]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext


gives me the following:

salman@linux:~/Softdev> texexec --pdf paltest

 TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003

            executable : pdfetex
                format : cont-en
             inputfile : paltest
                output : pdftex
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 \write18 enabled.
 %&-line parsing enabled.
 (/usr/TeX/texmf/web2c/natural.tcx)
entering extended mode
(./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.8.15  fmt: 2004.8.21  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
color          : palette rollover is available
system (E-TEX) : [line 567]
system (E-TEX) : [line 622]
)
system         : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(/usr/TeX/texmf/tex/context/user/cont-sys.tex)
bodyfont       : 12pt rm is loaded
kpathsea: Running mktextfm msam7
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input msam7
This is METAFONT, Version 2.71828 (Web2C 7.5.2)
(/usr/TeX/texmf/web2c/cp8bit.tcx)

kpathsea: Running mktexmf msam7
! I can't find file `msam7'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input msam7

Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input msam7

Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
msam7' failed.
kpathsea: Appending font creation commands to missfont.log.
! Font \*7ptmmma*=msam7 at 7.0pt not loadable: Metric (TFM) file not found.
<to be read again>
                   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                  \let 
\localrelativefontsiz...

\dodosetmathfamilyA ...amily \fontsize \endcsname
                                                  \else \ifcsname \fontbody 
...

\dosetmathfamily ...athfamily \scriptscriptfont #1
                                                  \let \fontbody 
#3\dodosetm...
<inserted text> ...\scriptscriptface \c!ma \empty
                                                  \dosetmathfamily \mbfam 
\t...

\synchronizemath ...athfonts \the \mathstrategies
                                                  \fam \mrfam \fi
...
l.1
    \usetypescript[type-akb][ec] %or whatever your encoding is
?

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

* Re: Re: How to use PostScript font
  2004-08-22  6:28             ` Salman Khilji
@ 2004-08-22  6:23               ` Larry Stamm
  2004-08-22 18:11                 ` Patrick Gundlach
  2004-08-22  8:19               ` Re: How to use PostScript font (SOLVED) Salman Khilji
  2004-08-22 23:12               ` Re: How to use PostScript font Hans Hagen Outside
  2 siblings, 1 reply; 13+ messages in thread
From: Larry Stamm @ 2004-08-22  6:23 UTC (permalink / raw)


 Salman Khilji <skhilji@tampabay.rr.com> writes:

    > I found out that while trying to install the latest ConTeXt over
    > whatever came with texlive2003-inst-20030928.iso, I screwed up
    > somewhere and ConTeXt would not even generate me a pdf file with
    > cmr fonts.

    > So here is what I did.

    > 1) I deleted everything about TeX from my system 2) Installed
    > TeXLive from the iso with default options.  I did not change
    > anything.  Just accepted the defaults.  3) I did not install the
    > latest ConTeXt.  I think I will be fine with whatever comes with
    > TeXLive as of Sept, 2003.  4) Now I can generate a hello world pdf
    > file with cmr fonts just fine.  5) Yes, I do have the type-akb.tex
    > on my system.  6) On the following:

    > \usetypescriptfile[type-akb]
    > \usetypescript[palatino][\defaultencoding]
    > \setupbodyfont[palatino,12pt] \starttext The quick brown fox jumps
    > over the lazy dog.  \stoptext


    > I get the following errors:

    <big snip of log messages>

Here is the essence of your problem:
 
    > kpathsea: Running mktexmf ec-uplr8a ! I can't find file
    > `ec-uplr8a'.  <*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a

You don't have the proper font files in place to use the postscript
typescripts as they come in the default ConText.  For what it is worth,
neither did the Slackware 9.1 distribution that I have.

If you have the locate command installed (and the the locate database is
uptodate), run the following commands to see just what font files are on
your system:

locate uplr | grep .tfm
locate uplr | grep .pfb
locate uplr | grep .afm

If you don't have locate, use the find command to see which palatino
font files you have and where they are located. Post the results back
here. 

Also post the results of:

grep uplr /path/to/pdftex.cfg
grep pplr /path/to/pdftex.cfg

On my system the uplr8a files are mapped to the pplr8a names in
pdftex.cfg, but there are no pplr.pfb files. I ended up writing my own
typescript files before I got the URW palatino fonts to work in ConTeXt.
Bill McClain's website was a big help in this.


-- 
Larry Stamm
http://www.larrystamm.com

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

* Re: Re: How to use PostScript font
  2004-08-22  5:39           ` Salman Khilji
@ 2004-08-22  6:28             ` Salman Khilji
  2004-08-22  6:23               ` Larry Stamm
                                 ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Salman Khilji @ 2004-08-22  6:28 UTC (permalink / raw)


I found out that while trying to install the latest ConTeXt over whatever came 
with texlive2003-inst-20030928.iso, I screwed up somewhere and ConTeXt would 
not even generate me a pdf file with cmr fonts.

So here is what I did.

1) I deleted everything about TeX from my system
2) Installed TeXLive from the iso with default options.  I did not change 
anything.  Just accepted the defaults.
3) I did not install the latest ConTeXt.  I think I will be fine with whatever 
comes with TeXLive as of Sept, 2003.
4) Now I can generate a hello world pdf file with cmr fonts just fine.
5) Yes, I do have the type-akb.tex on my system.
6) On the following:

\usetypescriptfile[type-akb]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext


I get the following errors:

salman@linux:~/Softdev> texexec --pdf paltest

 TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003

            executable : pdfetex
                format : cont-en
             inputfile : paltest
                output : pdftex
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 %&-line parsing enabled.
 (/usr/TeX/texmf/web2c/cp8bit.tcx)
entering extended mode
(./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.9.25  fmt: 2004.8.21  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 
7:2-it-2
 8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
system         : paltest.top loaded
(./paltest.top
specials       : loading definition file tpd
(/usr/TeX/texmf/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/usr/TeX/texmf/tex/context/base/spec-fdf.tex <unprotect 3> <unprotect 4>
system (E-TEX) : [line 1907] \ifcsname
<protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
fonts          : [palatino] [ec] []
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex
fonts          : [palatino] [rm] [serif] [palatino]
fonts          : [map] [ec] []
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex
pdftex         : needs map file: original-ams-cmr.map
pdftex         : needs map file: original-ams-euler.map
pdftex         : needs map file: ec-adobe-utopia.map
pdftex         : needs map file: ec-bit-charter.map
pdftex         : needs map file: ec-public-antp.map
pdftex         : needs map file: ec-public-antt.map
pdftex         : needs map file: ec-urw-bookman.map
pdftex         : needs map file: ec-urw-courier.map
pdftex         : needs map file: ec-urw-helvetica.map
pdftex         : needs map file: ec-urw-palatino.map
pdftex         : needs map file: ec-urw-times.map
pdftex         : needs map file: ec-urw-zapfchan.map
pdftex         : needs map file: original-youngryu-px.map
pdftex         : needs map file: original-youngryu-tx.map
pdftex         : needs map file: ec-bh-lucida.map
pdftex         : needs map file: fourier.map
pdftex         : needs map file: fourier-utopia-expert.map
) (/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts          : [serif] [palatino] [name,default,ec,special]
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts          : [serif] [default] [size]
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts          : [palatino] [mm] [math] [palatino]
fonts          : [map] [default] []
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex
pdftex         : needs map file: original-micropress-informal.map
) (/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts          : [math] [palatino] [name,default,default,special]
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts          : [math] [default] [size]
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts          : [palatino] [tt] [mono] [computer-modern]
fonts          : [map] [ec] []
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts          : [mono] [computer-modern] [name,default,ec,special]
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts          : [mono] [default] [size]
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex))
(/usr/TeX/texmf/tex/context/base/type-akb.tex)kpathsea: Running mktextfm 
ec-uplr8a
/usr/TeX/texmf/web2c/mktexnam: Could not map typeface abbreviation c- for 
ec-uplr8a.
/usr/TeX/texmf/web2c/mktexnam: Need to update 
/usr/TeX/texmf/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input ec-uplr8a
This is METAFONT, Version 2.71828 (Web2C 7.5.2)
(/usr/TeX/texmf/web2c/cp8bit.tcx)

kpathsea: Running mktexmf ec-uplr8a
! I can't find file `ec-uplr8a'.
<*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a

Please type another input file name
! Emergency stop.
<*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a

Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
ec-uplr8a' failed.
kpathsea: Appending font creation commands to missfont.log.

! Font \*palatino12ptrmtf*:=ec-uplr8a at 12.0pt not loadable: Metric (TFM) 
file
 not found.
<to be read again>
                   \let
\xxdododefinefont ... {#4}\newfontidentifier \let
                                                  \localrelativefontsize 
\de...

\fontstrategy ...me \fontclass #2#3#4#5\endcsname
                                                  \tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
                                                  \fi \iftryingfont 
\fontstr...

\synchronizefont ...strategy \the \fontstrategies
                                                  \relax \fi \iftryingfont 
\...
<argument> \getvalue {\@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle 
}\if...
...
l.3 \setupbodyfont[palatino,12pt]

?

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

* Re: Re: How to use PostScript font (SOLVED)
  2004-08-22  6:28             ` Salman Khilji
  2004-08-22  6:23               ` Larry Stamm
@ 2004-08-22  8:19               ` Salman Khilji
  2004-08-22 18:09                 ` Patrick Gundlach
  2004-08-22 23:12               ` Re: How to use PostScript font Hans Hagen Outside
  2 siblings, 1 reply; 13+ messages in thread
From: Salman Khilji @ 2004-08-22  8:19 UTC (permalink / raw)


Okay.  Problem solved.  The thing is that I did not ask the texlive 
distribution to install the extra fonts package.  The palatino fonts were 
part of the extra fonts. 

Now I have another question.  It seems like \setupbodyfont[palatino] produces 
different results than \setupbodyfont[ppl].
The former tries to use palatino in all the variations in the following 
example.  The palatino fonts seems to be missing the serif variant, so the 
\ss and the normal lines look the same---i.e ConTeXt decided to use the same 
roman variant for both the \rm and the \ss line.  Even the equation uses some 
sort of postscript font that I am not familiar with.

The latter---\setupbodyfont[ppl]---is not very forceful---it uses palatino in 
the \rm, \em, and \sl lines.  Everywhere else the CMR font is used.

What causes this behavior?


\usetypescript[berry][ec] % or [8r]
\usetypescript[palatino][ec] %
\setupbodyfont[palatino]
%\setupbodyfont[ppl]

\starttext

{\rm The quick brown fox jumps over the lazy dog. 1234567890}

{\em The quick brown fox jumps over the lazy dog. 1234567890}

{\sl The quick brown fox jumps over the lazy dog. 1234567890}

{\ss The quick brown fox jumps over the lazy dog. 1234567890}

{\bf The quick brown fox jumps over the lazy dog. 1234567890}

{\tt The quick brown fox jumps over the lazy dog. 1234567890}

$$1+\sqrt{x^2}+\sum dx$$

\stoptext

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

* Re: How to use PostScript font (SOLVED)
  2004-08-22  8:19               ` Re: How to use PostScript font (SOLVED) Salman Khilji
@ 2004-08-22 18:09                 ` Patrick Gundlach
  0 siblings, 0 replies; 13+ messages in thread
From: Patrick Gundlach @ 2004-08-22 18:09 UTC (permalink / raw)


Hello,

> Okay.  Problem solved.  The thing is that I did not ask the texlive 
> distribution to install the extra fonts package.  The palatino fonts were 
> part of the extra fonts. 

Right, I did aks you if you have psnfss installed? Hmm, perhaps I
forgot, because I think that everybody has it installed...

> The former tries to use palatino in all the variations in the following 
> example.  The palatino fonts seems to be missing the serif variant, 

I guess you mean sans serif? Yes, there is no such thing as Palatino
sans serif.

> Even the equation uses some sort of postscript font that I am not
> familiar with.

px I'd guess.

> the \rm, \em, and \sl lines.  Everywhere else the CMR font is used.

Well, not really cmr, but cmss, cmtt and math.

> What causes this behavior?

see type-pre.tex type-exa.tex and type-enc.tex for definitions on
those typescripts. They are just different typescripts.

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net

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

* Re: How to use PostScript font
  2004-08-22  6:23               ` Larry Stamm
@ 2004-08-22 18:11                 ` Patrick Gundlach
  0 siblings, 0 replies; 13+ messages in thread
From: Patrick Gundlach @ 2004-08-22 18:11 UTC (permalink / raw)


Hi,

> Here is the essence of your problem:
>  
>     > kpathsea: Running mktexmf ec-uplr8a ! I can't find file
>     > `ec-uplr8a'.  <*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a
>
> You don't have the proper font files in place to use the postscript
> typescripts as they come in the default ConText.  For what it is worth,
> neither did the Slackware 9.1 distribution that I have.


If this is a recent TeX, then it has all necessary files for using
postscript fonts out of the box. Just install psnfss and use the
magic I have written elsewhere in this thread.

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net

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

* Re: Re: How to use PostScript font
  2004-08-22  6:28             ` Salman Khilji
  2004-08-22  6:23               ` Larry Stamm
  2004-08-22  8:19               ` Re: How to use PostScript font (SOLVED) Salman Khilji
@ 2004-08-22 23:12               ` Hans Hagen Outside
  2 siblings, 0 replies; 13+ messages in thread
From: Hans Hagen Outside @ 2004-08-22 23:12 UTC (permalink / raw)


Salman Khilji wrote:

>I found out that while trying to install the latest ConTeXt over whatever came 
>with texlive2003-inst-20030928.iso, I screwed up somewhere and ConTeXt would 
>not even generate me a pdf file with cmr fonts.
>
>So here is what I did.
>
>1) I deleted everything about TeX from my system
>2) Installed TeXLive from the iso with default options.  I did not change 
>anything.  Just accepted the defaults.
>3) I did not install the latest ConTeXt.  I think I will be fine with whatever 
>comes with TeXLive as of Sept, 2003.
>4) Now I can generate a hello world pdf file with cmr fonts just fine.
>  
>
an alternative is: 

mkdir /usr/local/mytex 
cd /usr/local/mytex 
wget http://www.pragma-ade.com/contextt/linuxtex.zip.bz2 
bunzip2 linuxtex.zip.bz2
unzip linuxtex 
chmod -R 755 
. setuptex /usr/local/mytex
mktexlsr 
texexec --make --alone --all

every time after that 

. /usr/local/setuptex /usr/local/setuptex 

should give you a minimal context tree (i develop on a windows machine, so that is the tree we use on the linux application servers) 

(take a look at cont-sys.tex to see how we set up our context) 

(there is also mswintex.zip.bz2 and macosxtex.zip.bz2) 

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

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

end of thread, other threads:[~2004-08-22 23:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-20 13:41 Re: How to use PostScript font skhilji
2004-08-20 13:54 ` Patrick Gundlach
2004-08-20 15:04   ` Hans Hagen
2004-08-20 16:11     ` Patrick Gundlach
2004-08-20 16:27       ` Hans Hagen
2004-08-20 16:40         ` Patrick Gundlach
2004-08-22  5:39           ` Salman Khilji
2004-08-22  6:28             ` Salman Khilji
2004-08-22  6:23               ` Larry Stamm
2004-08-22 18:11                 ` Patrick Gundlach
2004-08-22  8:19               ` Re: How to use PostScript font (SOLVED) Salman Khilji
2004-08-22 18:09                 ` Patrick Gundlach
2004-08-22 23:12               ` Re: How to use PostScript font Hans Hagen Outside

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