Re: A4 landscape ps2pdf

2023-01-26 Thread Axel Dessecker via lyx-users
Am Donnerstag, 26. Januar 2023, 10:26:36 CET schrieb Patrick Dupre:
> Here one
> 
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>  Tel: +33 (0)380395988| | Room# D114A
> ===
> 
> > Sent: Thursday, January 26, 2023 at 9:55 AM
> > From: "Herbert Voss" 
> > To: "Patrick Dupre" 
> > Cc: lyx-users@lists.lyx.org
> > Subject: Re: A4 landscape ps2pdf
> > 
> > Am 26.01.23 um 09:50 schrieb Patrick Dupre:
> > > Hello,
> > > 
> > > As I said,
> > > 
> > >   ps2pdf -dAutoRotatePages=/None
> > > 
> > > does not help.
> > > 
> > > The only solution that I have now is
> > > export latex
> > > dvips
> > > ps2pdf
> > > 
> > > It seems that lyx does not do that properly!
> > 
> > Provide a small example ...
> > 
> > Herbert

Patrick,

Why don't you use pdflatex? This works here.

Axel



-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A4 landscape ps2pdf

2023-01-26 Thread Patrick Dupre
Here one


===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===


> Sent: Thursday, January 26, 2023 at 9:55 AM
> From: "Herbert Voss" 
> To: "Patrick Dupre" 
> Cc: lyx-users@lists.lyx.org
> Subject: Re: A4 landscape ps2pdf
>
> 
> 
> Am 26.01.23 um 09:50 schrieb Patrick Dupre:
> > Hello,
> >
> > As I said,
> >   ps2pdf -dAutoRotatePages=/None
> > does not help.
> >
> > The only solution that I have now is
> > export latex
> > dvips
> > ps2pdf
> >
> > It seems that lyx does not do that properly!
> 
> Provide a small example ...
> 
> Herbert
>

test.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A4 landscape ps2pdf

2023-01-26 Thread Herbert Voss




Am 26.01.23 um 09:50 schrieb Patrick Dupre:

Hello,

As I said,
  ps2pdf -dAutoRotatePages=/None
does not help.

The only solution that I have now is
export latex
dvips
ps2pdf

It seems that lyx does not do that properly!


Provide a small example ...

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A4 landscape ps2pdf

2023-01-26 Thread Patrick Dupre
Hello,

As I said, 
 ps2pdf -dAutoRotatePages=/None 
does not help.

The only solution that I have now is
export latex
dvips
ps2pdf

It seems that lyx does not do that properly!

Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===


> Sent: Wednesday, January 25, 2023 at 5:32 PM
> From: "Herbert Voss" 
> To: lyx-users@lists.lyx.org
> Subject: Re: A4 landscape ps2pdf
>
> 
> 
> Am 25.01.23 um 17:18 schrieb Patrick Dupre:
> > Hello,
> >
> > I have a file in A4 landscape format which provides the right output if I
> > use ctlrR (viewing)
> > If I use ps2pdf (with option ps2pdf -dALLOWPSTRANSPARENCY  -dNoSafer $$i 
> > $$o)
> > the generated pdf file has a portrait form.
> >
> > How can I fix this?
> >
> 
> try ps2pdf -dAutoRotatePages=/None ...
> 
> or for Windows
> 
> try ps2pdf -dAutoROtatePages#/None ...
> 
> Herbert
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A4 landscape ps2pdf

2023-01-25 Thread Patrick Dupre
Finally, it does not help.
I am still in portrait

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===


> Sent: Wednesday, January 25, 2023 at 5:32 PM
> From: "Herbert Voss" 
> To: lyx-users@lists.lyx.org
> Subject: Re: A4 landscape ps2pdf
>
> 
> 
> Am 25.01.23 um 17:18 schrieb Patrick Dupre:
> > Hello,
> >
> > I have a file in A4 landscape format which provides the right output if I
> > use ctlrR (viewing)
> > If I use ps2pdf (with option ps2pdf -dALLOWPSTRANSPARENCY  -dNoSafer $$i 
> > $$o)
> > the generated pdf file has a portrait form.
> >
> > How can I fix this?
> >
> 
> try ps2pdf -dAutoRotatePages=/None ...
> 
> or for Windows
> 
> try ps2pdf -dAutoROtatePages#/None ...
> 
> Herbert
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A4 landscape ps2pdf

2023-01-25 Thread Patrick Dupre
Hello,

Thank. But, I cannot!

For some reasons that I cannot explain.
After probably a mistake!
Now, I cannot apply any modification in the preferences.
as well I cannot 
change a font size for example: after I apply, it automatically come back
to default !

Did I locked some sort of configuration file?


===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===


> Sent: Wednesday, January 25, 2023 at 5:32 PM
> From: "Herbert Voss" 
> To: lyx-users@lists.lyx.org
> Subject: Re: A4 landscape ps2pdf
>
> 
> 
> Am 25.01.23 um 17:18 schrieb Patrick Dupre:
> > Hello,
> >
> > I have a file in A4 landscape format which provides the right output if I
> > use ctlrR (viewing)
> > If I use ps2pdf (with option ps2pdf -dALLOWPSTRANSPARENCY  -dNoSafer $$i 
> > $$o)
> > the generated pdf file has a portrait form.
> >
> > How can I fix this?
> >
> 
> try ps2pdf -dAutoRotatePages=/None ...
> 
> or for Windows
> 
> try ps2pdf -dAutoROtatePages#/None ...
> 
> Herbert
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A4 landscape ps2pdf

2023-01-25 Thread Herbert Voss




Am 25.01.23 um 17:18 schrieb Patrick Dupre:

Hello,

I have a file in A4 landscape format which provides the right output if I
use ctlrR (viewing)
If I use ps2pdf (with option ps2pdf -dALLOWPSTRANSPARENCY  -dNoSafer $$i $$o)
the generated pdf file has a portrait form.

How can I fix this?



try ps2pdf -dAutoRotatePages=/None ...

or for Windows

try ps2pdf -dAutoROtatePages#/None ...

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


A4 landscape ps2pdf

2023-01-25 Thread Patrick Dupre
Hello,

I have a file in A4 landscape format which provides the right output if I
use ctlrR (viewing)
If I use ps2pdf (with option ps2pdf -dALLOWPSTRANSPARENCY  -dNoSafer $$i $$o)
the generated pdf file has a portrait form.

How can I fix this?

Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Aliasing, xyling, ps2pdf

2016-01-09 Thread Guenter Milde
On 2016-01-08, Georg Baum wrote:

...

> Yes, the detection order in lib/configure.py is wrong.

>> Should I file a bug report?

> You couldd as well fix it directly in configure.py.

Done. [9ff11a7935/lyxgit]

Günter




Re: Aliasing, xyling, ps2pdf

2016-01-08 Thread Georg Baum
Guenter Milde wrote:

> If this is true, LyX configuration should choose "pdftops" if both tools
> are installed.
> 
> However, on my system this seems not to be the case:
> 
> * I have both, pdf2ps and pdftops (via package dependencies)
> 
> * still, the LyX-determined converter for 2.2dev is
>   pdf2ps $$i $$o
>   
> Can someone confirm/refute this finding?

Yes, the detection order in lib/configure.py is wrong.

> Should I file a bug report?

You couldd as well fix it directly in configure.py.


Georg




Re: Aliasing, xyling, ps2pdf

2016-01-07 Thread Maria Gouskova
On Wed, Jan 6, 2016 at 5:14 PM, Georg Baum
 wrote:
> Maria Gouskova wrote:
>
>> This is Mac OS 10.8.5, LyX 2.1.4. I suspect I need to define a
>> converter in Preferences/File handling, but am not having much luck
>> finding the answer anywhere.
>
> Correct. If pdftops is in the path, then LyX should automatically define a
> converter
>
> pdftops -eps -f 1 -l 1 $$i $$o
>
> for conversion from PDF (Graphics) to EPS. This one works fine for me with
> your test file. Which converter do you have configured for PDF (Graphics) to
> EPS conversion?
>

I didn't have one defined by default for PDF(graphics) at all. When I
added a PDF(graphics) to EPS converter, it defaulted to:

python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o

Which still produces an aliased PDF.

I tried defining it your way, but it seems that pdftops is not
available on my setup. LyX throws up a non-specific error.


I can't debug this properly since I am away from my other machine,
which has Mac OS 10.9x and (as far as I recall) does not have this
problem. Could be a MacTeX version difference? Or just OS-specific?


Re: Aliasing, xyling, ps2pdf

2016-01-07 Thread Guenter Milde
On 2016-01-07, Georg Baum wrote:
>> On Wed, Jan 6, 2016 at 5:14 PM, Georg Baum

...

> BTW, pdftops is better than pdf2ps according to 
> http://stefaanlippens.net/pdf2ps_vs_pdftops and also my own experience.

To sum this up: 
  
  Problem with pdf2ps: fonts are converted to bitmap fonts 
  
  With pdftops [...], the conversion takes less time, the resulting file
  is smaller, and fonts are better preserved. 


If this is true, LyX configuration should choose "pdftops" if both tools are
installed. 

However, on my system this seems not to be the case:

* I have both, pdf2ps and pdftops (via package dependencies)

* still, the LyX-determined converter for 2.2dev is
  pdf2ps $$i $$o
  
Can someone confirm/refute this finding?  

Should I file a bug report?  


Thanks,

Günter



Re: Aliasing, xyling, ps2pdf

2016-01-07 Thread Georg Baum
Maria Gouskova wrote:

> On Wed, Jan 6, 2016 at 5:14 PM, Georg Baum
>  wrote:
>> Maria Gouskova wrote:
>>
>>> This is Mac OS 10.8.5, LyX 2.1.4. I suspect I need to define a
>>> converter in Preferences/File handling, but am not having much luck
>>> finding the answer anywhere.
>>
>> Correct. If pdftops is in the path, then LyX should automatically define
>> a converter
>>
>> pdftops -eps -f 1 -l 1 $$i $$o
>>
>> for conversion from PDF (Graphics) to EPS. This one works fine for me
>> with your test file. Which converter do you have configured for PDF
>> (Graphics) to EPS conversion?
>>
> 
> I didn't have one defined by default for PDF(graphics) at all. When I
> added a PDF(graphics) to EPS converter, it defaulted to:
> 
> python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o
> 
> Which still produces an aliased PDF.
> 
> I tried defining it your way, but it seems that pdftops is not
> available on my setup. LyX throws up a non-specific error.

Then you need to install pdftops and either put the executable in a 
directory which is listed in the PATH environment variable, or define the 
converter using the absolute path to the installed pdftops (e.g. if the 
executable is located in /opt/xpdf/bin/pdftops, the converter would read

/opt/xpdf/bin/pdftops -eps -f 1 -l 1 $$i $$o

). You can download a binary from http://www.foolabs.com/xpdf/download.html, 
but since I am not a Mac expert I do not know if there are better ways to 
install it.

> I can't debug this properly since I am away from my other machine,
> which has Mac OS 10.9x and (as far as I recall) does not have this
> problem. Could be a MacTeX version difference? Or just OS-specific?

Probably not MaCTeX speicfic. My guess would be that on the other machine 
either pdftops or ps2eps (from ghostscript) is installed and found by LyX. 
BTW, pdftops is better than pdf2ps according to 
http://stefaanlippens.net/pdf2ps_vs_pdftops and also my own experience.


Georg



Re: Aliasing, xyling, ps2pdf

2016-01-07 Thread Maria Gouskova
On Thu, Jan 7, 2016 at 3:35 PM, Georg Baum
<georg.b...@post.rwth-aachen.de> wrote:
> Maria Gouskova wrote:
>
>> On Wed, Jan 6, 2016 at 5:14 PM, Georg Baum
>> <georg.b...@post.rwth-aachen.de> wrote:
>>> Maria Gouskova wrote:
>>>
>>>> This is Mac OS 10.8.5, LyX 2.1.4. I suspect I need to define a
>>>> converter in Preferences/File handling, but am not having much luck
>>>> finding the answer anywhere.
>>>
>>> Correct. If pdftops is in the path, then LyX should automatically define
>>> a converter
>>>
>>> pdftops -eps -f 1 -l 1 $$i $$o
>>>
>>> for conversion from PDF (Graphics) to EPS. This one works fine for me
>>> with your test file. Which converter do you have configured for PDF
>>> (Graphics) to EPS conversion?
>>>
>>
>> I didn't have one defined by default for PDF(graphics) at all. When I
>> added a PDF(graphics) to EPS converter, it defaulted to:
>>
>> python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o
>>
>> Which still produces an aliased PDF.
>>
>> I tried defining it your way, but it seems that pdftops is not
>> available on my setup. LyX throws up a non-specific error.
>
> Then you need to install pdftops and either put the executable in a
> directory which is listed in the PATH environment variable, or define the
> converter using the absolute path to the installed pdftops (e.g. if the
> executable is located in /opt/xpdf/bin/pdftops, the converter would read
>
> /opt/xpdf/bin/pdftops -eps -f 1 -l 1 $$i $$o
>
> ). You can download a binary from http://www.foolabs.com/xpdf/download.html,
> but since I am not a Mac expert I do not know if there are better ways to
> install it.
>
>> I can't debug this properly since I am away from my other machine,
>> which has Mac OS 10.9x and (as far as I recall) does not have this
>> problem. Could be a MacTeX version difference? Or just OS-specific?
>
> Probably not MaCTeX speicfic. My guess would be that on the other machine
> either pdftops or ps2eps (from ghostscript) is installed and found by LyX.
> BTW, pdftops is better than pdf2ps according to
> http://stefaanlippens.net/pdf2ps_vs_pdftops and also my own experience.
>
>
> Georg
>

Okay, thanks--I probably won't do this since I have found a workaround
for my original problem, and the figures and trees all come out
looking good now. I don't usually use ps2pdf anyway, it was only
because of xyling's peculiarity.

By the way, if anyone stumbles upon this discussion in the future, the
solution was to edit the xyling.sty file as follows:

Original:
\RequirePackage[color,all, dvips]{xy}

Change to:
\RequirePackage[color,all]{xy}

This will take away the ability to create color branches in a tree,
which is probably not a big loss. I can't remember ever seeing colored
branches in a published linguistics paper.


Re: Aliasing, xyling, ps2pdf

2016-01-06 Thread Maria Gouskova
On Wed, Jan 6, 2016 at 11:03 AM, Maria Gouskova <gousk...@gmail.com> wrote:
> Hi all,
>
> I am having trouble with aliasing graphics in the PDF. I have a vector
> graphics file (in PDF format, generated in R), and I am using the
> ps2pdf preview method because I am using an xypic-based tree package.
> The problem is, ps2pdf renders the graphics with aliasing, which looks
> really awful. But previewing with pdflatex kills the branches in the
> tree, a known issue with xypic/pdflatex. I am attaching a minimal
> example and the two PDFs I am getting.
>
> This is Mac OS 10.8.5, LyX 2.1.4. I suspect I need to define a
> converter in Preferences/File handling, but am not having much luck
> finding the answer anywhere.
>
> Maria


P.S. I was able to find a workaround by modifying xyling.sty by hand,
so I can now use pdflatex with xyling. But I am still curious about
what's causing the aliasing in ps2pdf.


Re: Aliasing, xyling, ps2pdf

2016-01-06 Thread Georg Baum
Maria Gouskova wrote:

> This is Mac OS 10.8.5, LyX 2.1.4. I suspect I need to define a
> converter in Preferences/File handling, but am not having much luck
> finding the answer anywhere.

Correct. If pdftops is in the path, then LyX should automatically define a 
converter

pdftops -eps -f 1 -l 1 $$i $$o

for conversion from PDF (Graphics) to EPS. This one works fine for me with 
your test file. Which converter do you have configured for PDF (Graphics) to 
EPS conversion?


Georg




Problem with ps2pdf pdflatex

2012-07-20 Thread John Ashmead
I've downloaded a package called classicthesis (http://code.google.com/p/classicthesis/ 
)  am trying to print their sample document.


I'm getting the error:

Package hyperref Error:  Wrong driver option `pdftex'
Tex capacity exceeded, sorry [main memory size=300]

Curiously enough I can export to a pdf file using Lyx's Export- 
PDF(pdflatex).


But when I try Export-PDF(ps2pdf) I get the above error.

I've pinged the classic thesis folks about this but am not sure if it  
is a Lyx configuration problem on my end or a problem with the package  
so I am posting to this group as well.


Their config file calls hyperref using:

\PassOptionsToPackage{pdftex,hyperfootnotes=false,pdfpagelabels} 
{hyperref}

\usepackage{hyperref}  % backref linktocpage pagebackref

which I have no idea what this means or if it is ok.

Basically:

1) what does this error mean?

2) how do I set the print option to pdflatex rather than ps2pdf,  
perhaps only for some documents?


TIA!

John Ashmead
john.ashm...@timeandquantummechanics.com

PS.  I'm relatively new to Lyx, only started with it last month, and  
have only worked with short articles (no problems printing them).

Re: Problem with ps2pdf pdflatex

2012-07-20 Thread David L. Johnson

On 07/20/2012 10:39 AM, John Ashmead wrote:
I've downloaded a package called classicthesis 
(http://code.google.com/p/classicthesis/)  am trying to print their 
sample document.


I'm getting the error:

*Package hyperref Error:  Wrong driver option `pdftex'*
*Tex capacity exceeded, sorry [main memory size=300]*


I don't know about this particular package, but Tex capacity exceeded 
errors, in my experience, often come from a missed end to a header 
environment.  That is, because of some error, TeX doesn't read correctly 
the end of the header, and includes some of the following document.  If 
that includes environments that shouldn't be in a header (for me, 
usually a multiline displayed equation), it will choke in this manner.


Why it only does that with export to ps2pdf is not clear.  Some 
graphics, perhaps, being included into a header?  I find ps2pdf to be 
more forgiving, in general, of graphics formats than pdlatex (I often 
include postscript and eps graphics, which sometimes pdflatex does not 
like).


--

David L. Johnson

Let's be straight here.  If we find something we can't understand we
like to call it something you can't understand, or indeed even
pronounce.
-- Douglas Adams



Problem with ps2pdf pdflatex

2012-07-20 Thread John Ashmead
I've downloaded a package called classicthesis (http://code.google.com/p/classicthesis/ 
)  am trying to print their sample document.


I'm getting the error:

Package hyperref Error:  Wrong driver option `pdftex'
Tex capacity exceeded, sorry [main memory size=300]

Curiously enough I can export to a pdf file using Lyx's Export- 
PDF(pdflatex).


But when I try Export-PDF(ps2pdf) I get the above error.

I've pinged the classic thesis folks about this but am not sure if it  
is a Lyx configuration problem on my end or a problem with the package  
so I am posting to this group as well.


Their config file calls hyperref using:

\PassOptionsToPackage{pdftex,hyperfootnotes=false,pdfpagelabels} 
{hyperref}

\usepackage{hyperref}  % backref linktocpage pagebackref

which I have no idea what this means or if it is ok.

Basically:

1) what does this error mean?

2) how do I set the print option to pdflatex rather than ps2pdf,  
perhaps only for some documents?


TIA!

John Ashmead
john.ashm...@timeandquantummechanics.com

PS.  I'm relatively new to Lyx, only started with it last month, and  
have only worked with short articles (no problems printing them).

Re: Problem with ps2pdf pdflatex

2012-07-20 Thread David L. Johnson

On 07/20/2012 10:39 AM, John Ashmead wrote:
I've downloaded a package called classicthesis 
(http://code.google.com/p/classicthesis/)  am trying to print their 
sample document.


I'm getting the error:

*Package hyperref Error:  Wrong driver option `pdftex'*
*Tex capacity exceeded, sorry [main memory size=300]*


I don't know about this particular package, but Tex capacity exceeded 
errors, in my experience, often come from a missed end to a header 
environment.  That is, because of some error, TeX doesn't read correctly 
the end of the header, and includes some of the following document.  If 
that includes environments that shouldn't be in a header (for me, 
usually a multiline displayed equation), it will choke in this manner.


Why it only does that with export to ps2pdf is not clear.  Some 
graphics, perhaps, being included into a header?  I find ps2pdf to be 
more forgiving, in general, of graphics formats than pdlatex (I often 
include postscript and eps graphics, which sometimes pdflatex does not 
like).


--

David L. Johnson

Let's be straight here.  If we find something we can't understand we
like to call it something you can't understand, or indeed even
pronounce.
-- Douglas Adams



Problem with ps2pdf & pdflatex

2012-07-20 Thread John Ashmead
I've downloaded a package called classicthesis (http://code.google.com/p/classicthesis/ 
) & am trying to print their sample document.


I'm getting the error:

Package hyperref Error:  Wrong driver option `pdftex'
Tex capacity exceeded, sorry [main memory size=300]

Curiously enough I can export to a pdf file using Lyx's Export- 
>PDF(pdflatex).


But when I try Export->PDF(ps2pdf) I get the above error.

I've pinged the classic thesis folks about this but am not sure if it  
is a Lyx configuration problem on my end or a problem with the package  
so I am posting to this group as well.


Their config file calls hyperref using:

\PassOptionsToPackage{pdftex,hyperfootnotes=false,pdfpagelabels} 
{hyperref}

\usepackage{hyperref}  % backref linktocpage pagebackref

which I have no idea what this means or if it is ok.

Basically:

1) what does this error mean?

2) how do I set the print option to pdflatex rather than ps2pdf,  
perhaps only for some documents?


TIA!

John Ashmead
john.ashm...@timeandquantummechanics.com

PS.  I'm relatively new to Lyx, only started with it last month, and  
have only worked with short articles (no problems printing them).

Re: Problem with ps2pdf & pdflatex

2012-07-20 Thread David L. Johnson

On 07/20/2012 10:39 AM, John Ashmead wrote:
I've downloaded a package called classicthesis 
(http://code.google.com/p/classicthesis/) & am trying to print their 
sample document.


I'm getting the error:

*Package hyperref Error:  Wrong driver option `pdftex'*
*Tex capacity exceeded, sorry [main memory size=300]*


I don't know about this particular package, but "Tex capacity exceeded" 
errors, in my experience, often come from a missed end to a header 
environment.  That is, because of some error, TeX doesn't read correctly 
the end of the header, and includes some of the following document.  If 
that includes environments that shouldn't be in a header (for me, 
usually a multiline displayed equation), it will choke in this manner.


Why it only does that with export to ps2pdf is not clear.  Some 
graphics, perhaps, being included into a header?  I find ps2pdf to be 
more forgiving, in general, of graphics formats than pdlatex (I often 
include postscript and eps graphics, which sometimes pdflatex does not 
like).


--

David L. Johnson

Let's be straight here.  If we find something we can't understand we
like to call it something you can't understand, or indeed even
pronounce.
-- Douglas Adams



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Richard Heck

On 07/09/2011 04:49 PM, Liviu Andronic wrote:

On Sat, Jul 9, 2011 at 9:33 PM, Steve Littsl...@troubleshooters.com  wrote:

Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4


rel, not release.

rh



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files PROBLEM DISAPPEARED

2011-07-10 Thread Steve Litt
On Saturday, July 09, 2011 04:49:07 PM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt 
sl...@troubleshooters.com wrote:
  Here was my configure command:
  
   ./configure --with-version-suffix=200
  --enable-build-type=release  -- with-qt4-dir=/usr/lib/qt4
  
  Here was the error message from ./configure:
  
  ==
   The following problems have been detected by configure.
   Please check the messages below before running 'make'.
   (see the section 'Problems' in the INSTALL file)
  
  ** moc 4 binary not found !
  
  ** uic 4 binary not found !
  
  ** qt 4 library not found !
 
 Some wild guesses: do you have 'pkg-config' installed? Have you run
 'apt-get build-dep lyx'? If you have both and it still doesn't
 work, try to remove '-- with-qt4-dir=/usr/lib/qt4' from your
 ./configure command.
 Liviu

So what I ended up doing is going through the package manager and 
doing a Hail Mary -- installing almost everything related in any way 
to qt4, and the problem disappeared and I compiled LyX 2.0.0, and it 
appears to be working pretty well now. Thanks!

I think the developers, on each new version, should document all 
dependencies so compiling will involve more logic and less guesswork. 
I'd imagine such a listing could probably be created programmatically.

By the way, the inability to do .eps files was because on the Ubuntu 
11.04 provided version, which only compiled PDFs with ps2pdf, ps2pdf 
doesn't work with EPS files. So that particular problem was simply 
performs as designed.

Anyway, 2.0.0 is working now. Thanks.

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 03:12:12 PM Richard Heck wrote:
 On 07/09/2011 04:49 PM, Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 9:33 PM, Steve 
Littsl...@troubleshooters.com  wrote:
  Here was my configure command:
./configure --with-version-suffix=200
--enable-build-type=release  --
  
  with-qt4-dir=/usr/lib/qt4
 
 rel, not release.
 
 rh

:-) Release appeared to work just fine :-) Or maybe I have debugging 
info in my LyX executable, who knows?

Thanks

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Sun, Jul 10, 2011 at 11:35 PM, Steve Litt sl...@troubleshooters.com wrote:
 rel, not release.

 rh

 :-) Release appeared to work just fine :-)

It (release) seems to work on my box, too.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Jean-Marc Lasgouttes

Le 10/07/2011 23:39, Liviu Andronic a écrit :

On Sun, Jul 10, 2011 at 11:35 PM, Steve Littsl...@troubleshooters.com  wrote:

rel, not release.

rh


:-) Release appeared to work just fine :-)


It (release) seems to work on my box, too.


The code checks against rel*, actually. So relative would work too :)

JMarc




Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 :-) Release appeared to work just fine :-)

 It (release) seems to work on my box, too.

 The code checks against rel*, actually. So relative would work too :)

That's rel-ly nice. :)
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 06:54:32 PM Liviu Andronic wrote:
 On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
 
 lasgout...@lyx.org wrote:
  :-) Release appeared to work just fine :-)
  
  It (release) seems to work on my box, too.
  
  The code checks against rel*, actually. So relative would work
  too :)
 
 That's rel-ly nice. :)
 Liviu

Yes, but, everything's rel-ative. :-)

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Richard Heck

On 07/09/2011 04:49 PM, Liviu Andronic wrote:

On Sat, Jul 9, 2011 at 9:33 PM, Steve Littsl...@troubleshooters.com  wrote:

Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4


rel, not release.

rh



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files PROBLEM DISAPPEARED

2011-07-10 Thread Steve Litt
On Saturday, July 09, 2011 04:49:07 PM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt 
sl...@troubleshooters.com wrote:
  Here was my configure command:
  
   ./configure --with-version-suffix=200
  --enable-build-type=release  -- with-qt4-dir=/usr/lib/qt4
  
  Here was the error message from ./configure:
  
  ==
   The following problems have been detected by configure.
   Please check the messages below before running 'make'.
   (see the section 'Problems' in the INSTALL file)
  
  ** moc 4 binary not found !
  
  ** uic 4 binary not found !
  
  ** qt 4 library not found !
 
 Some wild guesses: do you have 'pkg-config' installed? Have you run
 'apt-get build-dep lyx'? If you have both and it still doesn't
 work, try to remove '-- with-qt4-dir=/usr/lib/qt4' from your
 ./configure command.
 Liviu

So what I ended up doing is going through the package manager and 
doing a Hail Mary -- installing almost everything related in any way 
to qt4, and the problem disappeared and I compiled LyX 2.0.0, and it 
appears to be working pretty well now. Thanks!

I think the developers, on each new version, should document all 
dependencies so compiling will involve more logic and less guesswork. 
I'd imagine such a listing could probably be created programmatically.

By the way, the inability to do .eps files was because on the Ubuntu 
11.04 provided version, which only compiled PDFs with ps2pdf, ps2pdf 
doesn't work with EPS files. So that particular problem was simply 
performs as designed.

Anyway, 2.0.0 is working now. Thanks.

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 03:12:12 PM Richard Heck wrote:
 On 07/09/2011 04:49 PM, Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 9:33 PM, Steve 
Littsl...@troubleshooters.com  wrote:
  Here was my configure command:
./configure --with-version-suffix=200
--enable-build-type=release  --
  
  with-qt4-dir=/usr/lib/qt4
 
 rel, not release.
 
 rh

:-) Release appeared to work just fine :-) Or maybe I have debugging 
info in my LyX executable, who knows?

Thanks

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Sun, Jul 10, 2011 at 11:35 PM, Steve Litt sl...@troubleshooters.com wrote:
 rel, not release.

 rh

 :-) Release appeared to work just fine :-)

It (release) seems to work on my box, too.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Jean-Marc Lasgouttes

Le 10/07/2011 23:39, Liviu Andronic a écrit :

On Sun, Jul 10, 2011 at 11:35 PM, Steve Littsl...@troubleshooters.com  wrote:

rel, not release.

rh


:-) Release appeared to work just fine :-)


It (release) seems to work on my box, too.


The code checks against rel*, actually. So relative would work too :)

JMarc




Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 :-) Release appeared to work just fine :-)

 It (release) seems to work on my box, too.

 The code checks against rel*, actually. So relative would work too :)

That's rel-ly nice. :)
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 06:54:32 PM Liviu Andronic wrote:
 On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
 
 lasgout...@lyx.org wrote:
  :-) Release appeared to work just fine :-)
  
  It (release) seems to work on my box, too.
  
  The code checks against rel*, actually. So relative would work
  too :)
 
 That's rel-ly nice. :)
 Liviu

Yes, but, everything's rel-ative. :-)

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Richard Heck

On 07/09/2011 04:49 PM, Liviu Andronic wrote:

On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt  wrote:

Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4


rel, not release.

rh



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Saturday, July 09, 2011 04:49:07 PM Liviu Andronic wrote:
> On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt 
<sl...@troubleshooters.com> wrote:
> > Here was my configure command:
> > 
> >  ./configure --with-version-suffix=200
> > --enable-build-type=release  -- with-qt4-dir=/usr/lib/qt4
> > 
> > Here was the error message from ./configure:
> > 
> > ==
> >  The following problems have been detected by configure.
> >  Please check the messages below before running 'make'.
> >  (see the section 'Problems' in the INSTALL file)
> > 
> > ** moc 4 binary not found !
> > 
> > ** uic 4 binary not found !
> > 
> > ** qt 4 library not found !
> 
> Some wild guesses: do you have 'pkg-config' installed? Have you run
> 'apt-get build-dep lyx'? If you have both and it still doesn't
> work, try to remove '-- with-qt4-dir=/usr/lib/qt4' from your
> ./configure command.
> Liviu

So what I ended up doing is going through the package manager and 
doing a Hail Mary -- installing almost everything related in any way 
to qt4, and the problem disappeared and I compiled LyX 2.0.0, and it 
appears to be working pretty well now. Thanks!

I think the developers, on each new version, should document all 
dependencies so compiling will involve more logic and less guesswork. 
I'd imagine such a listing could probably be created programmatically.

By the way, the inability to do .eps files was because on the Ubuntu 
11.04 provided version, which only compiled PDFs with ps2pdf, ps2pdf 
doesn't work with EPS files. So that particular problem was simply 
"performs as designed".

Anyway, 2.0.0 is working now. Thanks.

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 03:12:12 PM Richard Heck wrote:
> On 07/09/2011 04:49 PM, Liviu Andronic wrote:
> > On Sat, Jul 9, 2011 at 9:33 PM, Steve 
Litt  wrote:
> >> Here was my configure command:
> >>   ./configure --with-version-suffix=200
> >>   --enable-build-type=release  --
> >> 
> >> with-qt4-dir=/usr/lib/qt4
> 
> rel, not release.
> 
> rh

:-) Release appeared to work just fine :-) Or maybe I have debugging 
info in my LyX executable, who knows?

Thanks

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Sun, Jul 10, 2011 at 11:35 PM, Steve Litt  wrote:
>> rel, not release.
>>
>> rh
>
> :-) Release appeared to work just fine :-)
>
It (release) seems to work on my box, too.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Jean-Marc Lasgouttes

Le 10/07/2011 23:39, Liviu Andronic a écrit :

On Sun, Jul 10, 2011 at 11:35 PM, Steve Litt  wrote:

rel, not release.

rh


:-) Release appeared to work just fine :-)


It (release) seems to work on my box, too.


The code checks against rel*, actually. So relative would work too :)

JMarc




Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
 wrote:
>>> :-) Release appeared to work just fine :-)
>>>
>> It (release) seems to work on my box, too.
>
> The code checks against rel*, actually. So relative would work too :)
>
That's rel-ly nice. :)
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 06:54:32 PM Liviu Andronic wrote:
> On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
> 
>  wrote:
> >>> :-) Release appeared to work just fine :-)
> >> 
> >> It (release) seems to work on my box, too.
> > 
> > The code checks against rel*, actually. So relative would work
> > too :)
> 
> That's rel-ly nice. :)
> Liviu

Yes, but, everything's rel-ative. :-)

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt sl...@troubleshooters.com wrote:
 Hi all,

 An untimely computer crash brought me to Ubuntu 11.04, which brought
 me to LyX 2.0.0rc3.

 Ctrl+D says successful DVD preview, but does nothing. The View menu
 gives no ps2pdf choice, and when I click the View other formats
 choice, nothing opens up, even though I configured PDF and DVI in
 Tools-Preferences-Output-General on the PDF and DVI commands.

 Ctrl+D brings up an error dialog box saying Could not display
 \/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi, the location is not a
 directory. When I directly run that file (it exists) with xdvi, it
 displays more or less correctly.

 What am I doing wrong?

Ubuntu ships the wrong version. See this recent discussion [1][2]. See
these instructions [3] on how to push the update to your system (never
tried it). Alternatively, Rainer and Rob have come up with a PPA
containing LyX 2.0.0. Contact me off-list for the link.

Regards
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169893.html
[2] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169963.html
[3] https://wiki.ubuntu.com/Testing/EnableProposed


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt 
  What am I doing wrong?
 
 Ubuntu ships the wrong version. See this recent discussion [1][2].
 See these instructions [3] on how to push the update to your
 system (never tried it). Alternatively, Rainer and Rob have come
 up with a PPA containing LyX 2.0.0. Contact me off-list for the
 link.
 
 Regards
 Liviu

LyX is probably the #2 most important application in my business 
(VimOutliner is #1). It's important enough that I'm willing to compile 
my own, always assuming that there's a 2.x version that compiles well 
on Ubuntu 11.04. What do you think is the best, most solid, most 
tested LyX 2.x right now?

Probably over half the time from 2001 til now my LyX was self-compiled 
rather than package installed.

Thanks

Steve


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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
  What am I doing wrong?

 Ubuntu ships the wrong version. See this recent discussion [1][2].
 See these instructions [3] on how to push the update to your
 system (never tried it). Alternatively, Rainer and Rob have come
 up with a PPA containing LyX 2.0.0. Contact me off-list for the
 link.

 Regards
 Liviu

 LyX is probably the #2 most important application in my business
 (VimOutliner is #1). It's important enough that I'm willing to compile
 my own,

The SRU solution above (link [3]) seems easy to deploy..


 always assuming that there's a 2.x version that compiles well
 on Ubuntu 11.04. What do you think is the best, most solid, most
 tested LyX 2.x right now?

Probably the only one available, 2.0.0. I've compiled this version on
10.04 without any issues.


 Probably over half the time from 2001 til now my LyX was self-compiled
 rather than package installed.

..but if you're OK with building, this should be straightforward:
apt-get build-dep lyx
 ./configure --with-version-suffix=-svn --enable-build-type=release
make
make install

You may freely omit '--with-version-suffix=-svn', but then make sure
to uninstall the LyX shipped by Ubuntu. If you need spelling support,
I would also check that libaspell-dev, libhunspell-dev and
libenchant-dev are installed.

Regards
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 04:15 AM, Steve Litt wrote:

 LyX is probably the #2 most important application in my business 
 (VimOutliner is #1). It's important enough that I'm willing to compile 
 my own, always assuming that there's a 2.x version that compiles well 
 on Ubuntu 11.04. What do you think is the best, most solid, most 
 tested LyX 2.x right now?

 Probably over half the time from 2001 til now my LyX was self-compiled 
 rather than package installed.

For people who are comfortable doing it, I think the best option is
always to follow branch, i.e.:
svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X
It's almost always true that current branch is more stable than the
previous release, because you have the bug fixes for (in this case)
2.0.0, even though 2.0.1 is not yet out. (And there have been a lot.) We
strive to keep branch from having regressions, but of course they do
sometimes pop up. In that case, though, they tend to be fixed very
quickly (bisecting them is relatively easy), and of course you can
always roll back to an earlier revision if need be. The other advantage,
from our point of view, is that branch gets more testing this way.

What I have done is checkout branch as above, then, from the appropriate
directory:
 ./autogen.sh
./configure --enable-build-type=rel
make
sudo make install
(I know you know this, Steve. Others may not) The latter disables
debug code and assertions. Then set up a simple cron job:
svn up
make
which will keep the tree up to date. Then you re-install from time to time.

Richard



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

What does  --enable-build-type=release do for you? I've built LyX 
many times before but so far haven't used that.

Thanks

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

 What does  --enable-build-type=release do for you? I've built LyX
 many times before but so far haven't used that.

I'm not an expert but I guess it relates to what Richard said:

On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck rgh...@comcast.net wrote:
 The latter disables
 debug code and assertions.

Intuitively, you use this option when building and shipping releases,
as it at least disables debug symbols.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 03:04 PM, Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install
 What does  --enable-build-type=release do for you? I've built LyX
 many times before but so far haven't used that.

 I'm not an expert but I guess it relates to what Richard said:

 On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck rgh...@comcast.net wrote:
 The latter disables
 debug code and assertions.
 Intuitively, you use this option when building and shipping releases,
 as it at least disables debug symbols.

That's right: It builds a release version, and is equivalent to a
combination of other switches, like --disable-stdlib-debug, etc.

Richard

 Liviu



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt 
sl...@troubleshooters.com wrote:
  On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
  
   What am I doing wrong?
  
  Ubuntu ships the wrong version. See this recent discussion
  [1][2]. See these instructions [3] on how to push the update to
  your system (never tried it). Alternatively, Rainer and Rob
  have come up with a PPA containing LyX 2.0.0. Contact me
  off-list for the link.
  
  Regards
  Liviu
  
  LyX is probably the #2 most important application in my business
  (VimOutliner is #1). It's important enough that I'm willing to
  compile my own,
 
 The SRU solution above (link [3]) seems easy to deploy..
 
  always assuming that there's a 2.x version that compiles well
  on Ubuntu 11.04. What do you think is the best, most solid, most
  tested LyX 2.x right now?
 
 Probably the only one available, 2.0.0. I've compiled this version
 on 10.04 without any issues.
 
  Probably over half the time from 2001 til now my LyX was
  self-compiled rather than package installed.
 
 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

Ugh!
Here was my configure command:

 ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4

Here was the error message from ./configure:

==
 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !


slitt@mydesk:~/junk/lyx-2.0.0$
==

My /usr/lib/qt4 directory has only one subdirectory, called plugins. A 
locate command indicates the only other qt4 libraries are 32 bit, this 
is a 64 bit computer, and the 32 bit library has only the same 
subdirectory.

I've installed moc. On every try I delete the whole tree and restore 
it from tarball so that there are no gotchas from leftover garbage.

Where do I go from here?

Thanks

SteveT


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2011 schrieb Steve Litt:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt
 
 sl...@troubleshooters.com wrote:
   On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
   On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
   
What am I doing wrong?
   
   Ubuntu ships the wrong version. See this recent discussion
   [1][2]. See these instructions [3] on how to push the update to
   your system (never tried it). Alternatively, Rainer and Rob
   have come up with a PPA containing LyX 2.0.0. Contact me
   off-list for the link.
   
   Regards
   Liviu
   
   LyX is probably the #2 most important application in my business
   (VimOutliner is #1). It's important enough that I'm willing to
   compile my own,
  
  The SRU solution above (link [3]) seems easy to deploy..
  
   always assuming that there's a 2.x version that compiles well
   on Ubuntu 11.04. What do you think is the best, most solid, most
   tested LyX 2.x right now?
  
  Probably the only one available, 2.0.0. I've compiled this version
  on 10.04 without any issues.
  
   Probably over half the time from 2001 til now my LyX was
   self-compiled rather than package installed.
  
  ..but if you're OK with building, this should be straightforward:
  apt-get build-dep lyx
  
   ./configure --with-version-suffix=-svn --enable-build-type=release
  
  make
  make install
 
 Ugh!
 Here was my configure command:
 
  ./configure --with-version-suffix=200 --enable-build-type=release  --
 with-qt4-dir=/usr/lib/qt4
 
 Here was the error message from ./configure:
 
 ==
  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)
 
 ** moc 4 binary not found !
 
 ** uic 4 binary not found !
 
 ** qt 4 library not found !
 
 
 slitt@mydesk:~/junk/lyx-2.0.0$
 ==
 
 My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
 locate command indicates the only other qt4 libraries are 32 bit, this
 is a 64 bit computer, and the 32 bit library has only the same
 subdirectory.
 
 I've installed moc. On every try I delete the whole tree and restore
 it from tarball so that there are no gotchas from leftover garbage.
 
 Where do I go from here?
 
 Thanks
 
 SteveT

On my machine moc is part of libqt4-dev package. (ubuntu 11.04, 64bit)
It includes the libfiles and include files.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt sl...@troubleshooters.com wrote:
 Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
 with-qt4-dir=/usr/lib/qt4

 Here was the error message from ./configure:

 ==
  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)

 ** moc 4 binary not found !

 ** uic 4 binary not found !

 ** qt 4 library not found !

Some wild guesses: do you have 'pkg-config' installed? Have you run
'apt-get build-dep lyx'? If you have both and it still doesn't work,
try to remove '-- with-qt4-dir=/usr/lib/qt4' from your ./configure
command.
Liviu



 slitt@mydesk:~/junk/lyx-2.0.0$
 ==

 My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
 locate command indicates the only other qt4 libraries are 32 bit, this
 is a 64 bit computer, and the 32 bit library has only the same
 subdirectory.

 I've installed moc. On every try I delete the whole tree and restore
 it from tarball so that there are no gotchas from leftover garbage.

 Where do I go from here?

 Thanks

 SteveT




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt sl...@troubleshooters.com wrote:
 Hi all,

 An untimely computer crash brought me to Ubuntu 11.04, which brought
 me to LyX 2.0.0rc3.

 Ctrl+D says successful DVD preview, but does nothing. The View menu
 gives no ps2pdf choice, and when I click the View other formats
 choice, nothing opens up, even though I configured PDF and DVI in
 Tools-Preferences-Output-General on the PDF and DVI commands.

 Ctrl+D brings up an error dialog box saying Could not display
 \/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi, the location is not a
 directory. When I directly run that file (it exists) with xdvi, it
 displays more or less correctly.

 What am I doing wrong?

Ubuntu ships the wrong version. See this recent discussion [1][2]. See
these instructions [3] on how to push the update to your system (never
tried it). Alternatively, Rainer and Rob have come up with a PPA
containing LyX 2.0.0. Contact me off-list for the link.

Regards
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169893.html
[2] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169963.html
[3] https://wiki.ubuntu.com/Testing/EnableProposed


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt 
  What am I doing wrong?
 
 Ubuntu ships the wrong version. See this recent discussion [1][2].
 See these instructions [3] on how to push the update to your
 system (never tried it). Alternatively, Rainer and Rob have come
 up with a PPA containing LyX 2.0.0. Contact me off-list for the
 link.
 
 Regards
 Liviu

LyX is probably the #2 most important application in my business 
(VimOutliner is #1). It's important enough that I'm willing to compile 
my own, always assuming that there's a 2.x version that compiles well 
on Ubuntu 11.04. What do you think is the best, most solid, most 
tested LyX 2.x right now?

Probably over half the time from 2001 til now my LyX was self-compiled 
rather than package installed.

Thanks

Steve


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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
  What am I doing wrong?

 Ubuntu ships the wrong version. See this recent discussion [1][2].
 See these instructions [3] on how to push the update to your
 system (never tried it). Alternatively, Rainer and Rob have come
 up with a PPA containing LyX 2.0.0. Contact me off-list for the
 link.

 Regards
 Liviu

 LyX is probably the #2 most important application in my business
 (VimOutliner is #1). It's important enough that I'm willing to compile
 my own,

The SRU solution above (link [3]) seems easy to deploy..


 always assuming that there's a 2.x version that compiles well
 on Ubuntu 11.04. What do you think is the best, most solid, most
 tested LyX 2.x right now?

Probably the only one available, 2.0.0. I've compiled this version on
10.04 without any issues.


 Probably over half the time from 2001 til now my LyX was self-compiled
 rather than package installed.

..but if you're OK with building, this should be straightforward:
apt-get build-dep lyx
 ./configure --with-version-suffix=-svn --enable-build-type=release
make
make install

You may freely omit '--with-version-suffix=-svn', but then make sure
to uninstall the LyX shipped by Ubuntu. If you need spelling support,
I would also check that libaspell-dev, libhunspell-dev and
libenchant-dev are installed.

Regards
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 04:15 AM, Steve Litt wrote:

 LyX is probably the #2 most important application in my business 
 (VimOutliner is #1). It's important enough that I'm willing to compile 
 my own, always assuming that there's a 2.x version that compiles well 
 on Ubuntu 11.04. What do you think is the best, most solid, most 
 tested LyX 2.x right now?

 Probably over half the time from 2001 til now my LyX was self-compiled 
 rather than package installed.

For people who are comfortable doing it, I think the best option is
always to follow branch, i.e.:
svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X
It's almost always true that current branch is more stable than the
previous release, because you have the bug fixes for (in this case)
2.0.0, even though 2.0.1 is not yet out. (And there have been a lot.) We
strive to keep branch from having regressions, but of course they do
sometimes pop up. In that case, though, they tend to be fixed very
quickly (bisecting them is relatively easy), and of course you can
always roll back to an earlier revision if need be. The other advantage,
from our point of view, is that branch gets more testing this way.

What I have done is checkout branch as above, then, from the appropriate
directory:
 ./autogen.sh
./configure --enable-build-type=rel
make
sudo make install
(I know you know this, Steve. Others may not) The latter disables
debug code and assertions. Then set up a simple cron job:
svn up
make
which will keep the tree up to date. Then you re-install from time to time.

Richard



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

What does  --enable-build-type=release do for you? I've built LyX 
many times before but so far haven't used that.

Thanks

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

 What does  --enable-build-type=release do for you? I've built LyX
 many times before but so far haven't used that.

I'm not an expert but I guess it relates to what Richard said:

On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck rgh...@comcast.net wrote:
 The latter disables
 debug code and assertions.

Intuitively, you use this option when building and shipping releases,
as it at least disables debug symbols.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 03:04 PM, Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install
 What does  --enable-build-type=release do for you? I've built LyX
 many times before but so far haven't used that.

 I'm not an expert but I guess it relates to what Richard said:

 On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck rgh...@comcast.net wrote:
 The latter disables
 debug code and assertions.
 Intuitively, you use this option when building and shipping releases,
 as it at least disables debug symbols.

That's right: It builds a release version, and is equivalent to a
combination of other switches, like --disable-stdlib-debug, etc.

Richard

 Liviu



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt 
sl...@troubleshooters.com wrote:
  On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
  
   What am I doing wrong?
  
  Ubuntu ships the wrong version. See this recent discussion
  [1][2]. See these instructions [3] on how to push the update to
  your system (never tried it). Alternatively, Rainer and Rob
  have come up with a PPA containing LyX 2.0.0. Contact me
  off-list for the link.
  
  Regards
  Liviu
  
  LyX is probably the #2 most important application in my business
  (VimOutliner is #1). It's important enough that I'm willing to
  compile my own,
 
 The SRU solution above (link [3]) seems easy to deploy..
 
  always assuming that there's a 2.x version that compiles well
  on Ubuntu 11.04. What do you think is the best, most solid, most
  tested LyX 2.x right now?
 
 Probably the only one available, 2.0.0. I've compiled this version
 on 10.04 without any issues.
 
  Probably over half the time from 2001 til now my LyX was
  self-compiled rather than package installed.
 
 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

Ugh!
Here was my configure command:

 ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4

Here was the error message from ./configure:

==
 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !


slitt@mydesk:~/junk/lyx-2.0.0$
==

My /usr/lib/qt4 directory has only one subdirectory, called plugins. A 
locate command indicates the only other qt4 libraries are 32 bit, this 
is a 64 bit computer, and the 32 bit library has only the same 
subdirectory.

I've installed moc. On every try I delete the whole tree and restore 
it from tarball so that there are no gotchas from leftover garbage.

Where do I go from here?

Thanks

SteveT


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2011 schrieb Steve Litt:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt
 
 sl...@troubleshooters.com wrote:
   On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
   On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
   
What am I doing wrong?
   
   Ubuntu ships the wrong version. See this recent discussion
   [1][2]. See these instructions [3] on how to push the update to
   your system (never tried it). Alternatively, Rainer and Rob
   have come up with a PPA containing LyX 2.0.0. Contact me
   off-list for the link.
   
   Regards
   Liviu
   
   LyX is probably the #2 most important application in my business
   (VimOutliner is #1). It's important enough that I'm willing to
   compile my own,
  
  The SRU solution above (link [3]) seems easy to deploy..
  
   always assuming that there's a 2.x version that compiles well
   on Ubuntu 11.04. What do you think is the best, most solid, most
   tested LyX 2.x right now?
  
  Probably the only one available, 2.0.0. I've compiled this version
  on 10.04 without any issues.
  
   Probably over half the time from 2001 til now my LyX was
   self-compiled rather than package installed.
  
  ..but if you're OK with building, this should be straightforward:
  apt-get build-dep lyx
  
   ./configure --with-version-suffix=-svn --enable-build-type=release
  
  make
  make install
 
 Ugh!
 Here was my configure command:
 
  ./configure --with-version-suffix=200 --enable-build-type=release  --
 with-qt4-dir=/usr/lib/qt4
 
 Here was the error message from ./configure:
 
 ==
  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)
 
 ** moc 4 binary not found !
 
 ** uic 4 binary not found !
 
 ** qt 4 library not found !
 
 
 slitt@mydesk:~/junk/lyx-2.0.0$
 ==
 
 My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
 locate command indicates the only other qt4 libraries are 32 bit, this
 is a 64 bit computer, and the 32 bit library has only the same
 subdirectory.
 
 I've installed moc. On every try I delete the whole tree and restore
 it from tarball so that there are no gotchas from leftover garbage.
 
 Where do I go from here?
 
 Thanks
 
 SteveT

On my machine moc is part of libqt4-dev package. (ubuntu 11.04, 64bit)
It includes the libfiles and include files.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt sl...@troubleshooters.com wrote:
 Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
 with-qt4-dir=/usr/lib/qt4

 Here was the error message from ./configure:

 ==
  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)

 ** moc 4 binary not found !

 ** uic 4 binary not found !

 ** qt 4 library not found !

Some wild guesses: do you have 'pkg-config' installed? Have you run
'apt-get build-dep lyx'? If you have both and it still doesn't work,
try to remove '-- with-qt4-dir=/usr/lib/qt4' from your ./configure
command.
Liviu



 slitt@mydesk:~/junk/lyx-2.0.0$
 ==

 My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
 locate command indicates the only other qt4 libraries are 32 bit, this
 is a 64 bit computer, and the 32 bit library has only the same
 subdirectory.

 I've installed moc. On every try I delete the whole tree and restore
 it from tarball so that there are no gotchas from leftover garbage.

 Where do I go from here?

 Thanks

 SteveT




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt <sl...@troubleshooters.com> wrote:
> Hi all,
>
> An untimely computer crash brought me to Ubuntu 11.04, which brought
> me to LyX 2.0.0rc3.
>
> Ctrl+D says "successful DVD preview, but does nothing. The View menu
> gives no ps2pdf choice, and when I click the "View other formats"
> choice, nothing opens up, even though I configured PDF and DVI in
> Tools->Preferences->Output->General on the PDF and DVI commands.
>
> Ctrl+D brings up an error dialog box saying "Could not display
> \"/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi", the location is not a
> directory. When I directly run that file (it exists) with xdvi, it
> displays more or less correctly.
>
> What am I doing wrong?
>
Ubuntu ships the wrong version. See this recent discussion [1][2]. See
these instructions [3] on how to push the update to your system (never
tried it). Alternatively, Rainer and Rob have come up with a PPA
containing LyX 2.0.0. Contact me off-list for the link.

Regards
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169893.html
[2] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169963.html
[3] https://wiki.ubuntu.com/Testing/EnableProposed


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
> On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt 
> > What am I doing wrong?
> 
> Ubuntu ships the wrong version. See this recent discussion [1][2].
> See these instructions [3] on how to push the update to your
> system (never tried it). Alternatively, Rainer and Rob have come
> up with a PPA containing LyX 2.0.0. Contact me off-list for the
> link.
> 
> Regards
> Liviu

LyX is probably the #2 most important application in my business 
(VimOutliner is #1). It's important enough that I'm willing to compile 
my own, always assuming that there's a 2.x version that compiles well 
on Ubuntu 11.04. What do you think is the best, most solid, most 
tested LyX 2.x right now?

Probably over half the time from 2001 til now my LyX was self-compiled 
rather than package installed.

Thanks

Steve


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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt  wrote:
> On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
>> On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
>> > What am I doing wrong?
>>
>> Ubuntu ships the wrong version. See this recent discussion [1][2].
>> See these instructions [3] on how to push the update to your
>> system (never tried it). Alternatively, Rainer and Rob have come
>> up with a PPA containing LyX 2.0.0. Contact me off-list for the
>> link.
>>
>> Regards
>> Liviu
>
> LyX is probably the #2 most important application in my business
> (VimOutliner is #1). It's important enough that I'm willing to compile
> my own,
>
The SRU solution above (link [3]) seems easy to deploy..


> always assuming that there's a 2.x version that compiles well
> on Ubuntu 11.04. What do you think is the best, most solid, most
> tested LyX 2.x right now?
>
Probably the only one available, 2.0.0. I've compiled this version on
10.04 without any issues.


> Probably over half the time from 2001 til now my LyX was self-compiled
> rather than package installed.
>
..but if you're OK with building, this should be straightforward:
apt-get build-dep lyx
 ./configure --with-version-suffix=-svn --enable-build-type=release
make
make install

You may freely omit '--with-version-suffix=-svn', but then make sure
to uninstall the LyX shipped by Ubuntu. If you need spelling support,
I would also check that libaspell-dev, libhunspell-dev and
libenchant-dev are installed.

Regards
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 04:15 AM, Steve Litt wrote:
>
> LyX is probably the #2 most important application in my business 
> (VimOutliner is #1). It's important enough that I'm willing to compile 
> my own, always assuming that there's a 2.x version that compiles well 
> on Ubuntu 11.04. What do you think is the best, most solid, most 
> tested LyX 2.x right now?
>
> Probably over half the time from 2001 til now my LyX was self-compiled 
> rather than package installed.
>
For people who are comfortable doing it, I think the best option is
always to follow branch, i.e.:
svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X
It's almost always true that current branch is more stable than the
previous release, because you have the bug fixes for (in this case)
2.0.0, even though 2.0.1 is not yet out. (And there have been a lot.) We
strive to keep branch from having regressions, but of course they do
sometimes pop up. In that case, though, they tend to be fixed very
quickly (bisecting them is relatively easy), and of course you can
always roll back to an earlier revision if need be. The other advantage,
from our point of view, is that branch gets more testing this way.

What I have done is checkout branch as above, then, from the appropriate
directory:
 ./autogen.sh
./configure --enable-build-type=rel
make
sudo make install
(I know you know this, Steve. Others may not) The latter disables
debug code and assertions. Then set up a simple cron job:
svn up
make
which will keep the tree up to date. Then you re-install from time to time.

Richard



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

> ..but if you're OK with building, this should be straightforward:
> apt-get build-dep lyx
>  ./configure --with-version-suffix=-svn --enable-build-type=release
> make
> make install

What does  "--enable-build-type=release" do for you? I've built LyX 
many times before but so far haven't used that.

Thanks

SteveT

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



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt  wrote:
> On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
>
>> ..but if you're OK with building, this should be straightforward:
>> apt-get build-dep lyx
>>  ./configure --with-version-suffix=-svn --enable-build-type=release
>> make
>> make install
>
> What does  "--enable-build-type=release" do for you? I've built LyX
> many times before but so far haven't used that.
>
I'm not an expert but I guess it relates to what Richard said:

On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck  wrote:
> The latter disables
> debug code and assertions.

Intuitively, you use this option when building and shipping releases,
as it at least disables debug symbols.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 03:04 PM, Liviu Andronic wrote:
> On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt  wrote:
>> On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
>>
>>> ..but if you're OK with building, this should be straightforward:
>>> apt-get build-dep lyx
>>>  ./configure --with-version-suffix=-svn --enable-build-type=release
>>> make
>>> make install
>> What does  "--enable-build-type=release" do for you? I've built LyX
>> many times before but so far haven't used that.
>>
> I'm not an expert but I guess it relates to what Richard said:
>
> On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck  wrote:
>> The latter disables
>> debug code and assertions.
> Intuitively, you use this option when building and shipping releases,
> as it at least disables debug symbols.
>
That's right: It builds a release version, and is equivalent to a
combination of other switches, like --disable-stdlib-debug, etc.

Richard

> Liviu



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
> On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt 
 wrote:
> > On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
> >> On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
> >> 
> >> > What am I doing wrong?
> >> 
> >> Ubuntu ships the wrong version. See this recent discussion
> >> [1][2]. See these instructions [3] on how to push the update to
> >> your system (never tried it). Alternatively, Rainer and Rob
> >> have come up with a PPA containing LyX 2.0.0. Contact me
> >> off-list for the link.
> >> 
> >> Regards
> >> Liviu
> > 
> > LyX is probably the #2 most important application in my business
> > (VimOutliner is #1). It's important enough that I'm willing to
> > compile my own,
> 
> The SRU solution above (link [3]) seems easy to deploy..
> 
> > always assuming that there's a 2.x version that compiles well
> > on Ubuntu 11.04. What do you think is the best, most solid, most
> > tested LyX 2.x right now?
> 
> Probably the only one available, 2.0.0. I've compiled this version
> on 10.04 without any issues.
> 
> > Probably over half the time from 2001 til now my LyX was
> > self-compiled rather than package installed.
> 
> ..but if you're OK with building, this should be straightforward:
> apt-get build-dep lyx
>  ./configure --with-version-suffix=-svn --enable-build-type=release
> make
> make install

Ugh!
Here was my configure command:

 ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4

Here was the error message from ./configure:

==
 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !


slitt@mydesk:~/junk/lyx-2.0.0$
==

My /usr/lib/qt4 directory has only one subdirectory, called plugins. A 
locate command indicates the only other qt4 libraries are 32 bit, this 
is a 64 bit computer, and the 32 bit library has only the same 
subdirectory.

I've installed moc. On every try I delete the whole tree and restore 
it from tarball so that there are no gotchas from leftover garbage.

Where do I go from here?

Thanks

SteveT


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2011 schrieb Steve Litt:
> On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
> > On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt
> 
>  wrote:
> > > On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
> > >> On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
> > >> 
> > >> > What am I doing wrong?
> > >> 
> > >> Ubuntu ships the wrong version. See this recent discussion
> > >> [1][2]. See these instructions [3] on how to push the update to
> > >> your system (never tried it). Alternatively, Rainer and Rob
> > >> have come up with a PPA containing LyX 2.0.0. Contact me
> > >> off-list for the link.
> > >> 
> > >> Regards
> > >> Liviu
> > > 
> > > LyX is probably the #2 most important application in my business
> > > (VimOutliner is #1). It's important enough that I'm willing to
> > > compile my own,
> > 
> > The SRU solution above (link [3]) seems easy to deploy..
> > 
> > > always assuming that there's a 2.x version that compiles well
> > > on Ubuntu 11.04. What do you think is the best, most solid, most
> > > tested LyX 2.x right now?
> > 
> > Probably the only one available, 2.0.0. I've compiled this version
> > on 10.04 without any issues.
> > 
> > > Probably over half the time from 2001 til now my LyX was
> > > self-compiled rather than package installed.
> > 
> > ..but if you're OK with building, this should be straightforward:
> > apt-get build-dep lyx
> > 
> >  ./configure --with-version-suffix=-svn --enable-build-type=release
> > 
> > make
> > make install
> 
> Ugh!
> Here was my configure command:
> 
>  ./configure --with-version-suffix=200 --enable-build-type=release  --
> with-qt4-dir=/usr/lib/qt4
> 
> Here was the error message from ./configure:
> 
> ==
>  The following problems have been detected by configure.
>  Please check the messages below before running 'make'.
>  (see the section 'Problems' in the INSTALL file)
> 
> ** moc 4 binary not found !
> 
> ** uic 4 binary not found !
> 
> ** qt 4 library not found !
> 
> 
> slitt@mydesk:~/junk/lyx-2.0.0$
> ==
> 
> My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
> locate command indicates the only other qt4 libraries are 32 bit, this
> is a 64 bit computer, and the 32 bit library has only the same
> subdirectory.
> 
> I've installed moc. On every try I delete the whole tree and restore
> it from tarball so that there are no gotchas from leftover garbage.
> 
> Where do I go from here?
> 
> Thanks
> 
> SteveT

On my machine "moc" is part of "libqt4-dev" package. (ubuntu 11.04, 64bit)
It includes the libfiles and include files.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt  wrote:
> Here was my configure command:
>
>  ./configure --with-version-suffix=200 --enable-build-type=release  --
> with-qt4-dir=/usr/lib/qt4
>
> Here was the error message from ./configure:
>
> ==
>  The following problems have been detected by configure.
>  Please check the messages below before running 'make'.
>  (see the section 'Problems' in the INSTALL file)
>
> ** moc 4 binary not found !
>
> ** uic 4 binary not found !
>
> ** qt 4 library not found !
>
Some wild guesses: do you have 'pkg-config' installed? Have you run
'apt-get build-dep lyx'? If you have both and it still doesn't work,
try to remove '-- with-qt4-dir=/usr/lib/qt4' from your ./configure
command.
Liviu


>
> slitt@mydesk:~/junk/lyx-2.0.0$
> ==
>
> My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
> locate command indicates the only other qt4 libraries are 32 bit, this
> is a 64 bit computer, and the 32 bit library has only the same
> subdirectory.
>
> I've installed moc. On every try I delete the whole tree and restore
> it from tarball so that there are no gotchas from leftover garbage.
>
> Where do I go from here?
>
> Thanks
>
> SteveT
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-08 Thread Steve Litt
Hi all,

An untimely computer crash brought me to Ubuntu 11.04, which brought 
me to LyX 2.0.0rc3.

Ctrl+D says successful DVD preview, but does nothing. The View menu 
gives no ps2pdf choice, and when I click the View other formats 
choice, nothing opens up, even though I configured PDF and DVI in 
Tools-Preferences-Output-General on the PDF and DVI commands.

Ctrl+D brings up an error dialog box saying Could not display 
\/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi, the location is not a 
directory. When I directly run that file (it exists) with xdvi, it 
displays more or less correctly.

What am I doing wrong?

Thanks

Steve

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



2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-08 Thread Steve Litt
Hi all,

An untimely computer crash brought me to Ubuntu 11.04, which brought 
me to LyX 2.0.0rc3.

Ctrl+D says successful DVD preview, but does nothing. The View menu 
gives no ps2pdf choice, and when I click the View other formats 
choice, nothing opens up, even though I configured PDF and DVI in 
Tools-Preferences-Output-General on the PDF and DVI commands.

Ctrl+D brings up an error dialog box saying Could not display 
\/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi, the location is not a 
directory. When I directly run that file (it exists) with xdvi, it 
displays more or less correctly.

What am I doing wrong?

Thanks

Steve

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



2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-08 Thread Steve Litt
Hi all,

An untimely computer crash brought me to Ubuntu 11.04, which brought 
me to LyX 2.0.0rc3.

Ctrl+D says "successful DVD preview, but does nothing. The View menu 
gives no ps2pdf choice, and when I click the "View other formats" 
choice, nothing opens up, even though I configured PDF and DVI in 
Tools->Preferences->Output->General on the PDF and DVI commands.

Ctrl+D brings up an error dialog box saying "Could not display 
\"/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi", the location is not a 
directory. When I directly run that file (it exists) with xdvi, it 
displays more or less correctly.

What am I doing wrong?

Thanks

Steve

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



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-22, Florian Rubach wrote:
 Robert Neumann schrieb:
 Hello,
 I have a problem with the quality of jpg-images.

 ...
 I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because
 all new lyx are slower it has to to with the latex)

 Seriously, what do you expect? If you're not willing to upgrade, I don't 
 think there is any possibility to fix _any_ issue...

This is simply not true. Especially the mentioned problem has nothing
to do with the LyX version!

 Also I can't really imagine any situation where anything regarding lyx 
 and latex takes longer than one could bear.

This very much depends on what one could bear and on the available
hardware. Faster than Word does not mean acceptable or nice to everyone.

Günter



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-23, Robert Neumann wrote:
 Hello Wayan,
 I usually use eps for all my vektordrawings, but once in a while I have 
 to include an jpg, but the funny thing is, that it works with Lyx 1.5 
 on a Suse 11,so it seems to be possible. The ps-File on my old Suse with
 Lyx 1.3 has no pixels either when I export to ps(as I just posted in 
 reply to Steve) but when I use the ps2pdf from the new Linux on the old 
 Linux, it still has pixels. So it is very odd to figure out where the 
 problem lies.

Do you scale the figure in question or set a fixed size? Re-sizing pixel
images can lead to bad surprises.

EPS and PDF can both include JPEG and PNG images -- in newer versions.
Some convertors, however, will default to the save old format versions and
convert the image to an internal representation of the pixel data. You will
usually realize this by a huge increase of the file size.

Günter



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Florian Rubach

Guenter Milde schrieb:

On 2009-05-22, Florian Rubach wrote:
  

Robert Neumann schrieb:


Hello,
I have a problem with the quality of jpg-images.
  


  

...


I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because
all new lyx are slower it has to to with the latex)
  


  
Seriously, what do you expect? If you're not willing to upgrade, I don't 
think there is any possibility to fix _any_ issue...



This is simply not true. Especially the mentioned problem has nothing
to do with the LyX version!

  
Also I can't really imagine any situation where anything regarding lyx 
and latex takes longer than one could bear.



This very much depends on what one could bear and on the available
hardware. Faster than Word does not mean acceptable or nice to everyone.

Günter


Well, seems like the time to apologize. It was my point of view and I 
was wrong. Next time, I try to be more constructive...


Regards,
Florian


Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann
Guenter Milde mi...@... writes:

 
 Do you scale the figure in question or set a fixed size? Re-sizing pixel
 images can lead to bad surprises.
yes, I just tried with 100%: No Difference. 

 EPS and PDF can both include JPEG and PNG images -- in newer versions.
 Some convertors, however, will default to the save old format versions and
 convert the image to an internal representation of the pixel data. You will
 usually realize this by a huge increase of the file size.
I found a solution which is acceptable for me: I export it from CorelDraw as a
grayscale-Gif. This works fairly well, at least I can life with that...
Regards Robert




Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann

 Well, seems like the time to apologize. It was my point of view and I 
 was wrong. Next time, I try to be more constructive...

Accepted;-)
Next time I have a problem, I will post the link to the old thread about the
strange fact that the newer latex takes more than twice the time immediately. It
could seem a bit weird, that I don't want to upgrade...

http://thread.gmane.org/gmane.editors.lyx.general/34234/focus=34251

Regards
Robert





Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-25, Robert Neumann wrote:
 Guenter Milde mi...@... writes:

 I found a solution which is acceptable for me: I export it from
 CorelDraw as a grayscale-Gif. This works fairly well, at least I can
 life with that... Regards Robert

Fine. Generally, JPEG is not suited for drawings or any images with
sharp lines. It is designed for fotographies with smoth gradients.
If it worked well with some images, this might just be a coincidence.

The rule of thumb I use is

* if possible, use a vector format (SVG, PDF, EPS)

* for a pixel graphic with few colours and sharp lines, use a
  lossless pixel comprssion (PNG or GIF, TIFF)
  
* for photo images (smoth gradient, many colours) use JPEG.

Günter  



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann
 
 If you use Coreldraw, don't export to jpg you graphic, but directly to eps 
 type 2 and you will have best quality and no pixelated contours.

thats what I did, normaly I do the complete drawing but in this case I had to
include a jg.
With GIF-Export it works fairly well, thats what I found out the last days.
Regards Robert



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-22, Florian Rubach wrote:
 Robert Neumann schrieb:
 Hello,
 I have a problem with the quality of jpg-images.

 ...
 I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because
 all new lyx are slower it has to to with the latex)

 Seriously, what do you expect? If you're not willing to upgrade, I don't 
 think there is any possibility to fix _any_ issue...

This is simply not true. Especially the mentioned problem has nothing
to do with the LyX version!

 Also I can't really imagine any situation where anything regarding lyx 
 and latex takes longer than one could bear.

This very much depends on what one could bear and on the available
hardware. Faster than Word does not mean acceptable or nice to everyone.

Günter



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-23, Robert Neumann wrote:
 Hello Wayan,
 I usually use eps for all my vektordrawings, but once in a while I have 
 to include an jpg, but the funny thing is, that it works with Lyx 1.5 
 on a Suse 11,so it seems to be possible. The ps-File on my old Suse with
 Lyx 1.3 has no pixels either when I export to ps(as I just posted in 
 reply to Steve) but when I use the ps2pdf from the new Linux on the old 
 Linux, it still has pixels. So it is very odd to figure out where the 
 problem lies.

Do you scale the figure in question or set a fixed size? Re-sizing pixel
images can lead to bad surprises.

EPS and PDF can both include JPEG and PNG images -- in newer versions.
Some convertors, however, will default to the save old format versions and
convert the image to an internal representation of the pixel data. You will
usually realize this by a huge increase of the file size.

Günter



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Florian Rubach

Guenter Milde schrieb:

On 2009-05-22, Florian Rubach wrote:
  

Robert Neumann schrieb:


Hello,
I have a problem with the quality of jpg-images.
  


  

...


I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because
all new lyx are slower it has to to with the latex)
  


  
Seriously, what do you expect? If you're not willing to upgrade, I don't 
think there is any possibility to fix _any_ issue...



This is simply not true. Especially the mentioned problem has nothing
to do with the LyX version!

  
Also I can't really imagine any situation where anything regarding lyx 
and latex takes longer than one could bear.



This very much depends on what one could bear and on the available
hardware. Faster than Word does not mean acceptable or nice to everyone.

Günter


Well, seems like the time to apologize. It was my point of view and I 
was wrong. Next time, I try to be more constructive...


Regards,
Florian


Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann
Guenter Milde mi...@... writes:

 
 Do you scale the figure in question or set a fixed size? Re-sizing pixel
 images can lead to bad surprises.
yes, I just tried with 100%: No Difference. 

 EPS and PDF can both include JPEG and PNG images -- in newer versions.
 Some convertors, however, will default to the save old format versions and
 convert the image to an internal representation of the pixel data. You will
 usually realize this by a huge increase of the file size.
I found a solution which is acceptable for me: I export it from CorelDraw as a
grayscale-Gif. This works fairly well, at least I can life with that...
Regards Robert




Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann

 Well, seems like the time to apologize. It was my point of view and I 
 was wrong. Next time, I try to be more constructive...

Accepted;-)
Next time I have a problem, I will post the link to the old thread about the
strange fact that the newer latex takes more than twice the time immediately. It
could seem a bit weird, that I don't want to upgrade...

http://thread.gmane.org/gmane.editors.lyx.general/34234/focus=34251

Regards
Robert





Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-25, Robert Neumann wrote:
 Guenter Milde mi...@... writes:

 I found a solution which is acceptable for me: I export it from
 CorelDraw as a grayscale-Gif. This works fairly well, at least I can
 life with that... Regards Robert

Fine. Generally, JPEG is not suited for drawings or any images with
sharp lines. It is designed for fotographies with smoth gradients.
If it worked well with some images, this might just be a coincidence.

The rule of thumb I use is

* if possible, use a vector format (SVG, PDF, EPS)

* for a pixel graphic with few colours and sharp lines, use a
  lossless pixel comprssion (PNG or GIF, TIFF)
  
* for photo images (smoth gradient, many colours) use JPEG.

Günter  



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann
 
 If you use Coreldraw, don't export to jpg you graphic, but directly to eps 
 type 2 and you will have best quality and no pixelated contours.

thats what I did, normaly I do the complete drawing but in this case I had to
include a jg.
With GIF-Export it works fairly well, thats what I found out the last days.
Regards Robert



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-22, Florian Rubach wrote:
> Robert Neumann schrieb:
>> Hello,
>> I have a problem with the quality of jpg-images.

> ...
>> I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because
>> all new lyx are slower it has to to with the latex)

> Seriously, what do you expect? If you're not willing to upgrade, I don't 
> think there is any possibility to fix _any_ issue...

This is simply not true. Especially the mentioned problem has nothing
to do with the LyX version!

> Also I can't really imagine any situation where anything regarding lyx 
> and latex takes longer than one could bear.

This very much depends on what one could bear and on the available
hardware. Faster than Word does not mean acceptable or nice to everyone.

Günter



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-23, Robert Neumann wrote:
> Hello Wayan,
> I usually use eps for all my vektordrawings, but once in a while I have 
> to include an jpg, but the funny thing is, that it works with Lyx 1.5 
> on a Suse 11,so it seems to be possible. The ps-File on my old Suse with
> Lyx 1.3 has no pixels either when I export to ps(as I just posted in 
> reply to Steve) but when I use the ps2pdf from the new Linux on the old 
> Linux, it still has pixels. So it is very odd to figure out where the 
> problem lies.

Do you scale the figure in question or set a fixed size? Re-sizing pixel
images can lead to bad surprises.

EPS and PDF can both "include" JPEG and PNG images -- in newer versions.
Some convertors, however, will default to the "save" old format versions and
convert the image to an internal representation of the pixel data. You will
usually realize this by a huge increase of the file size.

Günter



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Florian Rubach

Guenter Milde schrieb:

On 2009-05-22, Florian Rubach wrote:
  

Robert Neumann schrieb:


Hello,
I have a problem with the quality of jpg-images.
  


  

...


I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because
all new lyx are slower it has to to with the latex)
  


  
Seriously, what do you expect? If you're not willing to upgrade, I don't 
think there is any possibility to fix _any_ issue...



This is simply not true. Especially the mentioned problem has nothing
to do with the LyX version!

  
Also I can't really imagine any situation where anything regarding lyx 
and latex takes longer than one could bear.



This very much depends on what one could bear and on the available
hardware. Faster than Word does not mean acceptable or nice to everyone.

Günter


Well, seems like the time to apologize. It was my point of view and I 
was wrong. Next time, I try to be more constructive...


Regards,
Florian


Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann
Guenter Milde  writes:

 
> Do you scale the figure in question or set a fixed size? Re-sizing pixel
> images can lead to bad surprises.
yes, I just tried with 100%: No Difference. 

> EPS and PDF can both "include" JPEG and PNG images -- in newer versions.
> Some convertors, however, will default to the "save" old format versions and
> convert the image to an internal representation of the pixel data. You will
> usually realize this by a huge increase of the file size.
I found a solution which is acceptable for me: I export it from CorelDraw as a
grayscale-Gif. This works fairly well, at least I can life with that...
Regards Robert




Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann

> Well, seems like the time to apologize. It was my point of view and I 
> was wrong. Next time, I try to be more constructive...

Accepted;-)
Next time I have a problem, I will post the link to the old thread about the
strange fact that the newer latex takes more than twice the time immediately. It
could seem a bit weird, that I don't want to upgrade...

http://thread.gmane.org/gmane.editors.lyx.general/34234/focus=34251

Regards
Robert





Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Guenter Milde
On 2009-05-25, Robert Neumann wrote:
> Guenter Milde  writes:

> I found a solution which is acceptable for me: I export it from
> CorelDraw as a grayscale-Gif. This works fairly well, at least I can
> life with that... Regards Robert

Fine. Generally, JPEG is not suited for drawings or any images with
sharp lines. It is designed for fotographies with smoth gradients.
If it worked well with some images, this might just be a coincidence.

The rule of thumb I use is

* if possible, use a vector format (SVG, PDF, EPS)

* for a pixel graphic with few colours and sharp lines, use a
  lossless pixel comprssion (PNG or GIF, TIFF)
  
* for photo images (smoth gradient, many colours) use JPEG.

Günter  



Re: Problems with jpg-quality with ps2pdf

2009-05-25 Thread Robert Neumann
 
> If you use Coreldraw, don't export to jpg you graphic, but directly to eps 
> type 2 and you will have best quality and no pixelated contours.

thats what I did, normaly I do the complete drawing but in this case I had to
include a jg.
With GIF-Export it works fairly well, thats what I found out the last days.
Regards Robert



Re: Problems with jpg-quality with ps2pdf

2009-05-23 Thread I Wayan Warmada

Hallo Robert,
actually, this is not the problem of LyX nor LaTeX, but the problem of selected 
type of figure format. You made a vector figure but you save as a loosy 
compressed raster format. If you want the same figure as in Corel, either you 
use eps format (as suggested by Yago), or you use tiff with 450 or 600 dpi 
resolution (or you may compress as PNG). I prefer 600 dpi tiff format. You have 
only 10 figure, I think no problem with 600 dpi.

Some eps from Corel may not be opened by some eps rendering program (like gv or 
epstopdf). If so, you can remove unneeded part of eps file (using text editor), 
for example the unknown text befor %!PS-Adobe-3.0 EPSF-3.0 and after %%EOF (the 
newer Corel may not produce it).

Wayan

--- On Fri, 5/22/09, Yago diazd...@ono.com wrote:

 If you use Coreldraw, don't export to
 jpg you graphic, but directly to eps type 2 and you will
 have best quality and no pixelated contours.

 - Original Message - From: Robert Neumann ro.neum...@web.de
 To: lyx-users@lists.lyx.org
 Sent: Friday, May 22, 2009 10:32 AM
 Subject: Problems with jpg-quality with ps2pdf
 
 
  Hello,
  I have a problem with the quality of jpg-images.
  I have a jpg image with best quality, made with
 coreldraw (actually I use
  coreldraw to to work on the existing jpg-file, which
 contains function-graphs
  and other curves)
  When I open it, the quality is good, there are no
 little dots from the
  compression around the numbers.
  Them I create a pdf with ps2pdf and I get lots of
 these little dots.
  So the jpg quality seems to be reduced by lyx during
 the export process, because
  the dvi is fine.
  I just need to use ps2pdf, because the pdf is
 processed at another place and
  they can only deal with pdfs made with ps2pdf
  I' using Lyx 1.3.4 on a Suse Linux (and I dont want to
 update, because all new
  lyx are slower it has to to with the latex)
  Thanks Robert
 


  


Re: Problems with jpg-quality with ps2pdf

2009-05-23 Thread Robert Neumann

 What I do not understand is:If you compare LyX 1.3 and LyX 1.6 on the same 
 system (using the same LaTeX installation), do you see a delay then?

As far as I remember: no. But I remember that it was extremly difficult to
install 1.4 on the SuSE Linux, because of YAST, which sticks to the lyx, that
came with the distribution. (And I'm not such a Linux Pro that I could override
this).
I just installed a newer Linux with a newer Lyx and was very surprised to find
out, that everything was slow suddenly.






Re: Problems with jpg-quality with ps2pdf

2009-05-23 Thread Jürgen Spitzmüller
Robert Neumann wrote:
 As far as I remember: no. But I remember that it was extremly difficult to
 install 1.4 on the SuSE Linux, because of YAST, which sticks to the lyx,
 that came with the distribution. (And I'm not such a Linux Pro that I could
 override this).

It will certainly be difficult to install LyX 1.6 on such an old system, since 
the requirements (compiler, Qt 4 etc.) changed too much, especially if you 
don't want to compile yourself.

Jürgen


  1   2   >