Re: Logo Not Displaying ... Still

2009-05-05 Thread Rich Shepard

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

Exporting to a .tex file (pdflatex) and either using an absolute path for the 
image or putting it in the same directory as the .tex file works here, to the 
extent that the "institution-logo" thing goes away and I get an itsy-bitsy 
logo image (or a decent size one if I substitute a different version of the 
image file, either PNG or PDF).


Paul,

  Serious issues have come up and I've not experienced anything like them
before.

  When I use View->pdflatex I can see the logo on each slide after the
first. Now that I finished the presentation, I used File->Export->pdflatex
to produce a .pdf on disk. Viewing that with both xpdf and acroread, the
logo is not seen; I'm back to "institution-logo" across the box. Why? Why
does viewing with pdflatex work but not exporting that way?

  So, I went to CTAN and grabbed all the files in the directory with pdf.sty
and copied those over the existing files in both
/usr/share/texmf/tex/latex/pgf-1.00/latex/pgf/basiclayer/ and
/usr/share/texmf/tex/latex/pgf/. Now I cannot view or export to plain LaTeX,
pdflatex, or anything.

  Don't know how I got the system so FUBAR, but I need to fix it quickly.

  Anyone with ideas?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Logo Not Displaying ... Still

2009-05-03 Thread Paul A. Rubin

Rich Shepard wrote:



  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.



Exporting to a .tex file (pdflatex) and either using an absolute path 
for the image or putting it in the same directory as the .tex file works 
here, to the extent that the "institution-logo" thing goes away and I 
get an itsy-bitsy logo image (or a decent size one if I substitute a 
different version of the image file, either PNG or PDF).  I can't 
imagine why that wouldn't work for you, although I did find a bug report 
that indicated some unfortunate user had an old version of pgf.sty lying 
around that was being picked up in preference to the more recent one. 
Somewhere buried in the LaTeX log file I think you'll find the version 
number/date of pgf.sty.  (Mine is v 1.12 2008/01/15, which is what was 
mentioned in the follow-up to the bug report as the correct version.) 
The poster there said he hosed the older directory, ran texhash and 
fixed the problem.


Enjoy the trip.

/Paul



Re: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

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.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Logo Not Displaying ... Still

2009-05-03 Thread Paul A. Rubin

Rich Shepard wrote:

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

Ok, I don't have an answer to why you get the "institution-logo" 
overprint

(I did here too), but I have a workaround.  Replace your two LaTeX
commands for the image with

\logo{\includegraphics[bb=0in 9.5in 2.6in 11in, clip,
\height=0.5cm]{aesi-logo.pdf}}

and see if that helps.


Paul,

  Yes, it does. Thank you. I'd still like to understand what's broken with
the suggested code.

Rich



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

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.


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.}


and 

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).


/Paul



Re: SV: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

On Sun, 3 May 2009, Ingar Pareliussen wrote:


I do not know what is the problem with pdf, beamer and logos, however, I
have no problem using a jpg as a logo in my beamer presentations. I put in
ERT on the title slide just before the first end-slide:
\logo{\includegraphics[height=0.9cm]{/pwd/full/logo.jpg}} And it appears
on every slide (except the title slide).


Ingar,

  Thank you for the information. For whatever the reason, no format works
here with the pdfgraphics syntax. Your syntax also works with other formats,
including .pdf.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


SV: Logo Not Displaying ... Still

2009-05-03 Thread Ingar Pareliussen
Hi,

I do not know what is the problem with pdf, beamer and logos, however, I have 
no problem using a jpg as a logo in my beamer presentations. I put in ERT on 
the title slide just before the first end-slide: 
\logo{\includegraphics[height=0.9cm]{/pwd/full/logo.jpg}} And it appears on 
every slide (except the title slide).

Ingar



Re: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

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


Ok, I don't have an answer to why you get the "institution-logo" overprint
(I did here too), but I have a workaround.  Replace your two LaTeX
commands for the image with

\logo{\includegraphics[bb=0in 9.5in 2.6in 11in, clip,
\height=0.5cm]{aesi-logo.pdf}}

and see if that helps.


Paul,

  Yes, it does. Thank you. I'd still like to understand what's broken with
the suggested code.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

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


\logo{\includegraphics[bb=0in 9.5in 2.6in 11in, clip, 
height=0.5cm]{aesi-logo.pdf}}
and see if that helps.


Paul,

  When I commented out the original two lines and added the above, it would
not run pdflatex to create a view. After a second it quit. No log file. I'll
try exporting as .tex and running pdflatex on it to see if I can find an
error message.

Sigh,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Logo Not Displaying ... Still

2009-05-03 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> It is in the pwd with the .lyx files.

Then, giving simply the file name will not work.

Jürgen


Re: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

On Sun, 3 May 2009, J?rgen Spitzm?ller wrote:


where is that file aesi-logo.pdf stored? Since LyX compiles your file in a
temporary directory, you must either


  It is in the pwd with the .lyx files.

  Even when I provide the full path (which I had done before trying
yesterday it with the assumption of the pwd), it makes no difference.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Logo Not Displaying ... Still

2009-05-03 Thread Paul A. Rubin
Ok, I don't have an answer to why you get the "institution-logo" 
overprint (I did here too), but I have a workaround.  Replace your two 
LaTeX commands for the image with


\logo{\includegraphics[bb=0in 9.5in 2.6in 11in, clip, 
height=0.5cm]{aesi-logo.pdf}}


and see if that helps.

/Paul



Re: Logo Not Displaying ... Still

2009-05-03 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> \pgfdeclareimage[height=0.5cm]{institution-logo}{aesi-logo.pdf}
> \logo{\pgfuseimage{institution-logo}}

where is that file aesi-logo.pdf stored? Since LyX compiles your file in a 
temporary directory, you must either

* store it somewhere where TeX can find it (i.e., in texmf/)
* give a full path, e.g. 

\pgfdeclareimage[height=0.5cm]{institution-logo}{/home/rich/aesi-logo.pdf}
* put the following in the preamble: \def\in...@path{{/path/to/the/lyx/file}}

Jürgen


Re: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

On Sun, 3 May 2009, Abdelrazak Younes wrote:


Pretty standard keyboard way: Shift+PageUp/Down or ArrowUp/Down.
You can also use Shift+left mouse click.


Abdel,

  Huh! I must have been pressing ctrl-PgDn instead of shift-PgDn.

  The shift-left mouse click is too slow as I have to move the cursor in and
out of the frame to get the text to scroll.

Thanks for the reminder,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

On Sun, 3 May 2009, Rich Shepard wrote:


 Small file attached. Logo to follow on separate message as total size
(even when tarred and gzipped) exceeds MLM message size of 6 bytes.


  Aw, rats. Message still too large. I put a copy (temporarily) of the logo
on our web site. You can use wget to download it from
.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Logo Not Displaying ... Still

2009-05-03 Thread Abdelrazak Younes

On 03/05/2009 17:32, Rich Shepard wrote:

BTW, on a related issue, how can I use the keyboard to mark a large block
of text?


Pretty standard keyboard way: Shift+PageUp/Down or ArrowUp/Down.
You can also use Shift+left mouse click.

Abdel.



Re: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

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


Mine display on the title slide, but I use a somewhat different approach.


  I think that mine used to display on the title slide, too. It's been a
while since I created a presentation so I cannot be certain of what changed
when.


That coupled with the printing of the internal image name makes me think
that beamer can't find the actual image file (or thinks it can't find it). 
I'll second Juergen on this: can you post a stripped document (maybe just

title slide and first content slide) plus the image file?


  It looks that way, but specifying the full path doesn't help either
(that's how it used to be).

  Small file attached. Logo to follow on separate message as total size
(even when tarred and gzipped) exceeds MLM message size of 6 bytes.

  BTW, on a related issue, how can I use the keyboard to mark a large block
of text? I cannot find this in the users guide (under selecting text) nor
can I find a keyboard shortcut to do the job. My trackball doesn't have a
wheel and trying to block a large amount of the display is a slow and
painful process because the document does not automatically scroll when the
cursor is at the bottom of the frame.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863#LyX 1.6.2 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass beamer
\begin_preamble
\date{}
\usepackage{pgfpages}
\usetheme{JuanLesPins}
\useinnertheme{circles}
\useoutertheme{smoothtree}
\usecolortheme{crane}
\setbeamercovered{transparent}
%\hypersetup{bookmarksopen=false,pdfpagemode=FullScreen}
\usepackage{graphicx,relsize}
\end_preamble
\use_default_options false
\language english
\inputencoding auto
\font_roman palatino
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 2
\use_esint 0
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Title
Environmental Impact Assessment
\end_layout

\begin_layout Subtitle
Workshops in Perth & Melbourne, Australia
\end_layout

\begin_layout Author

\size small
Applied Ecosystem Services, Inc.
\begin_inset Newline newline
\end_inset

Troutdale, OR
\size default

\begin_inset Newline newline
\end_inset


\size scriptsize
(Copyright 
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
copyright
\end_layout

\end_inset

 2009 
\noun on
Applied Ecosystem Services, Inc
\noun default
.)
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
pgfdeclareimage[height=0.5cm]{institution-logo}{aesi-logo.pdf}
\end_layout

\begin_layout Plain Layout

\end_layout

\begin_layout Plain Layout


\backslash
logo{
\backslash
pgfuseimage{institution-logo}}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

%
\backslash
beamerdefaultoverlayspecification{<+->}
\end_layout

\end_inset


\end_layout

\begin_layout Section
Overview
\end_layout

\begin_layout Subsection
Introduction
\end_layout

\begin_layout BeginFrame
Purpose
\end_layout

\begin_layout Itemize
Humans have altered natural systems throughout history.
\end_layout

\begin_layout Itemize
In 1960s---1970s more awareness of human impacts.
\end_layout

\begin_layout Itemize
Little science involved in laws and regulations.
\end_layout

\begin_layout Itemize
Expression of values and beliefs.
\end_layout

\begin_layout Itemize
Objective: become aware of the less-obvious issues and factors.
\end_layout

\begin_layout Itemize
Goal: have you think about process, not do by rote.
\end_layout

\begin_layout EndFrame

\end_layout

\end_body
\end_document


Re: Logo Not Displaying ... Still

2009-05-03 Thread Paul A. Rubin

Rich Shepard wrote:

  Last Wednesday I posted a message to the beamer-linux-users mail list on
sourceforge.net and have not seen a response to it, or any other post to
that mail list.

  I'm back in the grove using the beamer class but still cannot get the 
logo

to display on each slide. (It doesn't display on the title slide, but that
is normal as I recall.)


Mine display on the title slide, but I use a somewhat different approach.


  I'd greatly appreciate some more thoughts on how to identify the problem.
The code I'm using matches what is required based on the user's guide, and
it does work for others here. Why it's not working here is what I need to
learn.


That coupled with the printing of the internal image name makes me think 
that beamer can't find the actual image file (or thinks it can't find 
it).  I'll second Jürgen on this: can you post a stripped document 
(maybe just title slide and first content slide) plus the image file?


  The logo, like all the images in this presentation, are in .pdf format 
and

I use pdflatex to view and export the developing document. It's quite
frustrating as this is the last issue I need to resolve.



FWIW, I hacked a few of the beamer style files to create a style for my 
class slides.  Most of the changes are probably stuff you would have no 
interest in, but the changes to the beamerthemeWhatever.sty files 
included declaring a couple of image files, one used as a watermark just 
on the title slide, the other tucked into the lower right of every slide 
(including the title slide).  If you're going to use the same theme, 
same logo for multiple presentations, creating your own theme is 
probably worth the modest amount of effort.  Incidentally, I put the 
hacked theme files in my local texmf tree, including the image files, 
which obviates the need for path information when I load them.


If you want to see my hacks, let me know.

/Paul



Re: Logo Not Displaying ... Still

2009-05-03 Thread Rich Shepard

On Sun, 3 May 2009, Juergen Spitzm?ller wrote:


How do you include the image? Do you use \pgfdeclareimage?
An example file would probably be enlighting.


Juergen,

  My apologies for not including this in the original message:

\pgfdeclareimage[height=0.5cm]{institution-logo}{aesi-logo.pdf}
\logo{\pgfuseimage{institution-logo}}

  The above is copied and pasted directly from the document. At the
suggestion of someone here I added to the preamble \usepackage{pgfpages}
which I've not done before. Makes no positive difference.

  The document I copied for the new presentation (finalized Aug 2, 2006)
uses the same structure, and that built the pdf so the logo displays
correctly.

  I don't know that this is related, but previous versions of documents I
created with LyX have the ERT in collapsed grey boxes. These new documents
have them all expanded with red outlines. This seems to be the say 1.6.2
displays the embedded LaTeX.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Logo Not Displaying ... Still

2009-05-03 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> There is a sample page attached that shows how the box and text are
> displayed rather than the image itself.

How do you include the image? Do you use \pgfdeclareimage?

An example file would probably be enlighting.

Jürgen


Logo Not Displaying ... Still

2009-05-02 Thread Rich Shepard

  Last Wednesday I posted a message to the beamer-linux-users mail list on
sourceforge.net and have not seen a response to it, or any other post to
that mail list.

  I'm back in the grove using the beamer class but still cannot get the logo
to display on each slide. (It doesn't display on the title slide, but that
is normal as I recall.)

  I'd greatly appreciate some more thoughts on how to identify the problem.
The code I'm using matches what is required based on the user's guide, and
it does work for others here. Why it's not working here is what I need to
learn.

  The logo, like all the images in this presentation, are in .pdf format and
I use pdflatex to view and export the developing document. It's quite
frustrating as this is the last issue I need to resolve.

  There is a sample page attached that shows how the box and text are
displayed rather than the image itself.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

visuals.pdf
Description: Adobe PDF document