Re: [NTG-context] Re: Installing a new font.

2004-10-29 Thread Dirar BOUGATEF
Got it by the end. I had to uncomment the line that includes the use of 
Type-buy which includes the fallback typescript.

Thanks to you all guys, you've made a happy man.
_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Installing a new font.

2004-10-27 Thread Dirar BOUGATEF
Great, this works.
It's a bit more clear now. There is still one problem. I use the sans 
fallback in my typescript as follows, so that every alternative such as 
italic etc .. is mapped to my regular font (I have only one font file for 
the moment). Why do i get cmr italic instead of regular karat when i use \it 
for instance, or \bf etc. ?


% This is Karat.tex
\loadmapfile[texnansi-rubicon-karatmedium.map]
\starttypescript [sans][karat][texnansi]
 \definefontsynonym [karat-sans][texnansi-KAMN][encoding=texnansi]
\stoptypescript
\starttypescript [sans][karat][name]
 \usetypescript[sans][fallback]
 \definefontsynonym [Sans][karat-sans]
\stoptypescript
\starttypescript [karat]
 \definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi]
\stoptypescript

Normally within the following example, i should get a text that is all 
written in regular karat(Well, probably not for \em !).


\usetypescriptfile[Karat.tex]
\usetypescript[karat]
\setupbodyfont[karat]
\starttext
This is Karat roman, {\it italic,} {\bf bold,} and {\bi bold-italic.}
\ss Hello world
{\em \bf This is also bold-italic.}
We have {\sc small caps} and old-style figures: {\os 0123456789}.
\stoptext

Thanks again.
Dirar.
_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.com/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Installing a new font.

2004-10-27 Thread Adam Lindsay
Dirar BOUGATEF said this at Wed, 27 Oct 2004 16:18:19 +:

>1. using \ss works
>2. \definebodyfont[ss,Karat] does not.
>
>Second : changing from sans
>
>3. Changed all refs to "sans" into "serif" in my typescript file karat.tex. 
>This works too.

good.

>Now, my font is a sans. What is the best way to configure it ?

return the values back to sans.

There was a typo in your original typeface definition:
>\starttypescript [Karat]
>  \definetypeface [Karat] [rm] [sans] [karat] [default] [encoding=texnansi]
>%  ^^
>\stoptypescript

should be:

\starttypescript [Karat]
  \definetypeface [Karat] [ss] [sans] [karat] [default] [encoding=texnansi]
\stoptypescript


>Is Context configured to use serif by default when u type any text ?

Yes, it's a reasonable default. 

\definebodyfont[ss,Karat] should work now, though!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Installing a new font.

2004-10-27 Thread Patrick Gundlach
Hello,

> First : keeping sans:
>
> 1. using \ss works

That are good news!

> 2. \definebodyfont[ss,Karat] does not.

did you try \setupbodyfont[ss,Karat] or \setupbodyfont[Karat,sans] or
\setupbodyfont [sans]?


> Second : changing from sans
>
> 3. Changed all refs to "sans" into "serif" in my typescript file
>karat.tex. This works too.
>
> Now, my font is a sans. What is the best way to configure it ?

OK, if your font is a sans serif, then renaming makes no sense here.

> Is Context configured to use serif by default when u type any text ?

yes

> Many thanks.

you're welcome. 

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Re: Installing a new font.

2004-10-27 Thread Dirar BOUGATEF
I have tried the three of your propositions:
First : keeping sans:
1. using \ss works
2. \definebodyfont[ss,Karat] does not.
Second : changing from sans
3. Changed all refs to "sans" into "serif" in my typescript file karat.tex. 
This works too.

Now, my font is a sans. What is the best way to configure it ?
Is Context configured to use serif by default when u type any text ?
Many thanks.
Dirar.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.com/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Installing a new font.

2004-10-27 Thread Patrick Gundlach
Hi,

> Hi Patrick,
> I don't see any pdf log file. What's it's it extension ?

That is what I ment.


OK, it looks as if ConTeXt not knowing to use your fonts. (The other
source of error would be that pdftex cannot find your .pfb files, the
fonts)


"sans" and "roman" don't sound right to me. Try 

\setupbodyfont[ss,] or use \ss  in your text or (is
this a serif or sans serif font?) use serif instead of sans.


Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Re: Installing a new font.

2004-10-27 Thread Dirar BOUGATEF
Hi Patrick,
I don't see any pdf log file. What's it's it extension ?
The only file i can think about is the log file:
 
This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2c 7.5.2) (format=cont-en 2004.10.24)  27 OCT 2004 16:13entering extended mode %&-line parsing enabled. (c:/TeXLive/texmf/web2c/cp8bit.tcx)**&cont-en TypescriptTest.tex(./TypescriptTest.tex{c:/TeXLive/texmf-var/pdftex/config/pdftex.cfg}
ConTeXt  ver: 2004.10.19  fmt: 2004.10.24  int: english  mes: english
systems    : pdfTeX version 111 -> please update
systems    : eTeX version 201 -> too old (bugs)
language   : language en is activesystem : cont-new loaded(c:/TeXLive/texmf/tex/context/base/cont-new.texsystems    : beware: some patches loaded from cont-new.tex!color  : palette rollover is availablesystem (E-TEX) : [line 1012] system (E-TEX) : [line 1067] )system : cont-old loaded(c:/TeXLive/texmf/tex/context/base/cont-old.texloading    : Context Old Macros)system : cont-fil loaded(c:/TeXLive/texmf/tex/context/base/cont-fil.texloading    : Context File Synonyms)system : cont-sys loaded
 (c:/TeXLive/texmf/tex/context/user/cont-sys.tex)bodyfont   : 12pt rm is loadedlanguage   : patterns en->default:default->1->2:2 uk->default:default->2->2:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loadedspecials   : tex,postscript,rokicki loaded\openout2 = `TypescriptTest.tui'.
system : TypescriptTest.top loaded(./TypescriptTest.topspecials   : loading definition file tpd(c:/TeXLive/texmf/tex/context/base/spec-tpd.texspecials   : loading definition file fdf(c:/TeXLive/texmf/tex/context/base/spec-fdf.tex  system (E-TEX) : [line 2257] \ifcsname  )specials   : fdf loaded )specials   : fdf,tpd loaded)\openout0 = `TypescriptTest-mpgraph.mp'.
\openout0 = `mpgraph.mp'.
fonts  : [Karat] [] [](c:/TeXLive/texmf/tex/context/base/type-syn.tex)(c:/TeXLive/texmf/tex/context/base/type-enc.tex)(c:/TeXLive/texmf/tex/context/base/type-siz.tex)(c:/TeXLive/texmf/tex/context/base/type-map.tex)(c:/TeXLive/texmf/tex/context/base/type-spe.tex)(c:/TeXLive/texmf/tex/context/base/type-exa.tex)(c:/TeXLive/texmf/tex/context/base/type-akb.tex)(c:/TeXLive/texmf/tex/context/user/Karat.texfonts  : [Karat] [rm] [sans] [karat] / texnansifonts  : [map] [texnansi] [](c:/TeXLive/texmf/tex/context/base/type-syn.tex)(c:/TeXLive/texmf/tex/context/base/type-enc.tex)(c:/TeXLive/texmf/tex/context/base/type-siz.tex)(c:/TeXLive/texmf/tex/context/base/type-map.tex)(c:/TeXLive/texmf/tex/context/base/type-spe.tex)(c:/TeXLive/texmf/tex/context/base/type-exa
 .tex)(c:/TeXLive/texmf/tex/context/base/type-akb.tex)(c:/TeXLive/texmf/tex/context/user/Karat.tex)fonts  : [sans,map] [karat] [name,default,texnansi,special](c:/TeXLive/texmf/tex/context/base/type-syn.tex)(c:/TeXLive/texmf/tex/context/base/type-enc.tex)(c:/TeXLive/texmf/tex/context/base/type-siz.tex)(c:/TeXLive/texmf/tex/context/base/type-map.tex)(c:/TeXLive/texmf/tex/context/base/type-spe.tex)(c:/TeXLive/texmf/tex/context/base/type-exa.tex)(c:/TeXLive/texmf/tex/context/base/type-akb.tex)(c:/TeXLive/texmf/tex/context/user/Karat.texfonts  : [sans] [fallback] [](c:/TeXLive/texmf/tex/context/base/type-syn.tex)(c:/TeXLive/texmf/tex/context/base/type-enc.tex)(c:/TeXLive/texmf/tex/context/base/type-siz.tex)(c:/TeXLive/texmf/tex/context/base/type-map.tex)(c:/TeXLive/texmf/tex/context/base/type-spe.tex)(c:/T
 eXLive/texmf/tex/context/base/type-exa.tex)(c:/TeXLive/texmf/tex/context/base/type-akb.tex)(c:/TeXLive/texmf/tex/context/user/Karat.tex))fonts  : [sans] [default] [size](c:/TeXLive/texmf/tex/context/base/type-syn.tex)(c:/TeXLive/texmf/tex/context/base/type-enc.tex)(c:/TeXLive/texmf/tex/context/base/type-siz.tex)(c:/TeXLive/texmf/tex/context/base/type-map.tex)(c:/TeXLive/texmf/tex/context/base/type-spe.tex)(c:/TeXLive/texmf/tex/context/base/type-exa.tex)(c:/TeXLive/texmf/tex/context/base/type-akb.tex)(c:/TeXLive/texmf/tex/context/user/Karat.tex)) (./TypescriptTest.tuosystems    : possible problem with 8 bit output) (./TypescriptTest.tuo) (./TypescriptTest.tuo) (./TypescriptTest.tuo)(./TypescriptTest.tuo) (./TypescriptTest.tuo) (./TypescriptTest.tuo)(./TypescriptTest.tuo) (./TypescriptTest.tuo) (./TypescriptTest.tuo)(./Type
 scriptTest.tuo) (./TypescriptTest.tuo) (./TypescriptTest.tuo)fonts  : using map file: texnansi-base.mapfonts  : using map file: texnansi-rubicon-karatmedium.mapfonts  : using map file: ec-public-lm.mapfonts  : using map file: original-base.mapsystems    : begin file TypescriptTest at line 5[1.1{c:/TeXLive/texmf/fonts/map/pdftex/updmap/pdftex.map}{c:/TeXLive/texmf/dvips/config/context.mapWarning: pdfetex.exe (file c:/TeXLive/texmf/dvips/config/context.map): entry for `contnav'

[NTG-context] Re: Installing a new font.

2004-10-27 Thread Patrick Gundlach
Hello Dirar,

I can't see any suspicious error messages. Does your problem persist
when you enable pdf output? What are the last lines of your
pdf-logfile? Are the fonts mentioned there?

Patrick


-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context