ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: [OS X TeX] formats for ConTeXt-XeTeX
       [not found] ` <B2D3343F-D85B-43CE-B848-38D35B64927B@sil.org>
@ 2006-02-12 19:49   ` Steffen Wolfrum
  2006-02-12 20:16     ` Thomas A. Schmitz
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2006-02-12 19:49 UTC (permalink / raw)
  Cc: Adam Lindsay


Am 12.02.2006 um 18:54 schrieb Jonathan Kew:

> On 12 Feb 2006, at 5:33 pm, Steffen Wolfrum wrote:
>
>> Hi,
>>
>> again, after an i-installer update, my ConTeXt-XeTeX typesetting  
>> failed. Probably I'd never understood how to make the required  
>> formats (what command, what order) properly...
>>
>
> Did you reinstall XeTeX after updating the TeX package? I assume  
> so, just checking....

Yes, this was the order:
.FreeType 2
.libwmf
.Ghostscript 8
.ImageMagick
.FontForge
.TeX
.ConTeXt-Updater
.XeTeX


>
>> Can someone please tell me what's the right way
>> for using ConTeXt-XeTeX and ConTeXt-pdfeTeX?
>
> ....and if it looks simple and robust and I can understand it, I  
> guess I could try adding this to the XeTeX installation scripts.  
> I've never had the time to really look into ConTeXt, but it'd be  
> nice if it could "just work" for people.


After an i-installation running ConTeXt (by pdfeTeX) works right out  
of the box (without any commandline action), same for plain XeTeX  
(plainTeX by XeTeX?).
But running a ConTeXt document by XeTeX fails:

  TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
             executable : xetex
                 format : cont-en
              inputfile : text
                 output : pdftex
              interface : en
           current mode : none
                TeX run : 1

This is XeTeX, Version 3.141592-2.2-0.99b (Web2C 7.5.3)
(WARNING: translate-file "natural.tcx" ignored)
---! /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt was written  
by pdfetex
(Fatal format file error; I'm stymied)

            return code : 256
               run time : 1 seconds

         total run time : 1 seconds


Someone knows what to do?

Steffen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OS X TeX] formats for ConTeXt-XeTeX
  2006-02-12 19:49   ` [OS X TeX] formats for ConTeXt-XeTeX Steffen Wolfrum
@ 2006-02-12 20:16     ` Thomas A. Schmitz
  2006-02-12 22:10       ` Steffen Wolfrum
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas A. Schmitz @ 2006-02-12 20:16 UTC (permalink / raw)



On Feb 12, 2006, at 8:49 PM, Steffen Wolfrum wrote:

> This is XeTeX, Version 3.141592-2.2-0.99b (Web2C 7.5.3)
> (WARNING: translate-file "natural.tcx" ignored)
> ---! /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt was  
> written by pdfetex
                                                ^^^^^^^^^^^

That's the problem. If you want both xetex and pdftex, you need to  
have two different format-files, both called cont-en.fmt. They need  
to be in two different subdirectories:
/usr/local/teTeX/share/texmf.local/web2c/pdfetex [for pdfetex]
/usr/local/teTeX/share/texmf.local/web2c/xetex   [for xetex]

Remove the cont-*.fmt files in the .../web2c directory and regenerate  
the formats with texexec.

HTH

Thomas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OS X TeX] formats for ConTeXt-XeTeX
  2006-02-12 20:16     ` Thomas A. Schmitz
@ 2006-02-12 22:10       ` Steffen Wolfrum
  2006-02-13 10:43         ` Adam Lindsay
  2006-02-13 16:08         ` Otared Kavian
  0 siblings, 2 replies; 5+ messages in thread
From: Steffen Wolfrum @ 2006-02-12 22:10 UTC (permalink / raw)


OK, a while ago I've found the XeTeX page in Patrick's garden: http:// 
wiki.contextgarden.net/XeTeX
Now it works with both (pdfetex and xetex). Works fine in Terminal:  
texexec --xtx text.tex

But the next problem is TeXShop.  How do I trigger ConTeXt-XeTeX in  
TeXShop?
The only solution I've found is:

1) start the document with  %&program=xetex
2) in TeXShop's menu choose "Typeset": "ConTeXt" and "Personal Script"

This will typeset a ConTeXt file with XeTeX.
But at the end of TeXShop's log it says:

"This script has been deprecated. Please call

     simpdftex latex test.dvi

instead."


So, what was wrong? What's the correct way?

Steffen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OS X TeX] formats for ConTeXt-XeTeX
  2006-02-12 22:10       ` Steffen Wolfrum
@ 2006-02-13 10:43         ` Adam Lindsay
  2006-02-13 16:08         ` Otared Kavian
  1 sibling, 0 replies; 5+ messages in thread
From: Adam Lindsay @ 2006-02-13 10:43 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]

Steffen Wolfrum wrote:
> OK, a while ago I've found the XeTeX page in Patrick's garden: http:// 
> wiki.contextgarden.net/XeTeX
> Now it works with both (pdfetex and xetex). Works fine in Terminal:  
> texexec --xtx text.tex
> 
> But the next problem is TeXShop.  How do I trigger ConTeXt-XeTeX in  
> TeXShop?
> The only solution I've found is:
> 
> 1) start the document with  %&program=xetex
> 2) in TeXShop's menu choose "Typeset": "ConTeXt" and "Personal Script"
> 
> This will typeset a ConTeXt file with XeTeX.
> But at the end of TeXShop's log it says:

I'm not a TeXShop power user, or even a master shell scripter, but I did 
  come up with the attached command, and saved it as
  ~/Library/TeXShop/Engines/XeConTeXt.engine

For now, that's enough for me. I don't know how to trigger it 
programmatically (from within the .tex file).
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


[-- Attachment #2: XeConTeXt.engine --]
[-- Type: text/plain, Size: 115 bytes --]

#!/bin/tcsh

set path= ($path /usr/local/teTeX/bin/powerpc-apple-darwin-current /usr/local/bin)
texexec --xtx "$1"

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OS X TeX] formats for ConTeXt-XeTeX
  2006-02-12 22:10       ` Steffen Wolfrum
  2006-02-13 10:43         ` Adam Lindsay
@ 2006-02-13 16:08         ` Otared Kavian
  1 sibling, 0 replies; 5+ messages in thread
From: Otared Kavian @ 2006-02-13 16:08 UTC (permalink / raw)


Hi Steffen,

A few months ago I sent to the XeTeX list the following message  
regarding the use of XeConTeXt (that is a format mixing XeTeX and  
ConTeXt) from within TeXShop:

1) Create a (text) file called XeConTeXt.engine containing the lines:

#!/bin/tcsh

set path= ($path /usr/local/teTeX/bin/powerpc-apple-darwin-current / 
usr/local/bin)
texexec --xtx  "$1"

and save it in the directory
~/Library/TeXShop/Engines

If you use any other "shell" than "tcsh" you should put that shell  
instead. (The name "XeConTeXt.engine" can actually be  
"whatYouWant.engine").

2) In a Terminal window make this file "XeConTeXt.engine" executable  
with the command

chmod 755 XeConTeXt.engine

3) Reopen TeXShop and a file you want to typeset with XeConTeXt:  
you'll see in a small menu in the toolbar of the source file, that  
there is an option with XeConTeXt. Choose this and then typeset your  
file.

Note: The above works provided the format cont-en.fmt created with  
XeTeX sits in the directory
/usr/local/teTeX/share/texmf.local/web2c/xetex

I hope this will be useful for what you want to do.

Best regards: OK

On 12 févr. 2006, at 18:10, Steffen Wolfrum wrote:

> OK, a while ago I've found the XeTeX page in Patrick's garden: http://
> wiki.contextgarden.net/XeTeX
> Now it works with both (pdfetex and xetex). Works fine in Terminal:
> texexec --xtx text.tex
>
> But the next problem is TeXShop.  How do I trigger ConTeXt-XeTeX in
> TeXShop?
> The only solution I've found is:
>
> 1) start the document with  %&program=xetex
> 2) in TeXShop's menu choose "Typeset": "ConTeXt" and "Personal Script"
>
> This will typeset a ConTeXt file with XeTeX.
> But at the end of TeXShop's log it says:
>
> "This script has been deprecated. Please call
>
>      simpdftex latex test.dvi
>
> instead."
>
>
> So, what was wrong? What's the correct way?
>
> Steffen
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-13 16:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5EB6FAE1-C60D-40A9-A293-6F41CAE5BE01@st.estfiles.de>
     [not found] ` <B2D3343F-D85B-43CE-B848-38D35B64927B@sil.org>
2006-02-12 19:49   ` [OS X TeX] formats for ConTeXt-XeTeX Steffen Wolfrum
2006-02-12 20:16     ` Thomas A. Schmitz
2006-02-12 22:10       ` Steffen Wolfrum
2006-02-13 10:43         ` Adam Lindsay
2006-02-13 16:08         ` Otared Kavian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).