Hello, I'd like to include a short quote in classical greek with all diacritics in a ConTeXt document which is otherwise plain english. What is a good way of doing this? Do I need to change the encoding? Thanks, Matthias
Matthias— I would recommend using Thomas Schmitz’ Greek module (http:// modules.contextgarden.net/t-greek). It works very well for me. Alan On Jan 29, 2006, at 1:19 PM, Matthias Weber wrote:
Hello,
I'd like to include a short quote in classical greek with all diacritics in a ConTeXt document which is otherwise plain english. What is a good way of doing this? Do I need to change the encoding?
Thanks, Matthias _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Thanks, Alan, this package looks nice, but I can't figure out where to put things, despite instructions... I unzip texms.zip and get two directories, which I am supposed to put into the texmf tree. I tried it with the directory (on my Mac) /usr/local/teTeX/share/texmf/ and put all files form the downloaded texmf.zip into the corresponding subdirectories (is there an easy way -- on a Mac, I had to authenticate each copy). Then I ran sudo texhash and sudo updmap --enable Map tasgreek.map. The first time I got !!! ERROR! The map file `tasgreek.map' has not been found at all. and subsequent times "Map files not recreated.", which sounds suspicious. Then, running a simple test file shows that the greek module is being loaded, I get n error message, but also no greek text in the output :( Any hints? I probably have messed up my texmf tree now... Thanks in advance, Matthias On Jan 29, 2006, at 1:36 PM, Alan Bowen wrote:
Matthias—
I would recommend using Thomas Schmitz’ Greek module (http:// modules.contextgarden.net/t-greek). It works very well for me.
Alan
On Jan 29, 2006, at 1:19 PM, Matthias Weber wrote:
Hello,
I'd like to include a short quote in classical greek with all diacritics in a ConTeXt document which is otherwise plain english. What is a good way of doing this? Do I need to change the encoding?
Thanks, Matthias _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
That's due to a change in the TeX Directory Structure. Try running sudo updmap-sys --enable Map tasgreek.map and see if that solves your problem. Good luck Thomas On Jan 30, 2006, at 1:01 AM, Matthias Weber wrote:
I unzip texms.zip and get two directories, which I am supposed to put into the texmf tree. I tried it with the directory (on my Mac)
/usr/local/teTeX/share/texmf/
and put all files form the downloaded texmf.zip into the corresponding subdirectories (is there an easy way -- on a Mac, I had to authenticate each copy). Then I ran sudo texhash and sudo updmap --enable Map tasgreek.map.
The first time I got
!!! ERROR! The map file `tasgreek.map' has not been found at all.
and subsequent times "Map files not recreated.", which sounds suspicious.
Hello Thomas, updmap-sys: command not found (Mac OS X) :( Matthias On Jan 30, 2006, at 2:10 AM, Thomas A. Schmitz wrote:
That's due to a change in the TeX Directory Structure. Try running
sudo updmap-sys --enable Map tasgreek.map
and see if that solves your problem.
Good luck
Thomas
On Jan 30, 2006, at 1:01 AM, Matthias Weber wrote:
I unzip texms.zip and get two directories, which I am supposed to put into the texmf tree. I tried it with the directory (on my Mac)
/usr/local/teTeX/share/texmf/
and put all files form the downloaded texmf.zip into the corresponding subdirectories (is there an easy way -- on a Mac, I had to authenticate each copy). Then I ran sudo texhash and sudo updmap --enable Map tasgreek.map.
The first time I got
!!! ERROR! The map file `tasgreek.map' has not been found at all.
and subsequent times "Map files not recreated.", which sounds suspicious.
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Oops, that means your TeX installation is really old. Are you using Gerben's distribution? I'd recommend upgrading unless there's an important reason why you wouldn't want to do so. I'm afraid it'll be difficult to help you with your problem on your current installation, I don't have access to a machine with such a system. Best Thomas On Jan 31, 2006, at 2:04 AM, Matthias Weber wrote:
Hello Thomas,
updmap-sys: command not found
(Mac OS X)
texnansi:tex nansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2 fr- ec:ec->6->2:2 es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2 pt->ec:ec->9->2:2 it- texnansi :texnansi->10->2:2 it->ec:ec->11->2:2 nl->texnansi:texnansi->12->2:2 nl->ec:ec- 13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2 sk->il2:il2->16- 2:2 sk->ec:ec ->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2 pl->qx:qx->20->2:2 loaded specials : tex,postscript,rokicki loaded system : greektest.top loaded (./greektest.top specials : loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded ) systems : begin file greektest at line 1 system : module t-greek loaded (/Users/matthias/Library/texmf/tex/context/t-greek.tex unicode : loading vector 31 (/usr/local/teTeX/share/texmf.local/tex/context/base/unic-031.tex) encoding : coding agr is loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/enco-agr.tex)) fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: 8r-base fonts : using map file: t5-base fonts : using map file: original-ams-base fonts : using map file: original-public-lm fonts : using map file: tasgreek (/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex) [1.1 {/usr/loc al/teTeX/share/texmf.local/fonts/map/pdftex/context/original- empty.map}{/usr/lo cal/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
Hi Thomas,
I sticked with a 2005 release from last fall (very old???) to avoid
running into incompatibility issues with
current projects.
After updating (iinstaller), three things happen:
i) \eqalign breaks (as noted before on this list, I have to see
whether there is a fix... :(
ii) updmap-sys works without an error message :)
iii) TeXing my sample results in an apparent font problem. Log file
below. :(
I used
\setupgreek[font=Gentiumlun,scale=1.2]
Anything I can do about it?
Thanks,
Matthias
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
fixing engine variable : pdfetex
executable : pdfetex
format : cont-en
inputfile : greektest
output : pdftex
interface : en
current mode : none
TeX run : 1
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
entering extended mode
(./greektest.tex
ConTeXt ver: 2006.01.28 10:09 fmt: 2006.1.31 int: english mes:
english
language : language en is active
Oops, that means your TeX installation is really old. Are you using Gerben's distribution? I'd recommend upgrading unless there's an important reason why you wouldn't want to do so. I'm afraid it'll be difficult to help you with your problem on your current installation, I don't have access to a machine with such a system.
Best
Thomas
On Jan 31, 2006, at 2:04 AM, Matthias Weber wrote:
Hello Thomas,
updmap-sys: command not found
(Mac OS X)
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
As afollow-up, I tried moving the font files some place else.
I first hat the font directory in
~/Library/texmf/
and then put them into
~/Library/texmf//texmf/
where they are apparently found, this time the log file says the font
metrics can't be found.
See below. Do I have to generate them?
Matthias
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
fixing engine variable : pdfetex
executable : pdfetex
format : cont-en
inputfile : greektest
output : pdftex
interface : en
current mode : none
TeX run : 1
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
entering extended mode
(./greektest.tex
ConTeXt ver: 2006.01.28 10:09 fmt: 2006.1.31 int: english mes:
english
language : language en is active
texnansi:tex nansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2 fr- ec:ec->6->2:2 es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2 pt->ec:ec->9->2:2 it- texnansi :texnansi->10->2:2 it->ec:ec->11->2:2 nl->texnansi:texnansi->12->2:2 nl->ec:ec- 13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2 sk->il2:il2->16- 2:2 sk->ec:ec ->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2 pl->qx:qx->20->2:2 loaded specials : tex,postscript,rokicki loaded system : greektest.top loaded (./greektest.top specials : loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded ) systems : begin file greektest at line 1 system : module t-greek loaded (/Users/matthias/Library/texmf/tex/context/t-greek.tex unicode : loading vector 31 (/usr/local/teTeX/share/texmf.local/tex/context/base/unic-031.tex) encoding : coding agr is loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/enco-agr.tex)) kpathsea: Running mktextfm genagr-l-GentiumAlt mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input genagr-l-GentiumAlt This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf genagr-l-GentiumAlt
! I can't find file `genagr-l-GentiumAlt'. <*> ...:=1; nonstopmode; input genagr-l-GentiumAlt Please type another input file name ! Emergency stop. <*> ...:=1; nonstopmode; input genagr-l-GentiumAlt Transcript written on mfput.log. grep: genagr-l-GentiumAlt.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input genagr-l-GentiumAlt' failed to make genagr-l-GentiumAlt.tfm. kpathsea: Appending font creation commands to missfont.log. ! Font \**GreekFont**=genagr-l-GentiumAlt at 14.39996pt not loadable: Metric (T FM) file not found. <to be read again> \relax \dododefinefont ...ontspec {#2}\rawfontidentifier \let \localrelativefontsiz... \directsetup ...:#1}{\csname \??su :#1\endcsname } \empty \startgreek ...\getvalue {\??be greek\c!commands } \dostartattributes {\??be ... l.7 \startgreek ? Process aborted
Matthias Weber wrote:
As afollow-up, I tried moving the font files some place else.
I first hat the font directory in
~/Library/texmf/
and then put them into
~/Library/texmf//texmf/
Library/texmf/fonts afm|tfm|type1|truetype|otf|vf|map|end 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 -----------------------------------------------------------------
Yes, there I had them in the first place, getting fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: 8r-base fonts : using map file: t5-base fonts : using map file: original-ams-base fonts : using map file: original-public-lm fonts : using map file: tasgreek (/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex) [1.1 {/usr/loc al/teTeX/share/texmf.local/fonts/map/pdftex/context/original- empty.map}{/usr/lo cal/teTeX/share/texmf.local/fonts/map/pdftex/context/original- base.map}{/usr/lo cal/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-public-lm.map} {/usr/loc al/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base.map}{/usr/ local/teT eX/share/texmf.local/fonts/map/pdftex/context/8r-base.map}{/usr/local/ teTeX/sha re/texmf.local/fonts/map/pdftex/context/t5-base.map}{/usr/local/teTeX/ share/tex mf.local/fonts/map/pdftex/context/original-ams-base.map}{/usr/local/ teTeX/share /texmf.local/fonts/map/pdftex/context/original-public-lm.map}{/Users/ matthias/L ibrary/texmf/fonts/map/tasgreek.map} checksum mismatch in local font genagr-raw-GentiumAlt in virtual font genagr-l- GentiumAlt.vf ignored.] systems : end file greektest at line 12 ) (see the transcript file for additional information){/Users/matthias/ Library/te xmf/fonts/enc/dvips/base/greek/genagr.enc} Error: pdfetex (file GentiumAlt.ttf): cannot open TrueType font file for readin g ==> Fatal error occurred, the output PDF file is not finished! return code : 65280 On Jan 31, 2006, at 10:33 AM, Hans Hagen wrote:
Matthias Weber wrote:
As afollow-up, I tried moving the font files some place else.
I first hat the font directory in
~/Library/texmf/
and then put them into
~/Library/texmf//texmf/
Library/texmf/fonts afm|tfm|type1|truetype|otf|vf|map|end
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 -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Matthias Weber wrote:
checksum mismatch in local font genagr-raw-GentiumAlt in virtual font genagr-l- GentiumAlt.vf ignored.] systems : end file greektest at line 12
Warnings like this used to mean that you had a mismatch where you have a virtual font (<name>.vf) file, but that the matching metric file (<name>.tfm) is not supposed to be a virtual font. This may be the thing that is confusing pdftex? Too many (.vf) files instead of missing files? Cheers, Taco
Matthias Weber wrote:
Yes, there I had them in the first place, getting
checksum mismatch in local font genagr-raw-GentiumAlt in virtual font genagr-l- GentiumAlt.vf ignored.]
sounds like the vf file os corrupt
systems : end file greektest at line 12 )
Error: pdfetex (file GentiumAlt.ttf): cannot open TrueType font file for readin g ==> Fatal error occurred, the output PDF file is not finished!
make sure that the map file points to a ttf file that exists or a pfb file 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 -----------------------------------------------------------------
Taco Hoekwater wrote:
Matthias Weber wrote:
i) \eqalign breaks (as noted before on this list, I have to see whether there is a fix... :(
working on that...
i'm syncing ... will take some time so you can pick up a new version in a while 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 -----------------------------------------------------------------
On Jan 31, 2006, at 3:42 PM, Matthias Weber wrote:
(see the transcript file for additional information){/Users/ matthias/Library/te xmf/fonts/enc/dvips/base/greek/genagr.enc} Error: pdfetex (file GentiumAlt.ttf): cannot open TrueType font file for readin g ==> Fatal error occurred, the output PDF file is not finished!
Have a look at the documentation: the font is not included, you need to download it first... I f you want a font that works right away, try \setupgreek[font=Ibycus,scale=1.2] Good luck Thomas
Great, this works now! That was definitely the easiest fix of the day. Thanks a lot. Matthias On Jan 31, 2006, at 12:54 PM, Thomas A. Schmitz wrote:
On Jan 31, 2006, at 3:42 PM, Matthias Weber wrote:
(see the transcript file for additional information){/Users/ matthias/Library/te xmf/fonts/enc/dvips/base/greek/genagr.enc} Error: pdfetex (file GentiumAlt.ttf): cannot open TrueType font file for readin g ==> Fatal error occurred, the output PDF file is not finished!
Have a look at the documentation: the font is not included, you need to download it first... I f you want a font that works right away, try
\setupgreek[font=Ibycus,scale=1.2]
Good luck
Thomas _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On the subject of fixes: Hans' new ConTeXt release is now available for download, and it includes fixes for \eqalign and \startalign. The release notes are here: http://wiki.contextgarden.net/Context_2006.01.31 I'll do a formal announcement and CTAN upload tomorrow. Cheers, taco Matthias Weber wrote:
Great, this works now!
That was definitely the easiest fix of the day.
Thanks a lot.
On Jan 31, 2006, at 7:46 PM, Taco Hoekwater wrote:
On the subject of fixes:
Hans' new ConTeXt release is now available for download, and it includes fixes for \eqalign and \startalign. The release notes are here:
http://wiki.contextgarden.net/Context_2006.01.31
I'll do a formal announcement and CTAN upload tomorrow.
Cheers, taco
Just a quick question about the new release(s): I've seen that formats are now installed in $HOMETEXMF instead of $TEXMFLOCAL. Is there a reason for this change, and is it possible to have them installed in the old place? I preferred that way because it keeps everything in one location. Best Thomas
Thomas A. Schmitz wrote:
Just a quick question about the new release(s): I've seen that formats are now installed in $HOMETEXMF instead of $TEXMFLOCAL. Is there a reason for this change, and is it possible to have them installed in the old place? I preferred that way because it keeps everything in one location.
Depends on your tetex/texlive setup, I think. afaik, texexec calls kpsewhich to decide on the path to use. Taco
On 2/1/06, Thomas A. Schmitz
Just a quick question about the new release(s): I've seen that formats are now installed in $HOMETEXMF instead of $TEXMFLOCAL. Is there a reason for this change, and is it possible to have them installed in the old place? I preferred that way because it keeps everything in one location.
Which commands have you used for updating ? I follow the page http://wiki.contextgarden.net/TeTeX_3.0_installation , it works perfectly for me. -- http://vnoss.org Vietnamese Open Source Software Community
On Feb 1, 2006, at 6:37 PM, VnPenguin wrote:
Which commands have you used for updating ? I follow the page http://wiki.contextgarden.net/TeTeX_3.0_installation , it works perfectly for me.
No, that's not the point, updating works. I just see that in my $HOMETEXMF, I now have a directory web2c/pdfetex where format files are stored. This directory has been created on Jan 25, at one of the latest updates. I haven't changed my texmf.cnf, so the behavior of texexec --make has changed during one of the last releases, I guess 2006.01.16. And I'm just wondering if I can have the old behavior back as I prefer it. All best Thomas
On Feb 1, 2006, at 9:07 PM, Thomas A. Schmitz wrote:
No, that's not the point, updating works. I just see that in my $HOMETEXMF, I now have a directory web2c/pdfetex where format files are stored. This directory has been created on Jan 25, at one of the latest updates. I haven't changed my texmf.cnf, so the behavior of texexec --make has changed during one of the last releases, I guess 2006.01.16. And I'm just wondering if I can have the old behavior back as I prefer it.
I downloaded the latest release from yesterday, and it doesn't create a web2c directory in my $HOMETEXMF anymore, so either a problem has been fixed, or I did something wrong to get this result. Sorry for the noise. Thomas
Thomas A. Schmitz wrote:
On Feb 1, 2006, at 6:37 PM, VnPenguin wrote:
Which commands have you used for updating ? I follow the page http://wiki.contextgarden.net/TeTeX_3.0_installation , it works perfectly for me.
No, that's not the point, updating works. I just see that in my $HOMETEXMF, I now have a directory web2c/pdfetex where format files are stored. This directory has been created on Jan 25, at one of the latest updates. I haven't changed my texmf.cnf, so the behavior of texexec --make has changed during one of the last releases, I guess 2006.01.16. And I'm just wondering if I can have the old behavior back as I prefer it.
There are no pertinent changes to texexec (going back to 20051218) so if you are right about the date, it has to be something in your local environment that has changed. Cheers, Taco
participants (6)
-
Alan Bowen
-
Hans Hagen
-
Matthias Weber
-
Taco Hoekwater
-
Thomas A. Schmitz
-
VnPenguin