I managed to install the greek module. Here is where it is placed: adsm@adsm:/etc/texmf/tex/context/third> ls t-ancientgreek adsm@adsm:/etc/texmf/tex/context/third> cd t-ancientgreek/ adsm@adsm:/etc/texmf/tex/context/third/t-ancientgreek> ls fonts t-ancientgreek.mkiv t-oldgreek.tex type-agr.mkiv t-ancientgreek.mkii t-ancientgreek.tex type-agr.mkii type-agr.tex adsm@adsm:/etc/texmf/tex/context/third/t-ancientgreek> adsm@adsm:~> kpsewhere t-ancientgreek.tex /etc/texmf/tex/context/third/t-ancientgreek/t-ancientgreek.tex The point now is that I need to build the fonts (or build the metric =20 files of the fonts). So need to use texfont, am I right? One mandatory =20 argument is the vendor's name. Which name should I type for GFSDidot, =20 GFSPorson, Ibycus, Gentium? Another issue: Xetex says repeatedly (as you can see on the attached file) ! Undefined control sequence. l.5 \beginOLDTEX I ask if there is no compatibility between Xetex and greekmodule can I =20 use Context with unicode (utf8) input (the manual which I suppose is =20 quite outdated says Context expects pure ASCII input)? Thanks for your help. Armando Martins
On Fri, May 2, 2008 at 11:46 AM,
Another issue: Xetex says repeatedly (as you can see on the attached file)
(there was no file attached)
! Undefined control sequence. l.5 \beginOLDTEX
I cannot answer the greek-specific questions, but I guess that your ConTeXt might be too old. Can you try to update ConTeXt and try again? Mojca
On May 2, 2008, at 11:46 AM, cidadaum@sapo.pt wrote:
I managed to install the greek module. Here is where it is placed:
adsm@adsm:/etc/texmf/tex/context/third> ls t-ancientgreek adsm@adsm:/etc/texmf/tex/context/third> cd t-ancientgreek/ adsm@adsm:/etc/texmf/tex/context/third/t-ancientgreek> ls fonts t-ancientgreek.mkiv t-oldgreek.tex type- agr.mkiv t-ancientgreek.mkii t-ancientgreek.tex type-agr.mkii type-agr.tex adsm@adsm:/etc/texmf/tex/context/third/t-ancientgreek>
adsm@adsm:~> kpsewhere t-ancientgreek.tex /etc/texmf/tex/context/third/t-ancientgreek/t-ancientgreek.tex
Oh boy. This is really not the place where your personal additions to your TeX installation should go. But if it can find the files in this location, let's take it from there.
The point now is that I need to build the fonts (or build the metric =20 files of the fonts). So need to use texfont, am I right? One mandatory =20 argument is the vendor's name. Which name should I type for GFSDidot, =20 GFSPorson, Ibycus, Gentium?
No, the entire point is that the module comes with these metric files; I have prepared all this and run texfont for you. Plus, you don't need any metrical files for XeTeX. I have included a couple of fonts too, so you should be good to go. Try a minimal file: \enableregime[utf] \usemodule[ancientgreek][font=GFSPorson] \starttext test: \localgreek{Μῆνιν ἄειδε, θεά} \stoptext
Another issue: Xetex says repeatedly (as you can see on the attached file)
! Undefined control sequence. l.5 \beginOLDTEX
Two explanations are possible (there was no attachment to your mail): - you're not using ConTeXt. you should invoke it with texexec --xtx yourfilename.tex - your ConTeXt is too old. OpenSuSE has TeXLive 2007, I guess, so you should update ConTeXt.
I ask if there is no compatibility between Xetex and greekmodule can I =20 use Context with unicode (utf8) input (the manual which I suppose is =20 quite outdated says Context expects pure ASCII input)?
As I said, with the latest version, you should be able to use all engines. So you can use ConTeXt with utf8 input (you have to include the \enableregime[utf] line at the beginning of the file) or XeTeX (which will only work with utf8-input) or luatex. Which manual says that ConTeXt expects pure ASCII input? Thomas
I see...
I cringe so much of
Citando "Thomas A. Schmitz"
On May 2, 2008, at 11:46 AM, cidadaum@sapo.pt wrote:
I managed to install the greek module. Here is where it is placed:
adsm@adsm:/etc/texmf/tex/context/third> ls t-ancientgreek adsm@adsm:/etc/texmf/tex/context/third> cd t-ancientgreek/ adsm@adsm:/etc/texmf/tex/context/third/t-ancientgreek> ls fonts t-ancientgreek.mkiv t-oldgreek.tex type- agr.mkiv t-ancientgreek.mkii t-ancientgreek.tex type-agr.mkii type-agr.tex adsm@adsm:/etc/texmf/tex/context/third/t-ancientgreek>
adsm@adsm:~> kpsewhere t-ancientgreek.tex /etc/texmf/tex/context/third/t-ancientgreek/t-ancientgreek.tex
Oh boy. This is really not the place where your personal additions to your TeX installation should go.
Please, where is the right place?
But if it can find the files in this location, let's take it from there.
The point now is that I need to build the fonts (or build the metric =20 files of the fonts). So need to use texfont, am I right? One mandatory =20 argument is the vendor's name. Which name should I type for GFSDidot, =20 GFSPorson, Ibycus, Gentium?
No, the entire point is that the module comes with these metric files; I have prepared all this and run texfont for you. Plus, you don't need any metrical files for XeTeX. I have included a couple of fonts too, so you should be good to go. Try a minimal file:
\enableregime[utf] \usemodule[ancientgreek][font=GFSPorson]
\starttext
test: \localgreek{????? ?????, ???}
\stoptext
Another issue: Xetex says repeatedly (as you can see on the attached file)
! Undefined control sequence. l.5 \beginOLDTEX
Two explanations are possible (there was no attachment to your mail)
Indeed no. I gave up when I received the e-mail saying my message was waiting for approval. I apologise. :
- you're not using ConTeXt. you should invoke it with texexec --xtx yourfilename.tex
No. I am doing exactly that: texexec --xtx myfilename.tex
- your ConTeXt is too old. OpenSuSE has TeXLive 2007, I guess, so you should update ConTeXt.
Right. My Context is from 2007. The point is that I am so clumsy about installing something on OpenSuse/Linux (I have a Windows machine using MikTex, suppose that doesn't help) that I do it always on line with a repo. Download and install rpm packages (or other files) rarely turns out to be good. But anyway I have tried to install according to the recipe I found on wiki (http://wiki.contextgarden.net/Linux_User_Installation). Didn't manage. If you have no other suggestion I can try again and post the result.
I ask if there is no compatibility between Xetex and greekmodule can I =20 use Context with unicode (utf8) input (the manual which I suppose is =20 quite outdated says Context expects pure ASCII input)?
As I said, with the latest version, you should be able to use all engines. So you can use ConTeXt with utf8 input (you have to include the \enableregime[utf] line at the beginning of the file) or XeTeX (which will only work with utf8-input) or luatex. Which manual says that ConTeXt expects pure ASCII input?
This one: mp-cb-en.pdf. Quoting from page 1: "CONTEXT expects a plain ASCII input file. Of course you can use any texteditor or wordprocessor you want, but you should not forget that CONTEXT can only read ASCII input. Most texteditors or wordprocessors can export your file as plain ASCII." I will try to run the file and I will post the output later on. Thanks for your patience. Armando
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 ___________________________________________________________________________________
On Fri, May 2, 2008 at 10:36 PM,
Two explanations are possible (there was no attachment to your mail)
Indeed no. I gave up when I received the e-mail saying my message was waiting for approval. I apologise.
Waiting for approval because of too big attachment?
- your ConTeXt is too old. OpenSuSE has TeXLive 2007, I guess, so you should update ConTeXt.
Right. My Context is from 2007. The point is that I am so clumsy about installing something on OpenSuse/Linux (I have a Windows machine using MikTex, suppose that doesn't help) that I do it always on line with a repo.
MikTeX does help. Quite some users report that the latest version of ConTeXt is currently broken though (and yesterday updating MikTeX was broken). I had no chance to check, but in theory it should work (you need to use MikTeX 2.7). I guess that even the module itself is included in MikTeX.
Download and install rpm packages (or other files) rarely turns out to be good. But anyway I have tried to install according to the recipe I found on wiki (http://wiki.contextgarden.net/Linux_User_Installation). Didn't manage. If you have no other suggestion I can try again and post the result.
Those instructions are a bit out-of-date (the problem is that the zips on PRAGMA are rather old). I will fix the instructions. Can you try this? mkdir context && cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh and then put something like . ~/context/setuptex ~/context to .bash_profile or .bashrc or only execute that command once you need it (it will shield your global tex installation, but you can remove it at any time). This will only "install" a local copy. If you need to fix the global installation, one option is to update "only" ConTeXt files, for example with rsync -av rsync://contextgarden.net/minimals/current/context/current/ location-of-your-distro/texmf-something (test to a temporary location first) But: - you also need to update LM fonts - I would also suggest to update the xetex and xdvipdfmx binary in that case. XeTeX before winter works extremely slowly with latest ConTeXt
"CONTEXT expects a plain ASCII input file. Of course you can use any texteditor or wordprocessor you want, but you should not forget that CONTEXT can only read ASCII input. Most texteditors or wordprocessors can export your file as plain ASCII."
That's not true. Maybe it was in the past, but you can use UTF-8 without a problem now. Mojca
Citando Mojca Miklavec
On Fri, May 2, 2008 at 10:36 PM,
wrote: Two explanations are possible (there was no attachment to your mail)
Indeed no. I gave up when I received the e-mail saying my message was waiting for approval. I apologise.
Waiting for approval because of too big attachment?
Suppose no. It was a log file.
- your ConTeXt is too old. OpenSuSE has TeXLive 2007, I guess, so you should update ConTeXt.
Right. My Context is from 2007. The point is that I am so clumsy about installing something on OpenSuse/Linux (I have a Windows machine using MikTex, suppose that doesn't help) that I do it always on line with a repo.
MikTeX does help. Quite some users report that the latest version of ConTeXt is currently broken though (and yesterday updating MikTeX was broken). I had no chance to check, but in theory it should work (you need to use MikTeX 2.7). I guess that even the module itself is included in MikTeX.
I have MikTex 2.7. I uninstalled and installed again because it couldn't build the format for ConTeXt. Now it builds but texexec --version does not produce any output. MikTex help list says one should have perl and ruby - which I have (I checked the environment variables and ruby is not there; this can be the cause but I don't know how to add it). Anyway I will stick to Linux first.
Download and install rpm packages (or other files) rarely turns out to be good. But anyway I have tried to install according to the recipe I found on wiki (http://wiki.contextgarden.net/Linux_User_Installation). Didn't manage. If you have no other suggestion I can try again and post the result.
Those instructions are a bit out-of-date (the problem is that the zips on PRAGMA are rather old). I will fix the instructions.
Can you try this? mkdir context && cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh and then put something like . ~/context/setuptex ~/context to .bash_profile or .bashrc or only execute that command once you need it (it will shield your global tex installation, but you can remove it at any time).
This will only "install" a local copy.
If you need to fix the global installation, one option is to update "only" ConTeXt files, for example with rsync -av rsync://contextgarden.net/minimals/current/context/current/ location-of-your-distro/texmf-something (test to a temporary location first)
But: - you also need to update LM fonts - I would also suggest to update the xetex and xdvipdfmx binary in that case. XeTeX before winter works extremely slowly with latest ConTeXt
Thanks for your help. I will try one of those solutions. A final remark. I didn't say this (bellow quoted), it is written in one of the manuals (mp-cb-en.pdf), page 4:
"CONTEXT expects a plain ASCII input file. Of course you can use any texteditor or wordprocessor you want, but you should not forget that CONTEXT can only read ASCII input. Most texteditors or wordprocessors can export your file as plain ASCII."
That's not true. Maybe it was in the past, but you can use UTF-8 without a problem now.
Mojca
Armando
___________________________________________________________________________________ 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 ___________________________________________________________________________________
On Sat, May 3, 2008 at 1:06 PM,
Right. My Context is from 2007. The point is that I am so clumsy about installing something on OpenSuse/Linux (I have a Windows machine using MikTex, suppose that doesn't help) that I do it always on line with a repo.
MikTeX does help. Quite some users report that the latest version of ConTeXt is currently broken though (and yesterday updating MikTeX was broken). I had no chance to check, but in theory it should work (you need to use MikTeX 2.7). I guess that even the module itself is included in MikTeX.
I have MikTex 2.7. I uninstalled and installed again because it couldn't build the format for ConTeXt. Now it builds but texexec --version does not produce any output.
Read my other post about MikTeX & ConTeXt. Try to run (single line): ruby "C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb" texexec filename.tex Mojca
On May 2, 2008, at 10:36 PM, cidadaum@sapo.pt wrote:
I see... I cringe so much of
Don't. We've all been beginners once and needed help. You just need to learn to follow a systematic approach and read replies to your questions more carefully...
Oh boy. This is really not the place where your personal additions to your TeX installation should go.
Please, where is the right place?
That was indicated in my reply to your first question; quoting myself: I would advise, however, to install additional packages either to the local texmf tree or to you personal tree. These are defined in the file /etc/ texmf/web2c/texmf.cnf as TEXMFLOCAL = /usr/local/share/texmf and TEXMFHOME = $HOME/TEXMF The point is: when SuSE installs a new version of texlive, it will simply overwrite your files (even if you have edited them) or delete the old directories. Moreover, if you make a mistake here, you can simply erase the directory and start over. That's why it is considered good practice to keep ths distribution files and your local/personal additions separate.
Right. My Context is from 2007. The point is that I am so clumsy about installing something on OpenSuse/Linux (I have a Windows machine using MikTex, suppose that doesn't help) that I do it always on line with a repo. Download and install rpm packages (or other files) rarely turns out to be good. But anyway I have tried to install according to the recipe I found on wiki (http://wiki.contextgarden.net/Linux_User_Installation). Didn't manage. If you have no other suggestion I can try again and post the result.
OK, there are several problems here: 1. SuSE's texlive installation has some problems, esp. when you try to use luatex; 2. the latest ConTeXt release will also need the latest latin modern fonts, which (I guess) are not available as a package for SuSE yet. 3. This being said, it is entirely possible to update ConTeXt within your SuSE texlive installation (I have been doing this for several years now). - create directory /usr/local/share/texmf - cd /usr/local/share/texmf - sudo wget http://www.pragma-ade.com/context/current/cont-tmf.zip - sudo unzip cont-tmf.zip - sudo texhash - sudo texexec --make --all --pdftex - sudo texexec --make --all --xtx
Which manual says that ConTeXt expects pure ASCII input?
This one: mp-cb-en.pdf. Quoting from page 1:
"CONTEXT expects a plain ASCII input file. Of course you can use any texteditor or wordprocessor you want, but you should not forget that CONTEXT can only read ASCII input. Most texteditors or wordprocessors can export your file as plain ASCII."
OK, you're right. This is really obsolete (and has been so for several years). We've been collecting such things for a while now, but this is seriously misleading. Hans, any chance of regenerating the m*-cb-en.pdfs and taking this paragraph out? Thomas
participants (3)
-
cidadaum@sapo.pt
-
Mojca Miklavec
-
Thomas A. Schmitz