Re: [NTG-context] Strange font issue with LuaTeX on Linux

2008-09-09 Thread Mohamed Bana
Mojca Miklavec mojca.miklavec.lists at gmail.com writes:

 
 http://www.pragma-ade.com/download-2.htm
 
 Mojca


Thanks that fixed it.

___
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] Strange font issue with LuaTeX on Linux

2008-09-03 Thread Hans Hagen
Mohamed Bana wrote:

 Sorry I didn't quiet understand that.  Given this;
 
 $ mtxrun --script fonts --list --pattern=warnock 
 warnockpro-bold WarnockPro-Bold WarnockPro-Bold.otf
 

looks like an old version, should be

warnockprobold WarnockPro-Bold fullpathifsystemfont/WarnockPro-Bold.otf

 which of the following are correct;
 
 1. \definefontsynonym [WarnockPro-Regular] [name:warnockpro-bold] 

best use

name:warnockprobold

although context will strip the - anyway

 2. \definefontsynonym [WarnockPro-Regular] [name:WarnockPro-Bold]
 3. \definefontsynonym [WarnockPro-Regular] [file:WarnockPro-Bold.otf]
 4. \definefontsynonym [WarnockPro-Regular] [file:WarnockPro-Bold]
 
 
 also, do you use the latest mtxrun, mtx-fonts and context? the first 
 entry in the list should show the stripped name
 
 I'm using cont-tmf.zip uploaded on 2008-08-05 18:50
 (http://www.pragma-ade.nl/download-1.htm) extracted to ~/texmf.  I need this
 because I use TeXLive 2007.

can you try the beta? something was fixed

 Hans, why does it compile fine when I copy the fonts over to the working
 directory?  There must be something wrong with the OSFONTDIR variable.  BTW, I
 think you should switch over to linux and make life easier for us :)

it has nothing to do with linux (and actually i run linux on the servers 
that serve tex processing for projects)

mtxrun --script fonts

operates on the tree and does not limit the search to the 'official' 
locations, while context, when a font is loaded, does obey those 
limitations

the current path is always taken as valid

Hans

ps. the latest beta really should work ok (tested at conference)


-
   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] Strange font issue with LuaTeX on Linux

2008-09-03 Thread Mohamed Bana
Hans Hagen pragma at wxs.nl writes:

 
 Mohamed Bana wrote:
 
  Sorry I didn't quiet understand that.  Given this;
  
  $ mtxrun --script fonts --list --pattern=warnock 
  warnockpro-bold WarnockPro-Bold WarnockPro-Bold.otf
  
 
 looks like an old version, should be
 
 warnockprobold WarnockPro-Bold fullpathifsystemfont/WarnockPro-Bold.otf
 
  which of the following are correct;
  
  1. \definefontsynonym [WarnockPro-Regular] [name:warnockpro-bold] 
 
 best use
 
 name:warnockprobold
 
 although context will strip the - anyway
 

Thanks, I can confirm that both

\definefontsynonym [WarnockPro-Regular][name:warnockproregular]  
and
\definefontsynonym [WarnockPro-Regular][name:WarnockPro-Regular]

on my vista box, which is running a pretty update to ConTeXt install, it's
actually the mswincontext.zip.  And the output is as Hans described.

 
 can you try the beta? something was fixed
 

The lastest LuaTeX or ConTeXt?  Because if it's the ConTeXt beta then where's
the link, I generally just download the cont-tmf.zip from
http://www.pragma-ade.nl/download-1.htm, and the current one is dated at;
2008-08-05.

Or even better, how do I update a local ConTeXt install in $HOME/texmf

___
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] Strange font issue with LuaTeX on Linux

2008-09-03 Thread Mojca Miklavec
On Wed, Sep 3, 2008 at 7:10 PM, Mohamed Bana wrote:
 Hans Hagen writes:

 can you try the beta? something was fixed


 The lastest LuaTeX or ConTeXt?  Because if it's the ConTeXt beta then where's
 the link, I generally just download the cont-tmf.zip from
 http://www.pragma-ade.nl/download-1.htm, and the current one is dated at;
 2008-08-05.

http://www.pragma-ade.com/download-2.htm

 Or even better, how do I update a local ConTeXt install in $HOME/texmf

You don't really need to update locally. Update globally.

There is some update mechanism, but takes time to explain (read as: we
didn't take time to make it more user friendly yet), esp. on windows.

You could download
http://minimals.contextgarden.net/setup/context-setup-mswin.zip
unzip it and then run
   first-setup.bat --context=beta --texroot=path-to-your-context
where path-to-your-context must be the parent of texmf-xxx. You might
experience strange problems with uppercase letters and spaces in
folder names though. You need to use unix-like folder names (with
slashes, not backslashes).

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] Strange font issue with LuaTeX on Linux

2008-09-02 Thread Hans Hagen
[EMAIL PROTECTED] wrote:

Font \*adobe12ptrmtfrm*:=name:Envy Code R*default at 12pt not loadable: 

just ...

name:envycoder

just use chars and digits

also, do you use the latest mtxrun, mtx-fonts and context? the first 
entry in the list should show the stripped name

internally we strip names anyway but spaces are always kind of special 
in tex;

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
-
___
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] Strange font issue with LuaTeX on Linux

2008-09-02 Thread Mohamed Bana
Hans Hagen pragma at wxs.nl writes:

 
 abbg770 at city.ac.uk wrote:
 
 Font \*adobe12ptrmtfrm*:=name:Envy Code R*default at 12pt not loadable: 
 
 just ...
 
 name:envycoder
 
 just use chars and digits

Sorry I didn't quiet understand that.  Given this;

$ mtxrun --script fonts --list --pattern=warnock 
warnockpro-bold WarnockPro-Bold WarnockPro-Bold.otf
...

which of the following are correct;

1. \definefontsynonym [WarnockPro-Regular] [name:warnockpro-bold] 
2. \definefontsynonym [WarnockPro-Regular] [name:WarnockPro-Bold]
3. \definefontsynonym [WarnockPro-Regular] [file:WarnockPro-Bold.otf]
4. \definefontsynonym [WarnockPro-Regular] [file:WarnockPro-Bold]


 
 also, do you use the latest mtxrun, mtx-fonts and context? the first 
 entry in the list should show the stripped name

I'm using cont-tmf.zip uploaded on 2008-08-05 18:50
(http://www.pragma-ade.nl/download-1.htm) extracted to ~/texmf.  I need this
because I use TeXLive 2007.

 internally we strip names anyway but spaces are always kind of special 
 in tex;
 
 Hans
 

Hans, why does it compile fine when I copy the fonts over to the working
directory?  There must be something wrong with the OSFONTDIR variable.  BTW, I
think you should switch over to linux and make life easier for us :)


___
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] Strange font issue with LuaTeX on Linux

2008-09-02 Thread Mohamed Bana
Hans Hagen pragma at wxs.nl writes:

 
 also, do you use the latest mtxrun, mtx-fonts and context? the first 
 entry in the list should show the stripped name
 

I forgot to ask, how do I update with my current setup?  That is I'm running
ConTeXt locally in my $HOME/texmf tree.

___
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] Strange font issue with LuaTeX on Linux

2008-09-01 Thread abbg770

I just discovered something;

$ echo $OSFONTDIR
/usr/share/fonts/vista-fonts;/home/mohamed/.fonts;/media/sdb1/Fonts

$ pwd
/home/mohamed/.fonts/envy-code-r
$ ls -1
EnvyCodeRBold.ttf
EnvyCodeRItalic.ttf
EnvyCodeR.ttf
EnvyCodeRVSItalicAsBold.ttf
EnvyCodeRVS.ttf

$ mtxrun --script fonts --list envy
envy code r  Envy Code R  EnvyCodeR.ttf
envy code r bold Envy Code R Bold EnvyCodeRBold.ttf
envy code r italic   Envy Code R Italic   EnvyCodeRItalic.ttf
envy code r vs   Envy Code R VS   EnvyCodeRVS.ttf
envy code r vs bold  Envy Code R VS Bold  EnvyCodeRVSItalicAsBold.ttf

# similar error to the previous one, even though mtxrun finds it, luatex 
doesn't. If I copy the fonts over to the working directory, the file seems 
to compile fine (http://pastebin.com/m5272c619 or attached). $ texexec 
test.tex TeXExec | processing document 'test.tex' TeXExec | no ctx file 
found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec 
| writing option file test.top TeXExec | using randomseed 990 TeXExec | tex 
engine: luatex TeXExec | tex format: cont-en LuaTools | running command: 
luatex 
--fmt=/home/mohamed/texmf/texmf-cache/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/formats/cont-en 
--lua=/home/mohamed/texmf/texmf-cache/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/formats/cont-en.luc 
test.tex  (test.tex


ConTeXt  ver: 2008.08.05 18:47 MKIV  fmt: 2008.8.31  int: english/english

language : language en is active system : cont-new loaded 
(/home/mohamed/texmf/tex/context/base/cont-new.tex systems : beware: some 
patches loaded from cont-new.tex 
(/home/mohamed/texmf/tex/context/base/cont-new.mkiv lua : used config path 
- /usr/share/texmf/web2c/texmf.cnf lua : used cache path - 
/home/mohamed/texmf/texmf-cache/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5 
) (/home/mohamed/texmf/tex/context/base/cont-mtx.tex)) system : cont-old 
loaded (/home/mohamed/texmf/tex/context/base/cont-old.tex loading : Context 
Old Macros ) system : cont-fil loaded 
(/home/mohamed/texmf/tex/context/base/cont-fil.tex loading : Context File 
Synonyms ) system : cont-sys.rme loaded 
(/home/mohamed/texmf/tex/context/user/cont-sys.rme 
(/home/mohamed/texmf/tex/context/base/type-tmf.tex) 
(/home/mohamed/texmf/tex/context/base/type-siz.tex) 
(/home/mohamed/texmf/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is 
loaded specials : tex loaded system : test.top loaded (test.top specials : 
loading definition file tpd 
(/home/mohamed/texmf/tex/context/base/spec-tpd.tex specials : loading 
definition file fdf (/home/mohamed/texmf/tex/context/base/spec-fdf.tex 
(/home/mohamed/texmf/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded 
(/home/mohamed/texmf/tex/context/base/spec-tpd.mkiv)) specials : fdf loaded 
) (/home/mohamed/texmf/tex/context/base/type-tmf.tex) 
(/home/mohamed/texmf/tex/context/base/type-siz.tex) 
(/home/mohamed/texmf/tex/context/base/type-otf.tex) 
(/home/mohamed/texmf/tex/context/base/type-tmf.tex) 
(/home/mohamed/texmf/tex/context/base/type-siz.tex) 
(/home/mohamed/texmf/tex/context/base/type-otf.tex) define font | forced 
type ttf of EnvyCodeR not found define font | font with name EnvyCodeR is 
not found define font | unknown font EnvyCodeR, loading aborted ! Font 
\*adobe12ptrmtfrm*:=name:Envy Code R*default at 12pt 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 
\... argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
  \edef \fontstyle {\fontstyle 
}\if... ... l.48 \setupbodyfont[adobe,11pt]
  
? 


# test.tex.  ignore the weird names, i didn't have time to change it around
% engine=luatex
\definefontfeature[latin-smallcaps][smallcaps][script=latn]

\starttypescript [serif] [warnockpro]
 \setups[font:fallback:sans]  
 \definefontsynonym [WarnockPro-Regular] [name:Envy Code R] 
[features=default]
 \definefontsynonym [WarnockPro-Bold]   [name:Envy Code R Bold]   
[features=default]
 \definefontsynonym [WarnockPro-Italic] [name:Envy Code R Italic]  
[features=default]
\stoptypescript


\starttypescript [serif] [warnockpro]
 \definefontsynonym [Serif]   [WarnockPro-Regular]   
[features=default]
 \definefontsynonym [SerifBold]   [WarnockPro-Bold]  
[features=default]
 \definefontsynonym [SerifItalic] [WarnockPro-Italic]
[features=default]

\stoptypescript