Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear Olivier,

 I did the following in Windows (one line, mail agent may wrap it):
 gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
 -sOutputFile=dummy2.eps dummy.eps

 I tried this, but ...

 The resulting image displays fine in LyX with or without the
 clipping options

 While this is true regarding the bounding box problem, the
 resulting picture quality I get (LyX display and printout) is very
 poor compared to the other method I used so far. I am using AFPL
 Ghostscript V8.54, because it is installed on the Windows machine anyway.

 I will try some younger Windows versions of ghostscript tomorrow and report 
 back.

This morning I tried the GPL GS V8.61 windows binary using your suggested 
method too, sadly also giving bad quality/resolution results.

Any suggestion to improve the output quality?

Regards,

Tom Schlangen

-- 



Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Nicolás

Tom, you can specify the resolution with -r300 (that's the maximun)

You may also consider embedding the fonts with: -dEmbeddAllFonts=true 
-dSubsetFonts=true

You may find this interesting:

http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS

Nicolás

Tom Schlangen wrote:

Dear Olivier,


I did the following in Windows (one line, mail agent may wrap it):
gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
-sOutputFile=dummy2.eps dummy.eps



I tried this, but ...



The resulting image displays fine in LyX with or without the
clipping options



While this is true regarding the bounding box problem, the
resulting picture quality I get (LyX display and printout) is very
poor compared to the other method I used so far. I am using AFPL
Ghostscript V8.54, because it is installed on the Windows machine anyway.



I will try some younger Windows versions of ghostscript tomorrow and report 
back.


This morning I tried the GPL GS V8.61 windows binary using your suggested 
method too, sadly also giving bad quality/resolution results.

Any suggestion to improve the output quality?

Regards,

Tom Schlangen





Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear Nicolás,

 Tom, you can specify the resolution with -r300 (that's the maximun)

Sorry, but that renders eps files with about 1/2 the size and horrible looking 
results. Trying -r4000 gives about the same filesize, but still horrible 
looking.

 You may find this interesting:
 http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS

I will have a look, thank you for the link!

Regards,

Tom Schlangen

-- 



Re: Problem with EPS images and diacritics

2008-06-29 Thread Tomas Pavlik

Hello Les,
I found out that the program I use for creating the graphs (Origin) can  
export images in the PDF format so that solved the problem. I tried  
substituting the font too (Arial CE for Arial Unicode MS) which even  
solved the problem with EPS images. Thanks for the advice :)

Tomas Pavlik

On Sun, 29 Jun 2008 05:48:41 +0200, Les Denham [EMAIL PROTECTED] wrote:


On Sat, 2008-06-28 at 23:11 +0200, Tomas Pavlik wrote:

Hello Lyx users :)
I have a problem with images in lyx. I'm writing a thesis and some  
graphs

are included. The problem is with the written part of the graphs -
legends, axes descriptions etc. Some diacritic markers are not displayed
in lyx output - like the letter Č is displayed as C. But when I view the
picture in a picture viewer like IrfanView, everything is displayed
correctly. I am using EPS format for images since that's the best way to
ensure the quality of the output.

Thank you for any suggestions.

Please reply to my e-mail address too since I'm not a member of the lyx
users mailinglist.

Best regards,

Tomas Pavlik


Tomas,

I haven't run across exactly this problem, but it seems it is a problem
with the font used in the EPS figures: the font used in the figures is
not one available to LaTeX, so one which is available is substituted,
and this happens to be one without the diacritic markers.

One solution is to convert the EPS figures to PDF figures using a method
such as ps2pdf which will embed all fonts (there are some circumstances
when ps2pdf will not embed the fonts, but you probably won't have a
problem).  This will ensure the quality of the output the same as EPS
will, but you will have to use pdflatex for the output to PDF of the LyX
document.

Les






Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear LyX users,

I would like to thank all of you who helped to partly solve the problem.

For now, I will use one of the workarounds that will produce correctly 
printable ps or pdf output (after all, that´s most most important) and just 
ignore the ugly view in the LyX GUI/Editor.

I don´t know what´s the real cause that lets LyX display included eps pictures 
uncropped/unclipped, maybe it is ImageMagick, maybe it is LyX itself. At least 
the problems I encountered were reproducible by others.

If someone is able to track the (display-) problem down to LyX, I would suggest 
this person to file a bug report for that problem. I offer to supply suitable 
.eps files to demonstrate the problem.

The display problem is present in both Win and Linux LyX versions
and can be reliably demostrated using:

* WindowsXP: Lyx V1.55-1, gs 8.62 (and lots of others), and current
  Imagemagick installed as per LyX bundle installer (and many others)
  and MikTex 2.7

* Linux: Debian lenny, LyX 1.55, gs 8.62, Imagemagik 7:6.3.7.9 and
  current TexLive. (Note, all versions used as available from
  current Debian lenny repository)

Regards,

Tom
-- 



LyX on Asus eeePC?

2008-06-29 Thread MonAmiPierrot

I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
its Xandros OS.
Any impression?
-- 
View this message in context: 
http://www.nabble.com/LyX-on-Asus-eeePC--tp18181493p18181493.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: LyX on Asus eeePC?

2008-06-29 Thread John McCabe-Dansted
On Sun, Jun 29, 2008 at 10:35 PM, MonAmiPierrot
[EMAIL PROTECTED] wrote:
 I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
 its Xandros OS.
 Any impression?

I don't remember the details, but I tried to install LyX from etch,
which didn't work. Then I tried to build lyx from source. That didn't
work either.

ASUS's  repositories are minimal, so if you want to use repositories,
you basically have to use etch. And there build environment seemed
quite broken to me.  I am planning on installing Ubuntu Hardy on mine,
so I can actually install software.

 View this message in context: 
 http://www.nabble.com/LyX-on-Asus-eeePC--tp18181493p18181493.html
 Sent from the LyX - Users mailing list archive at Nabble.com.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: LyX on Asus eeePC?

2008-06-29 Thread Michel Gosse
Easy to install on the EEEPC without changing the original xandros :

CRTL ALT T for the terminal
sudo kwrite /etc/apt/sources.list
add the line :
deb http://http.us.debian.org/debian stable main contrib non-free
save the file
then all the programs for debian may be chosen and installed.

In the terminal : 
sudo apt-get update
sudo apt-get install lyx
type lyx in the terminal and it works great. (tetex is installed by the 
dependancies)
I have also installed xdvi (sudo apt-get install xdvi) for previewing.

Best regards

Le Sunday 29 June 2008 16:35:55 MonAmiPierrot, vous avez écrit :
 I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
 its Xandros OS.
 Any impression?




beamer-conference-ornate-20min

2008-06-29 Thread Sandor Szabo

I found it in LyX template.
What is the difference between
Example and ExampleBlock ?
Till now I never used beamer, sorry if the answer is trivial.

Sandor



Re: Page numbers in pdf display

2008-06-29 Thread Maksi


Jürgen Spitzmüller-2 wrote:
 Works for me using the \frontmatter ans \mainmatter commands and Acroread
 as 
 PDF viewer.

Thanks for your answers, it works fine. However, it does not work with XeTeX
but I guess I can live with that.

Kind regards,


Maksi
-- 
View this message in context: 
http://www.nabble.com/Page-numbers-in-pdf-display-tp18171590p18183464.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: beamer-conference-ornate-20min

2008-06-29 Thread Paul A. Rubin

Sandor Szabo wrote:

I found it in LyX template.
What is the difference between
Example and ExampleBlock ?
Till now I never used beamer, sorry if the answer is trivial.



Example: Title is Example

ExampleBlock: You supply the title (in ERT, inside braces).

/Paul



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-29 Thread Abdelrazak Younes

Etienne M. Gagnon wrote:
This is best solved by making sure LyX doesn't spit out spurious \n's 
everywhere... I've looked in the code, and this part does not seem 
beautiful at all. I won't even copy here some comments I read in the 
code; they were too awful! :-)


That the code is less than perfect is a fact ;-)
That we need help to improve it is also a fact.
Whether you'll help us or not is still unknown :-)

Abdel.



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-29 Thread Etienne M. Gagnon

Abdelrazak Younes wrote:
This is best solved by making sure LyX doesn't spit out spurious 
\n's everywhere... I've looked in the code, and this part does not 
seem beautiful at all. I won't even copy here some comments I read in 
the code; they were too awful! :-)

That the code is less than perfect is a fact ;-)
That we need help to improve it is also a fact.
Whether you'll help us or not is still unknown :-)


Hi Abdel,

Just making sure there's no misunderstanding: I really meant this as 
funny remark, not as a critic of of the code. I program too, and not all 
of my public code is perfect either. It's just that in my projects I 
filter out such comments. Every project has its own culture; I just 
found it funny to read scary comments in the source code. That's all! If 
the code was so bad, the software wouldn't work in the first place. And, 
actually, most of the source files I browsed through had a readability 
far above what I am used to see in C++ code. And, finally, I was looking 
at the wrong place (see below).


Within very little time after submitting my bug report, there was 
already a patch proposed for it. Then a discussion followed with another 
patch. Big thanks to Juergen Spitzmueller and Jean-Marc Lasgouttes. 
(This is how I know that I was looking at the wrong place).


As I intend to start using LyX on a regular basis (given that the 
biggest show stopper for me was list handling, and once I figure out how 
to compile the code locally [something to do with missing QChar], 
that'll be in the past), I am likely to contribute back bug 
reports/suggestions/etc. But, hey, give me a chance... First, I will be 
more on the receiving end, as a user trying to catch tricks here and 
there. Yet, as I already have written a couple of theses, as well as 
some reports and papers with LaTeX, I might occasionally be able to help 
people with less knowledge than me on this list. I will also invite 
people (students being my primary audience) to use LyX. We'll see how it 
goes.


Thanks to all for the quick help and feedback.

Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org




signature.asc
Description: OpenPGP digital signature


float caption label for tables

2008-06-29 Thread Maria Gouskova
Dear LyX users,

I need to change the caption label that LaTeX automatically supplies
for tables in floats. By default, the label is Table. I want it to
read, say, Tab. instead. I put

\renewcommand{\tablename}{Tab.}

into the preamble, but nothing happens--LyX compiles as before.
\renewcommand works in plain LaTeX--is there some sort of a conflict
in LyX? I wouldn't know where to start looking, because my grasp of
LaTeX is pretty basic.

LyX 1.5.5
Mac OS 10.5.3
MacTeX-2007

Maria


Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear Olivier,

 I did the following in Windows (one line, mail agent may wrap it):
 gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
 -sOutputFile=dummy2.eps dummy.eps

 I tried this, but ...

 The resulting image displays fine in LyX with or without the
 clipping options

 While this is true regarding the bounding box problem, the
 resulting picture quality I get (LyX display and printout) is very
 poor compared to the other method I used so far. I am using AFPL
 Ghostscript V8.54, because it is installed on the Windows machine anyway.

 I will try some younger Windows versions of ghostscript tomorrow and report 
 back.

This morning I tried the GPL GS V8.61 windows binary using your suggested 
method too, sadly also giving bad quality/resolution results.

Any suggestion to improve the output quality?

Regards,

Tom Schlangen

-- 



Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Nicolás

Tom, you can specify the resolution with -r300 (that's the maximun)

You may also consider embedding the fonts with: -dEmbeddAllFonts=true 
-dSubsetFonts=true

You may find this interesting:

http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS

Nicolás

Tom Schlangen wrote:

Dear Olivier,


I did the following in Windows (one line, mail agent may wrap it):
gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
-sOutputFile=dummy2.eps dummy.eps



I tried this, but ...



The resulting image displays fine in LyX with or without the
clipping options



While this is true regarding the bounding box problem, the
resulting picture quality I get (LyX display and printout) is very
poor compared to the other method I used so far. I am using AFPL
Ghostscript V8.54, because it is installed on the Windows machine anyway.



I will try some younger Windows versions of ghostscript tomorrow and report 
back.


This morning I tried the GPL GS V8.61 windows binary using your suggested 
method too, sadly also giving bad quality/resolution results.

Any suggestion to improve the output quality?

Regards,

Tom Schlangen





Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear Nicolás,

 Tom, you can specify the resolution with -r300 (that's the maximun)

Sorry, but that renders eps files with about 1/2 the size and horrible looking 
results. Trying -r4000 gives about the same filesize, but still horrible 
looking.

 You may find this interesting:
 http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS

I will have a look, thank you for the link!

Regards,

Tom Schlangen

-- 



Re: Problem with EPS images and diacritics

2008-06-29 Thread Tomas Pavlik

Hello Les,
I found out that the program I use for creating the graphs (Origin) can  
export images in the PDF format so that solved the problem. I tried  
substituting the font too (Arial CE for Arial Unicode MS) which even  
solved the problem with EPS images. Thanks for the advice :)

Tomas Pavlik

On Sun, 29 Jun 2008 05:48:41 +0200, Les Denham [EMAIL PROTECTED] wrote:


On Sat, 2008-06-28 at 23:11 +0200, Tomas Pavlik wrote:

Hello Lyx users :)
I have a problem with images in lyx. I'm writing a thesis and some  
graphs

are included. The problem is with the written part of the graphs -
legends, axes descriptions etc. Some diacritic markers are not displayed
in lyx output - like the letter Č is displayed as C. But when I view the
picture in a picture viewer like IrfanView, everything is displayed
correctly. I am using EPS format for images since that's the best way to
ensure the quality of the output.

Thank you for any suggestions.

Please reply to my e-mail address too since I'm not a member of the lyx
users mailinglist.

Best regards,

Tomas Pavlik


Tomas,

I haven't run across exactly this problem, but it seems it is a problem
with the font used in the EPS figures: the font used in the figures is
not one available to LaTeX, so one which is available is substituted,
and this happens to be one without the diacritic markers.

One solution is to convert the EPS figures to PDF figures using a method
such as ps2pdf which will embed all fonts (there are some circumstances
when ps2pdf will not embed the fonts, but you probably won't have a
problem).  This will ensure the quality of the output the same as EPS
will, but you will have to use pdflatex for the output to PDF of the LyX
document.

Les






Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear LyX users,

I would like to thank all of you who helped to partly solve the problem.

For now, I will use one of the workarounds that will produce correctly 
printable ps or pdf output (after all, that´s most most important) and just 
ignore the ugly view in the LyX GUI/Editor.

I don´t know what´s the real cause that lets LyX display included eps pictures 
uncropped/unclipped, maybe it is ImageMagick, maybe it is LyX itself. At least 
the problems I encountered were reproducible by others.

If someone is able to track the (display-) problem down to LyX, I would suggest 
this person to file a bug report for that problem. I offer to supply suitable 
.eps files to demonstrate the problem.

The display problem is present in both Win and Linux LyX versions
and can be reliably demostrated using:

* WindowsXP: Lyx V1.55-1, gs 8.62 (and lots of others), and current
  Imagemagick installed as per LyX bundle installer (and many others)
  and MikTex 2.7

* Linux: Debian lenny, LyX 1.55, gs 8.62, Imagemagik 7:6.3.7.9 and
  current TexLive. (Note, all versions used as available from
  current Debian lenny repository)

Regards,

Tom
-- 



LyX on Asus eeePC?

2008-06-29 Thread MonAmiPierrot

I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
its Xandros OS.
Any impression?
-- 
View this message in context: 
http://www.nabble.com/LyX-on-Asus-eeePC--tp18181493p18181493.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: LyX on Asus eeePC?

2008-06-29 Thread John McCabe-Dansted
On Sun, Jun 29, 2008 at 10:35 PM, MonAmiPierrot
[EMAIL PROTECTED] wrote:
 I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
 its Xandros OS.
 Any impression?

I don't remember the details, but I tried to install LyX from etch,
which didn't work. Then I tried to build lyx from source. That didn't
work either.

ASUS's  repositories are minimal, so if you want to use repositories,
you basically have to use etch. And there build environment seemed
quite broken to me.  I am planning on installing Ubuntu Hardy on mine,
so I can actually install software.

 View this message in context: 
 http://www.nabble.com/LyX-on-Asus-eeePC--tp18181493p18181493.html
 Sent from the LyX - Users mailing list archive at Nabble.com.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: LyX on Asus eeePC?

2008-06-29 Thread Michel Gosse
Easy to install on the EEEPC without changing the original xandros :

CRTL ALT T for the terminal
sudo kwrite /etc/apt/sources.list
add the line :
deb http://http.us.debian.org/debian stable main contrib non-free
save the file
then all the programs for debian may be chosen and installed.

In the terminal : 
sudo apt-get update
sudo apt-get install lyx
type lyx in the terminal and it works great. (tetex is installed by the 
dependancies)
I have also installed xdvi (sudo apt-get install xdvi) for previewing.

Best regards

Le Sunday 29 June 2008 16:35:55 MonAmiPierrot, vous avez écrit :
 I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
 its Xandros OS.
 Any impression?




beamer-conference-ornate-20min

2008-06-29 Thread Sandor Szabo

I found it in LyX template.
What is the difference between
Example and ExampleBlock ?
Till now I never used beamer, sorry if the answer is trivial.

Sandor



Re: Page numbers in pdf display

2008-06-29 Thread Maksi


Jürgen Spitzmüller-2 wrote:
 Works for me using the \frontmatter ans \mainmatter commands and Acroread
 as 
 PDF viewer.

Thanks for your answers, it works fine. However, it does not work with XeTeX
but I guess I can live with that.

Kind regards,


Maksi
-- 
View this message in context: 
http://www.nabble.com/Page-numbers-in-pdf-display-tp18171590p18183464.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: beamer-conference-ornate-20min

2008-06-29 Thread Paul A. Rubin

Sandor Szabo wrote:

I found it in LyX template.
What is the difference between
Example and ExampleBlock ?
Till now I never used beamer, sorry if the answer is trivial.



Example: Title is Example

ExampleBlock: You supply the title (in ERT, inside braces).

/Paul



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-29 Thread Abdelrazak Younes

Etienne M. Gagnon wrote:
This is best solved by making sure LyX doesn't spit out spurious \n's 
everywhere... I've looked in the code, and this part does not seem 
beautiful at all. I won't even copy here some comments I read in the 
code; they were too awful! :-)


That the code is less than perfect is a fact ;-)
That we need help to improve it is also a fact.
Whether you'll help us or not is still unknown :-)

Abdel.



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-29 Thread Etienne M. Gagnon

Abdelrazak Younes wrote:
This is best solved by making sure LyX doesn't spit out spurious 
\n's everywhere... I've looked in the code, and this part does not 
seem beautiful at all. I won't even copy here some comments I read in 
the code; they were too awful! :-)

That the code is less than perfect is a fact ;-)
That we need help to improve it is also a fact.
Whether you'll help us or not is still unknown :-)


Hi Abdel,

Just making sure there's no misunderstanding: I really meant this as 
funny remark, not as a critic of of the code. I program too, and not all 
of my public code is perfect either. It's just that in my projects I 
filter out such comments. Every project has its own culture; I just 
found it funny to read scary comments in the source code. That's all! If 
the code was so bad, the software wouldn't work in the first place. And, 
actually, most of the source files I browsed through had a readability 
far above what I am used to see in C++ code. And, finally, I was looking 
at the wrong place (see below).


Within very little time after submitting my bug report, there was 
already a patch proposed for it. Then a discussion followed with another 
patch. Big thanks to Juergen Spitzmueller and Jean-Marc Lasgouttes. 
(This is how I know that I was looking at the wrong place).


As I intend to start using LyX on a regular basis (given that the 
biggest show stopper for me was list handling, and once I figure out how 
to compile the code locally [something to do with missing QChar], 
that'll be in the past), I am likely to contribute back bug 
reports/suggestions/etc. But, hey, give me a chance... First, I will be 
more on the receiving end, as a user trying to catch tricks here and 
there. Yet, as I already have written a couple of theses, as well as 
some reports and papers with LaTeX, I might occasionally be able to help 
people with less knowledge than me on this list. I will also invite 
people (students being my primary audience) to use LyX. We'll see how it 
goes.


Thanks to all for the quick help and feedback.

Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org




signature.asc
Description: OpenPGP digital signature


float caption label for tables

2008-06-29 Thread Maria Gouskova
Dear LyX users,

I need to change the caption label that LaTeX automatically supplies
for tables in floats. By default, the label is Table. I want it to
read, say, Tab. instead. I put

\renewcommand{\tablename}{Tab.}

into the preamble, but nothing happens--LyX compiles as before.
\renewcommand works in plain LaTeX--is there some sort of a conflict
in LyX? I wouldn't know where to start looking, because my grasp of
LaTeX is pretty basic.

LyX 1.5.5
Mac OS 10.5.3
MacTeX-2007

Maria


Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear Olivier,

>> I did the following in Windows (one line, mail agent may wrap it):
>> gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
>> -sOutputFile=dummy2.eps dummy.eps

> I tried this, but ...

>> The resulting image displays fine in LyX with or without the
>> clipping options

> While this is true regarding the bounding box problem, the
> resulting picture quality I get (LyX display and printout) is very
> poor compared to the other method I used so far. I am using AFPL
> Ghostscript V8.54, because it is installed on the Windows machine anyway.

> I will try some younger Windows versions of ghostscript tomorrow and report 
> back.

This morning I tried the GPL GS V8.61 windows binary using your suggested 
method too, sadly also giving bad quality/resolution results.

Any suggestion to improve the output quality?

Regards,

Tom Schlangen

-- 



Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Nicolás

Tom, you can specify the resolution with -r300 (that's the maximun)

You may also consider embedding the fonts with: -dEmbeddAllFonts=true 
-dSubsetFonts=true

You may find this interesting:

http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS

Nicolás

Tom Schlangen wrote:

Dear Olivier,


I did the following in Windows (one line, mail agent may wrap it):
gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
-sOutputFile=dummy2.eps dummy.eps



I tried this, but ...



The resulting image displays fine in LyX with or without the
clipping options



While this is true regarding the bounding box problem, the
resulting picture quality I get (LyX display and printout) is very
poor compared to the other method I used so far. I am using AFPL
Ghostscript V8.54, because it is installed on the Windows machine anyway.



I will try some younger Windows versions of ghostscript tomorrow and report 
back.


This morning I tried the GPL GS V8.61 windows binary using your suggested 
method too, sadly also giving bad quality/resolution results.

Any suggestion to improve the output quality?

Regards,

Tom Schlangen





Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear Nicolás,

> Tom, you can specify the resolution with -r300 (that's the maximun)

Sorry, but that renders eps files with about 1/2 the size and horrible looking 
results. Trying -r4000 gives about the same filesize, but still horrible 
looking.

> You may find this interesting:
> http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS

I will have a look, thank you for the link!

Regards,

Tom Schlangen

-- 



Re: Problem with EPS images and diacritics

2008-06-29 Thread Tomas Pavlik

Hello Les,
I found out that the program I use for creating the graphs (Origin) can  
export images in the PDF format so that solved the problem. I tried  
substituting the font too (Arial CE for Arial Unicode MS) which even  
solved the problem with EPS images. Thanks for the advice :)

Tomas Pavlik

On Sun, 29 Jun 2008 05:48:41 +0200, Les Denham <[EMAIL PROTECTED]> wrote:


On Sat, 2008-06-28 at 23:11 +0200, Tomas Pavlik wrote:

Hello Lyx users :)
I have a problem with images in lyx. I'm writing a thesis and some  
graphs

are included. The problem is with the written part of the graphs -
legends, axes descriptions etc. Some diacritic markers are not displayed
in lyx output - like the letter Č is displayed as C. But when I view the
picture in a picture viewer like IrfanView, everything is displayed
correctly. I am using EPS format for images since that's the best way to
ensure the quality of the output.

Thank you for any suggestions.

Please reply to my e-mail address too since I'm not a member of the lyx
users mailinglist.

Best regards,

Tomas Pavlik


Tomas,

I haven't run across exactly this problem, but it seems it is a problem
with the font used in the EPS figures: the font used in the figures is
not one available to LaTeX, so one which is available is substituted,
and this happens to be one without the diacritic markers.

One solution is to convert the EPS figures to PDF figures using a method
such as ps2pdf which will embed all fonts (there are some circumstances
when ps2pdf will not embed the fonts, but you probably won't have a
problem).  This will ensure the quality of the output the same as EPS
will, but you will have to use pdflatex for the output to PDF of the LyX
document.

Les






Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-29 Thread Tom Schlangen
Dear LyX users,

I would like to thank all of you who helped to partly solve the problem.

For now, I will use one of the workarounds that will produce correctly 
printable ps or pdf output (after all, that´s most most important) and just 
ignore the ugly view in the LyX GUI/Editor.

I don´t know what´s the real cause that lets LyX display included eps pictures 
uncropped/unclipped, maybe it is ImageMagick, maybe it is LyX itself. At least 
the problems I encountered were reproducible by others.

If someone is able to track the (display-) problem down to LyX, I would suggest 
this person to file a bug report for that problem. I offer to supply suitable 
.eps files to demonstrate the problem.

The display problem is present in both Win and Linux LyX versions
and can be reliably demostrated using:

* WindowsXP: Lyx V1.55-1, gs 8.62 (and lots of others), and current
  Imagemagick installed as per LyX bundle installer (and many others)
  and MikTex 2.7

* Linux: Debian lenny, LyX 1.55, gs 8.62, Imagemagik 7:6.3.7.9 and
  current TexLive. (Note, all versions used as available from
  current Debian lenny repository)

Regards,

Tom
-- 



LyX on Asus eeePC?

2008-06-29 Thread MonAmiPierrot

I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
its Xandros OS.
Any impression?
-- 
View this message in context: 
http://www.nabble.com/LyX-on-Asus-eeePC--tp18181493p18181493.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: LyX on Asus eeePC?

2008-06-29 Thread John McCabe-Dansted
On Sun, Jun 29, 2008 at 10:35 PM, MonAmiPierrot
<[EMAIL PROTECTED]> wrote:
> I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
> its Xandros OS.
> Any impression?

I don't remember the details, but I tried to install LyX from etch,
which didn't work. Then I tried to build lyx from source. That didn't
work either.

ASUS's  repositories are minimal, so if you want to use repositories,
you basically have to use etch. And there build environment seemed
quite broken to me.  I am planning on installing Ubuntu Hardy on mine,
so I can actually install software.

> View this message in context: 
> http://www.nabble.com/LyX-on-Asus-eeePC--tp18181493p18181493.html
> Sent from the LyX - Users mailing list archive at Nabble.com.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Re: LyX on Asus eeePC?

2008-06-29 Thread Michel Gosse
Easy to install on the EEEPC without changing the original xandros :

CRTL ALT T for the terminal
sudo kwrite /etc/apt/sources.list
add the line :
deb http://http.us.debian.org/debian stable main contrib non-free
save the file
then all the programs for debian may be chosen and installed.

In the terminal : 
sudo apt-get update
sudo apt-get install lyx
type lyx in the terminal and it works great. (tetex is installed by the 
dependancies)
I have also installed xdvi (sudo apt-get install xdvi) for previewing.

Best regards

Le Sunday 29 June 2008 16:35:55 MonAmiPierrot, vous avez écrit :
> I own a ASUS eeePC, and I wonder if anyone tried to install and use LyX on
> its Xandros OS.
> Any impression?




beamer-conference-ornate-20min

2008-06-29 Thread Sandor Szabo

I found it in LyX template.
What is the difference between
"Example" and "ExampleBlock" ?
Till now I never used beamer, sorry if the answer is trivial.

Sandor



Re: Page numbers in pdf display

2008-06-29 Thread Maksi


Jürgen Spitzmüller-2 wrote:
> Works for me using the \frontmatter ans \mainmatter commands and Acroread
> as 
> PDF viewer.

Thanks for your answers, it works fine. However, it does not work with XeTeX
but I guess I can live with that.

Kind regards,


Maksi
-- 
View this message in context: 
http://www.nabble.com/Page-numbers-in-pdf-display-tp18171590p18183464.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: beamer-conference-ornate-20min

2008-06-29 Thread Paul A. Rubin

Sandor Szabo wrote:

I found it in LyX template.
What is the difference between
"Example" and "ExampleBlock" ?
Till now I never used beamer, sorry if the answer is trivial.



Example: Title is "Example"

ExampleBlock: You supply the title (in ERT, inside braces).

/Paul



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-29 Thread Abdelrazak Younes

Etienne M. Gagnon wrote:
This is best solved by making sure LyX doesn't spit out spurious "\n"'s 
everywhere... I've looked in the code, and this part does not seem 
beautiful at all. I won't even copy here some comments I read in the 
code; they were too awful! :-)


That the code is less than perfect is a fact ;-)
That we need help to improve it is also a fact.
Whether you'll help us or not is still unknown :-)

Abdel.



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-29 Thread Etienne M. Gagnon

Abdelrazak Younes wrote:
This is best solved by making sure LyX doesn't spit out spurious 
"\n"'s everywhere... I've looked in the code, and this part does not 
seem beautiful at all. I won't even copy here some comments I read in 
the code; they were too awful! :-)

That the code is less than perfect is a fact ;-)
That we need help to improve it is also a fact.
Whether you'll help us or not is still unknown :-)


Hi Abdel,

Just making sure there's no misunderstanding: I really meant this as 
funny remark, not as a critic of of the code. I program too, and not all 
of my public code is perfect either. It's just that in my projects I 
filter out such comments. Every project has its own culture; I just 
found it funny to read scary comments in the source code. That's all! If 
the code was so bad, the software wouldn't work in the first place. And, 
actually, most of the source files I browsed through had a readability 
far above what I am used to see in C++ code. And, finally, I was looking 
at the wrong place (see below).


Within very little time after submitting my bug report, there was 
already a patch proposed for it. Then a discussion followed with another 
patch. Big thanks to Juergen Spitzmueller and Jean-Marc Lasgouttes. 
(This is how I know that I was looking at the wrong place).


As I intend to start using LyX on a regular basis (given that the 
biggest show stopper for me was list handling, and once I figure out how 
to compile the code locally [something to do with missing "QChar"], 
that'll be in the past), I am likely to contribute back bug 
reports/suggestions/etc. But, hey, give me a chance... First, I will be 
more on the receiving end, as a user trying to catch tricks here and 
there. Yet, as I already have written a couple of theses, as well as 
some reports and papers with LaTeX, I might occasionally be able to help 
people with less knowledge than me on this list. I will also invite 
people (students being my primary audience) to use LyX. We'll see how it 
goes.


Thanks to all for the quick help and feedback.

Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org




signature.asc
Description: OpenPGP digital signature


float caption label for tables

2008-06-29 Thread Maria Gouskova
Dear LyX users,

I need to change the caption label that LaTeX automatically supplies
for tables in floats. By default, the label is "Table". I want it to
read, say, "Tab." instead. I put

\renewcommand{\tablename}{Tab.}

into the preamble, but nothing happens--LyX compiles as before.
\renewcommand works in plain LaTeX--is there some sort of a conflict
in LyX? I wouldn't know where to start looking, because my grasp of
LaTeX is pretty basic.

LyX 1.5.5
Mac OS 10.5.3
MacTeX-2007

Maria