Thanks much.  I'll get to this, and let you know how it works out.

Being in California, I'll have to end this mornings computing, and
seek the benefits of slumber.

wrb

> -----Original Message-----
> From: Dominik Böhm [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 20, 2008 2:30 AM
> To: [EMAIL PROTECTED]
> Cc: LyX User
> Subject: Re: WRB - Problems with LaTeX
> 
> On Thu, Mar 20, 2008 at 10:09 AM, William R. Buckley 
> <[EMAIL PROTECTED]> wrote:
> > I've tried, and had some difficulties working with the 
> interface.  It 
> > is  probably just differences in the way things are done, versus 
> > Ventura  Publisher.  So, acquiring new interface skills slows the 
> > process for  getting the paper out.
> >
> >  Right now, my big problem is scaling of a PDF graphic image.  So  
> > far, I can get it either in a horribly small form, or it 
> takes all of 
> > its  own page, even if it is still in a horribly small form.  I've 
> > been reading  the graphics package but, haven't found good examples 
> > for what I  want to do.
> >
> >  I am not really interested in re-drawing the graphics for 
> the paper.
> >  Since PDF importation works, I'd like to use it.  Ventura 
> will easily  
> > prepare the PDFs.  What I need to understand is how to 
> properly  scale 
> > those images, and place them so that they are neighborly  
> with regard 
> > to surrounding text and images.
> >
> >  The current text of the tex file contains this snippet:
> >
> >  \begin{figure}
> >  \centering
> >  \scalebox{1}{\includegraphics*[width=1\textwidth, 
> totalheight=300pt] 
> > {figure1.pdf}}  \label{Figure 1.  An active 
> sub-configuration s' which 
> > is identical to its  state transition, F(s') = s', classifiable as 
> > passive or  active, depending  upon applied metric.  No 
> other figure 
> > shows signa, as this figure does.}  \end{figure}
> >
> >  Also, I don't understand why the text in the \label{} 
> command does  
> > not show up as a caption.  More newbie-itis I suppose.
> 
> The label only provides for an (internal) reference anchor 
> that you can use in an \ref{} command. The caption maybe (and 
> usually is) totally different from the label.
> 
> For figures I usually use labels like "fig:section-short-figure-name".
> Inside a text you can reference it via
> "\ref{fig:section-short-figure-name}". If you change the 
> caption afterwards, you don't need to change the label.
> 
> As LyX generates the LaTeX code for me, I am not sure how the 
> exact LaTeX syntax for scaling is. I usually use .svg-files 
> that are converted by LyX to cropped pdf files. LyX includes 
> those pdf files (with some meta information about the 
> scaling) into the generated LaTeX code while LaTeX makes sure 
> everything is scaled right.
> 
> Please find two files attached:
> 1. figure.tex -- That's the LaTeX file LyX generates on the 
> fly. Maybe you can see how including figures and scaling works...
> 2. include-figure.pdf -- That's the included pdf file (that 
> was converted from an svg file)
> 
> If you want to compile the file to see, how the result looks 
> like, execute "pdflatex figure.tex" twice.
> 
> Dominik
> 

Reply via email to