[NTG-context] XeTeX in ConTeXt

2008-05-24 Thread Charles Doherty
Dear all,

I have tried to upgrade ConTeXt using
sudo ctxtools --updatecontext
followed by
sudo texmfstart texexec --make en
and
sudo texmfstart texexec --make --xetex en

Following the upgrade a normal ConTeXt document runs perfectly but  
when I run XeConTeXt through TeXShop I get the readout below. When I  
go back to the TeXLive download of TeX everything works.

Any advice would be welcome.

Thanks,
Charlie

TeXExec | processing document 'SocialSpace.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file SocialSpace.top
TeXExec | using randomseed 80
TeXExec | tex engine: xetex
TeXExec | tex format: cont-en
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
  %-line parsing enabled.
entering extended mode
(./SocialSpace.tex

ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2008.5.23  int: english/ 
english

language: language en is active
system  : cont-new loaded
(/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.mkii)
(/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-mtx.tex))
system  : cont-old loaded
(/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/local/texlive/2007/../texmf-local/tex/context/user/cont-sys.rme
(/usr/local/texlive/2007/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2007/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2007/../texmf-local/tex/context/base/type-otf.tex)
(/usr/local/texlive/2007/../texmf-local/tex/context/base/type- 
xtx.tex))kpathsea: Running mktextfm lmromanslant10-regular
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input lmromanslant10-regular
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
kpathsea: Running mktexmf lmromanslant10-regular

! I can't find file `lmromanslant10-regular'.
* ...; nonstopmode; input lmromanslant10-regular

Please type another input file name
! Emergency stop.
* ...; nonstopmode; input lmromanslant10-regular

Transcript written on mfput.log.
grep: lmromanslant10-regular.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input lmromanslant10-regular' failed to make lmromanslant10-regular.tfm.
kpathsea: Appending font creation commands to missfont.log.

bodyfont: 12pt rm is loaded
























! Font \*7ptrmslrm*:=lmromanslant10-regular at 7.0pt not loadable:  
Metric (TFM)
  file or installed font not found.
to be read again
\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
   \let  
\localrelativefontsiz...

\dodosettextfamilyA ...amily \fontsize \endcsname
   \else \ifcsname  
\fontbody ...

\dosettextfamily ...ttextfamily \scriptscriptfont
   \let \fontbody  
\scriptface...
inserted text ...y \c!bf \dosettextfamily \c!sl
   \dosettextfamily \c! 
it \do...

\synchronizetext ...athfonts \the \textstrategies
   \fi
...
l.1
 \definetypeface[Hoefler][rm][Xserif][Hoefler Text]
? x
No pages of output.
Transcript written on SocialSpace.log.
TeXUtil | parsing file SocialSpace.tui
TeXUtil | shortcuts : 169
TeXUtil | expansions: 308
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 25
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 100.320881

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

2008-05-24 Thread Mojca Miklavec
On Fri, May 23, 2008 at 12:55 PM, Charles Doherty wrote:
 Dear all,

 I have tried to upgrade ConTeXt using
 sudo ctxtools --updatecontext
 followed by
 sudo texmfstart texexec --make en
 and
 sudo texmfstart texexec --make --xetex en

 Following the upgrade a normal ConTeXt document runs perfectly but
 when I run XeConTeXt through TeXShop I get the readout below. When I
 go back to the TeXLive download of TeX everything works.

 Any advice would be welcome.

In order to be able to use the latest ConTeXt, you need to:
- install to the latest LM fonts
- preferrably install the latest XeTeX

For XeTeX, the easiest way is to upgrade it is to download it from here:
http://minimals.contextgarden.net/current/bin/xetex/
and replace the old executable (maybe you need to set the executable
flag after download) or simply issue something like:
rsync -av 
rsync://contextgarden.net/minimals/current/bin/xetex/osx-yourarchitecture/bin/
/usr/texbin/

For Latin Modern fonts you can try (single line)
rsync -av 
rsync://contextgarden.net/minimals/current/fonts/new/fonts/opentype/public/lm/
/path-to-tex-tree/fonts/opentype/public/lm/
and then run mktexlsr.

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] [XeTeX] longer ConTeXt+XeTeX compile time than before

2007-02-01 Thread Mojca Miklavec
On 2/1/07, Jeong Dalyoung wrote:
 Dear all,

 Recently I updated TeXlive and ConTeXt. After that the compiling time of a
 file under ConTeXt+XeTeX  became longer than before. However, there is no
 change when I compiled the files using ConTeXt.

 I tested the same file using the previous ConTeXt version in the another Mac
 and found that there was no delay. The big difference between them as
 follows:

 1. part of log file under new version
 .
 (/usr/local/gwTeX/texmf.pkgs/tex/context/base/cont-err.tex
 systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
 ) )
 at here, it paused for long time
 stdin - speedtest.pdf
 [1]
 8949 bytes written
 Output written on speedtest.pdf (1 page).
 Transcript written on speedtest.log.
 TeXUtil | parsing file speedtest.tui
 TeXUtil | shortcuts : 169
 TeXUtil | expansions: 308
 TeXUtil | reductions: 0
 TeXUtil | divisions : 0
 TeXUtil | loaded files: 1
 TeXUtil | temporary files: 0
 TeXUtil | commands: 25
 TeXUtil | programs: 0
 TeXUtil | tuo file saved
 TeXExec | runtime: 47.741367

 In another Mac installed the previous version,  speedtest.xdv -
 speedtest.pdf instead stdin - speedtest.pdfI don't know why two
 machines made pdf files in different ways, but I assume that stdin -
 speedtest.pdf is the cause of the delay.
 My powerbook is 1.33GHz PowerPC G4.

If you have someone to blame, please blame me. I asked Hans if he
could add an additional switch -output-driver=xdvipdfmx when running
XeTeX. This means that the files are now converted to pdf with
xdvipdfmx instead of xdv2pdf. Without that switch one cannot use otf
fonts that reside in the texmf tree.

That change has happened in the middle of January, so any older
ConTeXt probably still runs with xdv2pdf. People on the XeTeX mailing
list often ask how to run xelatex with -output-driver=xdvipdfmx
switch from emacs etc.

I hope that ConTeXt will soon use OpenType LM as the default font, so
particularly for that reason, I doubt that switching back to xdv2pdf
makes sense. How long is the time delay if you compare the two?

If you want to change it on your own computer, find this line in
tex.rb and remove the option which sets a different output driver:
@@runoptions['xetex']   = [...,'-output-driver=xdvipdfmx ...']

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [XeTeX] longer ConTeXt+XeTeX compile time than before

2007-02-01 Thread Jonathan Kew
On 1 Feb 2007, at 1:51 pm, Mojca Miklavec wrote:


 If you have someone to blame, please blame me. I asked Hans if he
 could add an additional switch -output-driver=xdvipdfmx when running
 XeTeX. This means that the files are now converted to pdf with
 xdvipdfmx instead of xdv2pdf. Without that switch one cannot use otf
 fonts that reside in the texmf tree.

Right. But xdvipdfmx is also faster than xdv2pdf, in most cases.

It may be that older ConTeXt scripts didn't run an xdv-to-pdf  
converter at all until the last of several passes; if you call xetex  
with the -no-pdf switch on all the preliminary runs, it will skip the  
conversion and therefore be faster. But I'm not sure exactly how Hans  
has been doing all this; ConTeXt is a mysterious black box, as far as  
I'm concerned!

 That change has happened in the middle of January, so any older
 ConTeXt probably still runs with xdv2pdf. People on the XeTeX mailing
 list often ask how to run xelatex with -output-driver=xdvipdfmx
 switch from emacs etc.

 I hope that ConTeXt will soon use OpenType LM as the default font, so
 particularly for that reason, I doubt that switching back to xdv2pdf
 makes sense. How long is the time delay if you compare the two?

Something else to consider: if you repeat the test, are the results  
still the same? There can be a considerable extra delay on the first  
run after you change anything about your font configuration, because  
Apple Type Services has to rebuild a lot of cached information. But  
if you re-run the job, it may be a lot faster.

JK



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [XeTeX] longer ConTeXt+XeTeX compile time than before

2007-02-01 Thread Hans Hagen
Jonathan Kew wrote:
 It may be that older ConTeXt scripts didn't run an xdv-to-pdf  
 converter at all until the last of several passes; if you call xetex  
 with the -no-pdf switch on all the preliminary runs, it will skip the  
 conversion and therefore be faster. But I'm not sure exactly how Hans  
 has been doing all this; ConTeXt is a mysterious black box, as far as  
 I'm concerned!
   
i don't think that the backend issue will slwo down things much, but it may be 
that there is some slow path searching involved which can be traces by setting 
the right kpse switches (that i always forget and cannot quote now) 

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


Re: [NTG-context] [XeTeX] XeTeX, ConTeXt, and utf-8 hyphenation patterns. / GREEK

2006-06-15 Thread Hans Hagen
Peter Heslin wrote:
 Hans Hagen [EMAIL PROTECTED] writes:

   
 ctxtools --pat [en nl agr ...]
 ctxtools --pat --utf[en nl agr ...]

 the greek conversions were done with the help of a greek language users 
 on the context list, so in case of troubles, so i cc there; bugs need to 
 be fixed indeed
 

 Thanks for the tips.  I have taken a closer look at the Greek patterns,
 and it seems as though they have not only small problems, but also major
 problems.  (They will fail to find most hyphenation points before
 accented vowels.)  I will try to come up with a patch, but I don't know
 any Ruby, so it will be an interesting challenge -- the changes required
 go beyond tweaking the existing code.

 The characters in the file lang-agr.pat are precomposed, Unicode
 normalization form D.  But I'd like to support both normalization forms
 C and D, if possible, in the same pattern file.  Is that goal compatible
 with Context?

   
this is more related to (xe)tex than to context; i leave that to the 
greek experts on the context list

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


Re: [NTG-context] [XeTeX] XeTeX, ConTeXt, and utf-8 hyphenation patterns.

2006-06-13 Thread Jonathan Kew
On 13 Jun 2006, at 8:25 am, Hans Hagen wrote:

 On a more general level, if both ConTeXt and XeTeX are engaged in
 converting legacy TeX hyphenation patterns to utf-8, should they be
 coordinated in order to avoid duplication of effort?


 anyone can use the patterns; of course bugs need to be sorted out, but
 given my experiences with pattern maintainance i will not drop them  
 from
 context; too much has gone wrong in the past; but you can consider  
 them
 to be generic so indeed we can avoid duplication of work.

Indeed I have no desire to duplicate work. :)

My main concern at this point relates to packaging and co-ordination  
between the different macro packages that load patterns; we can't  
expect latex users to be dependent on having context installed, or  
vice versa. Patterns belong in a base tex installation, where they  
can be available to any higher-level macro package.

This needs to be sorted out among a wider group than this mailing  
list

JK

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [XeTeX] XeTeX, ConTeXt, and utf-8 hyphenation patterns.

2006-06-13 Thread Hans Hagen
Peter Heslin wrote:
 A little while ago, I said that I hoped to convert Dimitrios Filippou's
 ancient Greek hyphenation patterns (the elhyphen package) to utf-8, in
 order to use them with xetex.  Before thinking about starting this work,
 I decided to look to see if anyone else had done it, and I came across
 something interesting in ConTeXt, which is not a package I normally use.

 There appears to be a whole subdirectory in the ConTeXt distribution
 that is full of utf-8 hyphenation patterns, including Filippou's ancient
 Greek ones, but also including German, French, etc.  They are in the
 file: http://www.pragma-ade.com/context/current/cont-tmf.zip, in the
 tex/context/patterns directory.

 Can anyone who knows about ConTeXt explain about where these patterns
 come from and how it is that context manages to use these patterns?  (I
 thought that non-xetex TeX could only use single-byte encoded patterns.)
   
some time ago i decided to ship patterns with context because

(1) there is no sound infrastructure in the tex world for managin gpatterns
(2) i need encoding neutral patterns [most patterns are ec only]
(3) i want control over what gets loaded in context
(4) i wanted to get rid of every year's disappearing, renamed, changed 
patterns
(5) apart from the fact that i wanted patterns that were not in a sense 
hard wired latex patterns
 If there is a script that was used to convert these from the source to
 utf-8, is it available?  A quick glance at the ancient greek patterns
 (in the file lang-agr.pat) shows that there is a bug in the conversion
 that I'd like to report and fix.
   
ctxtools --pat [en nl agr ...]
ctxtools --pat --utf[en nl agr ...]

the greek conversions were done with the help of a greek language users 
on the context list, so in case of troubles, so i cc there; bugs need to 
be fixed indeed

in ctxtools.rb you can grep for 'agr' and see what conversions takes 
place for greek

more info can be found in:

http://www.pragma-ade.com/general/manuals/mpattern.pdf

(also published in tugboat)

there is a file lang-all.xml in the context distribution

 On a more general level, if both ConTeXt and XeTeX are engaged in
 converting legacy TeX hyphenation patterns to utf-8, should they be
 coordinated in order to avoid duplication of effort?

   
anyone can use the patterns; of course bugs need to be sorted out, but 
given my experiences with pattern maintainance i will not drop them from 
context; too much has gone wrong in the past; but you can consider them 
to be generic so indeed we can avoid duplication of work.

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


Re: [NTG-context] [XeTeX] XeTeX, ConTeXt, and utf-8 hyphenation patterns.

2006-06-13 Thread Hans Hagen
Jonathan Kew wrote:
 On 13 Jun 2006, at 8:25 am, Hans Hagen wrote:

   
 On a more general level, if both ConTeXt and XeTeX are engaged in
 converting legacy TeX hyphenation patterns to utf-8, should they be
 coordinated in order to avoid duplication of effort?


   
 anyone can use the patterns; of course bugs need to be sorted out, but
 given my experiences with pattern maintainance i will not drop them  
 from
 context; too much has gone wrong in the past; but you can consider  
 them
 to be generic so indeed we can avoid duplication of work.
 

 Indeed I have no desire to duplicate work. :)

 My main concern at this point relates to packaging and co-ordination  
 between the different macro packages that load patterns; we can't  
 expect latex users to be dependent on having context installed, or  
 vice versa. Patterns belong in a base tex installation, where they  
 can be available to any higher-level macro package.
   
well, the problem is that until now, most pattern files were basically 
latex oriented files; the same is kind of true with fonts: changes in 
related files and names take place, and are synced with latex and then 
bites contex users; i've kind of given up on that
 This needs to be sorted out among a wider group than this mailing  
 list
   
well, installing the lang-* pat files only is an option, as is adding 
tex/context/patterns to the xetex input path in the xetex input path 
variable (although i believe that the tree is searched anyway);

also, given what people have to install nowadays, installing the context 
ipackage is not that big a burden (xetex binaries and associated libs 
are pretty big themselves anyway)

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


Re: [NTG-context] XeTeX w. ConTeXt question

2005-03-17 Thread Hans Hagen
sfpno wrote:
Greetings,
After a number of attempts (somewhat indistinguishable in my memory at 
this point) I've been able to run ConTeXt with XeTeX support (if that's 
the right nomenclature;). It works! But I do receive this error message:

--
(/usr/local/TeTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
systems : you should use pdfTeX binaries
\wait=
)
--
Looking in spec-tpd.tex, this error message comes from pdftexversion 
being undefined. Could someone clarify this for me?
with xetex you should use
  texexec --xtx yourfile
so that the xetex driver file is used; now you use the pdftex one
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


Re: [NTG-context] XeTeX w. ConTeXt question

2005-03-17 Thread Hans Hagen
Adam Lindsay wrote:
Hmm. How are you invoking texexec?
It should be texexec --xtx filename. You shouldn't use the --pdf command
line switch, as that would probably confuse things (and cause the pdftex
specials to be loaded).
an ugly hack would be in the tpd driver to test for some primitive and load the 
xtx driver instead but i'm not sure if we should go that way

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


Re: [NTG-context] XeTeX w. ConTeXt question

2005-03-17 Thread sfpno
Thanks for the response. I'm using:
texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.141592-1.20a-2.2 (Web2C 7.5.3)
   context : ver: 2005.01.31
   cont-en : ver: 2005.01.31  fmt: 2005.3.4  mes: english
   cont-nl : ver: 2005.01.31  fmt: 2005.3.4  mes: dutch
and am also invoking texexec as you say: texexec --xtx File.tex
I'm using Gerben's i-Installer to install teTeX.
HmmI have some vague memory of a default setting [checking].
Yes, in cont-sys.tex, the \setupoutput is set to [pdftex]. When I 
comment it out, everything works fine. :)

Regards,
David
On Mar 16, 2005, at 4:55 PM, Adam Lindsay wrote:
sfpno said this at Wed, 16 Mar 2005 16:33:38 -0800:
(/usr/local/TeTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
systems : you should use pdfTeX binaries
\wait=
)
That error should be long gone by now.
Which version of ConTeXt are you using?
Looking in spec-tpd.tex, this error message comes from pdftexversion
being undefined. Could someone clarify this for me?
Hmm. How are you invoking texexec?
It should be texexec --xtx filename. You shouldn't use the --pdf 
command
line switch, as that would probably confuse things (and cause the 
pdftex
specials to be loaded).

best,
adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] XeTeX w. ConTeXt question

2005-03-16 Thread sfpno
Greetings,
After a number of attempts (somewhat indistinguishable in my memory at 
this point) I've been able to run ConTeXt with XeTeX support (if that's 
the right nomenclature;). It works! But I do receive this error 
message:

--
(/usr/local/TeTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
systems : you should use pdfTeX binaries
\wait=
)
--
Looking in spec-tpd.tex, this error message comes from pdftexversion 
being undefined. Could someone clarify this for me?

Kind regards
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context