ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: some patches
@ 2006-05-16 11:10 Dalyoung
  2006-05-16 17:15 ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Dalyoung @ 2006-05-16 11:10 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 872 bytes --]



>
for xetex you really need to update because the backend driver has
changed to xpdfmx

Hans

Dear Hans,

Thank you for the reply.

I'll upgrade to the latest version soon.

By the way, I noticed one thing in the process of XeTeX-ConTeXt.

In the previous version before may, "texexec --xtx file.tex" run and  
made file.xdv, and then finally produced file.pdf.
But in the current version "texmfstart texexec --xetex file.tex" run  
and file.tuo - file.dvi - file.pdf are produced in the log file but  
file.pdf is not produced in the folder.  "texexec --xtx  file.tex"  
also produced pdf via *.tuo - *.dvi - *.pdf but figures in pdf format  
are appeared as blank space.

Doesn't ConTeXt-XeTeX use *.xdv anymore?

I'd like to upgrade from the beginning, TeX+ConTeXt update + XeTeX  
and test the same file.
It makes me a little bit nervous.

Thank you again.

Dalyoung

[-- Attachment #1.2: Type: text/html, Size: 4175 bytes --]

[-- Attachment #2: 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] 15+ messages in thread

* Re: some patches
  2006-05-16 11:10 some patches Dalyoung
@ 2006-05-16 17:15 ` Hans Hagen
  0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2006-05-16 17:15 UTC (permalink / raw)


Dalyoung wrote:
>
>
>>
> for xetex you really need to update because the backend driver has
> changed to xpdfmx
>
> Hans
>
> Dear Hans,
>
> Thank you for the reply.
>
> I'll upgrade to the latest version soon. 
>
> By the way, I noticed one thing in the process of XeTeX-ConTeXt.
>
> In the previous version before may, "texexec --xtx file.tex" run and 
> made file.xdv, and then finally produced file.pdf.
> But in the current version "texmfstart texexec --xetex file.tex" run 
> and file.tuo - file.dvi - file.pdf are produced in the log file but 
> file.pdf is not produced in the folder.  "texexec --xtx  file.tex" 
> also produced pdf via *.tuo - *.dvi - *.pdf but figures in pdf format 
> are appeared as blank space.
>
> Doesn't ConTeXt-XeTeX use *.xdv anymore?
not by default; esp since xdvipdfmx will become the real thing for xetex 

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

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

* Re: some patches
  2006-05-16  4:33 Dalyoung Jeong
@ 2006-05-16  7:47 ` Hans Hagen
  0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2006-05-16  7:47 UTC (permalink / raw)


Dalyoung Jeong wrote:
> Dear Hans,
>
> Thank you for your answer.
>
> Since it worked perfectly before, I created XeTeX-ConTeXt format using
> 	texexec --make --xtx en
> for a test and run "texexec --xtx file.tex".
>
> It run OK and I got a pdf output. I think that it is not only the  
> font problem unless texmfstart uses fonts differently. So my wonder  
> is what cause the difference between
> texmfstart texexec --xetex file.tex and texexec --xtx file.tex.(no  
> output with errors and good output).
> I am sorry to list this which is the problem for me only.
>
> Since my TeX-knowledge is very short, I couldn't do anyting but  
> testing. I'll upgrade to the latest version soon and see how it runs,  
> although I am afraid of upgrading the current ConTeXt(05-11) to the  
> latest one.
>   
for xetex you really need to update because the backend driver has 
changed to xpdfmx

Hans

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

* Re: some patches
  2006-05-15 23:21 ` frantisek holop
@ 2006-05-16  7:41   ` Hans Hagen
  0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2006-05-16  7:41 UTC (permalink / raw)


frantisek holop wrote:
> hmm, on Mon, May 15, 2006 at 09:23:21AM +0200, Hans Hagen said that
>   
>> (btw, is there a clever way to avoid this sudo stuff and become real root?)
>>     
>
> i think i missed why you need to become root.
> is this for regular runs of context in the future?
>   
no, i need it just for experimenting / debugging

Hans

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

* Re: some patches
@ 2006-05-16  4:33 Dalyoung Jeong
  2006-05-16  7:47 ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Dalyoung Jeong @ 2006-05-16  4:33 UTC (permalink / raw)


Dear Hans,

Thank you for your answer.

Since it worked perfectly before, I created XeTeX-ConTeXt format using
	texexec --make --xtx en
for a test and run "texexec --xtx file.tex".

It run OK and I got a pdf output. I think that it is not only the  
font problem unless texmfstart uses fonts differently. So my wonder  
is what cause the difference between
texmfstart texexec --xetex file.tex and texexec --xtx file.tex.(no  
output with errors and good output).
I am sorry to list this which is the problem for me only.

Since my TeX-knowledge is very short, I couldn't do anyting but  
testing. I'll upgrade to the latest version soon and see how it runs,  
although I am afraid of upgrading the current ConTeXt(05-11) to the  
latest one.

Thank you again.

Best regards,

Dalyoung

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

* Re: some patches
  2006-05-15  7:23 Hans Hagen
                   ` (3 preceding siblings ...)
  2006-05-15 15:31 ` Gerben Wierda
@ 2006-05-15 23:21 ` frantisek holop
  2006-05-16  7:41   ` Hans Hagen
  4 siblings, 1 reply; 15+ messages in thread
From: frantisek holop @ 2006-05-15 23:21 UTC (permalink / raw)


hmm, on Mon, May 15, 2006 at 09:23:21AM +0200, Hans Hagen said that
> (btw, is there a clever way to avoid this sudo stuff and become real root?)

i think i missed why you need to become root.
is this for regular runs of context in the future?

-f
-- 
"will you leave me alone if i give you a quote?" -- emmanuel goldstein

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

* Re: some patches
  2006-05-15 15:34 Dalyoung
@ 2006-05-15 16:03 ` Hans Hagen
  0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2006-05-15 16:03 UTC (permalink / raw)


Dalyoung wrote:
> Dear Hans,
>
> Thank you for your work to make everything works fine, and I am sorry  
> to ask you so many things.
>
> I made texmfstart working and created the format files using the  
> commands
> 		texmfstart texexec --make en
> 		texmfstart texexec --make --xetex en
>
> It runs OK.
>
> I tested some files using "texmfstart texexec --pdf(or --xetex)  
> "file.tex" and following results.
>
> 	1. It runs OK for standard text using ConTeXt.
> 	2. There are some warnings and errors for xetex files using  
> XeConTeXt and there is no pdf output.
>   
--xetex should work ok

xetex uses xdvipfmx and context call xetex in such a way that it pipes to xdvipdfmx 

your error message more points to a problem with the font itself 

keep in mind that linux-xetex as well as xdvipdfxm is still experimental

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

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

* Re: some patches
@ 2006-05-15 15:34 Dalyoung
  2006-05-15 16:03 ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Dalyoung @ 2006-05-15 15:34 UTC (permalink / raw)


Dear Hans,

Thank you for your work to make everything works fine, and I am sorry  
to ask you so many things.

I made texmfstart working and created the format files using the  
commands
		texmfstart texexec --make en
		texmfstart texexec --make --xetex en

It runs OK.

I tested some files using "texmfstart texexec --pdf(or --xetex)  
"file.tex" and following results.

	1. It runs OK for standard text using ConTeXt.
	2. There are some warnings and errors for xetex files using  
XeConTeXt and there is no pdf output.

(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-err.tex

 > User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used  
instead. <   ) )
WARNING: Type1 font data returned by OFAStreamPSDownload isn't in the  
correct format required by the Adobe Type 1 Font Format specification.
WARNING: Type1 font data returned by OFAStreamPSDownload isn't in the  
correct format required by the Adobe Type 1 Font Format specification.
Output written on test.pdf (1 page).
Transcript written on test.log.
TeXUtil | parsing file test.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | commands: 23
TeXUtil | programs: 0
TeXUtil | tuo file saved
test.dvi -> test.pdf

** ERROR ** Could not open specified DVI file: test.dvi

Output file removed.
TeXExec | runtime: 12.030969
		
The only thing I did to make texmfstart working is to enable the line  
containg "../texmf.local/scripts/context/ruby" in texmfstart.rb.  
since I installed teTeX via i-installer.

Is there anything that I should do? Is the latest version cure for  
this problem too?

Thank you again.

Best regards,

Dalyoung

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

* Re: some patches
  2006-05-15  7:23 Hans Hagen
                   ` (2 preceding siblings ...)
  2006-05-15  8:25 ` Maurice Diamantini
@ 2006-05-15 15:31 ` Gerben Wierda
  2006-05-15 23:21 ` frantisek holop
  4 siblings, 0 replies; 15+ messages in thread
From: Gerben Wierda @ 2006-05-15 15:31 UTC (permalink / raw)


On 15 May 2006, at 09:23, Hans Hagen wrote:

> (btw, is there a clever way to avoid this sudo stuff and become  
> real root?)

This depends on what you want to do and on which system. On most  
unixes, you can say. You can in perl (and probably also ruby which I  
do not know) set all kinds of unixy things like real uid ($<) and  
effective uid ($>) as long as you already have the permissions.

	sudo -H -s

to become root and also have root's home directory.

G

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

* Re: some patches
  2006-05-15  8:25 ` Maurice Diamantini
  2006-05-15  8:59   ` Hans Hagen
@ 2006-05-15  9:58   ` Taco Hoekwater
  1 sibling, 0 replies; 15+ messages in thread
From: Taco Hoekwater @ 2006-05-15  9:58 UTC (permalink / raw)
  Cc: Maurice Diamantini



Maurice Diamantini wrote:
> 
> Not quite related to this subject, but as you are going to make the  
> ConTeXt
> installation more and more robust. It would be nice if the ConTeXt  
> independant
> distrib could be use **without positionning any TEXMF like variables**.
> This would allow to use updated ConTeXt distrib without breaking a  
> standard
> (more or less old) other LaTeX existing distibution.

It is up to you to decide when to call "setuptex", so you can
control this already. Or do I misunderstand something?

Cheers, Taco

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

* Re: some patches
  2006-05-15  8:25 ` Maurice Diamantini
@ 2006-05-15  8:59   ` Hans Hagen
  2006-05-15  9:58   ` Taco Hoekwater
  1 sibling, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2006-05-15  8:59 UTC (permalink / raw)
  Cc: Maurice Diamantini

Maurice Diamantini wrote:
> Le 15 mai 06 � 09:23, Hans Hagen a �crit :
>
>   
>> Hi,
>>
>> I played a bit with texmfstart on the (so so slooooow Q3) mac and i
>> think that i managed to get texmfstart working with less problems.  
>> I now
>> also ship a texmfstart with all the used (context/ruby/base) libraries
>> merged in (new undocumented feature) so that there is no longer a need
>> to set the ruby lib path and/or move base files.
>>
>> The new version is uploaded. A next step is to get the stubs done  
>> in the
>> right way (just texmfstart scriptname args)
>>     
>
> Not quite related to this subject, but as you are going to make the  
> ConTeXt
> installation more and more robust. It would be nice if the ConTeXt  
> independant
> distrib could be use **without positionning any TEXMF like variables**.
> This would allow to use updated ConTeXt distrib without breaking a  
> standard
> (more or less old) other LaTeX existing distibution.
>   
hm, in principle you can put the minimal over an existing big one and cross your fingers for it to work. 

the problem with the texmf vars's is that some of them are hard coded (sigh) and the reason why i provide the 'setuptex' things is that when i install tex on some system, i want to be sure that there are no interferences (in the past tex was often installed on linxu systems by default and the only robust way to get rid of an exiting setup was to overload all relevant texmf related vars; 

btw, a inimal installation will not break anything exiting, since you can put it somewhere else; you can even get away from the setuptex scripts by running 

texmfstart --tree=/say/its/located/here texexec ... 

which is handy in web based environments; in that case, texmfstart will read the setuptex.tmf file 

Hans 

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

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

* Re: some patches
  2006-05-15  7:23 Hans Hagen
  2006-05-15  7:29 ` Gilles Pérez-Lambert
  2006-05-15  7:45 ` Sanjoy Mahajan
@ 2006-05-15  8:25 ` Maurice Diamantini
  2006-05-15  8:59   ` Hans Hagen
  2006-05-15  9:58   ` Taco Hoekwater
  2006-05-15 15:31 ` Gerben Wierda
  2006-05-15 23:21 ` frantisek holop
  4 siblings, 2 replies; 15+ messages in thread
From: Maurice Diamantini @ 2006-05-15  8:25 UTC (permalink / raw)
  Cc: Maurice Diamantini


Le 15 mai 06 à 09:23, Hans Hagen a écrit :

> Hi,
>
> I played a bit with texmfstart on the (so so slooooow Q3) mac and i
> think that i managed to get texmfstart working with less problems.  
> I now
> also ship a texmfstart with all the used (context/ruby/base) libraries
> merged in (new undocumented feature) so that there is no longer a need
> to set the ruby lib path and/or move base files.
>
> The new version is uploaded. A next step is to get the stubs done  
> in the
> right way (just texmfstart scriptname args)

Not quite related to this subject, but as you are going to make the  
ConTeXt
installation more and more robust. It would be nice if the ConTeXt  
independant
distrib could be use **without positionning any TEXMF like variables**.
This would allow to use updated ConTeXt distrib without breaking a  
standard
(more or less old) other LaTeX existing distibution.

-- Maurice Diamantini

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

* Re: some patches
  2006-05-15  7:23 Hans Hagen
  2006-05-15  7:29 ` Gilles Pérez-Lambert
@ 2006-05-15  7:45 ` Sanjoy Mahajan
  2006-05-15  8:25 ` Maurice Diamantini
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 15+ messages in thread
From: Sanjoy Mahajan @ 2006-05-15  7:45 UTC (permalink / raw)


> (btw, is there a clever way to avoid this sudo stuff and become real
> root?)

Ubuntu Linux also uses sudo instead of a root login.  There I get
around it with:

$ sudo bash (or your favorite shell)
Password: ...
# cmd1
...

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
         --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

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

* Re: some patches
  2006-05-15  7:23 Hans Hagen
@ 2006-05-15  7:29 ` Gilles Pérez-Lambert
  2006-05-15  7:45 ` Sanjoy Mahajan
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 15+ messages in thread
From: Gilles Pérez-Lambert @ 2006-05-15  7:29 UTC (permalink / raw)


Hi,

On 5/15/06, Hans Hagen <pragma@wxs.nl> wrote:
> (btw, is there a clever way to avoid this sudo stuff and become real root?)

I personnaly do:

    sudo -s

when I need to become root for several commands. And then I:

     exit

Gilles.

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

* some patches
@ 2006-05-15  7:23 Hans Hagen
  2006-05-15  7:29 ` Gilles Pérez-Lambert
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Hans Hagen @ 2006-05-15  7:23 UTC (permalink / raw)


Hi,

I played a bit with texmfstart on the (so so slooooow Q3) mac and i 
think that i managed to get texmfstart working with less problems. I now 
also ship a texmfstart with all the used (context/ruby/base) libraries 
merged in (new undocumented feature) so that there is no longer a need 
to set the ruby lib path and/or move base files.

The new version is uploaded. A next step is to get the stubs done in the 
right way (just texmfstart scriptname args)

(btw, is there a clever way to avoid this sudo stuff and become real root?)

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

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

end of thread, other threads:[~2006-05-16 17:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-16 11:10 some patches Dalyoung
2006-05-16 17:15 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2006-05-16  4:33 Dalyoung Jeong
2006-05-16  7:47 ` Hans Hagen
2006-05-15 15:34 Dalyoung
2006-05-15 16:03 ` Hans Hagen
2006-05-15  7:23 Hans Hagen
2006-05-15  7:29 ` Gilles Pérez-Lambert
2006-05-15  7:45 ` Sanjoy Mahajan
2006-05-15  8:25 ` Maurice Diamantini
2006-05-15  8:59   ` Hans Hagen
2006-05-15  9:58   ` Taco Hoekwater
2006-05-15 15:31 ` Gerben Wierda
2006-05-15 23:21 ` frantisek holop
2006-05-16  7:41   ` Hans Hagen

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).