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

* Re: How to use PostScript font
  2004-08-24  9:56                 ` Siep Kroonenberg
@ 2004-08-24 10:09                   ` Patrick Gundlach
  0 siblings, 0 replies; 29+ messages in thread
From: Patrick Gundlach @ 2004-08-24 10:09 UTC (permalink / raw)


Hello Siep,

[...]

Only commenting on this one:

> As to texnansi: this is supported in Latex by texnansi.sty. For
> Western European languages, it seems to cover pretty much
> everything, so there is no need for text companion fonts or virtual
> fonts. Basic support (without artificial smallcaps) for a font
> family with non-virtual texnansi fonts consists of just four tfms, a
> mapfile fragment and, for Latex, an fd file.


texnansi does not work with german.sty which I'd say is necessary for
german texts. T1 and OT1 is hardcoded. I don't know about babel.

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

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

* Re: How to use PostScript font
  2004-08-20 15:52           ` Hans Hagen
@ 2004-08-21  8:48             ` Patrick Gundlach
  2004-08-22 23:26               ` Hans Hagen Outside
  0 siblings, 1 reply; 29+ messages in thread
From: Patrick Gundlach @ 2004-08-21  8:48 UTC (permalink / raw)


Hi Hans,

[psnfss fonts]

> sure, and anyone is free to use what he/she wants; but ... my main
> problem is that i want to *know* what i use; 

That is exactly why I use the psnfss fonts. They are stable, the
spacing doesn't change.

> (afm2pl now has a afm2tfm compatibility switch); there have been
> many discussions on how well for instance adobe metrics (the
> standard 35, present in printers, but they may differ over time and
> per platform) match urw's (on tex live, used when embedded) [nelson
> beebe has done quite some research on that].

Yes, but what was the conclusion? As far as I can see the metrics
only changed in terms of the character bounding box. But these are
not considered for the advance width. So the change in metrics is
irrelevant for typesetting with TeX.

> One problem with all those fonts is that they have characteristics
> that are not reflected in the filename (take for instance the
> slant), emwidth, spacing, etc. 

Yes, but what is the problem? We are not talking about "other fonts",
just the ones preinstalled by psnfss. We know ervery bit of those
fonts, so no need to reflect the spacing etc. in the filename, since
e.g. phvr8t will always have the same characteristics thougout all
distributions. 

> say that i want to mix polish and german (using qx and ec encoding) in
> one doc, i want similar spacing etc, don't i?

Right, but qx isn't supplied by psnfss anyway, is it? So you'd have
to make your own font; but I still can't see the drawback in using
those fonts for 99% of [texts covered by ec encoding]. I can agree on
"don't mix fontinst installed fonts with afm2... installed fonts when
you need same em width (and alike)." But for most texts I bet that
this is not an issue.

> concerning the akb file, that's more related to wanting to use adobe
> related metrics

Absolutely. The choose the adobe metrics from psnfss, but as I am
told the URW metrics have somewhat questionable kerning data. And
using URW metrics with Adobe fonts will break on glyphs that are in
URW but not Adobe.

> all engines, and until now could distinguish on suffix (fmt,efmt,ofmt)
> but web2c/tds now uses one suffix (fmt) and $engine subpath; but not
> all distributions will follow that spec, so context users who use
> pdfetex alongside aleph are worse off (well, texexec can be configured
> to use the web2c/$engine subpath: --engine of in texexec.ini)


I should make a macro in my Mailreader for default answer for those
questions and put it on a easy to remember key :-)

> actually, the nice thing about afm2pl is that it creates texnansi
> metric files avoiding virtual fonts. 

That is really good. Let me see what I can do with respect to
psnfss/texnansi...

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

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

* Re: How to use PostScript font
  2004-08-20  7:55       ` Hans Hagen
@ 2004-08-20 14:09         ` Patrick Gundlach
  2004-08-20 15:52           ` Hans Hagen
  0 siblings, 1 reply; 29+ messages in thread
From: Patrick Gundlach @ 2004-08-20 14:09 UTC (permalink / raw)


Hello Hans,

>>And the argument about being too LaTeXy: the encoding of these files
>>is not LaTeX specific (besides from the fact that LaTeX can only
>>handle T1/OT1 encoding right), so what is not generic about them?
>>  
> if you run afm2tfm on some files you get different results that the
> handcrafted' ones that come with distributions; (afm2pl for instance
> defaults to different metrics [esp spacing] than afm2tfm); many of
> these things are not really documented and done by people who use
> latex and know about latex internals (for instance how they deal with
> spacing); concerning generic ... 

Yes, but you stated that "different metrics, different subpaths, urw
instances either or not present". Different metrics? I can't see any
differences in metrics between differnent distributions on those
fonts! Can you? They come from one source, i.e psnfss. Different
subpaths? Perhaps, but what is the problem? Kpathsea is taking care of
this. URW or not to URW? Good question, lets get started on this
subject :-)) If we accept that there is such thing as "psnfss", which
is preinstalled on almost all TeX systems out there, we can let the
user decide: use "psnfss-metrics" or the ones generated by $TOOL. And
I can't see any problems with the spacing with those fonts being too
LaTeX related. We should be happy about those fonts, since we get
good fonts (in terms of encodings/spacing/finetuning) for free from
the LaTeX side.

You are right that there are many other things being to LaTeX related.
The situation is getting much better. A few years ago the distributions
only knew about LaTeX. I had major problems with old tetex (memory
problems for example), now most things work out of the box. 


[...]

> latex commands in entries) concerning fonts: if you want texnansi
> encoding, there are in most cases no tfm files etc. They are
> mentioned here and there, but often not on the system. It took me a
> while to find out that -because of that- i could not use precoockes
> metrics at all -)

Who needs texnansi anyway? (OK, perhaps there are few who really need
texnansi :-), but we might aks Mr. psnfss to generate texnansi metrics as
well). 

[...]

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

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

* Re: How to use PostScript font
  2004-08-20  0:06   ` Nigel King
@ 2004-08-20  0:42     ` Steve Peter
  0 siblings, 0 replies; 29+ messages in thread
From: Steve Peter @ 2004-08-20  0:42 UTC (permalink / raw)



On Aug 19, 2004, at 8:06 PM, Nigel King wrote:

> Very quietly shhh - I just wish some one would make TeXFont work in 
> Mac OSX from GW.

What about it doesn't work? I use it to install fonts into my gwTeX 
layout on Mac OS X.

Steve

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

* Re: How to use PostScript font
  2004-08-19 13:40 ` Mari Voipio
@ 2004-08-20  0:06   ` Nigel King
  2004-08-20  0:42     ` Steve Peter
  0 siblings, 1 reply; 29+ messages in thread
From: Nigel King @ 2004-08-20  0:06 UTC (permalink / raw)


Very quietly shhh - I just wish some one would make TeXFont work in Mac 
OSX from GW.

Nigel
On 19 Aug 2004, at 14:40, Mari Voipio wrote:

> (I just wish
> somebody made TeXFont work in Windows...).

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

* Re: How to use PostScript font
  2004-08-18 19:16 skhilji
                   ` (2 preceding siblings ...)
  2004-08-18 21:16 ` Matt Gushee
@ 2004-08-19 22:01 ` Patrick Gundlach
  3 siblings, 0 replies; 29+ messages in thread
From: Patrick Gundlach @ 2004-08-19 22:01 UTC (permalink / raw)



[...]

> I get errors. I am using Fedora Core 2 with teTex 2.02. 

the ConTeXt in tetex 2.02 should be new enough to handle what Mari
and I have pointed out.

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

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

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

* Re: How to use PostScript font
  2004-08-19  8:07   ` Hans Hagen
@ 2004-08-19 21:58     ` Patrick Gundlach
  2004-08-20  7:55       ` Hans Hagen
  0 siblings, 1 reply; 29+ messages in thread
From: Patrick Gundlach @ 2004-08-19 21:58 UTC (permalink / raw)


Hello Hans,

[.. psnfss fonts ..]

> Concerning those fonts, there are differences between distributions:
> different metrics, different subpaths, urw instances either or not
> present; i got the feeling that sometimes fixes/changes take place
> when a font contributer finds out that his/her system does not work
> thereby breaking other things); unfortunately much of those pieces of
> distributions are dictated by what latex wants to see instead of being
> generic

Well, we are talking about the fonts required by the psnfss (latex)
system. Those should be all the same for all systems. The files typset
should be completely portable. Maybe the outcome doesn't look right,
but I doubt it will. I'd like to hear about any problems with psnfss
not being compatible among distributions. 

And the argument about being too LaTeXy: the encoding of these files
is not LaTeX specific (besides from the fact that LaTeX can only
handle T1/OT1 encoding right), so what is not generic about them?

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

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

* Re: How to use PostScript font
  2004-08-19 13:02 skhilji
@ 2004-08-19 13:40 ` Mari Voipio
  2004-08-20  0:06   ` Nigel King
  0 siblings, 1 reply; 29+ messages in thread
From: Mari Voipio @ 2004-08-19 13:40 UTC (permalink / raw)


On Thu, 19 Aug 2004 skhilji@tampabay.rr.com wrote:

> None of the commands that I was told worked.  I donT think its my
> installation.  To my surprise, the following does not work at
> live.contextgarden.net.  If you see the log file, it says that the TFM
> file not found.

You just missed one critical row that makes things work both in
live.contextgarden.net and at least in my own installation (I just wish
somebody made TeXFont work in Windows...). Patrick mentioned this
yesterday, but perhaps you haven't seen the message?

Try this:
\usetypescript[adobekb][ec] %or whatever your encoding is
> \setupbodyfont[pos]
> \starttext
> The quick brown fox jumps over the lazy dog.
> \stoptext


If that works on your computer (I *know* it works in contextgarden as I
found out about it by trial and error, a note in cont-sys.rme/cont-sys.tex
led me to the right track), try this (works in contextgarden):

---

\usetypescript[adobekb][ec] % THIS does the magic
\usetypescript[palatino][ec]
\setupbodyfont[palatino,12pt]

\starttext

The quick brown fox jumps over the lazy dog.

ÅÄÖ åäö

\stoptext

-------


[I always use the diacritics of my native language(s) Finnish and Swedish
as Computer Modern doesn't have them - if the diacritics turn up in the
pdf file, the font settings work.]


Good luck from a font-fighting fellow,


Mari

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

* Re: How to use PostScript font
@ 2004-08-19 13:02 skhilji
  2004-08-19 13:40 ` Mari Voipio
  0 siblings, 1 reply; 29+ messages in thread
From: skhilji @ 2004-08-19 13:02 UTC (permalink / raw)


None of the commands that I was told worked.  I donT think its my installation.  To my surprise, the following does not work at live.contextgarden.net.  If you see the log file, it says that the TFM file not found.  Even the server at contextgarden is missing the package that I am missing from my system

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

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

* Re: How to use PostScript font
  2004-08-18 19:16 skhilji
  2004-08-18 19:24 ` Patrick Gundlach
  2004-08-18 19:28 ` Bill McClain
@ 2004-08-18 21:16 ` Matt Gushee
  2004-08-19 22:01 ` Patrick Gundlach
  3 siblings, 0 replies; 29+ messages in thread
From: Matt Gushee @ 2004-08-18 21:16 UTC (permalink / raw)


On Wed, Aug 18, 2004 at 03:16:43PM -0400, skhilji@tampabay.rr.com wrote:

> Someone suggsted that I use the actual font names.  So I tried:

That would be me. But what I really meant was that you may need to know
those names in order to solve the problem, not that you can expect to
use them directly in ConTeXt.

Now I would say you should use a typescript if you can. There's no real
benefit to using low-level font commands except that you might avoid the
need to create typescripts. Because it looks to me like you probably
need to either change the names of the fonts to conform to the built-in
typescripts, or write your own typescript. The former could cause
trouble if you ever want to use the fonts in LaTeX, so you're probably
better off writing your own typescript. It's a bit weird at first, but
really quite easy when you get used to it; hmm--let me give you a
sample: I'll attach below my Palatino typescript. I haven't used it much
lately, so I can't recall if it works 100%, but it might help you get
started. I also use TeTeX on Linux, so it might be usable as is.

For more info, there's a Fonts in ConTeXt manual that tells you most of
what you need to know, and then Bill McClain has some good examples on
the Web ... I believe his site is
<http://home.salamander.com/~wmmclain/>.

Fonts in TeX take a while to master, but once you do, life is great! (I
think ... I hope ... I'll let you know when I get there ;-)

--  type-palatino.tex  -------------------------------------------------
\usetypescriptfile[type-buy]

\starttypescript [serif] [palatino] [8r]
    \usetypescript[serif][fallback]
    \definefontsynonym [Palatino-Roman]         [pplr8r]  [encoding=8r]
    \definefontsynonym [Palatino-Bold]          [pplb8r]  [encoding=8r]
    \definefontsynonym [Palatino-Italic]        [pplri8r] [encoding=8r]
    \definefontsynonym [Palatino-Bold-Italic]   [pplbi8r] [encoding=8r]
    \definefontsynonym [Palatino-Slanted]       [pplro8r] [encoding=8r]
    \definefontsynonym [Palatino-Bold-Slanted]  [pplbo8r] [encoding=8r]
    \definefontsynonym [Palatino-Caps]          [pplrc8t] [encoding=8t]
\stoptypescript

\starttypescript [serif] [palatino] [name]
    \definefontsynonym [Serif]            [Palatino-Roman]
    \definefontsynonym [SerifBold]        [Palatino-Bold]
    \definefontsynonym [SerifItalic]      [Palatino-Italic]
    \definefontsynonym [SerifBoldItalic]  [Palatino-Bold-Italic]
    \definefontsynonym [SerifSlanted]     [Palatino-Slanted]
    \definefontsynonym [SerifBoldSlanted] [Palatino-Bold-Slanted]
    \definefontsynonym [SerifCaps]        [Palatino-Caps]
\stoptypescript

\starttypescript[PalatinoFace]
    \definetypeface [Palatino] [rm] [serif] [palatino] [default] [encoding=8r]
\stoptypescript

-- 
Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through
mgushee@havenrock.com           its fields;
http://www.havenrock.com/   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                                
                            --Lao Tzu (Peter Merel, trans.)

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

* Re: How to use PostScript font
  2004-08-18 19:16 skhilji
  2004-08-18 19:24 ` Patrick Gundlach
@ 2004-08-18 19:28 ` Bill McClain
  2004-08-18 21:16 ` Matt Gushee
  2004-08-19 22:01 ` Patrick Gundlach
  3 siblings, 0 replies; 29+ messages in thread
From: Bill McClain @ 2004-08-18 19:28 UTC (permalink / raw)


On Wed, 18 Aug 2004 15:16:43 -0400
skhilji@tampabay.rr.com wrote:

> I get errors.  I am using Fedora Core 2 with teTex 2.02.  The error
> messages follow this message.

I'm using TeXLive 7 and this works for me:

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

I have other typeface examples in the "Predefined fonts" section of this
document:

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

-Bill
-- 
Sattre Press                                      Tales of War
http://sattre-press.com/                       by Lord Dunsany
info@sattre-press.com         http://sattre-press.com/tow.html

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

* Re: How to use PostScript font
  2004-08-18 19:16 skhilji
@ 2004-08-18 19:24 ` Patrick Gundlach
  2004-08-19  8:07   ` Hans Hagen
  2004-08-18 19:28 ` Bill McClain
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 29+ messages in thread
From: Patrick Gundlach @ 2004-08-18 19:24 UTC (permalink / raw)


Hi,

[...]

> I also tried:

\usetypescript[adobekb][\defaultencoding]

> \usetypescript[palatino][\defaultencoding]
> \setupbodyfont[palatino,12pt]

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

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

* Re: How to use PostScript font
@ 2004-08-18 19:16 skhilji
  2004-08-18 19:24 ` Patrick Gundlach
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: skhilji @ 2004-08-18 19:16 UTC (permalink / raw)


----- Original Message -----
From: Hans Hagen <pragma@wxs.nl>
Date: Wednesday, August 18, 2004 11:02 am
Subject: Re: [NTG-context] How to use PostScript font

> >  
> >
> [ppl,12pt]
> 
> may work, but nowadays we say: 
> 
> \usentypescript[palatino][\defaultencoding]
> \setupbodyfont[palatino,12pt]

With this:

\setupbodyfont[ppl,12pt]  
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext

I get errors.  I am using Fedora Core 2 with teTex 2.02.  The error messages follow this message.

I also tried:

\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]

without any luck.

Someone suggsted that I use the actual font names.  So I tried:

\setupbodyfont[uplr8a,12pt]

and it generated an error message something like: 
"bodyfont       : unknown variant uplr8a"



Here are the error messages using [ppl,12pt]:



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 \*12ptrmtf*=ec-uplr8a at 12.0pt not loadable: Metric (TFM) file not foun
d.
...
...
...
l.2   [ppl,12pt]
                 
?

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

* Re: How to use PostScript font
  2004-08-18 15:02 ` Hans Hagen
@ 2004-08-18 16:13   ` Matt Gushee
  0 siblings, 0 replies; 29+ messages in thread
From: Matt Gushee @ 2004-08-18 16:13 UTC (permalink / raw)


On Wed, Aug 18, 2004 at 05:02:00PM +0200, Hans Hagen wrote:
> skhilji@tampabay.rr.com wrote:
> 
> >I'd like to use the paladino font from urw as my body font (Its the one 
> >used in the MetaFUN manual).  I tried setting:
> >
> >\setupbodyfont[pos,12pt]
> >
> >but it does not work.  What is the name that I should use?
> > 
> >
> [ppl,12pt]
> 
> may work, but nowadays we say: 
> 
> \usentypescript[palatino][\defaultencoding]
> \setupbodyfont[palatino,12pt]

It should be noted (with apologies if this is too obvious) that while
ConTeXt attempts to provide a simple, high-level font handling
interface--and does a very good job, all things considered--it can't do
magic. Either of the above techniques depends on font names that are
defined outside of ConTeXt--by the underlying TeX distribution, by you,
the user, or by a local administrator. So if neither of Hans' solutions
works, you will just have to dig into your TeX font directory (e.g.
/usr/local/share/texmf/fonts if you are on Linux--don't know for
Windows) and find out the exact file names.

-- 
Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through
mgushee@havenrock.com           its fields;
http://www.havenrock.com/   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                                
                            --Lao Tzu (Peter Merel, trans.)

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

* Re: How to use PostScript font
  2004-08-18  2:56 skhilji
@ 2004-08-18 15:02 ` Hans Hagen
  2004-08-18 16:13   ` Matt Gushee
  0 siblings, 1 reply; 29+ messages in thread
From: Hans Hagen @ 2004-08-18 15:02 UTC (permalink / raw)


skhilji@tampabay.rr.com wrote:

>I'd like to use the paladino font from urw as my body font (Its the one used in the MetaFUN manual).  I tried setting:
>
>\setupbodyfont[pos,12pt]
>
>but it does not work.  What is the name that I should use?
>  
>
[ppl,12pt]

may work, but nowadays we say: 

\usentypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]


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

* How to use PostScript font
@ 2004-08-18  2:56 skhilji
  2004-08-18 15:02 ` Hans Hagen
  0 siblings, 1 reply; 29+ messages in thread
From: skhilji @ 2004-08-18  2:56 UTC (permalink / raw)


I'd like to use the paladino font from urw as my body font (Its the one used in the MetaFUN manual).  I tried setting:

\setupbodyfont[pos,12pt]

but it does not work.  What is the name that I should use?

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

end of thread, other threads:[~2004-08-24 10:09 UTC | newest]

Thread overview: 29+ 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
  -- strict thread matches above, loose matches on Subject: below --
2004-08-19 13:02 skhilji
2004-08-19 13:40 ` Mari Voipio
2004-08-20  0:06   ` Nigel King
2004-08-20  0:42     ` Steve Peter
2004-08-18 19:16 skhilji
2004-08-18 19:24 ` Patrick Gundlach
2004-08-19  8:07   ` Hans Hagen
2004-08-19 21:58     ` Patrick Gundlach
2004-08-20  7:55       ` Hans Hagen
2004-08-20 14:09         ` Patrick Gundlach
2004-08-20 15:52           ` Hans Hagen
2004-08-21  8:48             ` Patrick Gundlach
2004-08-22 23:26               ` Hans Hagen Outside
2004-08-24  9:56                 ` Siep Kroonenberg
2004-08-24 10:09                   ` Patrick Gundlach
2004-08-18 19:28 ` Bill McClain
2004-08-18 21:16 ` Matt Gushee
2004-08-19 22:01 ` Patrick Gundlach
2004-08-18  2:56 skhilji
2004-08-18 15:02 ` Hans Hagen
2004-08-18 16:13   ` Matt Gushee

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