On Sun, 3 May 2009, Paul A. Rubin wrote:

Ok, I think I've got this sorted out.  Three things:

  Thanks, Paul. I wish I had the time to dig deeply into LaTeX, LyX, and
PSTricks.

1. If you move the LaTeX code to a standard environment above the title, you'll get the logo on the title page as well as on the slides.

  OK. Makes sense now that I think about it.

2.  The \pgfdeclareimage command does not appear to accept clipping and
bounding arguments, so if you want to use that, you'll need to redo the
image in a way that fills up the page it's drawn on in the source
document.  (There may be some sneaky way to bound and clip with
\pgfdeclareimage, but I haven't yet found the docs for it, so all I know
is that it rejects bounding box options if they're put in the same
optional argument where you have the height ... unless I'm munging the
syntax.}

  Perhaps it's that pdf files have bounding box arguments incorporated that
has caused the problems. In prior presentations I used the .eps form of the
logo, but that didn't work here, either.

3.  Your syntax is fine.  It will work (other than the clipping issue) if
you export a .tex file and run pdflatex manually. The reason for the
"institution-logo" text is indeed that, as I suspected, PGF can't find the
logo.  The reason it can't find the logo is that LyX is not copying the
image files to the temp buffer, because the image file is only mentioned
in a \pgfdeclareimage command, which LyX does not parse. If I make the
path absolute and then View -> PDF from LyX, it works (except that the
image is miniscule due to the clipping/bounding issue).

  That's interesting. Perhaps when I get back and have time I'll look more
deeply into this.

  In the View menu I have three pdf options: dvipdfm, pdflatex, and ps2pdf.
With the original syntax none of the three produce the logo. Also, exporting
to a .tex file using the pdflatex option rather than the plain TeX option
also doesn't work here.

Very much appreciated,

Rich

--
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

Reply via email to