Re: [NTG-context] OpenType in ConTeXt

2007-08-11 Thread John R. Culleton
On Wednesday 08 August 2007, Taco Hoekwater wrote:
 Wolfgang Werners-Lucchini wrote:
  well, i still use texfont for type 1 fonts, but for open type
  i use luatex anyway which can handle it directly (actually,
  mkiv also usese afm files instead of tfm when available, so
  texfont is not needed any more)
 
  How stable/reliable is LuaTeX for general use?
 
  Well, not at all is the wisest answer I can give.
 
  Is it possible to run both (mkiv/LuaTeX and mkii/pdfTeX) in
  parallel?

 Certainly. In the past year, I have been happy running all of these
 at the same time:

   texexec  | texexec --pdftex  % engine=pdftex
   texexec --aleph  % engine=aleph
   texexec --luatex % engine=luatex
   texexec --xetex  % engine=xetex

Is there a phrase or a sentence that will describe the distinguishing 
characteristcs and/or status of each of these choices?  Well, we know 
about the first one :) I am bewildered by the rapid changes. 

-- 
John Culleton





_
Need personalized email and website? Look no further. It's easy
with Doteasy $0 Web Hosting! Learn more at www.doteasy.com
___
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] OpenType in ConTeXt

2007-08-11 Thread Hans Hagen
John R. Culleton wrote:
 On Wednesday 08 August 2007, Taco Hoekwater wrote:
 Wolfgang Werners-Lucchini wrote:
 well, i still use texfont for type 1 fonts, but for open type
 i use luatex anyway which can handle it directly (actually,
 mkiv also usese afm files instead of tfm when available, so
 texfont is not needed any more)
 How stable/reliable is LuaTeX for general use?
 Well, not at all is the wisest answer I can give.
 Is it possible to run both (mkiv/LuaTeX and mkii/pdfTeX) in
 parallel?
 Certainly. In the past year, I have been happy running all of these
 at the same time:

  texexec  | texexec --pdftex  % engine=pdftex
  texexec --aleph  % engine=aleph
  texexec --luatex % engine=luatex
  texexec --xetex  % engine=xetex
 
 Is there a phrase or a sentence that will describe the distinguishing 
 characteristcs and/or status of each of these choices?  Well, we know 
 about the first one :) I am bewildered by the rapid changes. 

pdftex : traditional tex engine, extended with some functionality
aleph  : wide font multidirectional tex engine with input parsing
xetex  : unicode tex engine with open type support based on libs
luatex : unicode tex engine with embedded scripting machinery

luatex has pdftex and aleph as starting point and depends on lua code 
for advanced font (etc) support

-
   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] OpenType in ConTeXt

2007-08-11 Thread Patrick Gundlach
Hello Wolfgang,

 The otftotfm documentation is exemplary!

It is, indeed.

 I would like to volunteer to help writing such docs for texfont or
 otfinstall. But it is very difficult to get the information. Not all 
 of us are able to read sourcecode in perl and ruby and lua.

Well, as propably many tools around, otfinstall is a tool which arose
for my personal needs. As soon as it worked, I stopped putting
time into it. If I can see any demand, I will pick it up again. But
there is luatex/mkiv waiting behind the corner. Then all this will be
obsolete anyway. So in my (and a some other people's elses) opinion,
putting any non-trivial effort in pdftex/mkii based solutions is a
waste of time. Better install luatex and write a font guide for
luatex.


Patrick
___
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] OpenType in ConTeXt

2007-08-11 Thread Patrick Gundlach
Hi Pascal,

 I adjusted it to my own situation (AGaramondPro, not the Premier
 version). And I ran it succesfully. However, I can't see where the files
 have gone?

They end up in a directory called texmf in the local directory, unless
you have given the command line to change this directory (see --help)

  Compiling my .tex file also doesn't change anything.

See the file example.tex in the texmf directory.

 Besides this I also noticed the script didn't support Semibold, which to
 me is very essential. The Bold version of AGaramondPro doesn't have any
 small caps, and Semibold just looks beter.

Well, semibold is not supported, unless you drop bold and
use semibold instead. If you insist, I will have a look at this.

 And if I understand the script correctly, the font in converted into
 static versions supporting OsF and Sc, right?

Right.

Patrick
___
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] OpenType in ConTeXt

2007-08-10 Thread Pascal de Bruijn
On Thu, 2007-08-09 at 16:36 -0400, John R. Culleton wrote:
 On Tuesday 07 August 2007, Hans Hagen wrote:
  Hans van der Meer wrote:
   On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
   Does LuaTeX already support OpenType things like
   SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
  
   Yes. Best read the magazine has mentioned, and lookup
   \definefontfeature.
  
  http://www.pragma-ade.com/general/magazines/mag-0012.pdf
  
   I seem not to be able to reach/allowed on this link.
   Nor did I find it in the download/magazine section of the pragma
   site. How do I get this?
 
  it's really there
 
  Hans
 
 I should mention that when I (involuntarily) changed Cable ISPs I lost 
 the ability to transmit mail directly to this list.  ntg.nl is 
 apparently not in their DNS server.  So I must transmit posts here 
 via my wexfordpress.com mail server maintained by doteasy.com, a 
 Canadian company.  Perhaps the other person is having a similar 
 difficulty basd on domain name servers. 

This means your ISPs DNS servers are broken. Not having a domain is just
not possible, without something being very broken, or being
intentionally (mis)configured.

You should complain at your ISP...

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.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] OpenType in ConTeXt

2007-08-09 Thread Oliver Buerschaper
 Yes. Best read the magazine has mentioned, and lookup
 \definefontfeature.

http://www.pragma-ade.com/general/magazines/mag-0012.pdf

By the way, is there a This way number 11?

Cheerio,
Oliver
___
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] OpenType in ConTeXt

2007-08-09 Thread Taco Hoekwater
Hans van der Meer wrote:
 No access to this link. Does it really exist?

Yes, but something seens wrong with the web server right now.
Try this link instead:

   http://context.aanhet.net/general/magazines/mag-0012.pdf

Best wishes,

Taco
___
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] OpenType in ConTeXt

2007-08-09 Thread Hans Hagen
Oliver Buerschaper wrote:
 Yes. Best read the magazine has mentioned, and lookup
 \definefontfeature.

http://www.pragma-ade.com/general/magazines/mag-0012.pdf
 
 By the way, is there a This way number 11?

no, well, there is an unifinished file on my disk -)

-
   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] OpenType in ConTeXt

2007-08-09 Thread Peter Münster
On Thu, 9 Aug 2007, Hans van der Meer wrote:

 No access to this link. Does it really exist?
 My browser says on entering http://www.pragma-ade.com/general/ 
 magazines/:
 
 Access forbidden!

This is what I use as starting point:
http://www.pragma-ade.com/dir
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
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] OpenType in ConTeXt

2007-08-09 Thread John R. Culleton
On Tuesday 07 August 2007, Hans Hagen wrote:
 Hans van der Meer wrote:
  On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
  Does LuaTeX already support OpenType things like
  SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
 
  Yes. Best read the magazine has mentioned, and lookup
  \definefontfeature.
 
 http://www.pragma-ade.com/general/magazines/mag-0012.pdf
 
  I seem not to be able to reach/allowed on this link.
  Nor did I find it in the download/magazine section of the pragma
  site. How do I get this?

 it's really there

 Hans

I should mention that when I (involuntarily) changed Cable ISPs I lost 
the ability to transmit mail directly to this list.  ntg.nl is 
apparently not in their DNS server.  So I must transmit posts here 
via my wexfordpress.com mail server maintained by doteasy.com, a 
Canadian company.  Perhaps the other person is having a similar 
difficulty basd on domain name servers. 


-- 
John Culleton
___
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] OpenType in ConTeXt

2007-08-08 Thread Taco Hoekwater
Wolfgang Werners-Lucchini wrote:
 well, i still use texfont for type 1 fonts, but for open type i
 use luatex anyway which can handle it directly (actually, mkiv also
 usese afm files instead of tfm when available, so texfont is not 
 needed any more)
 How stable/reliable is LuaTeX for general use?
 Well, not at all is the wisest answer I can give.
 
 Is it possible to run both (mkiv/LuaTeX and mkii/pdfTeX) in parallel?

Certainly. In the past year, I have been happy running all of these
at the same time:

texexec  | texexec --pdftex  % engine=pdftex
texexec --aleph  % engine=aleph
texexec --luatex % engine=luatex
texexec --xetex  % engine=xetex


Cheers, Taco
___
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] OpenType in ConTeXt

2007-08-07 Thread Pascal de Bruijn
On 8/6/07, Hans Hagen [EMAIL PROTECTED] wrote:


 well, i still use texfont for type 1 fonts, but for open type i use
 luatex anyway which can handle it directly (actually, mkiv also uses afm
 files instead of tfm when available, so texfont is not needed any more)


How stable/reliable is LuaTeX for general use?

Does LuaTeX already support OpenType things like
SmallCaps, Old Style Figures, Alternates, Ligatures, etc?

Regards,
Pascal de Bruijn
___
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] OpenType in ConTeXt

2007-08-07 Thread Taco Hoekwater
Pascal de Bruijn wrote:
 On 8/6/07, Hans Hagen [EMAIL PROTECTED] wrote:

 well, i still use texfont for type 1 fonts, but for open type i use
 luatex anyway which can handle it directly (actually, mkiv also uses afm
 files instead of tfm when available, so texfont is not needed any more)
 
 
 How stable/reliable is LuaTeX for general use?

Well, not at all is the wisest answer I can give.

But I know for a fact that there are people out there (you know who
you are!) that  use luatex for production work already. As long as you
stick to the highlevel context interface, are not interested in the
archivability of documents and do not hit a showstopper bug, it is
somewhat ok to do that.

Luatex is an early beta. I am always happy to hear about bugs, but
it may take a while for them to get fixed (in the next beta), so
don't start anything time-critical in luatex that cannot easily
be handled in another way, just in case.

 Does LuaTeX already support OpenType things like
 SmallCaps, Old Style Figures, Alternates, Ligatures, etc?

Yes. Best read the magazine has mentioned, and lookup
\definefontfeature.

   http://www.pragma-ade.com/general/magazines/mag-0012.pdf

Best wishes,
Taco
___
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] OpenType in ConTeXt

2007-08-07 Thread Hans Hagen
Pascal de Bruijn wrote:
 On 8/6/07, *Hans Hagen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
 
 well, i still use texfont for type 1 fonts, but for open type i use
 luatex anyway which can handle it directly (actually, mkiv also uses afm
 files instead of tfm when available, so texfont is not needed any more) 
 
 
 How stable/reliable is LuaTeX for general use?

good enough for me to start using it in projects (where i know what i 
need and not -)

 Does LuaTeX already support OpenType things like
 SmallCaps, Old Style Figures, Alternates, Ligatures, etc?

yes, yes, yes, yes, etc


-
   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] OpenType in ConTeXt

2007-08-07 Thread Patrick Gundlach
Hi,

 It is nice to have such scripts. But I would like to know what goes 
 on behind the scene. In principle one has to know all the steps to do 
 it by hand. 


Just use the great otftotfm by hand and you know what is missing. Then
try to read the source code of otfinstall and try to underst and what
the steps are.

Patrick
___
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] OpenType in ConTeXt

2007-08-07 Thread Hans van der Meer

On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:


 Does LuaTeX already support OpenType things like
 SmallCaps, Old Style Figures, Alternates, Ligatures, etc?

 Yes. Best read the magazine has mentioned, and lookup
 \definefontfeature.

http://www.pragma-ade.com/general/magazines/mag-0012.pdf


I seem not to be able to reach/allowed on this link.
Nor did I find it in the download/magazine section of the pragma site.
How do I get this?

Hans van der Meer


___
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] OpenType in ConTeXt

2007-08-07 Thread luigi scarso
 http://www.pragma-ade.com/general/magazines/mag-0012.pdf
 

 I seem not to be able to reach/allowed on this link.
 Nor did I find it in the download/magazine section of the pragma site.
 How do I get this?
it works for me;
try
http://context.aanhet.net/general/magazines/mag-0012.pdf

PS I have a pending  answer for you (error in textbackground with
metapost), just to say that I remember it
-- 
luigi

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
___
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] OpenType in ConTeXt

2007-08-07 Thread Pascal de Bruijn
On Mon, 2007-08-06 at 22:07 +0200, Patrick Gundlach wrote:
 Hi Pascal,
 
  I'll give otfinstall a shot tomorrow.
 
 this is the oinst file for the adobe garamond premier I've used. There
 is no support for opticals yet. This is really a simple tool.
 
 adobe_garamond_premier_pro.oinst:
 --
 vendor  adobe
 collection  garamond
 
 # 'sans' or 'serif'
 fontclass   serif
 
 # Allowed variants are 'default', 'osf'
 variants%w(default osf)
 
 # Supported faces are 'regular' 'bold' 'italic' and 'bolditalic'
 regular GaramondPremrPro.otf
 boldGaramondPremrPro-Bd.otf
 italic  GaramondPremrPro-It.otf
 bolditalic  GaramondPremrPro-BdIt.otf
 --

I adjusted it to my own situation (AGaramondPro, not the Premier
version). And I ran it succesfully. However, I can't see where the files
have gone? Compiling my .tex file also doesn't change anything.

I declared this, maybe I went wrong here... I tried several different
font names:

\usetypescript[AGaramondPro][texnansi]
\setupbodyfont[AGaramondPro]

I also tried 'garamond', 'adobegaramondpro'.

Besides this I also noticed the script didn't support Semibold, which to
me is very essential. The Bold version of AGaramondPro doesn't have any
small caps, and Semibold just looks beter.

And if I understand the script correctly, the font in converted into
static versions supporting OsF and Sc, right? (Ruby isn't very readable,
when you're not a Ruby programmer).

Regards,
Pascal de Bruijn
-- 
http://blog.pcode.nl/
http://www.linkselente.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] OpenType in ConTeXt

2007-08-07 Thread Hans Hagen
Hans van der Meer wrote:
 On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
 
 Does LuaTeX already support OpenType things like
 SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
 Yes. Best read the magazine has mentioned, and lookup
 \definefontfeature.

http://www.pragma-ade.com/general/magazines/mag-0012.pdf

 
 I seem not to be able to reach/allowed on this link.
 Nor did I find it in the download/magazine section of the pragma site.
 How do I get this?

it's really there

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] OpenType in ConTeXt

2007-08-07 Thread Wolfgang Werners-Lucchini
  It is nice to have such scripts. But I would like to know what
  goes on behind the scene. In principle one has to know all the 
  steps to do it by hand. 
 
 Just use the great otftotfm by hand and you know what is missing.
 Then try to read the source code of otfinstall and try to underst 
 and what the steps are.
 
 Patrick

The otftotfm documentation is exemplary!

I would like to volunteer to help writing such docs for texfont or
otfinstall. But it is very difficult to get the information. Not all 
of us are able to read sourcecode in perl and ruby and lua.

Wolfgang
___
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] OpenType in ConTeXt

2007-08-07 Thread Wolfgang Werners-Lucchini
  well, i still use texfont for type 1 fonts, but for open type i
  use luatex anyway which can handle it directly (actually, mkiv also
  usese afm files instead of tfm when available, so texfont is not 
  needed any more)
  
  How stable/reliable is LuaTeX for general use?
 
 Well, not at all is the wisest answer I can give.

Is it possible to run both (mkiv/LuaTeX and mkii/pdfTeX) in parallel?

Wolfgang
___
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] OpenType in ConTeXt

2007-08-07 Thread Arthur Reutenauer
 Is it possible to run both (mkiv/LuaTeX and mkii/pdfTeX) in parallel?

  And Mark III! That's what ConTeXt Live does

http://live.contextgarden.net/

  There are some configuration issues and I haven't solved them all,
but that's mostly because I'm waiting for the steam to disappear after
the explosion of updates since two days.

  In a couple of days I should have come up to a definitive solution and
I can document it on the site; I planned on doing that anyway.
___
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] OpenType in ConTeXt

2007-08-06 Thread Pascal de Bruijn
Hi,

I managed to install my Adobe OpenType fonts into ConTeXt:

texfont --makepath --install --en=texnansi --ve=adobe
--co=AdobeGaramondPro --preproc --lcdf

However, loading the font like this does not work:

  \usetypescriptfile[texnansi-adobe-adobegaramondpro]
  \setupbodyfont[AdobeGaramondPro]

Can anybody lend me some aid? Did I mess up the installation? Or am I
using the wrong syntax?

I'm using TeXlive 2007.

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.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] OpenType in ConTeXt

2007-08-06 Thread Pascal de Bruijn
On Mon, 2007-08-06 at 09:45 +0200, Patrick Gundlach wrote:
 Hi,
 
  Can anybody lend me some aid? 
 
 You could use otfinstall to install your opentype fonts. 
 
 http://wiki.contextgarden.net/otfinstall

I already noticed that script, however... It seems texfont already has
support for OpenType. It has the --preproc and --lcdf parameters.

After running:

texfont --makepath --install -en=texnansi --ve=adobe
--co=adobegaramondpro --preproc --lcdf

It generated these files:

/opt/texlive/texmf-local/fonts$ ls -1 tfm/adobe/adobegaramondpro/
texnansi-AGaramondPro-Regular--base.tfm
texnansi-AGaramondPro-Regular--lcdfj.tfm
texnansi-AGaramondPro-Regular.tfm
texnansi-AGaramondPro-Semibold--base.tfm
texnansi-AGaramondPro-Semibold--lcdfj.tfm
texnansi-AGaramondPro-Semibold.tfm
...
/opt/texlive/texmf-local/fonts$ ls -1 type1/adobe/adobegaramondpro/
AGaramondPro-Regular.pfb
AGaramondPro-Semibold.pfb
...

Why should I use otfinstall instead of texfont, besides the fact that
texfont doesn't work? Is texfont incomplete? Or am I doing something
wrong? What are the advantages/downsides of both?

-- 
http://blog.pcode.nl/
http://www.linkselente.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] OpenType in ConTeXt

2007-08-06 Thread Arthur Reutenauer
 Why should I use otfinstall instead of texfont, besides the fact that
 texfont doesn't work?

  Do you really need another reason? Have you tried otfinst? The point
of all these scripts is to make your life easier in generating metrics,
auxiliary fonts and map files; if you tear yourself with questions
before trying them much of their interest is lost on you.

   Is texfont incomplete?

  I have no idea; but at any rate it belongs to a clearly “older”
generation of scripts. The latest available version has
“version=2004.02.06” in the documentation part, and even without that
you can spot it quite easily since it belongs to Hans' Perl period ;-)


  Or am I doing something
 wrong?

  Probably not.

What are the advantages/downsides of both?

  Why don't you try it for yourself?

Arthur
___
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] OpenType in ConTeXt

2007-08-06 Thread Patrick Gundlach
Hello Pascal,

 I already noticed that script, however... It seems texfont already has
 support for OpenType. It has the --preproc and --lcdf parameters.

I have written otfinstall after I have played around with texfont.
texfont is much more versatile then otfinstall, but I think that
otfinstall is faster, easier to use and writes all necessary files.
But since I never felt like reading the texfont documentation, I might
be completely wrong about my assumptions on texfont.

 Why should I use otfinstall instead of texfont, besides the fact that
 texfont doesn't work? Is texfont incomplete? Or am I doing something
 wrong? What are the advantages/downsides of both?

They are just two different tools for a similar purpose. Nothing wrong
with each of them. There is not much to add to what Arthur said.

If you need any specific help on otfinstall, I'd be glad to assist you
(and update the documentation as well).

Patrick

___
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] OpenType in ConTeXt

2007-08-06 Thread Patrick Gundlach
Hi Pascal,

 I'll give otfinstall a shot tomorrow.

this is the oinst file for the adobe garamond premier I've used. There
is no support for opticals yet. This is really a simple tool.

adobe_garamond_premier_pro.oinst:
--
vendor  adobe
collection  garamond

# 'sans' or 'serif'
fontclass   serif

# Allowed variants are 'default', 'osf'
variants%w(default osf)

# Supported faces are 'regular' 'bold' 'italic' and 'bolditalic'
regular GaramondPremrPro.otf
boldGaramondPremrPro-Bd.otf
italic  GaramondPremrPro-It.otf
bolditalic  GaramondPremrPro-BdIt.otf
--

Put the files in otf/adobe/garamond and run

ruby otfinst.rb -f otf 

Patrick
___
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] OpenType in ConTeXt

2007-08-06 Thread Pascal de Bruijn
Hi,

On Mon, 2007-08-06 at 19:54 +0200, Arthur Reutenauer wrote:
  Why should I use otfinstall instead of texfont, besides the fact that
  texfont doesn't work?
 
   Do you really need another reason? Have you tried otfinst? The point
 of all these scripts is to make your life easier in generating metrics,
 auxiliary fonts and map files; if you tear yourself with questions
 before trying them much of their interest is lost on you.

You're right. I'm just a curious person. I considerd texfont to be an
'official' tool, and I'd like to learn/stick to official stuff whenever
possible (at least as long as that doesn't involve me losing my sanity).

 
Is texfont incomplete?
 
   I have no idea; but at any rate it belongs to a clearly “older”
 generation of scripts. The latest available version has
 “version=2004.02.06” in the documentation part, and even without that
 you can spot it quite easily since it belongs to Hans' Perl period ;-)

I didn't know Hans' had a Perl period... I guess that period has passed
now... 2004 has been a while...

 
 
   Or am I doing something
  wrong?
 
   Probably not.
 
 What are the advantages/downsides of both?
 
   Why don't you try it for yourself?

I'll give otfinstall a shot tomorrow.

Thanks for the reply,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.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] OpenType in ConTeXt

2007-08-06 Thread Hans Hagen
Pascal de Bruijn wrote:
 Hi,
 
 On Mon, 2007-08-06 at 19:54 +0200, Arthur Reutenauer wrote:
 Why should I use otfinstall instead of texfont, besides the fact that
 texfont doesn't work?
   Do you really need another reason? Have you tried otfinst? The point
 of all these scripts is to make your life easier in generating metrics,
 auxiliary fonts and map files; if you tear yourself with questions
 before trying them much of their interest is lost on you.
 
 You're right. I'm just a curious person. I considerd texfont to be an
 'official' tool, and I'd like to learn/stick to official stuff whenever
 possible (at least as long as that doesn't involve me losing my sanity).
 
   Is texfont incomplete?
   I have no idea; but at any rate it belongs to a clearly “older”
 generation of scripts. The latest available version has
 “version=2004.02.06” in the documentation part, and even without that
 you can spot it quite easily since it belongs to Hans' Perl period ;-)
 
 I didn't know Hans' had a Perl period... I guess that period has passed
 now... 2004 has been a while...

well, i still use texfont for type 1 fonts, but for open type i use 
luatex anyway which can handle it directly (actually, mkiv also uses afm 
files instead of tfm when available, so texfont is not needed any more)

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] OpenType in ConTeXt

2007-08-06 Thread Wolfgang Werners-Lucchini
  Why should I use otfinstall instead of texfont, besides the fact
  that texfont doesn't work?
 
   Do you really need another reason? Have you tried otfinst? The
 point
 of all these scripts is to make your life easier in generating
 metrics,
 auxiliary fonts and map files; if you tear yourself with questions
 before trying them much of their interest is lost on you.

It is nice to have such scripts. But I would like to know what goes 
on behind the scene. In principle one has to know all the steps to do 
it by hand. 

Wolfgang
___
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
___