Re: [NTG-context] Greek module problem

2008-12-20 Thread Alan Bowen

Hi, Thomas

I was getting errors no matter what font I wanted to use.

But now that I have installed the  the two files (alkagr.enc and  
alklagr.enc) in texmf/fonts/enc/dvips/greek,

everything works as it should.

The only “loss” that I have detected so far seems to be Greek  
Oxoniensis---I need an Oxoniensis.otf file---but given that the font  
is not in the public domain, that is perhaps for the good.


 Many thanks!

Alan

On Dec 19, 2008, at 17;57,00 , Thomas A. Schmitz wrote:



On Dec 19, 2008, at 10:45 PM, Mojca Miklavec wrote:


On Fri, Dec 19, 2008 at 10:26 PM, Alan Bowen wrote:

Hi, Mojca,
The key line in my preamble is
\usemodule[ancientgreek] 
[font=Alkaios,scale=1,altfont=GreekOxoniensis,altscale=0.9]
I get the same error message no matter what Greek font I call for  
(e.g.

GreekKerkis, GreekOxoniensis, etc).
I would check the docs but there are none with the module itself  
and the

link to the online docs is broken.
I have also checked t-greek-2008.08.11 and can confirm that there  
is no

alkagr.enc file in this module.
So, how does one fix this?


Sorry, was away from my computer for this afternoon. I just looked,  
and it seems that agralk.enc is not included in the zip. There's a  
typo in the tpm file from which the zip is generated, my bad. Alan,  
do I understand you correctly: you're getting errors no matter what  
font you use? Or just with Alkaios?






1.) wait for Thomas to answer

2.) this file seems a bit weird to me anyway:
http://dl.contextgarden.net/modules/t-greek/fonts/map/pdftex/context/tasgreek.map
but some older mirrors still contain this file:
http://sunsite.bilkent.edu.tr/pub/tex/ctan/macros/context/contrib/t-greek/fonts/enc/dvips/greek/agralk.enc


Mojca, I'm a bit slow tonight: what's weird about these files?

Anyway, I'll try to publish a new version in the next days, and I  
attach the necessary files.


Sorry for the inconvenience

Thomas

 
alkagr 
.enc 
 
 
alklagr 
.enc 
 
___
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] Greek module problem

2008-12-20 Thread Thomas A. Schmitz


On Dec 20, 2008, at 12:43 AM, Wolfgang Schuster wrote:



Am 20.12.2008 um 00:31 schrieb Mojca Miklavec:


On Fri, Dec 19, 2008 at 11:57 PM, Thomas A. Schmitz wrote:


Mojca, I'm a bit slow tonight: what's weird about these files?


I have never seen [ and  in map files before, but most probably
these are completely legal characters. It's just my ignorance,
probably nothing with the file, really.

After taking a closer look it seems to be an extention (with very
weird syntax) to enable otf fonts. One rarely sees support for those
in pdfTeX. (Even ttf seems to appear weird to TeXies.)



Don't know what [ is supposed to do but  is necessary to use
OpenType fonts with pdfTeX. Here is the explanation from the pdfTeX
manual.

Thanks for the explanation Wolfgang. As to [: to be quite honest, I  
don't know myself. When you let Eddie Kohler's lcdf tools generate a  
map file for an otf, it uses this syntax, so I just copied this  
behavior because it worked(TM). I have tried to google it, but  
searching for a string like [ isn't easy, it seems...


Thomas
___
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] Greek module problem

2008-12-19 Thread Mojca Miklavec
On Fri, Dec 19, 2008 at 9:28 PM, Alan Bowen wrote:
 Thanks, Aditya, mktexlsr ran successfully.

 Regrettably, I still get

 pdfTeX error: pdftex (file alkagr.enc): cannot open encoding file for
 reading
  == Fatal error occurred, no output PDF file produced!

 when I try to process a file with Greek in it.

Maybe that's a file that exists on his computer only (by pure
accidence)? Google doesn't find that encoding file either.

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] Greek module problem

2008-12-19 Thread Alan Bowen

Thanks, Aditya, mktexlsr ran successfully.

Regrettably, I still get

pdfTeX error: pdftex (file alkagr.enc): cannot open encoding file for  
reading

 == Fatal error occurred, no output PDF file produced!

when I try to process a file with Greek in it.

Alan

On Dec 19, 2008, at 15;17,05 , Aditya Mahajan wrote:


On Fri, 19 Dec 2008, Alan Bowen wrote:

I recently updated to Thomas’ latest Greek module and to the system  
software (Mac OS 10.5.6), and am now am getting errors indicating  
that the .enc files are not being found.


I checked cont-sys.tex and see that \autoloadmapfilestrue is set.  
But running “texhash” gets a “command not found” message.


Try mktexlsr.

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
___


___
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] Greek module problem

2008-12-19 Thread Wolfgang Schuster


Am 19.12.2008 um 22:03 schrieb Mojca Miklavec:


On Fri, Dec 19, 2008 at 9:28 PM, Alan Bowen wrote:

Thanks, Aditya, mktexlsr ran successfully.

Regrettably, I still get

pdfTeX error: pdftex (file alkagr.enc): cannot open encoding file for
reading
== Fatal error occurred, no output PDF file produced!

when I try to process a file with Greek in it.


Maybe that's a file that exists on his computer only (by pure
accidence)? Google doesn't find that encoding file either.


I found this encoding file in the release of the grrek module
from 3. April 2005.

agralk.enc

/alkagrEncoding[
...
] def

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] Greek module problem

2008-12-19 Thread Thomas A. Schmitz


On Dec 19, 2008, at 10:45 PM, Mojca Miklavec wrote:


On Fri, Dec 19, 2008 at 10:26 PM, Alan Bowen wrote:

Hi, Mojca,
The key line in my preamble is
\usemodule[ancientgreek] 
[font=Alkaios,scale=1,altfont=GreekOxoniensis,altscale=0.9]
I get the same error message no matter what Greek font I call for  
(e.g.

GreekKerkis, GreekOxoniensis, etc).
I would check the docs but there are none with the module itself  
and the

link to the online docs is broken.
I have also checked t-greek-2008.08.11 and can confirm that there  
is no

alkagr.enc file in this module.
So, how does one fix this?


Sorry, was away from my computer for this afternoon. I just looked,  
and it seems that agralk.enc is not included in the zip. There's a  
typo in the tpm file from which the zip is generated, my bad. Alan, do  
I understand you correctly: you're getting errors no matter what font  
you use? Or just with Alkaios?






1.) wait for Thomas to answer

2.) this file seems a bit weird to me anyway:
http://dl.contextgarden.net/modules/t-greek/fonts/map/pdftex/context/tasgreek.map
but some older mirrors still contain this file:
http://sunsite.bilkent.edu.tr/pub/tex/ctan/macros/context/contrib/t-greek/fonts/enc/dvips/greek/agralk.enc


Mojca, I'm a bit slow tonight: what's weird about these files?

Anyway, I'll try to publish a new version in the next days, and I  
attach the necessary files.


Sorry for the inconvenience

Thomas



alkagr.enc
Description: Binary data


alklagr.enc
Description: Binary data
___
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] Greek module problem

2008-12-19 Thread Mojca Miklavec
On Fri, Dec 19, 2008 at 11:57 PM, Thomas A. Schmitz wrote:

 Mojca, I'm a bit slow tonight: what's weird about these files?

I have never seen [ and  in map files before, but most probably
these are completely legal characters. It's just my ignorance,
probably nothing with the file, really.

After taking a closer look it seems to be an extention (with very
weird syntax) to enable otf fonts. One rarely sees support for those
in pdfTeX. (Even ttf seems to appear weird to TeXies.)

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] Greek module problem

2008-12-19 Thread Wolfgang Schuster


Am 20.12.2008 um 00:31 schrieb Mojca Miklavec:


On Fri, Dec 19, 2008 at 11:57 PM, Thomas A. Schmitz wrote:


Mojca, I'm a bit slow tonight: what's weird about these files?


I have never seen [ and  in map files before, but most probably
these are completely legal characters. It's just my ignorance,
probably nothing with the file, really.

After taking a closer look it seems to be an extention (with very
weird syntax) to enable otf fonts. One rarely sees support for those
in pdfTeX. (Even ttf seems to appear weird to TeXies.)



Don't know what [ is supposed to do but  is necessary to use
OpenType fonts with pdfTeX. Here is the explanation from the pdfTeX
manual.

If the font file name is preceded by a double , the font file
will be included entirely — all glyphs of the font are embedded,
including even the ones that are not used in the document. Apart
from causing large size pdf output, this option may cause troubles
with TrueType fonts, so it is normally not recommended for Type1
or TrueType fonts. But this is currently the only mode that allows
the use of OpenType fonts. This mode might also be useful in case
the font is atypical and can not be  subsetted well by pdfTX.
Beware: some font vendors forbid full font inclusion.

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
___