Re: [NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-12 Thread Mojca Miklavec
On 9/12/07, Andrea Valle wrote:

 PS: I wikified some of the previous xetex infos. Please someone check I
 didn't write silly stuff...

The information that \externalfigure should be replaced by
\XeTeXpicfile is misleading. It is a temporary solution for the bug (I
didn't test recently, but I had serious prolems with inclusion of
binary figures and newer PDF file versions), but not a general rule.
The bug should be fixed if it still exists, rather than asking people
to rewrite their sources to low-level commands.

(The problems I had were the following: all the photos taken with my
camera resulted in way too big images in the final PDF (width=,
height= had absolutely no effect). It worked OK with pdfTeX  LuTeX
though, and if I took that picture, modified it a bit in some external
program and saved it again, it worked OK. So my temporary workaround
was to save the photos again in some other program. But it should be
fixed.)

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 + ConTeXt in TeXShop

2007-09-12 Thread Andrea Valle

On 12 Sep 2007, at 09:22, Mojca Miklavec wrote:


The information that \externalfigure should be replaced by
\XeTeXpicfile is misleading. It is a temporary solution for the bug (I
didn't test recently, but I had serious prolems with inclusion of
binary figures and newer PDF file versions), but not a general rule.
The bug should be fixed if it still exists, rather than asking people
to rewrite their sources to low-level commands.


I completely agree, but nobody replied to my post when I complained.


. So my temporary workaround
was to save the photos again in some other program. But it should be
fixed.)


Ok, but this is not a better solution.
It's only cleaner from a ConTeXt point of view.
So you do not modify the sources but because of the bug you modify  
200 jpgs.


In any case,  as I have written, I had not output problems with 	 
\externalfigure, but the rli generation needed many texexec calls to  
be completed and was too slow

(even if only for the first time).
Instead, I had no luck at all with pdfs inclusion.

So, my idea would be to clearly specify in the wiki entry that it's a  
momentary workaround.


-a-


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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 + ConTeXt in TeXShop

2007-09-12 Thread Hans Hagen
Mojca Miklavec wrote:
 On 9/12/07, Andrea Valle wrote:
 PS: I wikified some of the previous xetex infos. Please someone check I
 didn't write silly stuff...
 
 The information that \externalfigure should be replaced by
 \XeTeXpicfile is misleading. It is a temporary solution for the bug (I
 didn't test recently, but I had serious prolems with inclusion of
 binary figures and newer PDF file versions), but not a general rule.
 The bug should be fixed if it still exists, rather than asking people
 to rewrite their sources to low-level commands.
 
 (The problems I had were the following: all the photos taken with my
 camera resulted in way too big images in the final PDF (width=,
 height= had absolutely no effect). It worked OK with pdfTeX  LuTeX
 though, and if I took that picture, modified it a bit in some external
 program and saved it again, it worked OK. So my temporary workaround
 was to save the photos again in some other program. But it should be
 fixed.)

you get that kind of effects when an image has no info about the 
resolution; pdftex/luatex can be told what the resolution is but even 
that can be a mismatch; there is no safeguard against faulty graphics 
and indeed reprocessing them may help;

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
-
___
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 + ConTeXt in TeXShop

2007-09-11 Thread Andrea Valle

Thanks

I edited ~/.bash_profile

adding

On 10 Sep 2007, at 19:26, Henning Hraban Ramm wrote:


export PATH='$PATH:/usr/texbin'
alias texetex='texexec --xtx'



calling from Terminal
texetex /test/xetest.tex


I'm having
env: ruby: No such file or directory


Best

-a-
--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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 + ConTeXt in TeXShop

2007-09-11 Thread Arthur Reutenauer
 I'm having
 env: ruby: No such file or directory

  You should surround the PATH line with double quotes (), not simple
ones (').
___
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 + ConTeXt in TeXShop

2007-09-11 Thread Andrea Valle

  You should surround the PATH line with double quotes (), not simple
ones (').


Ok, works as an alias from terminal.
BTW a texetex command already exists, so I used xecontext

But Hraban, how do I then set up TeXShop?

Thanks

-a-



__ 
_
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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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 + ConTeXt in TeXShop

2007-09-11 Thread Henning Hraban Ramm
Am 2007-09-11 um 12:44 schrieb Arthur Reutenauer:
 I'm having
 env: ruby: No such file or directory

   You should surround the PATH line with double quotes (), not simple
 ones (').

Sorry, I'm used to write Python (where  or ' doesn't matter) or PHP  
(where I normally use 's)...
Never post untested code... ;-)


Am 2007-09-11 um 14:05 schrieb Andrea Valle:
 But Hraban, how do I then set up TeXShop?

I'd set the default typesetting command to 'command listed below' and  
there to your newly designed command.
Does that work? (If I ever use TeXshop, then I run texexec in a  
separate Terminal...)


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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 + ConTeXt in TeXShop

2007-09-11 Thread Andrea Valle

Sorry, I'm used to write Python (where  or ' doesn't matter)


(me too :) )


Does that work? (If I ever use TeXshop, then I run texexec in a
separate Terminal...)


Hmm, no, (AFA I can say)

Thanks

Best

-a-

PS: I wikified some of the previous xetex infos. Please someone check  
I didn't write silly stuff...


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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 + ConTeXt in TeXShop

2007-09-10 Thread Andrea Valle

Ok, sorry, I solved adding the infamous blank line suggested by Jelle...

http://article.gmane.org/gmane.comp.tex.macosx/23622/match=xecontext 
+texshop
http://article.gmane.org/gmane.comp.tex.macosx/23634/match=xecontext 
+texshop


I think I will add some stuff to wiki/xetex

Best

-a-



On 10 Sep 2007, at 17:12, Andrea Valle wrote:


Hi,

I was trying to configure teXShop so that it can run texexec --xtx

I was following Otared's suggestions:

http://www.ntg.nl/pipermail/ntg-context/2006/016502.html

I tried a brainless practice, creating the suggested file with

#!/bin/tcsh

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

but it didn't work, so I changed the provided paths (I'm an Unix  
ignorant: proceeded by nose, as we say in Italy)


And I have this:

#!/bin/tcsh
set path= ($path  /usr/local/texlive/2007/bin/i386-darwin / /usr/ 
texbin)

texexec --xtx  $1

(I have mactex on macosx 10.4)

In TeXShop while launching the typesetting process I'm having a  
white console and nothing happens.


Any hints?

Thanks a lot as usual

Best

-a-



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault.  
Who doesn't in university, right? I was in this strip club giving  
this guy a lap dance and all he wanted to do was to discuss  
Foucault with me. Well, I can stand naked and do my little dance,  
or I can discuss Foucault, but not at the same time; too much  
information.

(Annabel Chong)



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault.  
Who doesn't in university, right? I was in this strip club giving  
this guy a lap dance and all he wanted to do was to discuss  
Foucault with me. Well, I can stand naked and do my little dance,  
or I can discuss Foucault, but not at the same time; too much  
information.

(Annabel Chong)




__ 
_
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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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 + ConTeXt in TeXShop

2007-09-10 Thread Arthur Reutenauer
 Any hints?

  Make sure the xetex binary is indeed in 
/usr/local/texlive/2007/bin/i386-darwin
or in /usr/texbin, and the XeConTeXt.engine is an executable file
(type chmod 755 ~/Library/TeXShop/Engines/XeConTeXt.engine in Terminal.app)
You can also remove the stand-alone slash after set path= in
XeConTeXt.engine (it tells tcsh to add the root directory to the list of
directories where executable files are looked for, and that's really
both useless and dangerous).

Arthur
___
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 + ConTeXt in TeXShop

2007-09-10 Thread Andrea Valle

Thanks Arthur

so now my XeConTeXt.engine file contains:

#!/bin/tcsh
set path= ($path  /usr/texbin)
texexec --xtx  $1

(including a blank line)
It works


Best


-a-

On 10 Sep 2007, at 17:49, Arthur Reutenauer wrote:


Any hints?


  Make sure the xetex binary is indeed in /usr/local/texlive/2007/ 
bin/i386-darwin

or in /usr/texbin, and the XeConTeXt.engine is an executable file
(type chmod 755 ~/Library/TeXShop/Engines/XeConTeXt.engine in  
Terminal.app)

You can also remove the stand-alone slash after set path= in
XeConTeXt.engine (it tells tcsh to add the root directory to the  
list of

directories where executable files are looked for, and that's really
both useless and dangerous).

Arthur
__ 
_
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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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 + ConTeXt in TeXShop

2007-09-10 Thread Henning Hraban Ramm
Am 2007-09-10 um 18:18 schrieb Andrea Valle:

 so now my XeConTeXt.engine file contains:

 #!/bin/tcsh
 set path= ($path  /usr/texbin)
 texexec --xtx  $1

 (including a blank line)
 It works

BTW, for the records:

tcsh is rather exotic (was default on OSX 10.1, though).

I'd suggest:

in your ~/.profile:

export PATH='$PATH:/usr/texbin'
alias texetex='texexec --xtx'

and just call 'texetex' in TeXshop (or on the commandline).


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___