Re: [NTG-context] XeTeX hangs
On 5/27/06, Hans Hagen wrote: Otared Kavian wrote: As told above, ConTeXt is called from within TeXShop, but doing texexec eth-hans-2.tex --pdf in a Terminal window gives the same result (I apologize for not being still up dto date with texmfstart... :-) ) I wanted to let you know that I am gathering a number of issues or ConTeXt things which do not work properly when ConTeXt is used together with XeTeX. Should I send them directly to you and Taco or post each problem separately on the list? ok, what you see happen in 'non xetex context' is ok, \catcode`ð=\active \defð{^^F0} will fail because pdftex is *not* utf and only sees 8 bit characters, so you can only set the catcodes 0-255 That's true for pdftex, but XeTeX should handle them OK (assuming that you're using the proper encoding in your file). If you change ^^f0 to ^^f1 or whatever other number, it works without any problems. It's just ^^f0 that's causing problems for some weird reason. I don't know if this is XeTeX or ConTeX bug (or the wrong usage perhaps, but it was Jonathat who sent this example, only for other letters). \catcode `number=number and in your case `à will become a number ° but ° not \bgroup \let\unicodechar\unicodenumber \catcodeð=\active \defð{^^F0} \egroup could work (watch out: no `) but again, \catcode16 bit number is not accepted by regular 8 bit tex Hans, in what encoding are you sending/using this? Seems like UTF-8 file opened as if it was latin1 (might be the same). You should use utf-8-encoded eth literally, not two different character \catcode`ð=\active \defð{^^f0} ð Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX hangs
Otared Kavian wrote: As told above, ConTeXt is called from within TeXShop, but doing texexec eth-hans-2.tex --pdf in a Terminal window gives the same result (I apologize for not being still up dto date with texmfstart... :-) ) I wanted to let you know that I am gathering a number of issues or ConTeXt things which do not work properly when ConTeXt is used together with XeTeX. Should I send them directly to you and Taco or post each problem separately on the list? ok, what you see happen in 'non xetex context' is ok, \catcode`ð=\active \defð{^^F0} will fail because pdftex is *not* utf and only sees 8 bit characters, so you can only set the catcodes 0-255 \catcode `number=number and in your case `à will become a number ° but ° not \bgroup \let\unicodechar\unicodenumber \catcodeð=\active \defð{^^F0} \egroup could work (watch out: no `) but again, \catcode16 bit number is not accepted by regular 8 bit tex so, a the moment, what you observe is ok; at the end of this year, in a 32 bit pdftex, things may work different 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 hangs
Otared Kavian wrote: On 24 mai 2006, at 10:07, Hans Hagen wrote: what do you get when you run that with \tracingall� \tracingall� Testing... � and what does� \show � return? and what� Testing... �aaa Hans� Hi Hans, This file: %% eth-hans-1.tex \starttext what do you get when you run that with \tracingall Testing... � \catcode`�=\active \def�{^^F0} \tracingall Testing... � and what does %\show � return? and what Testing... �aaa Hans \stoptext %% end eth-hans-1.tex typeset with XeConTeXt gives a PDF where again one has Testing...�� in the first occurence, and then Testing... � 0, and the process takes some 41 seconds... If the above file is typeset with ConTeXt alone it stops with the error message: ! Missing number, treated as zero. to be read again ∞ l.9 \catcode`√∞ =\active \def√∞{^^F0} so, it looks like the `charchar is not seen as a combination how did the complete test file look? what does the following say: \bgroup \let\unicodechar\unicodenumber \catcode`�=\active \def�{^^F0} \egroup 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 hangs
On 26 mai 2006, at 12:10, Hans Hagen wrote: Otared Kavian wrote: On 24 mai 2006, at 10:07, Hans Hagen wrote: what do you get when you run that with \tracingall� \tracingall� Testing... � and what does� \show � return? and what� Testing... �aaa Hans� Hi Hans, This file: %% eth-hans-1.tex \starttext what do you get when you run that with \tracingall Testing... � \catcode`�=\active \def�{^^F0} \tracingall Testing... � and what does %\show � return? and what Testing... �aaa Hans \stoptext %% end eth-hans-1.tex typeset with XeConTeXt gives a PDF where again one has Testing...�� in the first occurence, and then Testing... � 0, and the process takes some 41 seconds... - --- If the above file is typeset with ConTeXt alone it stops with the error message: ! Missing number, treated as zero. to be read again ∞ l.9 \catcode`√∞ =\active \def√∞{^^F0} so, it looks like the `charchar is not seen as a combination how did the complete test file look? what does the following say: \bgroup \let\unicodechar\unicodenumber \catcode`�=\active \def�{^^F0} \egroup Hi Hans, Typesetting the following with XeConTeXt: %% eth-hans-2.tex \starttext Testing... ð \bgroup \let\unicodechar\unicodenumber \catcode`ð=\active \defð{^^F0} \egroup Testing... ð \stoptext gives what is intended, that is a PDF with twice Testing... ð. However the above cannot be typeset with ConTeXt alone, since an error is diagnosed saying ! Missing number, treated as zero. to be read again ∞ l.11 \catcode`√∞ =\active \def√∞{^^F0} ? Best regards: OK ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX hangs
Otared Kavian wrote: On 26 mai 2006, at 12:10, Hans Hagen wrote: Otared Kavian wrote: On 24 mai 2006, at 10:07, Hans Hagen wrote: what do you get when you run that with \tracingall� \tracingall� Testing... � and what does� \show � return? and what� Testing... �aaa Hans� Hi Hans, This file: %% eth-hans-1.tex \starttext what do you get when you run that with \tracingall Testing... � \catcode`�=\active \def�{^^F0} \tracingall Testing... � and what does %\show � return? and what Testing... �aaa Hans \stoptext %% end eth-hans-1.tex typeset with XeConTeXt gives a PDF where again one has Testing...�� in the first occurence, and then Testing... � 0, and the process takes some 41 seconds... - --- If the above file is typeset with ConTeXt alone it stops with the error message: ! Missing number, treated as zero. to be read again ∞ l.9 \catcode`√∞ =\active \def√∞{^^F0} so, it looks like the `charchar is not seen as a combination how did the complete test file look? what does the following say: \bgroup \let\unicodechar\unicodenumber \catcode`�=\active \def�{^^F0} \egroup Hi Hans, Typesetting the following with XeConTeXt: %% eth-hans-2.tex \starttext Testing... ð \bgroup \let\unicodechar\unicodenumber \catcode`ð=\active \defð{^^F0} \egroup Testing... ð \stoptext gives what is intended, that is a PDF with twice Testing... ð. However the above cannot be typeset with ConTeXt alone, since an error is diagnosed saying ! Missing number, treated as zero. to be read again ∞ l.11 \catcode`√∞ =\active \def√∞{^^F0} ? i need a bit more info: = the file eth-hans2.tex (zipped!) = how you call it, yopu say that it works ok with xecontext, so what do you mean with 'context alone' 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 hangs
Hi Mojca, Trying your minimal file on my Mac OS X, with XeConTeXt or with plain XeTeX, I observe the same hanging... However, the following, taken out of an example sent to you by Jonathan K., works fine with both (indeed commenting out \starttext and \stoptext in plain XeTeX): \starttext \font\lmec = ec-lmr10 at 36 pt \lmec Testing... ð Testing... ^^F0 \catcode`č=\active \defč{^^a3} \catcode`š=\active \defš{^^b2} \catcode`ž=\active \defž{^^ba} Testing... čšž \stoptext while the following results in a PDF file with Testing... ° 0 \starttext \catcode`ð=\active \defð{^^F0} Testing... ð \stoptext Needless to tell you that all this seems extremely obscure to me... Best regards: OK On 23 mai 2006, at 10:24, Mojca Miklavec wrote: If I try to compile the folllowing code with XeTeX, it hangs (as if it was waiting for further input): \catcode`ð=\active \defð{^^f0} % only hangs for F0, other numbers are OK \starttext ð \stoptext I didn't manage to test the same example with plain XeTeX (tetex is a bit misconfigured since the standalone ConTeXt is installed), but Jonathan says that it runs OK on his computer. Is my system broken again or are some other black forces working anywhere? Thanks, Mojca eth.tex ___ 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
Re: [NTG-context] XeTeX hangs
Otared Kavian wrote: Hi Mojca, Trying your minimal file on my Mac OS X, with XeConTeXt or with plain XeTeX, I observe the same hanging... However, the following, taken out of an example sent to you by Jonathan K., works fine with both (indeed commenting out \starttext and \stoptext in plain XeTeX): \starttext \font\lmec = ec-lmr10 at 36 pt \lmec Testing... ð Testing... ^^F0 \catcode`č=\active \defč{^^a3} \catcode`š=\active \defš{^^b2} \catcode`ž=\active \defž{^^ba} Testing... čšž \stoptext while the following results in a PDF file with Testing... ° 0 \starttext \catcode`ð=\active \defð{^^F0} Testing... ð \stoptext Needless to tell you that all this seems extremely obscure to me... what do you get when you run that with \tracingall \tracingall Testing... ð and what does \show ð return? and what Testing... ðaaa 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
[NTG-context] XeTeX hangs
If I try to compile the folllowing code with XeTeX, it hangs (as if it was waiting for further input): \catcode`ð=\active \defð{^^f0} % only hangs for F0, other numbers are OK \starttext ð \stoptext I didn't manage to test the same example with plain XeTeX (tetex is a bit misconfigured since the standalone ConTeXt is installed), but Jonathan says that it runs OK on his computer. Is my system broken again or are some other black forces working anywhere? Thanks, Mojca eth.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX hangs
Hi Mojca, Trying your minimal file on my Mac OS X, with XeConTeXt or with plain XeTeX, I observe the same hanging... However, the following, taken out of an example sent to you by Jonathan K., works fine with both (indeed commenting out \starttext and \stoptext in plain XeTeX): \starttext \font\lmec = ec-lmr10 at 36 pt \lmec Testing... ð Testing... ^^F0 \catcode`č=\active \defč{^^a3} \catcode`š=\active \defš{^^b2} \catcode`ž=\active \defž{^^ba} Testing... čšž \stoptext while the following results in a PDF file with Testing... ° 0 \starttext \catcode`ð=\active \defð{^^F0} Testing... ð \stoptext Needless to tell you that all this seems extremely obscure to me... Best regards: OK On 23 mai 2006, at 10:24, Mojca Miklavec wrote: If I try to compile the folllowing code with XeTeX, it hangs (as if it was waiting for further input): \catcode`ð=\active \defð{^^f0} % only hangs for F0, other numbers are OK \starttext ð \stoptext I didn't manage to test the same example with plain XeTeX (tetex is a bit misconfigured since the standalone ConTeXt is installed), but Jonathan says that it runs OK on his computer. Is my system broken again or are some other black forces working anywhere? Thanks, Mojca eth.tex ___ 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