Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-14 Thread Pavel Sanda
Kenward Vaughan wrote:
 It seems that I needed to switch out my old ~/.lyx directory for a fresh
 one.  I have not yet examined this extensively, but doing so appears to

i guess you will have some special converter setup saved in preferences

 have managed the rasterization issue.  There are several quirks I
 immediately noticed about Xetex vs. Latex as well, which will take a bit
 to get accustomed to, but at least now it appears to be OK.

please report them ASAP, XeTeX support is currently being polished,
its always more easy to fix/enhance issues when you catch them while
being under focus

 I **do** have relatively frequent crashes due to simple things like
 wheel scrolling through a document.  I will submit bug reports when I
 figure out how...  :)

i have also experienced unreproducible crashes just by editing here :(
even if you dont have recipy, you can help by providing us backtrace
http://wiki.lyx.org/FAQ/FurtherHelp#toc4

cheers,
pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-14 Thread Pavel Sanda
Kenward Vaughan wrote:
 It seems that I needed to switch out my old ~/.lyx directory for a fresh
 one.  I have not yet examined this extensively, but doing so appears to

i guess you will have some special converter setup saved in preferences

 have managed the rasterization issue.  There are several quirks I
 immediately noticed about Xetex vs. Latex as well, which will take a bit
 to get accustomed to, but at least now it appears to be OK.

please report them ASAP, XeTeX support is currently being polished,
its always more easy to fix/enhance issues when you catch them while
being under focus

 I **do** have relatively frequent crashes due to simple things like
 wheel scrolling through a document.  I will submit bug reports when I
 figure out how...  :)

i have also experienced unreproducible crashes just by editing here :(
even if you dont have recipy, you can help by providing us backtrace
http://wiki.lyx.org/FAQ/FurtherHelp#toc4

cheers,
pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-14 Thread Pavel Sanda
Kenward Vaughan wrote:
> It seems that I needed to switch out my old ~/.lyx directory for a fresh
> one.  I have not yet examined this extensively, but doing so appears to

i guess you will have some special converter setup saved in preferences

> have managed the "rasterization" issue.  There are several quirks I
> immediately noticed about Xetex vs. Latex as well, which will take a bit
> to get accustomed to, but at least now it appears to be OK.

please report them ASAP, XeTeX support is currently being polished,
its always more easy to fix/enhance issues when you catch them while
being under focus

> I **do** have relatively frequent crashes due to simple things like
> wheel scrolling through a document.  I will submit bug reports when I
> figure out how...  :)

i have also experienced unreproducible crashes just by editing here :(
even if you dont have recipy, you can help by providing us backtrace
http://wiki.lyx.org/FAQ/FurtherHelp#toc4

cheers,
pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-13 Thread Kenward Vaughan
On Fri, 2010-11-12 at 21:07 +0100, Pavel Sanda wrote:
 Kenward Vaughan wrote:
  On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
   Kenward Vaughan wrote:
Ah.  OK.  Knowing that, does anyone have a suggestion for the
transformation?  I thought pdf could be a wrapper about an eps
figure... If so, which utility is a good one? 
   
   if you write epstopdf on your console what happens?
   
   pavel
  
  I have it installed.  I also tried including it as a package, but images
  still became rasterized.  
 
 i just installed xetex here to look at it, but everything work just fine.
 (my debug messages still contain
 Converter.cpp(425): Calling epstopdf 
 --outfile=0_trash_centered_m_195_profile.pdf 
 0_trash_centered_m_195_profile.eps
 )
 
 there must be some catch in your configuration. have run reconfigure?
 what kind of distribution you are running?
 
 pavel


Hi Pavel,

It seems that I needed to switch out my old ~/.lyx directory for a fresh
one.  I have not yet examined this extensively, but doing so appears to
have managed the rasterization issue.  There are several quirks I
immediately noticed about Xetex vs. Latex as well, which will take a bit
to get accustomed to, but at least now it appears to be OK.

I **do** have relatively frequent crashes due to simple things like
wheel scrolling through a document.  I will submit bug reports when I
figure out how...  :)


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-13 Thread Kenward Vaughan
On Fri, 2010-11-12 at 21:07 +0100, Pavel Sanda wrote:
 Kenward Vaughan wrote:
  On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
   Kenward Vaughan wrote:
Ah.  OK.  Knowing that, does anyone have a suggestion for the
transformation?  I thought pdf could be a wrapper about an eps
figure... If so, which utility is a good one? 
   
   if you write epstopdf on your console what happens?
   
   pavel
  
  I have it installed.  I also tried including it as a package, but images
  still became rasterized.  
 
 i just installed xetex here to look at it, but everything work just fine.
 (my debug messages still contain
 Converter.cpp(425): Calling epstopdf 
 --outfile=0_trash_centered_m_195_profile.pdf 
 0_trash_centered_m_195_profile.eps
 )
 
 there must be some catch in your configuration. have run reconfigure?
 what kind of distribution you are running?
 
 pavel


Hi Pavel,

It seems that I needed to switch out my old ~/.lyx directory for a fresh
one.  I have not yet examined this extensively, but doing so appears to
have managed the rasterization issue.  There are several quirks I
immediately noticed about Xetex vs. Latex as well, which will take a bit
to get accustomed to, but at least now it appears to be OK.

I **do** have relatively frequent crashes due to simple things like
wheel scrolling through a document.  I will submit bug reports when I
figure out how...  :)


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-13 Thread Kenward Vaughan
On Fri, 2010-11-12 at 21:07 +0100, Pavel Sanda wrote:
> Kenward Vaughan wrote:
> > On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
> > > Kenward Vaughan wrote:
> > > > Ah.  OK.  Knowing that, does anyone have a suggestion for the
> > > > transformation?  I thought pdf could be a "wrapper" about an eps
> > > > figure... If so, which utility is a good one? 
> > > 
> > > if you write "epstopdf" on your console what happens?
> > > 
> > > pavel
> > 
> > I have it installed.  I also tried including it as a package, but images
> > still became rasterized.  
> 
> i just installed xetex here to look at it, but everything work just fine.
> (my debug messages still contain
> Converter.cpp(425): Calling epstopdf 
> --outfile="0_trash_centered_m_195_profile.pdf" 
> "0_trash_centered_m_195_profile.eps"
> )
> 
> there must be some catch in your configuration. have run reconfigure?
> what kind of distribution you are running?
> 
> pavel


Hi Pavel,

It seems that I needed to switch out my old ~/.lyx directory for a fresh
one.  I have not yet examined this extensively, but doing so appears to
have managed the "rasterization" issue.  There are several quirks I
immediately noticed about Xetex vs. Latex as well, which will take a bit
to get accustomed to, but at least now it appears to be OK.

I **do** have relatively frequent crashes due to simple things like
wheel scrolling through a document.  I will submit bug reports when I
figure out how...  :)


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Mukhtar Ullah
Kenward Vaughan kay_jay at earthlink.net writes:

 
 On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
 ...
  Removing the XeTeX parts from the document makes it all go away.  :(
  
  Does anyone have thoughts about this problem?  One other area I perhaps
  should include is the preamble.  Is one of the packages incompatible
  with XeTeX?
  
  \usepackage{accents}
  \usepackage{mdwlist}
  \usepackage{layout}
  \usepackage{multicol}
 ...
 
 It looks like removal of the accents package freed up XeTeX,  I'm not
 certain why I have it in their in the 1st place, actually.  Processing
 completes now, and I get a pdf file.
 
 But now something else was noticed... all my beautiful eps figures have
 been rasterized!  Augh!  They are hideous in output.  :(((
 
 Is this normal???
 
 Kenward

Kenward,
XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
are using LyX, this conversion from eps to pdf is done for you. I suppose the
conversion is not done well enough. I would suggest you convert them yourself to
keep the vector essence.

Mukhtar




Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Mukhtar Ullah wrote:
  But now something else was noticed... all my beautiful eps figures have
  been rasterized!  Augh!  They are hideous in output.  :(((

this would be serious issue, please fill bug in our tracker.
its maybe just about selecting proper convertor of eps-pdf.
pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Kenward Vaughan
On Fri, 2010-11-12 at 09:50 +, Mukhtar Ullah wrote:
 Kenward Vaughan kay_jay at earthlink.net writes:
 
  
  On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
...
  But now something else was noticed... all my beautiful eps figures have
  been rasterized!  Augh!  They are hideous in output.  :(((
  
  Is this normal???
  
  Kenward
 
 Kenward,
 XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
 are using LyX, this conversion from eps to pdf is done for you. I suppose the
 conversion is not done well enough. I would suggest you convert them yourself 
 to
 keep the vector essence.
 
 Mukhtar


Ah.  OK.  Knowing that, does anyone have a suggestion for the
transformation?  I thought pdf could be a wrapper about an eps
figure... If so, which utility is a good one? 

I'm sorry for my ignorance about this, but it has never been in the
forefront of concern since I hadn't hit such an issue before.

Thanks for the help, both to you and Paval! 


Kenward
-- 
Man does not cease to play because he grows old... 
Man grows old because he ceases to play.

Life's journey is not to arrive at the grave safely in a well preserved
body, but rather to skid in sideways, totally worn out, shouting '...Oh,
WOW !! ...what a ride...' 



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
 Ah.  OK.  Knowing that, does anyone have a suggestion for the
 transformation?  I thought pdf could be a wrapper about an eps
 figure... If so, which utility is a good one? 

if you write epstopdf on your console what happens?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Richard Heck

On 11/12/2010 10:32 AM, Kenward Vaughan wrote:

On Fri, 2010-11-12 at 09:50 +, Mukhtar Ullah wrote:

Kenward Vaughankay_jayat  earthlink.net  writes:


On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:

...

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((

Is this normal???

Kenward

Kenward,
XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
are using LyX, this conversion from eps to pdf is done for you. I suppose the
conversion is not done well enough. I would suggest you convert them yourself to
keep the vector essence.

Mukhtar


Ah.  OK.  Knowing that, does anyone have a suggestion for the
transformation?  I thought pdf could be a wrapper about an eps
figure... If so, which utility is a good one?


LyX itself relies upon ImageMagick's convert utility, which is as simple as:
convert file.eps file.png
I'm not sure how you might automate this in LyX. There must be some way 
to force conversion to png instead of pdf.


rh



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Kenward Vaughan
On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
 Kenward Vaughan wrote:
  Ah.  OK.  Knowing that, does anyone have a suggestion for the
  transformation?  I thought pdf could be a wrapper about an eps
  figure... If so, which utility is a good one? 
 
 if you write epstopdf on your console what happens?
 
 pavel

I have it installed.  I also tried including it as a package, but images
still became rasterized.  


Kenward
-- 
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed.   Albert Einstein



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Steve Litt
On Friday 12 November 2010 08:41:39 Pavel Sanda wrote:
 Mukhtar Ullah wrote:
   But now something else was noticed... all my beautiful eps figures have
   been rasterized!  Augh!  They are hideous in output.  :(((
 
 this would be serious issue, please fill bug in our tracker.
 its maybe just about selecting proper convertor of eps-pdf.
 pavel

I've noticed that for years and years and years. Usually .eps figures get 
rasterized -- I think all the way back from 1.3.x or before. I thought that 
was just the way LyX worked.

That's why I use .pdf figures in my LyX documents -- that usually turns out 
very well. If you guys can figure out a way so that LyX treats .eps as a 
vector, that will be wonderful.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Steve Litt wrote:
 I've noticed that for years and years and years. Usually .eps figures get 
 rasterized -- I think all the way back from 1.3.x or before. I thought that 
 was just the way LyX worked.

not at all, i'm using .eps all the time without such problems.
you must miss some convertor or have old version or something like that.

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Julien Rioux

On 12/11/2010 12:53 PM, Steve Litt wrote:

On Friday 12 November 2010 08:41:39 Pavel Sanda wrote:

Mukhtar Ullah wrote:

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((


this would be serious issue, please fill bug in our tracker.
its maybe just about selecting proper convertor of eps-pdf.
pavel


I've noticed that for years and years and years. Usually .eps figures get
rasterized -- I think all the way back from 1.3.x or before. I thought that
was just the way LyX worked.

That's why I use .pdf figures in my LyX documents -- that usually turns out
very well. If you guys can figure out a way so that LyX treats .eps as a
vector, that will be wonderful.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Usually I use PDF (ps2pdf) as output and everything stays vectorized. 
But I too noticed the rasterizing recently, when using PDF (pdflatex). I 
think imagemagick's convert does rasterize. This was on windows, I 
haven't checked on linux.


--
Julien



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Julien Rioux wrote:
 Usually I use PDF (ps2pdf) as output and everything stays vectorized. But I 
 too noticed the rasterizing recently, when using PDF (pdflatex). I think 
 imagemagick's convert does rasterize. This was on windows, I haven't 
 checked on linux.

please people can you check that you have installed eps2pdf?
it runs here when doing pdflatex output and i guess that rasterizing
of imagemagick happens only in case that eps2pdf is not found...

also, do we have eps2pdf by default on windows install (can't test here)?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Pavel Sanda wrote:
 Julien Rioux wrote:
  Usually I use PDF (ps2pdf) as output and everything stays vectorized. But I 
  too noticed the rasterizing recently, when using PDF (pdflatex). I think 
  imagemagick's convert does rasterize. This was on windows, I haven't 
  checked on linux.
 
 please people can you check that you have installed eps2pdf?

errrm epstopdf (part of texlive here)

 it runs here when doing pdflatex output and i guess that rasterizing
 of imagemagick happens only in case that eps2pdf is not found...
 
 also, do we have eps2pdf by default on windows install (can't test here)?
 
 pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Julien Rioux

On 12/11/2010 2:52 PM, Pavel Sanda wrote:

please people can you check that you have installed eps2pdf?

errrm epstopdf (part of texlive here)



$ which eps2pdf
which: no eps2pdf in
$ which epstopdf
/cygdrive/c/miktex/miktex28/miktex/bin/epstopdf

I reconfigured LyX and it is now using epstopdf for the convertion. Good 
to know. Thanks


--
Julien



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
 On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
  Kenward Vaughan wrote:
   Ah.  OK.  Knowing that, does anyone have a suggestion for the
   transformation?  I thought pdf could be a wrapper about an eps
   figure... If so, which utility is a good one? 
  
  if you write epstopdf on your console what happens?
  
  pavel
 
 I have it installed.  I also tried including it as a package, but images
 still became rasterized.  

i just installed xetex here to look at it, but everything work just fine.
(my debug messages still contain
Converter.cpp(425): Calling epstopdf 
--outfile=0_trash_centered_m_195_profile.pdf 
0_trash_centered_m_195_profile.eps
)

there must be some catch in your configuration. have run reconfigure?
what kind of distribution you are running?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
 I have it installed.  I also tried including it as a package, but images
 still became rasterized.  

also remove converter cache, just in a case...
pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Mukhtar Ullah
Kenward Vaughan kay_jay at earthlink.net writes:

 
 On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
 ...
  Removing the XeTeX parts from the document makes it all go away.  :(
  
  Does anyone have thoughts about this problem?  One other area I perhaps
  should include is the preamble.  Is one of the packages incompatible
  with XeTeX?
  
  \usepackage{accents}
  \usepackage{mdwlist}
  \usepackage{layout}
  \usepackage{multicol}
 ...
 
 It looks like removal of the accents package freed up XeTeX,  I'm not
 certain why I have it in their in the 1st place, actually.  Processing
 completes now, and I get a pdf file.
 
 But now something else was noticed... all my beautiful eps figures have
 been rasterized!  Augh!  They are hideous in output.  :(((
 
 Is this normal???
 
 Kenward

Kenward,
XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
are using LyX, this conversion from eps to pdf is done for you. I suppose the
conversion is not done well enough. I would suggest you convert them yourself to
keep the vector essence.

Mukhtar




Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Mukhtar Ullah wrote:
  But now something else was noticed... all my beautiful eps figures have
  been rasterized!  Augh!  They are hideous in output.  :(((

this would be serious issue, please fill bug in our tracker.
its maybe just about selecting proper convertor of eps-pdf.
pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Kenward Vaughan
On Fri, 2010-11-12 at 09:50 +, Mukhtar Ullah wrote:
 Kenward Vaughan kay_jay at earthlink.net writes:
 
  
  On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
...
  But now something else was noticed... all my beautiful eps figures have
  been rasterized!  Augh!  They are hideous in output.  :(((
  
  Is this normal???
  
  Kenward
 
 Kenward,
 XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
 are using LyX, this conversion from eps to pdf is done for you. I suppose the
 conversion is not done well enough. I would suggest you convert them yourself 
 to
 keep the vector essence.
 
 Mukhtar


Ah.  OK.  Knowing that, does anyone have a suggestion for the
transformation?  I thought pdf could be a wrapper about an eps
figure... If so, which utility is a good one? 

I'm sorry for my ignorance about this, but it has never been in the
forefront of concern since I hadn't hit such an issue before.

Thanks for the help, both to you and Paval! 


Kenward
-- 
Man does not cease to play because he grows old... 
Man grows old because he ceases to play.

Life's journey is not to arrive at the grave safely in a well preserved
body, but rather to skid in sideways, totally worn out, shouting '...Oh,
WOW !! ...what a ride...' 



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
 Ah.  OK.  Knowing that, does anyone have a suggestion for the
 transformation?  I thought pdf could be a wrapper about an eps
 figure... If so, which utility is a good one? 

if you write epstopdf on your console what happens?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Richard Heck

On 11/12/2010 10:32 AM, Kenward Vaughan wrote:

On Fri, 2010-11-12 at 09:50 +, Mukhtar Ullah wrote:

Kenward Vaughankay_jayat  earthlink.net  writes:


On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:

...

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((

Is this normal???

Kenward

Kenward,
XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
are using LyX, this conversion from eps to pdf is done for you. I suppose the
conversion is not done well enough. I would suggest you convert them yourself to
keep the vector essence.

Mukhtar


Ah.  OK.  Knowing that, does anyone have a suggestion for the
transformation?  I thought pdf could be a wrapper about an eps
figure... If so, which utility is a good one?


LyX itself relies upon ImageMagick's convert utility, which is as simple as:
convert file.eps file.png
I'm not sure how you might automate this in LyX. There must be some way 
to force conversion to png instead of pdf.


rh



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Kenward Vaughan
On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
 Kenward Vaughan wrote:
  Ah.  OK.  Knowing that, does anyone have a suggestion for the
  transformation?  I thought pdf could be a wrapper about an eps
  figure... If so, which utility is a good one? 
 
 if you write epstopdf on your console what happens?
 
 pavel

I have it installed.  I also tried including it as a package, but images
still became rasterized.  


Kenward
-- 
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed.   Albert Einstein



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Steve Litt
On Friday 12 November 2010 08:41:39 Pavel Sanda wrote:
 Mukhtar Ullah wrote:
   But now something else was noticed... all my beautiful eps figures have
   been rasterized!  Augh!  They are hideous in output.  :(((
 
 this would be serious issue, please fill bug in our tracker.
 its maybe just about selecting proper convertor of eps-pdf.
 pavel

I've noticed that for years and years and years. Usually .eps figures get 
rasterized -- I think all the way back from 1.3.x or before. I thought that 
was just the way LyX worked.

That's why I use .pdf figures in my LyX documents -- that usually turns out 
very well. If you guys can figure out a way so that LyX treats .eps as a 
vector, that will be wonderful.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Steve Litt wrote:
 I've noticed that for years and years and years. Usually .eps figures get 
 rasterized -- I think all the way back from 1.3.x or before. I thought that 
 was just the way LyX worked.

not at all, i'm using .eps all the time without such problems.
you must miss some convertor or have old version or something like that.

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Julien Rioux

On 12/11/2010 12:53 PM, Steve Litt wrote:

On Friday 12 November 2010 08:41:39 Pavel Sanda wrote:

Mukhtar Ullah wrote:

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((


this would be serious issue, please fill bug in our tracker.
its maybe just about selecting proper convertor of eps-pdf.
pavel


I've noticed that for years and years and years. Usually .eps figures get
rasterized -- I think all the way back from 1.3.x or before. I thought that
was just the way LyX worked.

That's why I use .pdf figures in my LyX documents -- that usually turns out
very well. If you guys can figure out a way so that LyX treats .eps as a
vector, that will be wonderful.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Usually I use PDF (ps2pdf) as output and everything stays vectorized. 
But I too noticed the rasterizing recently, when using PDF (pdflatex). I 
think imagemagick's convert does rasterize. This was on windows, I 
haven't checked on linux.


--
Julien



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Julien Rioux wrote:
 Usually I use PDF (ps2pdf) as output and everything stays vectorized. But I 
 too noticed the rasterizing recently, when using PDF (pdflatex). I think 
 imagemagick's convert does rasterize. This was on windows, I haven't 
 checked on linux.

please people can you check that you have installed eps2pdf?
it runs here when doing pdflatex output and i guess that rasterizing
of imagemagick happens only in case that eps2pdf is not found...

also, do we have eps2pdf by default on windows install (can't test here)?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Pavel Sanda wrote:
 Julien Rioux wrote:
  Usually I use PDF (ps2pdf) as output and everything stays vectorized. But I 
  too noticed the rasterizing recently, when using PDF (pdflatex). I think 
  imagemagick's convert does rasterize. This was on windows, I haven't 
  checked on linux.
 
 please people can you check that you have installed eps2pdf?

errrm epstopdf (part of texlive here)

 it runs here when doing pdflatex output and i guess that rasterizing
 of imagemagick happens only in case that eps2pdf is not found...
 
 also, do we have eps2pdf by default on windows install (can't test here)?
 
 pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Julien Rioux

On 12/11/2010 2:52 PM, Pavel Sanda wrote:

please people can you check that you have installed eps2pdf?

errrm epstopdf (part of texlive here)



$ which eps2pdf
which: no eps2pdf in
$ which epstopdf
/cygdrive/c/miktex/miktex28/miktex/bin/epstopdf

I reconfigured LyX and it is now using epstopdf for the convertion. Good 
to know. Thanks


--
Julien



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
 On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
  Kenward Vaughan wrote:
   Ah.  OK.  Knowing that, does anyone have a suggestion for the
   transformation?  I thought pdf could be a wrapper about an eps
   figure... If so, which utility is a good one? 
  
  if you write epstopdf on your console what happens?
  
  pavel
 
 I have it installed.  I also tried including it as a package, but images
 still became rasterized.  

i just installed xetex here to look at it, but everything work just fine.
(my debug messages still contain
Converter.cpp(425): Calling epstopdf 
--outfile=0_trash_centered_m_195_profile.pdf 
0_trash_centered_m_195_profile.eps
)

there must be some catch in your configuration. have run reconfigure?
what kind of distribution you are running?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
 I have it installed.  I also tried including it as a package, but images
 still became rasterized.  

also remove converter cache, just in a case...
pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Mukhtar Ullah
Kenward Vaughan  earthlink.net> writes:

> 
> On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
> ...
> > Removing the XeTeX parts from the document makes it all go away.  :(
> > 
> > Does anyone have thoughts about this problem?  One other area I perhaps
> > should include is the preamble.  Is one of the packages incompatible
> > with XeTeX?
> > 
> > \usepackage{accents}
> > \usepackage{mdwlist}
> > \usepackage{layout}
> > \usepackage{multicol}
> ...
> 
> It looks like removal of the accents package freed up XeTeX,  I'm not
> certain why I have it in their in the 1st place, actually.  Processing
> completes now, and I get a pdf file.
> 
> But now something else was noticed... all my beautiful eps figures have
> been rasterized!  Augh!  They are hideous in output.  :(((
> 
> Is this normal???
> 
> Kenward

Kenward,
XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
are using LyX, this conversion from eps to pdf is done for you. I suppose the
conversion is not done well enough. I would suggest you convert them yourself to
keep the vector essence.

Mukhtar




Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Mukhtar Ullah wrote:
> > But now something else was noticed... all my beautiful eps figures have
> > been rasterized!  Augh!  They are hideous in output.  :(((

this would be serious issue, please fill bug in our tracker.
its maybe just about selecting proper convertor of eps->pdf.
pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Kenward Vaughan
On Fri, 2010-11-12 at 09:50 +, Mukhtar Ullah wrote:
> Kenward Vaughan  earthlink.net> writes:
> 
> > 
> > On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
...
> > But now something else was noticed... all my beautiful eps figures have
> > been rasterized!  Augh!  They are hideous in output.  :(((
> > 
> > Is this normal???
> > 
> > Kenward
> 
> Kenward,
> XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
> are using LyX, this conversion from eps to pdf is done for you. I suppose the
> conversion is not done well enough. I would suggest you convert them yourself 
> to
> keep the vector essence.
> 
> Mukhtar


Ah.  OK.  Knowing that, does anyone have a suggestion for the
transformation?  I thought pdf could be a "wrapper" about an eps
figure... If so, which utility is a good one? 

I'm sorry for my ignorance about this, but it has never been in the
forefront of concern since I hadn't hit such an issue before.

Thanks for the help, both to you and Paval! 


Kenward
-- 
"Man does not cease to play because he grows old... 
Man grows old because he ceases to play."

"Life's journey is not to arrive at the grave safely in a well preserved
body, but rather to skid in sideways, totally worn out, shouting '...Oh,
WOW !! ...what a ride...' "



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
> Ah.  OK.  Knowing that, does anyone have a suggestion for the
> transformation?  I thought pdf could be a "wrapper" about an eps
> figure... If so, which utility is a good one? 

if you write "epstopdf" on your console what happens?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Richard Heck

On 11/12/2010 10:32 AM, Kenward Vaughan wrote:

On Fri, 2010-11-12 at 09:50 +, Mukhtar Ullah wrote:

Kenward Vaughan  writes:


On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:

...

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((

Is this normal???

Kenward

Kenward,
XeTeX requires, like PdfTeX, figures in these formats: pdf,jpeg,png. Since you
are using LyX, this conversion from eps to pdf is done for you. I suppose the
conversion is not done well enough. I would suggest you convert them yourself to
keep the vector essence.

Mukhtar


Ah.  OK.  Knowing that, does anyone have a suggestion for the
transformation?  I thought pdf could be a "wrapper" about an eps
figure... If so, which utility is a good one?


LyX itself relies upon ImageMagick's convert utility, which is as simple as:
convert file.eps file.png
I'm not sure how you might automate this in LyX. There must be some way 
to force conversion to png instead of pdf.


rh



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Kenward Vaughan
On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
> Kenward Vaughan wrote:
> > Ah.  OK.  Knowing that, does anyone have a suggestion for the
> > transformation?  I thought pdf could be a "wrapper" about an eps
> > figure... If so, which utility is a good one? 
> 
> if you write "epstopdf" on your console what happens?
> 
> pavel

I have it installed.  I also tried including it as a package, but images
still became rasterized.  


Kenward
-- 
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed.   Albert Einstein



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Steve Litt
On Friday 12 November 2010 08:41:39 Pavel Sanda wrote:
> Mukhtar Ullah wrote:
> > > But now something else was noticed... all my beautiful eps figures have
> > > been rasterized!  Augh!  They are hideous in output.  :(((
> 
> this would be serious issue, please fill bug in our tracker.
> its maybe just about selecting proper convertor of eps->pdf.
> pavel

I've noticed that for years and years and years. Usually .eps figures get 
rasterized -- I think all the way back from 1.3.x or before. I thought that 
was just the way LyX worked.

That's why I use .pdf figures in my LyX documents -- that usually turns out 
very well. If you guys can figure out a way so that LyX treats .eps as a 
vector, that will be wonderful.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Steve Litt wrote:
> I've noticed that for years and years and years. Usually .eps figures get 
> rasterized -- I think all the way back from 1.3.x or before. I thought that 
> was just the way LyX worked.

not at all, i'm using .eps all the time without such problems.
you must miss some convertor or have old version or something like that.

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Julien Rioux

On 12/11/2010 12:53 PM, Steve Litt wrote:

On Friday 12 November 2010 08:41:39 Pavel Sanda wrote:

Mukhtar Ullah wrote:

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((


this would be serious issue, please fill bug in our tracker.
its maybe just about selecting proper convertor of eps->pdf.
pavel


I've noticed that for years and years and years. Usually .eps figures get
rasterized -- I think all the way back from 1.3.x or before. I thought that
was just the way LyX worked.

That's why I use .pdf figures in my LyX documents -- that usually turns out
very well. If you guys can figure out a way so that LyX treats .eps as a
vector, that will be wonderful.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Usually I use PDF (ps2pdf) as output and everything stays vectorized. 
But I too noticed the rasterizing recently, when using PDF (pdflatex). I 
think imagemagick's convert does rasterize. This was on windows, I 
haven't checked on linux.


--
Julien



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Julien Rioux wrote:
> Usually I use PDF (ps2pdf) as output and everything stays vectorized. But I 
> too noticed the rasterizing recently, when using PDF (pdflatex). I think 
> imagemagick's convert does rasterize. This was on windows, I haven't 
> checked on linux.

please people can you check that you have installed eps2pdf?
it runs here when doing pdflatex output and i guess that rasterizing
of imagemagick happens only in case that eps2pdf is not found...

also, do we have eps2pdf by default on windows install (can't test here)?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Pavel Sanda wrote:
> Julien Rioux wrote:
> > Usually I use PDF (ps2pdf) as output and everything stays vectorized. But I 
> > too noticed the rasterizing recently, when using PDF (pdflatex). I think 
> > imagemagick's convert does rasterize. This was on windows, I haven't 
> > checked on linux.
> 
> please people can you check that you have installed eps2pdf?

errrm "epstopdf" (part of texlive here)

> it runs here when doing pdflatex output and i guess that rasterizing
> of imagemagick happens only in case that eps2pdf is not found...
> 
> also, do we have eps2pdf by default on windows install (can't test here)?
> 
> pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Julien Rioux

On 12/11/2010 2:52 PM, Pavel Sanda wrote:

please people can you check that you have installed eps2pdf?

errrm "epstopdf" (part of texlive here)



$ which eps2pdf
which: no eps2pdf in
$ which epstopdf
/cygdrive/c/miktex/miktex28/miktex/bin/epstopdf

I reconfigured LyX and it is now using epstopdf for the convertion. Good 
to know. Thanks


--
Julien



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
> On Fri, 2010-11-12 at 16:43 +0100, Pavel Sanda wrote:
> > Kenward Vaughan wrote:
> > > Ah.  OK.  Knowing that, does anyone have a suggestion for the
> > > transformation?  I thought pdf could be a "wrapper" about an eps
> > > figure... If so, which utility is a good one? 
> > 
> > if you write "epstopdf" on your console what happens?
> > 
> > pavel
> 
> I have it installed.  I also tried including it as a package, but images
> still became rasterized.  

i just installed xetex here to look at it, but everything work just fine.
(my debug messages still contain
Converter.cpp(425): Calling epstopdf 
--outfile="0_trash_centered_m_195_profile.pdf" 
"0_trash_centered_m_195_profile.eps"
)

there must be some catch in your configuration. have run reconfigure?
what kind of distribution you are running?

pavel


Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-12 Thread Pavel Sanda
Kenward Vaughan wrote:
> I have it installed.  I also tried including it as a package, but images
> still became rasterized.  

also remove converter cache, just in a case...
pavel


Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-11 Thread Kenward Vaughan
Hi,

I've decided to give XeTeX a go as well as LyX 2.0, so have installed
both on my Linux system (Debian Sid).

First thing to do was to open a recent exam and change the settings to
use XeTeX as the means of output, as well as the default viewer to
XeTeX's pdf version.

When I try to view the document, though, errors I've never seen before
pop up.  There are five, involving the Latex error of command \acute
having already been defined, as well as analogous ones for \ddot, \tilde
\grave, and \bar.  Below them, the description says:

\begin{document}
Your command was ignored.
Type I command return to replace it with another command,
or return to continue without it.



I haven't a clue as to what the problem is.  If I try to view the DVI, I
get the following error:

Unable to access jarfile htmltolatex.jar
Systemcall.cpp(237): Systemcall: 'java -jar htmltolatex.jar -input
c1a_e2_f10.html -output c1a_e2_f10.tex' finished with exit code 1


Removing the XeTeX parts from the document makes it all go away.  :(

Does anyone have thoughts about this problem?  One other area I perhaps
should include is the preamble.  Is one of the packages incompatible
with XeTeX?

\usepackage{accents}
\usepackage{mdwlist}
\usepackage{layout}
\usepackage{multicol}

\def\myalph#1{\expandaft...@myalph\csname c...@#1\endcsname}
\d...@myalph#1{%

\ifcase#1\or a\or b\or c\or d\or e\or ab\or ac\or ad\or ae\or bc\or bd
\or be\or cd\or ce\or de\or abc\or abd\or abe\or acd\or ace\or ade\or
bcd\or bce\or bde\or cde\or abcd\or abce\or abde\or acde\or bcde\or
abcde

\el...@ctrerr\fi}

\renewcommand\labelenumii{(\myalph{enumii})}


Many thanks for any help with this!



Kenward
-- 
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed.   Albert Einstein



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-11 Thread Kenward Vaughan
On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
...
 Removing the XeTeX parts from the document makes it all go away.  :(
 
 Does anyone have thoughts about this problem?  One other area I perhaps
 should include is the preamble.  Is one of the packages incompatible
 with XeTeX?
 
 \usepackage{accents}
 \usepackage{mdwlist}
 \usepackage{layout}
 \usepackage{multicol}
...

It looks like removal of the accents package freed up XeTeX,  I'm not
certain why I have it in their in the 1st place, actually.  Processing
completes now, and I get a pdf file.

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((

Is this normal???


Kenward
-- 
If you can't explain it simply, you don't understand it well enough. --
  Albert Einstein



Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-11 Thread Kenward Vaughan
Hi,

I've decided to give XeTeX a go as well as LyX 2.0, so have installed
both on my Linux system (Debian Sid).

First thing to do was to open a recent exam and change the settings to
use XeTeX as the means of output, as well as the default viewer to
XeTeX's pdf version.

When I try to view the document, though, errors I've never seen before
pop up.  There are five, involving the Latex error of command \acute
having already been defined, as well as analogous ones for \ddot, \tilde
\grave, and \bar.  Below them, the description says:

\begin{document}
Your command was ignored.
Type I command return to replace it with another command,
or return to continue without it.



I haven't a clue as to what the problem is.  If I try to view the DVI, I
get the following error:

Unable to access jarfile htmltolatex.jar
Systemcall.cpp(237): Systemcall: 'java -jar htmltolatex.jar -input
c1a_e2_f10.html -output c1a_e2_f10.tex' finished with exit code 1


Removing the XeTeX parts from the document makes it all go away.  :(

Does anyone have thoughts about this problem?  One other area I perhaps
should include is the preamble.  Is one of the packages incompatible
with XeTeX?

\usepackage{accents}
\usepackage{mdwlist}
\usepackage{layout}
\usepackage{multicol}

\def\myalph#1{\expandaft...@myalph\csname c...@#1\endcsname}
\d...@myalph#1{%

\ifcase#1\or a\or b\or c\or d\or e\or ab\or ac\or ad\or ae\or bc\or bd
\or be\or cd\or ce\or de\or abc\or abd\or abe\or acd\or ace\or ade\or
bcd\or bce\or bde\or cde\or abcd\or abce\or abde\or acde\or bcde\or
abcde

\el...@ctrerr\fi}

\renewcommand\labelenumii{(\myalph{enumii})}


Many thanks for any help with this!



Kenward
-- 
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed.   Albert Einstein



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-11 Thread Kenward Vaughan
On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
...
 Removing the XeTeX parts from the document makes it all go away.  :(
 
 Does anyone have thoughts about this problem?  One other area I perhaps
 should include is the preamble.  Is one of the packages incompatible
 with XeTeX?
 
 \usepackage{accents}
 \usepackage{mdwlist}
 \usepackage{layout}
 \usepackage{multicol}
...

It looks like removal of the accents package freed up XeTeX,  I'm not
certain why I have it in their in the 1st place, actually.  Processing
completes now, and I get a pdf file.

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((

Is this normal???


Kenward
-- 
If you can't explain it simply, you don't understand it well enough. --
  Albert Einstein



Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-11 Thread Kenward Vaughan
Hi,

I've decided to give XeTeX a go as well as LyX 2.0, so have installed
both on my Linux system (Debian Sid).

First thing to do was to open a recent exam and change the settings to
use XeTeX as the means of output, as well as the default viewer to
XeTeX's pdf version.

When I try to view the document, though, errors I've never seen before
pop up.  There are five, involving the Latex error of command "\acute"
having already been defined, as well as analogous ones for \ddot, \tilde
\grave, and \bar.  Below them, the description says:

\begin{document}
Your command was ignored.
Type I   to replace it with another command,
or  to continue without it.



I haven't a clue as to what the problem is.  If I try to view the DVI, I
get the following error:

Unable to access jarfile htmltolatex.jar
Systemcall.cpp(237): Systemcall: 'java -jar htmltolatex.jar -input
"c1a_e2_f10.html" -output "c1a_e2_f10.tex"' finished with exit code 1


Removing the XeTeX parts from the document makes it all go away.  :(

Does anyone have thoughts about this problem?  One other area I perhaps
should include is the preamble.  Is one of the packages incompatible
with XeTeX?

\usepackage{accents}
\usepackage{mdwlist}
\usepackage{layout}
\usepackage{multicol}

\def\myalph#1{\expandaft...@myalph\csname c...@#1\endcsname}
\d...@myalph#1{%

\ifcase#1\or a\or b\or c\or d\or e\or ab\or ac\or ad\or ae\or bc\or bd
\or be\or cd\or ce\or de\or abc\or abd\or abe\or acd\or ace\or ade\or
bcd\or bce\or bde\or cde\or abcd\or abce\or abde\or acde\or bcde\or
abcde

\el...@ctrerr\fi}

\renewcommand\labelenumii{(\myalph{enumii})}


Many thanks for any help with this!



Kenward
-- 
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed.   Albert Einstein



Re: Getting XeTeX/LyX 2.0 to work with my docs...

2010-11-11 Thread Kenward Vaughan
On Thu, 2010-11-11 at 15:31 -0800, Kenward Vaughan wrote:
...
> Removing the XeTeX parts from the document makes it all go away.  :(
> 
> Does anyone have thoughts about this problem?  One other area I perhaps
> should include is the preamble.  Is one of the packages incompatible
> with XeTeX?
> 
> \usepackage{accents}
> \usepackage{mdwlist}
> \usepackage{layout}
> \usepackage{multicol}
...

It looks like removal of the accents package freed up XeTeX,  I'm not
certain why I have it in their in the 1st place, actually.  Processing
completes now, and I get a pdf file.

But now something else was noticed... all my beautiful eps figures have
been rasterized!  Augh!  They are hideous in output.  :(((

Is this normal???


Kenward
-- 
If you can't explain it simply, you don't understand it well enough. --
  Albert Einstein