Re: [NTG-context] Zapf Chancery and mkiv

2008-01-15 Thread Hans Hagen
Aditya Mahajan wrote:
 On Mon, 14 Jan 2008, Aditya Mahajan wrote:
 
 On Tue, 18 Dec 2007, Aditya Mahajan wrote:

 On Tue, 18 Dec 2007, Aditya Mahajan wrote:

 Hi,

 There is something wrong with the mappings for zapf chancery in mkiv.
 There is a typo in type-otf.tex. The following is wrong

 \starttypescript [calligraphy] [chancery]
 \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default]
 \stoptypescript

 The font should be texgyrechorus-mediumitalic.
 Hans,

 This typo is still there in type-otf.tex. Lines 477-479 should say

 
 I meant this (don't know how the B crept in)
 
 \starttypescript [calligraphy] [chancery]
  \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] 
 [features=default]
 \stoptypescript
 
 (mediumitalic instead of regular).

i now have ...

\starttypescript [calligraphy] [chancery]
 \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] 
[features=default]
 \definefontsynonym [texgyrechorus-regular] [texgyrechorus-mediumitalic]
\stoptypescript


-
   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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2008-01-14 Thread Aditya Mahajan
On Mon, 14 Jan 2008, Aditya Mahajan wrote:

 On Tue, 18 Dec 2007, Aditya Mahajan wrote:

 On Tue, 18 Dec 2007, Aditya Mahajan wrote:

 Hi,

 There is something wrong with the mappings for zapf chancery in mkiv.

 There is a typo in type-otf.tex. The following is wrong

 \starttypescript [calligraphy] [chancery]
 \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default]
 \stoptypescript

 The font should be texgyrechorus-mediumitalic.

 Hans,

 This typo is still there in type-otf.tex. Lines 477-479 should say


I meant this (don't know how the B crept in)

\starttypescript [calligraphy] [chancery]
 \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] 
[features=default]
\stoptypescript

(mediumitalic instead of regular).

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-19 Thread Aditya Mahajan

On Wed, 19 Dec 2007, luigi scarso wrote:


On Dec 19, 2007 5:48 AM, Aditya Mahajan [EMAIL PROTECTED] wrote:


On Tue, 18 Dec 2007, Aditya Mahajan wrote:


Hi,

There is something wrong with the mappings for zapf chancery in mkiv.


There is a typo in type-otf.tex. The following is wrong

\starttypescript [calligraphy] [chancery]
\definefontsynonym [Chancery] [texgyrechorus-regular]
[features=default]
\stoptypescript




\usetypescriptfile[type-gyr]

\starttypescript [calligraphy] [chancery]
   \definefontsynonym [Chancery] [texgyrechorus-mediumitalic]
[features=default]
\stoptypescript

\definetypeface   [mainface][rm][serif][pagella][default][encoding=texnansi]
\definetypeface   [mainface]
[cg][calligraphy][chancery][default][encoding=texnansi]
\setupbodyfont
 [mainface,10pt]

\starttext
\cg test
\stoptext

But compilation halts with


This runs ok here. It uses 
/home/adityam/texmf/fonts/opentype/public/tex-gyre/texgyrechorus-mediumitalic.otf

/home/adityam/texmf/fonts/type1/public/tex-gyre/qplr.pfb

I am attaching the log file.

AdityaThis is LuaTeX, Version snapshot-0.20.2-2007121718 (Web2C 7.5.6) 
(format=cont-en 2007.12.18)  19 DEC 2007 05:40
**test.tex
(./test.tex

ConTeXt  ver: 2007.12.18 19:11 MKIV  fmt: 2007.12.18  int: english/english

language: language en is active
system  : cont-new loaded
(/home/adityam/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/adityam/texmf/tex/context/base/cont-new.mkiv
lua : used config path - /usr/share/texmf/web2c/texmf.cnf
lua : used cache path - 
//home/adityam/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5
) (/home/adityam/texmf/tex/context/base/cont-mtx.tex))
system  : cont-old loaded
(/home/adityam/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/home/adityam/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/home/adityam/texmf/tex/context/user/cont-sys.rme 
(/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex))
bodyfont: 12pt rm is loaded
specials: tex,postscript,rokicki loaded
system  : test.top loaded
(./test.top
specials: loading definition file tpd
(/home/adityam/texmf/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/home/adityam/texmf/tex/context/base/spec-fdf.tex 
(/home/adityam/texmf/tex/context/base/spec-fdf.mkiv))
specials: fdf loaded
)
specials: fdf,tpd loaded
) (/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex) 
(/home/adityam/texmf/tex/context/base/type-gyr.tex) 
(/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex) 
(/home/adityam/texmf/tex/context/base/type-gyr.tex) 
(/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex) 
(/home/adityam/texmf/tex/context/base/type-gyr.tex) 
(/home/adityam/texmf/tex/context/base/type-tmf.tex) 
(/home/adityam/texmf/tex/context/base/type-siz.tex) 
(/home/adityam/texmf/tex/context/base/type-otf.tex) 
(/home/adityam/texmf/tex/context/base/type-gyr.tex) (./test.tuo) (./test.tuo)
systems : begin file test at line 12
fonts   : resetting map file list
{/home/adityam/texmf/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/home/adityam/texmf/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: lm-math
{/home/adityam/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/home/adityam/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts   : using map file: original-ams-base
{/home/adityam/texmf/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/home/adityam/texmf/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/home/adityam/texmf/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: qpl-texnansi
{/home/adityam/texmf/fonts/map/dvips/tex-gyre/qpl-texnansi.map} [1.1]
systems : end file test at line 14
lua : used config path - /usr/share/texmf/web2c/texmf.cnf
lua : used cache path - 
//home/adityam/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5
lua : modules/dumps/instances - 74/17/1
lua : input load time - 0.061 seconds
lua : fonts load time - 0.709 seconds
lua : xml load time - 0.000 seconds
lua : mps conversion time - 0.000 seconds
lua : node 

Re: [NTG-context] Zapf Chancery and mkiv

2007-12-19 Thread Mojca Miklavec
On Dec 19, 2007 6:37 AM, luigi scarso wrote:

 \starttypescript [calligraphy] [chancery]
 \definefontsynonym [Chancery] [texgyrechorus-mediumitalic]
 [features=default]
 \stoptypescript


 \definetypeface   [mainface][rm][serif][pagella][default][encoding=texnansi]
 \definetypeface   [mainface]
 [cg][calligraphy][chancery][default][encoding=texnansi]
 \setupbodyfont
   [mainface,10pt]

 \starttext
 \cg test
 \stoptext

 But compilation halts with

 opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type- gyr.tex)
 This went wrong:
 ...xtMKiv/tex/texmf-local/tex/context/base/font-tfm.lua:141: attempt to
 index local 'tfmdata' (a nil value)
 error  define font: font with name texnansi-qplr is not found.

But that's the problem of a missing font. Here it works OK. What
Arthur pointed out should be fixed though.

(Garden's live might also be slightly out-of-date with fonts.)

Mojca

PS: Why encoding=texnansi?
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-19 Thread Aditya Mahajan
On Wed, 19 Dec 2007, Mojca Miklavec wrote:

 PS: Why encoding=texnansi?

I am still learning mkiv :). This was just a stripped down version of one 
of my mkii documents that was failing with mkiv.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-19 Thread Mojca Miklavec
On Dec 19, 2007 12:36 PM, luigi scarso wrote:

 
   error  define font: font with name texnansi-qplr is not found.
 
  But that's the problem of a missing font. Here it works OK. What
  Arthur pointed out should be fixed though.
 
 Yes, it is not an error .

 My mkiv is on a linux box, and it's made only
 from pragma last_core_files (setuplinux.zip) + last_stables_zip_iles +
 last_luatex+last_metapost .
 So, it's a way to signal that there is a reference to a font that in not in
 these files.
 Of course, I can download fonts and update, (I have done it for tex-gyre
 only opentype)
 but i want  a clean, clear and minimal mviv system .
  Maybe this evening I will re-think about 'minimal'  (ie, download all
 fonts) .

You can also update the minimals from here
http://minimals.contextgarden.net/pragma/, but see the big warning
sign in one of the other mails.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-19 Thread luigi scarso

  error  define font: font with name texnansi-qplr is not found.

 But that's the problem of a missing font. Here it works OK. What
 Arthur pointed out should be fixed though.

Yes, it is not an error .

My mkiv is on a linux box, and it's made only
from pragma last_core_files (setuplinux.zip) + last_stables_zip_iles +
last_luatex+last_metapost .
So, it's a way to signal that there is a reference to a font that in not in
these files.
Of course, I can download fonts and update, (I have done it for tex-gyre
only opentype)
but i want  a clean, clear and minimal mviv system .
Maybe this evening I will re-think about 'minimal'  (ie, download all fonts)
.
-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-19 Thread Aditya Mahajan
On Wed, 19 Dec 2007, luigi scarso wrote:


 error  define font: font with name texnansi-qplr is not found.

 But that's the problem of a missing font. Here it works OK. What
 Arthur pointed out should be fixed though.

 Yes, it is not an error .

 So, it's a way to signal that there is a reference to a font that in not in
 these files.
 Of course, I can download fonts and update, (I have done it for tex-gyre
 only opentype)

Actually, the error was because of the word pagella in my example that I 
had created (still learning mkiv font stuff). Simply replace pagella with 
palatino, and mkiv uses opentype texgyrepagella.

Aditya

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread Aditya Mahajan
Hi,

There is something wrong with the mappings for zapf chancery in mkiv.

Minimal example

\usetypescriptfile[type-gyr]
\definetypeface   [mainface] 
[rm][serif][pagella][default][encoding=texnansi]
\definetypeface   [mainface] [cg][calligraphy][chancery][default]
   [encoding=texnansi]
\setupbodyfont
   [mainface,10pt]

\starttext
\cg test
\stoptext


Gives

This went wrong: /home/adityam/texmf/tex/context/base/font-tfm.lua:141: attempt 
to index local 'tfmdata' (a nil value)
error  define font: font with name texgyrechorus-regular is not found.
to be read again
\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
   \let \localrelativefontsiz...
\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 \...
l.9 \cg
 test
? r
OK, entering \nonstopmode...
! Font \*mainface10ptcgtfcg*:=texgyrechorus-regular*default at 10pt not 
loadable: metric data not found or bad.
to be read again
\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
   \let \localrelativefontsiz...
\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 \...
l.9 \cg
 test

I get the same error on contextgarden. Only texgyrechorus-italicmedium.otf 
is availabe from tex-gyre website. But context is looking for 
texgyrechorus-regular and cannot find it. The same file works with mkii.

Aditya

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread Arthur Reutenauer
 There is something wrong with the mappings for zapf chancery in mkiv.

  Have you installed TeX Gyre Chorus on your system?  It has been
released quite recently (September 26th).

http://www.gust.org.pl/projects/e-foundry/tex-gyre/chorus/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread Aditya Mahajan
On Wed, 19 Dec 2007, Arthur Reutenauer wrote:

 There is something wrong with the mappings for zapf chancery in mkiv.

  Have you installed TeX Gyre Chorus on your system?  It has been
 released quite recently (September 26th).

Yes, I have Chorus installed. But I only have 
texgyrechorus-mediumitalic.otf (and qzcmi.pfm), while ConTeXt is looking 
for texgyrechorus-regular. I get the same error on contextgarden, so it is 
not something with just my (currently semi-broken) local setup. Can you 
run my minimal example with \loggingall and send me the log file offlist?


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread Aditya Mahajan
On Tue, 18 Dec 2007, Aditya Mahajan wrote:

 Hi,

 There is something wrong with the mappings for zapf chancery in mkiv.

There is a typo in type-otf.tex. The following is wrong

\starttypescript [calligraphy] [chancery]
 \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default]
\stoptypescript

The font should be texgyrechorus-mediumitalic.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Zapf Chancery and mkiv

2007-12-18 Thread luigi scarso
On Dec 19, 2007 5:48 AM, Aditya Mahajan [EMAIL PROTECTED] wrote:

 On Tue, 18 Dec 2007, Aditya Mahajan wrote:

  Hi,
 
  There is something wrong with the mappings for zapf chancery in mkiv.

 There is a typo in type-otf.tex. The following is wrong

 \starttypescript [calligraphy] [chancery]
 \definefontsynonym [Chancery] [texgyrechorus-regular]
 [features=default]
 \stoptypescript



\usetypescriptfile[type-gyr]

\starttypescript [calligraphy] [chancery]
\definefontsynonym [Chancery] [texgyrechorus-mediumitalic]
[features=default]
\stoptypescript

\definetypeface   [mainface][rm][serif][pagella][default][encoding=texnansi]
\definetypeface   [mainface]
[cg][calligraphy][chancery][default][encoding=texnansi]
\setupbodyfont
  [mainface,10pt]

\starttext
\cg test
\stoptext

But compilation halts with

opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type-gyr.tex)
This went wrong: ...xtMKiv/tex/texmf-local/tex/context/base/font-tfm.lua:141:
attempt to index local 'tfmdata' (a nil value)
error  define font: font with name texnansi-qplr is not found.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let
\localrelativefontsiz...
\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 [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle
}\if...
...
l.10   [mainface,10pt]

texnansi-qplr is the problem here .

-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___