Re: LyX & graphics/figure preview

2018-10-09 Thread Daniel

On 09/10/2018 14:45, Bernt Lie wrote:

Previews of graphics in floating figures tend to be small and sometimes of very 
poor resolution. If I increase the magnification in LyX, the figures look 
really ugly.

Is there a way to increase the preview quality? (The original files are 
typically either *.svg or *.pdf.)

-B


You can try to add flags to the converters in Tools > Preferences... > 
File Handling > Converters.


Under Windows rsvg-convert is used for "SVG -> PNG" conversion. For 
example, you can double  the size by adding the --zoom 2 flag.



Under Windows the converters are in the bin directory in the LyX 
directory under programs. You can normally get all flags by running the 
converter with --help in that directory.


Daniel



LyX & graphics/figure preview

2018-10-09 Thread Bernt Lie
Previews of graphics in floating figures tend to be small and sometimes of very 
poor resolution. If I increase the magnification in LyX, the figures look 
really ugly.

Is there a way to increase the preview quality? (The original files are 
typically either *.svg or *.pdf.)

-B


LyX + Graphics

2008-04-11 Thread Ed Sykes

Hi,

Just wondering about graphics + LyX...
I do most of my graphics in MS Viso.
I assume the best format is .eps   ?
I'm having a problem with a graphic that has some symbols (e..g, infinity 
symbol).

They get dropped when I import the .eps into LyX

Any suggestions?

Thanks,
Ed Sykes 



Re: LyX + Graphics

2008-04-11 Thread Alan G Isaac
On Fri, 11 Apr 2008, Ed Sykes apparently wrote:
 Just wondering about graphics + LyX... 
 I do most of my graphics in MS Viso. 
 I assume the best format is .eps   ? 
 I'm having a problem with a graphic that has some symbols (e..g, infinity 
 symbol). 
 They get dropped when I import the .eps into LyX 

 Any suggestions? 


1. Do not use Visio.
Maybe Dia will meet your needs.

2. Tell Visio to embed all fonts.

3. Using EPS graphics and using PDF graphics implies
two different workflows.  Each has its virtues.

Cheers,
Alan Isaac





Re: LyX + Graphics

2008-04-11 Thread Steve Litt
On Friday 11 April 2008 11:54, Alan G Isaac wrote:
 On Fri, 11 Apr 2008, Ed Sykes apparently wrote:
  Just wondering about graphics + LyX...
  I do most of my graphics in MS Viso.
  I assume the best format is .eps   ?
  I'm having a problem with a graphic that has some symbols (e..g, infinity
  symbol).
  They get dropped when I import the .eps into LyX
 
  Any suggestions?

 1. Do not use Visio.
 Maybe Dia will meet your needs.

 2. Tell Visio to embed all fonts.

 3. Using EPS graphics and using PDF graphics implies
 two different workflows.  Each has its virtues.

 Cheers,
 Alan Isaac

I have dia2pdf and dia2png scripts. Careful of wordwrap on long lines:

#*** DIA2PDF 
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e s/\..*$//`
pdfname=$gname.pdf
echo Converting $dianame to $pdfname
#inkscape --export-text-to-path --export-pdf=$pdfname $dianame
#inkscape --export-embed-fonts --export-use-hints --export-background=#ff 
--export-area-drawing --export-pdf=$pdfname 
$dianame
inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
acroread $pdfname
##

#*** DIA2PNG 
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e s/\..*$//`
pdfname=$gname.png
echo Converting $dianame to $pdfname
#inkscape --export-text-to-path --export-pdf=$pdfname $dianame
#inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
inkscape --export-embed-fonts --export-background=#ff --export-area-drawing 
--export-png=$pdfname 
$dianame
kuickshow $pdfname
##

HTH

SteveT
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: LyX + Graphics

2008-04-11 Thread Uwe Stöhr

Ed Sykes schrieb:


Just wondering about graphics + LyX...


Why are you wondering? For detailed questions, have a look at the EmbeddedObjects manual, also for 
the description of the different graphic formats.

Personally, I convert vector graphics to PDF.

regards Uwe


LyX + Graphics

2008-04-11 Thread Ed Sykes

Hi,

Just wondering about graphics + LyX...
I do most of my graphics in MS Viso.
I assume the best format is .eps   ?
I'm having a problem with a graphic that has some symbols (e..g, infinity 
symbol).

They get dropped when I import the .eps into LyX

Any suggestions?

Thanks,
Ed Sykes 



Re: LyX + Graphics

2008-04-11 Thread Alan G Isaac
On Fri, 11 Apr 2008, Ed Sykes apparently wrote:
 Just wondering about graphics + LyX... 
 I do most of my graphics in MS Viso. 
 I assume the best format is .eps   ? 
 I'm having a problem with a graphic that has some symbols (e..g, infinity 
 symbol). 
 They get dropped when I import the .eps into LyX 

 Any suggestions? 


1. Do not use Visio.
Maybe Dia will meet your needs.

2. Tell Visio to embed all fonts.

3. Using EPS graphics and using PDF graphics implies
two different workflows.  Each has its virtues.

Cheers,
Alan Isaac





Re: LyX + Graphics

2008-04-11 Thread Steve Litt
On Friday 11 April 2008 11:54, Alan G Isaac wrote:
 On Fri, 11 Apr 2008, Ed Sykes apparently wrote:
  Just wondering about graphics + LyX...
  I do most of my graphics in MS Viso.
  I assume the best format is .eps   ?
  I'm having a problem with a graphic that has some symbols (e..g, infinity
  symbol).
  They get dropped when I import the .eps into LyX
 
  Any suggestions?

 1. Do not use Visio.
 Maybe Dia will meet your needs.

 2. Tell Visio to embed all fonts.

 3. Using EPS graphics and using PDF graphics implies
 two different workflows.  Each has its virtues.

 Cheers,
 Alan Isaac

I have dia2pdf and dia2png scripts. Careful of wordwrap on long lines:

#*** DIA2PDF 
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e s/\..*$//`
pdfname=$gname.pdf
echo Converting $dianame to $pdfname
#inkscape --export-text-to-path --export-pdf=$pdfname $dianame
#inkscape --export-embed-fonts --export-use-hints --export-background=#ff 
--export-area-drawing --export-pdf=$pdfname 
$dianame
inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
acroread $pdfname
##

#*** DIA2PNG 
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e s/\..*$//`
pdfname=$gname.png
echo Converting $dianame to $pdfname
#inkscape --export-text-to-path --export-pdf=$pdfname $dianame
#inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
inkscape --export-embed-fonts --export-background=#ff --export-area-drawing 
--export-png=$pdfname 
$dianame
kuickshow $pdfname
##

HTH

SteveT
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: LyX + Graphics

2008-04-11 Thread Uwe Stöhr

Ed Sykes schrieb:


Just wondering about graphics + LyX...


Why are you wondering? For detailed questions, have a look at the EmbeddedObjects manual, also for 
the description of the different graphic formats.

Personally, I convert vector graphics to PDF.

regards Uwe


LyX + Graphics

2008-04-11 Thread Ed Sykes

Hi,

Just wondering about graphics + LyX...
I do most of my graphics in MS Viso.
I assume the best format is .eps   ?
I'm having a problem with a graphic that has some symbols (e..g, infinity 
symbol).

They get dropped when I import the .eps into LyX

Any suggestions?

Thanks,
Ed Sykes 



Re: LyX + Graphics

2008-04-11 Thread Alan G Isaac
On Fri, 11 Apr 2008, Ed Sykes apparently wrote:
> Just wondering about graphics + LyX... 
> I do most of my graphics in MS Viso. 
> I assume the best format is .eps   ? 
> I'm having a problem with a graphic that has some symbols (e..g, infinity 
> symbol). 
> They get dropped when I import the .eps into LyX 

> Any suggestions? 


1. Do not use Visio.
Maybe Dia will meet your needs.

2. Tell Visio to embed all fonts.

3. Using EPS graphics and using PDF graphics implies
two different workflows.  Each has its virtues.

Cheers,
Alan Isaac





Re: LyX + Graphics

2008-04-11 Thread Steve Litt
On Friday 11 April 2008 11:54, Alan G Isaac wrote:
> On Fri, 11 Apr 2008, Ed Sykes apparently wrote:
> > Just wondering about graphics + LyX...
> > I do most of my graphics in MS Viso.
> > I assume the best format is .eps   ?
> > I'm having a problem with a graphic that has some symbols (e..g, infinity
> > symbol).
> > They get dropped when I import the .eps into LyX
> >
> > Any suggestions?
>
> 1. Do not use Visio.
> Maybe Dia will meet your needs.
>
> 2. Tell Visio to embed all fonts.
>
> 3. Using EPS graphics and using PDF graphics implies
> two different workflows.  Each has its virtues.
>
> Cheers,
> Alan Isaac

I have dia2pdf and dia2png scripts. Careful of wordwrap on long lines:

#*** DIA2PDF 
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e "s/\..*$//"`
pdfname=$gname.pdf
echo Converting $dianame to $pdfname
#inkscape --export-text-to-path --export-pdf=$pdfname $dianame
#inkscape --export-embed-fonts --export-use-hints --export-background=#ff 
--export-area-drawing --export-pdf=$pdfname 
$dianame
inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
acroread $pdfname
##

#*** DIA2PNG 
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e "s/\..*$//"`
pdfname=$gname.png
echo Converting $dianame to $pdfname
#inkscape --export-text-to-path --export-pdf=$pdfname $dianame
#inkscape --export-embed-fonts --export-pdf=$pdfname $dianame
inkscape --export-embed-fonts --export-background=#ff --export-area-drawing 
--export-png=$pdfname 
$dianame
kuickshow $pdfname
##

HTH

SteveT
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: LyX + Graphics

2008-04-11 Thread Uwe Stöhr

Ed Sykes schrieb:


Just wondering about graphics + LyX...


Why are you wondering? For detailed questions, have a look at the EmbeddedObjects manual, also for 
the description of the different graphic formats.

Personally, I convert vector graphics to PDF.

regards Uwe


Re: LyX Graphics Distorted

2006-12-15 Thread Paul A. Rubin

Fuad Tabba wrote:
You're right, it is a BMP file but the LaTeX code does not have an 
extension
assocaited with te file. In LyX the file does have bmp as an extension, 
it's

the LaTeX output which doesn't. Where do you suggest I add the bmp? I
tried exporting it to LaTeX, adding the .bmp there and reimporting it with
the same result...

Thanks.



Ok, I've tracked down at least part of this.  For reasons I don't 
understand (bug? feature?), if you include a BMP file that resides in a 
directory other than the home of the LyX file, *and* if the path to it 
contains spaces, then LyX includes the extension in the emitted LaTeX 
code.  Otherwise, the extension is omitted.  Now that should not be a 
problem in general, since LyX automatically uses ImageMagick to generate 
an EPS version of the image file when using View-DVI (or View-PDF 
...), and LyX exports the .eps file along with the .tex file if you use 
File - Export - LaTeX.  At least it does for me.  So I suppose a 
reasonable question to ask at this point is whether you have ImageMagick 
installed (and whether it's either on your system command path or on 
LyX's Tools - Preferences... - Paths - PATH Prefix)?


/Paul



Re: LyX Graphics Distorted

2006-12-15 Thread Paul A. Rubin

Fuad Tabba wrote:
You're right, it is a BMP file but the LaTeX code does not have an 
extension
assocaited with te file. In LyX the file does have bmp as an extension, 
it's

the LaTeX output which doesn't. Where do you suggest I add the bmp? I
tried exporting it to LaTeX, adding the .bmp there and reimporting it with
the same result...

Thanks.



Ok, I've tracked down at least part of this.  For reasons I don't 
understand (bug? feature?), if you include a BMP file that resides in a 
directory other than the home of the LyX file, *and* if the path to it 
contains spaces, then LyX includes the extension in the emitted LaTeX 
code.  Otherwise, the extension is omitted.  Now that should not be a 
problem in general, since LyX automatically uses ImageMagick to generate 
an EPS version of the image file when using View-DVI (or View-PDF 
...), and LyX exports the .eps file along with the .tex file if you use 
File - Export - LaTeX.  At least it does for me.  So I suppose a 
reasonable question to ask at this point is whether you have ImageMagick 
installed (and whether it's either on your system command path or on 
LyX's Tools - Preferences... - Paths - PATH Prefix)?


/Paul



Re: LyX Graphics Distorted

2006-12-15 Thread Paul A. Rubin

Fuad Tabba wrote:
You're right, it is a BMP file but the LaTeX code does not have an 
extension
assocaited with te file. In LyX the file does have bmp as an extension, 
it's

the LaTeX output which doesn't. Where do you suggest I add the "bmp"? I
tried exporting it to LaTeX, adding the .bmp there and reimporting it with
the same result...

Thanks.



Ok, I've tracked down at least part of this.  For reasons I don't 
understand (bug? feature?), if you include a BMP file that resides in a 
directory other than the home of the LyX file, *and* if the path to it 
contains spaces, then LyX includes the extension in the emitted LaTeX 
code.  Otherwise, the extension is omitted.  Now that should not be a 
problem in general, since LyX automatically uses ImageMagick to generate 
an EPS version of the image file when using View->DVI (or View->PDF 
...), and LyX exports the .eps file along with the .tex file if you use 
File -> Export -> LaTeX.  At least it does for me.  So I suppose a 
reasonable question to ask at this point is whether you have ImageMagick 
installed (and whether it's either on your system command path or on 
LyX's Tools -> Preferences... -> Paths -> PATH Prefix)?


/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Bob Lounsbury


On Dec 13, 2006, at 9:04 PM, Fuad Tabba wrote:


Hi,

I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a  
graphic (bmp
to be specific) it looks fine under the editor itself, however, all  
the
outputs (dvi and pfd) the graphics are resized and distorted. I  
haven't
changed any of the values from the default (scaling is at 100%).  
What am I

missing?

Cheers,
/Fuad



I had a similar problem, where the picture size was different  
depending on what pdf conversion method I chose.


Anyway, the problem was with the default Scale% option. If I  
changed it to anything else like text% or Col% there were no more  
variations in the pdf or dvi output of the graphic.


Bob Lounsbury 


Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

Thanks for your reply.

The problem is when I use a different kind of scaling, say col% - if I set
it to 100% then the graphic spans the whole column. Isn't there a way that
images would go into the final output with their original dimentions - that
no scaling gets done?

Cheers,
/Fuad

On 12/15/06, Bob Lounsbury [EMAIL PROTECTED] wrote:



On Dec 13, 2006, at 9:04 PM, Fuad Tabba wrote:

 Hi,

 I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a
 graphic (bmp
 to be specific) it looks fine under the editor itself, however, all
 the
 outputs (dvi and pfd) the graphics are resized and distorted. I
 haven't
 changed any of the values from the default (scaling is at 100%).
 What am I
 missing?

 Cheers,
 /Fuad


I had a similar problem, where the picture size was different
depending on what pdf conversion method I chose.

Anyway, the problem was with the default Scale% option. If I
changed it to anything else like text% or Col% there were no more
variations in the pdf or dvi output of the graphic.

Bob Lounsbury



Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

Thanks for your reply.

The problem is when I use a different kind of scaling, say col% - if I set
it to 100% then the graphic spans the whole column. Isn't there a way that
images would go into the final output with their original dimentions - that
no scaling gets done?

Cheers,
/Fuad



That can get to be an adventure if the original scaling doesn't fit the 
page margins.  However, I believe setting 100 'Scale%' should use the 
original size.


Are you checking Maintain aspect ratio?

/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

Maintain aspect ratio is checked; moreover, the original should fit
comfortably within the page margins. As a matter of fact, LyX is scaling it
up not down most of the time. At times other graphics are being scaled down
even though they also fit comfortable within the page margins.

Thanks,
/Fuad

On 12/15/06, Paul A. Rubin [EMAIL PROTECTED] wrote:


Fuad Tabba wrote:
 Thanks for your reply.

 The problem is when I use a different kind of scaling, say col% - if I
set
 it to 100% then the graphic spans the whole column. Isn't there a way
that
 images would go into the final output with their original dimentions -
that
 no scaling gets done?

 Cheers,
 /Fuad


That can get to be an adventure if the original scaling doesn't fit the
page margins.  However, I believe setting 100 'Scale%' should use the
original size.

Are you checking Maintain aspect ratio?

/Paul




Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

Maintain aspect ratio is checked; moreover, the original should fit
comfortably within the page margins. As a matter of fact, LyX is scaling it
up not down most of the time. At times other graphics are being scaled down
even though they also fit comfortable within the page margins.

Thanks,
/Fuad



Seems odd that LyX would scale up without being told to.  If you export 
the document to LaTeX, what does the \includegraphics command look like? 
 (By the way, if you define a viewer for the LaTeX file type, you can 
then View-LaTeX to see without having to export.)


Cheers,
/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

It's (in the context of a figure):-

\begin{figure}
\includegraphics[keepaspectratio]{My-Graphics}


\caption{\label{fig:-Graphics} Caption text.}
\end{figure}


On 12/15/06, Paul A. Rubin [EMAIL PROTECTED] wrote:


Fuad Tabba wrote:
 Maintain aspect ratio is checked; moreover, the original should fit
 comfortably within the page margins. As a matter of fact, LyX is scaling
it
 up not down most of the time. At times other graphics are being scaled
down
 even though they also fit comfortable within the page margins.

 Thanks,
 /Fuad


Seems odd that LyX would scale up without being told to.  If you export
the document to LaTeX, what does the \includegraphics command look like?
  (By the way, if you define a viewer for the LaTeX file type, you can
then View-LaTeX to see without having to export.)

Cheers,
/Paul




Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

It's (in the context of a figure):-

\begin{figure}
\includegraphics[keepaspectratio]{My-Graphics}


\caption{\label{fig:-Graphics} Caption text.}
\end{figure}




That's what it should be (assuming the file name is correct), so the 
issue would seem to be with LaTeX (or the image file) and not with LyX.


The file name above has no extension.  You indicated in your original 
message that the image is a BMP file, but I think (not sure) that 
includegraphics assumes EPS unless you provide an extension directly or 
via a \DeclareGraphicsRule command in the preamble.


If the image file does not have an exception, does tacking .bmp on make 
a difference in the result?


/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

You're right, it is a BMP file but the LaTeX code does not have an extension
assocaited with te file. In LyX the file does have bmp as an extension, it's
the LaTeX output which doesn't. Where do you suggest I add the bmp? I
tried exporting it to LaTeX, adding the .bmp there and reimporting it with
the same result...

Thanks.

On 12/15/06, Paul A. Rubin [EMAIL PROTECTED] wrote:


Fuad Tabba wrote:
 It's (in the context of a figure):-

 \begin{figure}
 \includegraphics[keepaspectratio]{My-Graphics}


 \caption{\label{fig:-Graphics} Caption text.}
 \end{figure}



That's what it should be (assuming the file name is correct), so the
issue would seem to be with LaTeX (or the image file) and not with LyX.

The file name above has no extension.  You indicated in your original
message that the image is a BMP file, but I think (not sure) that
includegraphics assumes EPS unless you provide an extension directly or
via a \DeclareGraphicsRule command in the preamble.

If the image file does not have an exception, does tacking .bmp on make
a difference in the result?

/Paul




Re: LyX Graphics Distorted

2006-12-14 Thread Bob Lounsbury


On Dec 13, 2006, at 9:04 PM, Fuad Tabba wrote:


Hi,

I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a  
graphic (bmp
to be specific) it looks fine under the editor itself, however, all  
the
outputs (dvi and pfd) the graphics are resized and distorted. I  
haven't
changed any of the values from the default (scaling is at 100%).  
What am I

missing?

Cheers,
/Fuad



I had a similar problem, where the picture size was different  
depending on what pdf conversion method I chose.


Anyway, the problem was with the default Scale% option. If I  
changed it to anything else like text% or Col% there were no more  
variations in the pdf or dvi output of the graphic.


Bob Lounsbury 


Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

Thanks for your reply.

The problem is when I use a different kind of scaling, say col% - if I set
it to 100% then the graphic spans the whole column. Isn't there a way that
images would go into the final output with their original dimentions - that
no scaling gets done?

Cheers,
/Fuad

On 12/15/06, Bob Lounsbury [EMAIL PROTECTED] wrote:



On Dec 13, 2006, at 9:04 PM, Fuad Tabba wrote:

 Hi,

 I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a
 graphic (bmp
 to be specific) it looks fine under the editor itself, however, all
 the
 outputs (dvi and pfd) the graphics are resized and distorted. I
 haven't
 changed any of the values from the default (scaling is at 100%).
 What am I
 missing?

 Cheers,
 /Fuad


I had a similar problem, where the picture size was different
depending on what pdf conversion method I chose.

Anyway, the problem was with the default Scale% option. If I
changed it to anything else like text% or Col% there were no more
variations in the pdf or dvi output of the graphic.

Bob Lounsbury



Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

Thanks for your reply.

The problem is when I use a different kind of scaling, say col% - if I set
it to 100% then the graphic spans the whole column. Isn't there a way that
images would go into the final output with their original dimentions - that
no scaling gets done?

Cheers,
/Fuad



That can get to be an adventure if the original scaling doesn't fit the 
page margins.  However, I believe setting 100 'Scale%' should use the 
original size.


Are you checking Maintain aspect ratio?

/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

Maintain aspect ratio is checked; moreover, the original should fit
comfortably within the page margins. As a matter of fact, LyX is scaling it
up not down most of the time. At times other graphics are being scaled down
even though they also fit comfortable within the page margins.

Thanks,
/Fuad

On 12/15/06, Paul A. Rubin [EMAIL PROTECTED] wrote:


Fuad Tabba wrote:
 Thanks for your reply.

 The problem is when I use a different kind of scaling, say col% - if I
set
 it to 100% then the graphic spans the whole column. Isn't there a way
that
 images would go into the final output with their original dimentions -
that
 no scaling gets done?

 Cheers,
 /Fuad


That can get to be an adventure if the original scaling doesn't fit the
page margins.  However, I believe setting 100 'Scale%' should use the
original size.

Are you checking Maintain aspect ratio?

/Paul




Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

Maintain aspect ratio is checked; moreover, the original should fit
comfortably within the page margins. As a matter of fact, LyX is scaling it
up not down most of the time. At times other graphics are being scaled down
even though they also fit comfortable within the page margins.

Thanks,
/Fuad



Seems odd that LyX would scale up without being told to.  If you export 
the document to LaTeX, what does the \includegraphics command look like? 
 (By the way, if you define a viewer for the LaTeX file type, you can 
then View-LaTeX to see without having to export.)


Cheers,
/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

It's (in the context of a figure):-

\begin{figure}
\includegraphics[keepaspectratio]{My-Graphics}


\caption{\label{fig:-Graphics} Caption text.}
\end{figure}


On 12/15/06, Paul A. Rubin [EMAIL PROTECTED] wrote:


Fuad Tabba wrote:
 Maintain aspect ratio is checked; moreover, the original should fit
 comfortably within the page margins. As a matter of fact, LyX is scaling
it
 up not down most of the time. At times other graphics are being scaled
down
 even though they also fit comfortable within the page margins.

 Thanks,
 /Fuad


Seems odd that LyX would scale up without being told to.  If you export
the document to LaTeX, what does the \includegraphics command look like?
  (By the way, if you define a viewer for the LaTeX file type, you can
then View-LaTeX to see without having to export.)

Cheers,
/Paul




Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

It's (in the context of a figure):-

\begin{figure}
\includegraphics[keepaspectratio]{My-Graphics}


\caption{\label{fig:-Graphics} Caption text.}
\end{figure}




That's what it should be (assuming the file name is correct), so the 
issue would seem to be with LaTeX (or the image file) and not with LyX.


The file name above has no extension.  You indicated in your original 
message that the image is a BMP file, but I think (not sure) that 
includegraphics assumes EPS unless you provide an extension directly or 
via a \DeclareGraphicsRule command in the preamble.


If the image file does not have an exception, does tacking .bmp on make 
a difference in the result?


/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

You're right, it is a BMP file but the LaTeX code does not have an extension
assocaited with te file. In LyX the file does have bmp as an extension, it's
the LaTeX output which doesn't. Where do you suggest I add the bmp? I
tried exporting it to LaTeX, adding the .bmp there and reimporting it with
the same result...

Thanks.

On 12/15/06, Paul A. Rubin [EMAIL PROTECTED] wrote:


Fuad Tabba wrote:
 It's (in the context of a figure):-

 \begin{figure}
 \includegraphics[keepaspectratio]{My-Graphics}


 \caption{\label{fig:-Graphics} Caption text.}
 \end{figure}



That's what it should be (assuming the file name is correct), so the
issue would seem to be with LaTeX (or the image file) and not with LyX.

The file name above has no extension.  You indicated in your original
message that the image is a BMP file, but I think (not sure) that
includegraphics assumes EPS unless you provide an extension directly or
via a \DeclareGraphicsRule command in the preamble.

If the image file does not have an exception, does tacking .bmp on make
a difference in the result?

/Paul




Re: LyX Graphics Distorted

2006-12-14 Thread Bob Lounsbury


On Dec 13, 2006, at 9:04 PM, Fuad Tabba wrote:


Hi,

I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a  
graphic (bmp
to be specific) it looks fine under the editor itself, however, all  
the
outputs (dvi and pfd) the graphics are resized and distorted. I  
haven't
changed any of the values from the default (scaling is at 100%).  
What am I

missing?

Cheers,
/Fuad



I had a similar problem, where the picture size was different  
depending on what pdf conversion method I chose.


Anyway, the problem was with the default "Scale%" option. If I  
changed it to anything else like "text%" or "Col%" there were no more  
variations in the pdf or dvi output of the graphic.


Bob Lounsbury 


Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

Thanks for your reply.

The problem is when I use a different kind of scaling, say col% - if I set
it to 100% then the graphic spans the whole column. Isn't there a way that
images would go into the final output with their original dimentions - that
no scaling gets done?

Cheers,
/Fuad

On 12/15/06, Bob Lounsbury <[EMAIL PROTECTED]> wrote:



On Dec 13, 2006, at 9:04 PM, Fuad Tabba wrote:

> Hi,
>
> I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a
> graphic (bmp
> to be specific) it looks fine under the editor itself, however, all
> the
> outputs (dvi and pfd) the graphics are resized and distorted. I
> haven't
> changed any of the values from the default (scaling is at 100%).
> What am I
> missing?
>
> Cheers,
> /Fuad


I had a similar problem, where the picture size was different
depending on what pdf conversion method I chose.

Anyway, the problem was with the default "Scale%" option. If I
changed it to anything else like "text%" or "Col%" there were no more
variations in the pdf or dvi output of the graphic.

Bob Lounsbury



Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

Thanks for your reply.

The problem is when I use a different kind of scaling, say col% - if I set
it to 100% then the graphic spans the whole column. Isn't there a way that
images would go into the final output with their original dimentions - that
no scaling gets done?

Cheers,
/Fuad



That can get to be an adventure if the original scaling doesn't fit the 
page margins.  However, I believe setting 100 'Scale%' should use the 
original size.


Are you checking "Maintain aspect ratio"?

/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

Maintain aspect ratio is checked; moreover, the original should fit
comfortably within the page margins. As a matter of fact, LyX is scaling it
up not down most of the time. At times other graphics are being scaled down
even though they also fit comfortable within the page margins.

Thanks,
/Fuad

On 12/15/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:


Fuad Tabba wrote:
> Thanks for your reply.
>
> The problem is when I use a different kind of scaling, say col% - if I
set
> it to 100% then the graphic spans the whole column. Isn't there a way
that
> images would go into the final output with their original dimentions -
that
> no scaling gets done?
>
> Cheers,
> /Fuad
>

That can get to be an adventure if the original scaling doesn't fit the
page margins.  However, I believe setting 100 'Scale%' should use the
original size.

Are you checking "Maintain aspect ratio"?

/Paul




Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

Maintain aspect ratio is checked; moreover, the original should fit
comfortably within the page margins. As a matter of fact, LyX is scaling it
up not down most of the time. At times other graphics are being scaled down
even though they also fit comfortable within the page margins.

Thanks,
/Fuad



Seems odd that LyX would scale up without being told to.  If you export 
the document to LaTeX, what does the \includegraphics command look like? 
 (By the way, if you define a viewer for the LaTeX file type, you can 
then View->LaTeX to see without having to export.)


Cheers,
/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

It's (in the context of a figure):-

\begin{figure}
\includegraphics[keepaspectratio]{My-Graphics}


\caption{\label{fig:-Graphics} Caption text.}
\end{figure}


On 12/15/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:


Fuad Tabba wrote:
> Maintain aspect ratio is checked; moreover, the original should fit
> comfortably within the page margins. As a matter of fact, LyX is scaling
it
> up not down most of the time. At times other graphics are being scaled
down
> even though they also fit comfortable within the page margins.
>
> Thanks,
> /Fuad
>

Seems odd that LyX would scale up without being told to.  If you export
the document to LaTeX, what does the \includegraphics command look like?
  (By the way, if you define a viewer for the LaTeX file type, you can
then View->LaTeX to see without having to export.)

Cheers,
/Paul




Re: LyX Graphics Distorted

2006-12-14 Thread Paul A. Rubin

Fuad Tabba wrote:

It's (in the context of a figure):-

\begin{figure}
\includegraphics[keepaspectratio]{My-Graphics}


\caption{\label{fig:-Graphics} Caption text.}
\end{figure}




That's what it should be (assuming the file name is correct), so the 
issue would seem to be with LaTeX (or the image file) and not with LyX.


The file name above has no extension.  You indicated in your original 
message that the image is a BMP file, but I think (not sure) that 
includegraphics assumes EPS unless you provide an extension directly or 
via a \DeclareGraphicsRule command in the preamble.


If the image file does not have an exception, does tacking .bmp on make 
a difference in the result?


/Paul



Re: LyX Graphics Distorted

2006-12-14 Thread Fuad Tabba

You're right, it is a BMP file but the LaTeX code does not have an extension
assocaited with te file. In LyX the file does have bmp as an extension, it's
the LaTeX output which doesn't. Where do you suggest I add the "bmp"? I
tried exporting it to LaTeX, adding the .bmp there and reimporting it with
the same result...

Thanks.

On 12/15/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:


Fuad Tabba wrote:
> It's (in the context of a figure):-
>
> \begin{figure}
> \includegraphics[keepaspectratio]{My-Graphics}
>
>
> \caption{\label{fig:-Graphics} Caption text.}
> \end{figure}
>
>

That's what it should be (assuming the file name is correct), so the
issue would seem to be with LaTeX (or the image file) and not with LyX.

The file name above has no extension.  You indicated in your original
message that the image is a BMP file, but I think (not sure) that
includegraphics assumes EPS unless you provide an extension directly or
via a \DeclareGraphicsRule command in the preamble.

If the image file does not have an exception, does tacking .bmp on make
a difference in the result?

/Paul




LyX Graphics Distorted

2006-12-13 Thread Fuad Tabba

Hi,

I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a graphic (bmp
to be specific) it looks fine under the editor itself, however, all the
outputs (dvi and pfd) the graphics are resized and distorted. I haven't
changed any of the values from the default (scaling is at 100%). What am I
missing?

Cheers,
/Fuad


LyX Graphics Distorted

2006-12-13 Thread Fuad Tabba

Hi,

I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a graphic (bmp
to be specific) it looks fine under the editor itself, however, all the
outputs (dvi and pfd) the graphics are resized and distorted. I haven't
changed any of the values from the default (scaling is at 100%). What am I
missing?

Cheers,
/Fuad


LyX Graphics Distorted

2006-12-13 Thread Fuad Tabba

Hi,

I'm using Lyx 1.4.3-4 for Windows. Anyway, when I insert add a graphic (bmp
to be specific) it looks fine under the editor itself, however, all the
outputs (dvi and pfd) the graphics are resized and distorted. I haven't
changed any of the values from the default (scaling is at 100%). What am I
missing?

Cheers,
/Fuad


lyx + graphics

2006-11-29 Thread Bill Wood
This is a partial LyX/partial LaTeX question:  How can I get a graphic
built using PStricks into a float in LyX?

Thanks,

 -- Bill Wood




lyx + graphics

2006-11-29 Thread Bill Wood
This is a partial LyX/partial LaTeX question:  How can I get a graphic
built using PStricks into a float in LyX?

Thanks,

 -- Bill Wood




lyx + graphics

2006-11-29 Thread Bill Wood
This is a partial LyX/partial LaTeX question:  How can I get a graphic
built using PStricks into a float in LyX?

Thanks,

 -- Bill Wood