OK, so the ConTeXt that comes with the TeX distribution I use (until
eariler today, MacPorts, and as from later today, fink) is ancient.
now, with good old LaTeX that's not much of a problem - just put the
most recent release in the few relevant places in texmf-local,
rebuild the formats, and off you go. with ConTeXt, that's, er, not
so simple.
the first attempt I made was to pull dowm the most recent version of
the base files and then run
sudo texmfstart ctxtools --update
which seemingly worked, pulled the updates to texmf-local, and
complied with no error messages. however, the new ConTeXt failed to
compile documents, giving lots of error messages about undefined
commands.
texexec test.tex (which used to work) gives
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input ec-lmr12' failed to make ec-lmr12.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \*12ptrmtfrm*=ec-lmr12 not loadable: Metric (TFM) file not found.
ruby `kpsewhich --format=texmfscripts texmfstart.rb` texexec test
(which is in essence what the recommended shell script does) gives
ConTeXt ver: 2005.01.31 fmt: 2006.12.30 int: english mes: english
language : language en is active
On 12/30/06, Rolf Marvin Bøe Lindgren wrote:
now, according to several web pages, ec-lmr12 can be found on pragma's web, but it's not there.
It's not there any more since it was considered that they should either be present on the system already or that it would make sense to update the system anyway. http://www.ctan.org/tex-archive/fonts/lm/ gwTeX is based on a more modern TeX distribution (TeX Live 2006), but is going to be supported for just another 22 hours. (tetex isn't supported any more anyway.) Mojca
On 30. des. 2006, at 11:27, Rolf Marvin Bøe Lindgren wrote:
OK, so the ConTeXt that comes with the TeX distribution I use (until eariler today, MacPorts, and as from later today, fink) is ancient.
now, with good old LaTeX that's not much of a problem - just put the most recent release in the few relevant places in texmf-local, rebuild the formats, and off you go. with ConTeXt, that's, er, not so simple.
OK, the problem was solvable and I now have an up-to-date ConTeXt. the only remaining issue is that of hyphenation - the previous version, apparently had Norwegian hyphenation on by default. I managed to coerce ConTeXt into handeling it, but what is the canonical way to edit which hyphenation patterns ConTeXt loads when building formats? -- Rolf Lindgren roffe@extern.uio.no
� wrote:
On 30. des. 2006, at 11:27, Rolf Marvin B�e Lindgren wrote:
OK, so the ConTeXt that comes with the TeX distribution I use (until eariler today, MacPorts, and as from later today, fink) is ancient.
now, with good old LaTeX that's not much of a problem - just put the most recent release in the few relevant places in texmf-local, rebuild the formats, and off you go. with ConTeXt, that's, er, not so simple.
OK, the problem was solvable and I now have an up-to-date ConTeXt. the only remaining issue is that of hyphenation - the previous version, apparently had Norwegian hyphenation on by default. I managed to coerce ConTeXt into handeling it, but what is the canonical way to edit which hyphenation patterns ConTeXt loads when building formats?
texexec --make --all the --all will force all patterns to be loaded (luatex will provide runtime loading of patterns) 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 -----------------------------------------------------------------
� wrote:
On 31. des. 2006, at 8:29, Hans Hagen wrote:
texexec --make --all
the --all will force all patterns to be loaded
yes, but take a look at lang-no.dat � \patterns{} is empty. I don't know if it's significant.
hm, the name of the original patterns file has changed (another indication of minimal name management) % nohyph.tex -- manually created by Ivar Aavatsmark and others; % hyphenate according to pre-1973 rules; no longer recommended for use. % (Sometimes also known as nohyph1.tex.) % nohyph2.tex -- created by Dag and a student; the present file, % nohyphbx.tex, is more extensive and is recommended. because those pattern files are maintained in the latex proper, it goes unnoticed for us; anyhow, in ctxtools add the name nohyph @@languagedata['no' ] = [ 'ec' , ['nohyphbx.tex','nohyph2.tex','nohyph1.tex','nohyph.tex'] ] it seems that the mentioned older nohyph file is not even distributed anymore (interesting for users who want to process older docs)
ctxtools --patt --utf no CtxTools | processing language no CtxTools | CtxTools | using file c:/data/develop/context/sources/enco-acc.tex CtxTools | preloading accent conversions CtxTools | using file c:/data/develop/context/sources/enco-uc.tex CtxTools | preloading unicode conversions CtxTools | preloading ec character mappings CtxTools | accepting vector ec CtxTools | accepting vector ec CtxTools | accepting vector ec CtxTools | using file c:/data/develop/tex/texmf/tex/generic/hyphen/nohyphbx.tex CtxTools | file c:/data/develop/tex/texmf/tex/generic/hyphen/nohyphbx.tex is loaded CtxTools | file nohyph.tex is not present CtxTools | CtxTools | converting \patterns CtxTools | CtxTools | 1275 entries remapped to [aring] CtxTools | 332 entries remapped to [aeligature] CtxTools | 11 entries remapped to [egrave] CtxTools | 124 entries remapped to [eacute] CtxTools | 8 entries remapped to [ecircumflex] CtxTools | 2 entries remapped to [ograve] CtxTools | 5 entries remapped to [oacute] CtxTools | 6 entries remapped to [ocircumflex] CtxTools | 1859 entries remapped to [ostroke] CtxTools | CtxTools | converting \hyphenation CtxTools | CtxTools | 1 entries remapped to [aring] CtxTools | 1 entries remapped to [aeligature] CtxTools | 12 entries remapped to [ostroke] CtxTools | 2 entries remapped to [udiaeresis] CtxTools | CtxTools | 3638 changes in patterns and exceptions CtxTools | 3638 unicode utf8 entries CtxTools | description found for language no CtxTools | merging patterns CtxTools | patterns saved in file lang-no.pat CtxTools | merging exceptions CtxTools | exceptions saved in file lang-no.hyp CtxTools |
the question is: is that original file in ec encoding (no time to check it myself) when the generated files are ok, i'll add them to the distribution 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Mojca Miklavec
-
Rolf Marvin Bøe Lindgren