ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Free fonts tetex
@ 2002-04-09  0:18 Nigel King
  2002-04-09  9:59 ` installation / pdf problem Mathias.Picker
  2002-04-09 21:12 ` Free fonts tetex Frans Goddijn
  0 siblings, 2 replies; 7+ messages in thread
From: Nigel King @ 2002-04-09  0:18 UTC (permalink / raw)


I have been following the various font exchanges with interest and nearly
got the 'free' fonts working. The following procedure almost works with all
fonts but courier.

Note bug in type.map shortening bitstream to bit

Also note in type-syn there is the line
\starttypescript [sans] [courier] [name]
Which seems odd since courier is mono and not at all sans

Procedure
make the fonts with
sudo texfont type-tmf.dat --en=texnansi

uncomment 
\autoloadmapfilestrue
in cont-sys.tex
---testfonts.tex---
\setupoutput[pdftex]
\loadmapfile[texnansi-bitstrea-charter.map]%to fix bug in
% type-map.tex type-texnansi-bit-charter.map

\definetypeface[charter] [rm][serif][charter] [default][encoding=texnansi]
\definetypeface[utopia]  [rm][serif][utopia]  [default][encoding=texnansi]
\definetypeface[bookman] [rm][serif][bookman] [default][encoding=texnansi]
\definetypeface[helvetic][ss][sans] [helvetica][default][encoding=texnansi]
\definetypeface[palatino][rm][serif][palatino][default][encoding=texnansi]
\definetypeface[times]   [rm][serif][times]   [default][encoding=texnansi]
\definetypeface[zapfchan][cg][calligraphy][chancery][default][encoding=texna
nsi]
\definetypeface[courier] [tt][mono] [courier] [default][encoding=texnansi]
\setupwhitespace[medium]
\setuphead[section][page=right]

\def\testa{\tf\input tufte \par\it\input tufte \par\bf\input tufte
\par\bi\input tufte \par}%\tf\it\bf\\bi
\def\testb{\testa \par\sl\input tufte \par\bs\input tufte \par\sc\input
tufte \par}%\sl\bs\sc

\starttext
 \switchtobodyfont[          10pt] \section{Computer Modern}\testb
 \switchtobodyfont[times,    10pt] \section{Times}\testb
 \switchtobodyfont[charter,  10pt] \section{Charter}\testb
 \switchtobodyfont[utopia,   10pt] \section{Utopia}\testb
 \switchtobodyfont[bookman,  10pt] \section{Bookman}\testb
 \switchtobodyfont[palatino, 10pt] \section{Palatino}\testb
 \switchtobodyfont[helvetic, 10pt] \section{Helvetica}\testa
 \switchtobodyfont[courier,  10pt] \section{Courier}
\startalignment[right]\testa\tt\testa\stopalignment
 \switchtobodyfont[zapfchan, 10pt] \section{Zapf Chancery}\input tufte
\stoptext

% bitstream charter did not work at all the map file attempted loading is
texnansi-bit-charter.map rather than texnansi-bitstrea-charter.map which was
made with type-tmf.dat. Bug indicated in separate message.
% courier does not work it loads cmtt

I have tried to get Avant Guard and New Century Schoolbook to work without
success. 
sudo texfont --en=texnansi --ve=urw --co=avantgar --so=auto
and
sudo texfont --en=texnansi --ve=urw --co=ncntrsbk --so=auto
Work and produce the appropriate tex files which produce good font maps
there is no support in the type-xxx files for these fonts which means being
more innovative which doesn't seem sensible until courier works.

-- 
Nigel


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

* installation / pdf problem
  2002-04-09  0:18 Free fonts tetex Nigel King
@ 2002-04-09  9:59 ` Mathias.Picker
  2002-04-09 11:14   ` Giuseppe Bilotta
  2002-04-09 18:45   ` Henning Hraban Ramm
  2002-04-09 21:12 ` Free fonts tetex Frans Goddijn
  1 sibling, 2 replies; 7+ messages in thread
From: Mathias.Picker @ 2002-04-09  9:59 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/plain; charset=US-ASCII, Size: 1907 bytes --]

Setting the following little program within a freshly installed teTeX
1.0.7 / context-beta enviroment gives the problem depicted below:
mp% cat test.tex
\starttext

Testtext

\stoptext

mp% texexec --pdf test.tex

 TeXExec 1.9 - ConTeXt / PRAGMA ADE 1997-2000

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

This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1)
entering extended mode
(test.tex[/usr/local/share/texmf/pdftex/config/pdftex.cfg]

ConTeXt  ver: 2002.3.27  fmt: 2002.4.8  int: english  mes: english

 [snip, snip]

systems        : begin file test at line 1
! Undefined control sequence.
\doPDFresetpageresources ...bal \pdfpageresources 
                                                  \emptytoks 
<inserted text> ...butes \doPDFresetpageresources 
                                                  \checkPDFextgstates \ifcas...

\actualshipout ...hbox =\hbox {\the \everyshipout 
                                                  \ifnum \realpageno =\lastp...

\myshipout ...ut {\thisisrealpage {\realfolio }#1}
                                                  \fi \gotonextrealpage \nap...

\dofinaloutput ...pagebody #1#2\setpagecounters }}
                                                  \fi \the \everyaftershipou...

\finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
                                                  \resetselectiepagina \verh...
...
l.5 \stoptext

?

??? indeed.

Any help, tips where to look?

Thanks a lot, Mathias

-- 
                            virtual earth
 Mathias Picker
 Geschäftsführer      Gesellschaft für Wissens re/prä sentation mbH

                            Mathias.Picker@virtual-earth.de 
			    Fon +49 89  / 540 7425-1
                            Fax +49 89  / 540 7425-9


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

* Re: installation / pdf problem
  2002-04-09  9:59 ` installation / pdf problem Mathias.Picker
@ 2002-04-09 11:14   ` Giuseppe Bilotta
  2002-04-09 18:45   ` Henning Hraban Ramm
  1 sibling, 0 replies; 7+ messages in thread
From: Giuseppe Bilotta @ 2002-04-09 11:14 UTC (permalink / raw)
  Cc: ntg-context

Tuesday, April 09, 2002 Mathias.Picker@virtual-earth.de wrote:

MPved> This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1)

OLD pdfTeX. Please upgrade to something like 14h or possibly
1.00pre.

Also, your TeXExec seems old (1.9, mine is 2.7), despite your
ConTeXt being fairly recent.

MPved> ConTeXt  ver: 2002.3.27  fmt: 2002.4.8  int: english  mes: english


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

* Re: installation / pdf problem
  2002-04-09  9:59 ` installation / pdf problem Mathias.Picker
  2002-04-09 11:14   ` Giuseppe Bilotta
@ 2002-04-09 18:45   ` Henning Hraban Ramm
  1 sibling, 0 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2002-04-09 18:45 UTC (permalink / raw)


Am Dienstag, 9. April 2002 11:59 schrieb Mathias.Picker@virtual-earth.de:
>  TeXExec 1.9 - ConTeXt / PRAGMA ADE 1997-2000
> This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1)

As Giuseppe mentioned: Get a new pdfTeX.
And if you didn't install the latest ConTeXt beta, do it.
If you did, there's an old texexec in the binaries directory of teTeX.

Have a look at my german installation docs at http://www.fiee.net/texnique/

-- 
Grüßlis vom Hraban!
---


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

* Re: Free fonts tetex
  2002-04-09  0:18 Free fonts tetex Nigel King
  2002-04-09  9:59 ` installation / pdf problem Mathias.Picker
@ 2002-04-09 21:12 ` Frans Goddijn
  2002-04-10 11:07   ` Nigel King
  2002-04-10 12:29   ` Re[2]: " Giuseppe Bilotta
  1 sibling, 2 replies; 7+ messages in thread
From: Frans Goddijn @ 2002-04-09 21:12 UTC (permalink / raw)


Hi Nigel,

Thanks for posting your font trial files! I'll try them also.

> Procedure
> make the fonts with
> sudo texfont type-tmf.dat --en=texnansi

One question: what is "sudo"? 

Regards,

F


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

* Re: Free fonts tetex
  2002-04-09 21:12 ` Free fonts tetex Frans Goddijn
@ 2002-04-10 11:07   ` Nigel King
  2002-04-10 12:29   ` Re[2]: " Giuseppe Bilotta
  1 sibling, 0 replies; 7+ messages in thread
From: Nigel King @ 2002-04-10 11:07 UTC (permalink / raw)


>> Procedure
>> make the fonts with
>> sudo texfont type-tmf.dat --en=texnansi
> 
> One question: what is "sudo"?
'sudo' briefly enables root operation in Unix. One is asked for root
password next. It is necessary because some of the commands will not execute
without root privileges.
--
Nigel


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

* Re[2]: Free fonts tetex
  2002-04-09 21:12 ` Free fonts tetex Frans Goddijn
  2002-04-10 11:07   ` Nigel King
@ 2002-04-10 12:29   ` Giuseppe Bilotta
  1 sibling, 0 replies; 7+ messages in thread
From: Giuseppe Bilotta @ 2002-04-10 12:29 UTC (permalink / raw)
  Cc: ntg-context

Tuesday, April 09, 2002 Frans Goddijn wrote:

FG> Hi Nigel,

FG> Thanks for posting your font trial files! I'll try them also.

>> Procedure
>> make the fonts with
>> sudo texfont type-tmf.dat --en=texnansi

FG> One question: what is "sudo"? 

A Unix command to let the program run with root privileges (runas
under WinNT/2K/XP).

--
Giuseppe "Oblomov" Bilotta


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

end of thread, other threads:[~2002-04-10 12:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-09  0:18 Free fonts tetex Nigel King
2002-04-09  9:59 ` installation / pdf problem Mathias.Picker
2002-04-09 11:14   ` Giuseppe Bilotta
2002-04-09 18:45   ` Henning Hraban Ramm
2002-04-09 21:12 ` Free fonts tetex Frans Goddijn
2002-04-10 11:07   ` Nigel King
2002-04-10 12:29   ` Re[2]: " Giuseppe Bilotta

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