Re: LyX Logo

2018-10-08 Thread Daniel

On 08/10/2018 16:39, Baris Erkus wrote:

Hello,

Attached is a logo of a driving school in Istanbul. Just surprised to 
see its familiarity with the LyX logo. :-D


BTW, does anybody know who the inventor of the LyX logo is?

Baris



In the credits it says

*Bernhard Psaier*
Designer of the LyX-Banner

Best,
Daniel



Re: scrltr2 logo issues resolved; new issues generated [FIXED]

2017-09-27 Thread Rich Shepard

On Wed, 27 Sep 2017, Rich Shepard wrote:


I just checked by loading letters from 2011 and 2013. In both cases when I
tried to display them error messages were presented. In one case, it did
not like the ERT of \newpage. Told me it was undefined.


  Found and fixed: the line spacing was changed from single to custom.
Changing it back fixed the line spacing issue and now it displays correctly
on screen, in preview, and compiled as a PDF.

  Whew! I certainly learned a lot from this. Thanks to everyone, especially
Jean-Marie.

Rich


Re: scrltr2 logo issues resolved; new issues generated

2017-09-27 Thread Rich Shepard

On Wed, 27 Sep 2017, Rich Shepard wrote:


I think I know why these issues have appeared this week when all previous
letters (and documents using the other KOMA-Script classes) worked as
expected: over the weekend I upgraded TeXLive from 2015 to 2017. There are
likely changes in there that are incompatible with the settings I used to
use. Possible?


  I just checked by loading letters from 2011 and 2013. In both cases when I
tried to display them error messages were presented. In one case, it did not
like the ERT of \newpage. Told me it was undefined.

Rich


Re: scrltr2 logo issues resolved; new issues generated

2017-09-27 Thread Rich Shepard

On Wed, 27 Sep 2017, Rich Shepard wrote:


It's not that simple. I commented out the second line (above) in the
preamble and the screen display as well as the preview has drastically
changed. Lines are displayed on top of each other and the signature
environment is not behaving as before.


  I think I know why these issues have appeared this week when all previous
letters (and documents using the other KOMA-Script classes) worked as
expected: over the weekend I upgraded TeXLive from 2015 to 2017. There are
likely changes in there that are incompatible with the settings I used to
use. Possible?

Rich


Re: scrltr2 logo issues resolved; new issues generated

2017-09-27 Thread Rich Shepard

On Wed, 27 Sep 2017, Jean-Marie Pacquet wrote:


It seems to me that you don't need the lco file: I created it to put all
your settings in it. Since you still have these settings after the call to
the lco, they are duplicated and I don't think it's a good idea.

Just remove these 2 lines:
%% Load an *.lco style file (see KOMA documentation)
\LoadLetterOption{Rich}%


Jean-Marie,

  It's not that simple. I commented out the second line (above) in the
preamble and the screen display as well as the preview has drastically
changed. Lines are displayed on top of each other and the signature
environment is not behaving as before.

  I'll need to look more closely at this this evening unless I can send you
the entire .lyx file off the mail list as it's proprietary business
information.

Thanks,

Rich


Re: scrltr2 logo issues resolved; new issues generated

2017-09-27 Thread Jean-Marie Pacquet
Le 27/09/2017 à 19:19, Rich Shepard a écrit :
>   Modifying the preamble and top of the body section in the .lyx file to
> properly display the logo, and matching the preamble to that of a document
> that has the proper letter element spacing has produced some new errors;
> see
> attached screenshot.
> 
>   When I open the file I get a message box with an error and some of the
> text at the top of the letter has incorrect line spacing so two lines are
> overlaid.
> 
>   Do I look in the .lco file, the preamble, or the .lyx file for what I
> broke?

Rich,

It seems to me that you don't need the lco file: I created it to put all
your settings in it. Since you still have these settings after the call
to the lco, they are duplicated and I don't think it's a good idea.

Just remove these 2 lines:
%% Load an *.lco style file (see KOMA documentation)
\LoadLetterOption{Rich}%

-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared [RESOLVED]

2017-09-27 Thread Rich Shepard

On Wed, 27 Sep 2017, Jean-Marie Pacquet wrote:


Just remove this line from your settings:
\firsthead{\centering\usekomavar{fromlogo}\hspace*{8cm}}


Jean-Marie,

  Yes, I should have seen that. You mentioned it in your last message.
Perhaps I need another mug of coffee?

  It's interesting that when I open mwe.lyx I get an error message about an
unknown 'default default' in the header, yet when I search for that double
string I find nothing. I'll ignore it for now.

Thanks again for your help and lessons,

Rich


Re: KOMA-letter-2: logo disappeared

2017-09-27 Thread Jean-Marie Pacquet
Le 27/09/2017 à 17:22, Rich Shepard a écrit :
>   I have a minimal non-working example file called mwe.lyx (copy attached,
> with llc-letterhead.pdf). I thought that I modified it to match your
> rich.lyx example (using two columns in emacs to compare files), yet the
> logo
> still displays too large on the lyx screen and does not appear when I
> preview the document. I have a larger preamble which formats the pages as
> I've used them for years. But, I am not seeing what I've missed that
> prevents the logo from displaying in the preview, or what is present that
> interferes with it.
> 
>   Please show me what I've missed.

Rich,

Just remove this line from your settings:

\firsthead{\centering\usekomavar{fromlogo}\hspace*{8cm}}

-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared

2017-09-27 Thread Persio Barros
Rich,


I can see in your .tex file in the the line 56, the command:


\includegraphics[bb=80bp 100bp 520bp 
240bp,clip,width=0.8\textwidth]{0_home_rshepard_documents_templates_llc-letterhead.eps}


The problem here is the "bb" option. The latest version of pdftex.def doesn't 
handle this option and leaves an empty box where the picture was supposed to be 
inserted.

This bug have been reported in this list some days ago.


I have managed to overcome this bug by inserting the following lines in the 
document preamble:


\def\GPT@warn{\@PackageWarning{pdftex.def}}%

\def\GPT@disable#1{%

\GPT@warn{%

Option `#1' is not supported, use\MessageBreak

option `viewport' instead%

}%

}

\def\GPT@fix{%

\begingroup\expandafter\expandafter\expandafter\endgroup

\expandafter\ifx\csname define@key\endcsname\relax

\else

\def\KV@Gin@bb{%

\GPT@warn{%

Option `bb' does not make sense,\MessageBreak

using `viewport' instead%

}%

\KV@Gin@viewport

}%

\define@key{Gin}{bbllx}{\GPT@disable{bbllx}}%

\define@key{Gin}{bblly}{\GPT@disable{bblly}}%

\define@key{Gin}{bburx}{\GPT@disable{bburx}}%

\define@key{Gin}{bbury}{\GPT@disable{bbury}}%

\define@key{Gin}{natwidth}{\GPT@disable{natwidth}}%

\define@key{Gin}{natheight}{\GPT@disable{natheight}}%

\fi

}

\AtBeginDocument{\GPT@fix}


Persio



Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Paul A. Rubin wrote:


Too many acronyms make the mind acronumb, leading to acronums.


Paul,

  Thank you for understanding. This week has started badly, despite all I
planned for it. There are several serious issues discovered yesterday
needing resolution, including the sudden inability of LyX and LibreOffice
Writer to display my letterhead (and the latter not correctly seeing fonts
in the system's font/ directory) and hassles importing spatial data files
into my spatial analysis tool. Sigh. And it's only Tuesday!

Regards,

Rich


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Paul A. Rubin

On 09/26/2017 06:14 PM, Rich Shepard wrote:

On Tue, 26 Sep 2017, Rich Shepard wrote:


 Acronums


  Sigh. That's acronyms. Missed seeing the spelling error.

Rich

Too many acronyms make the mind acronumb, leading to acronums.


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Rich Shepard wrote:


 Acronums


  Sigh. That's acronyms. Missed seeing the spelling error.

Rich


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Paul A. Rubin wrote:

MWE = Minimum Working Example (or, since it's actually not working, maybe 
Minimum Wobbly Example?)


  Oh. Acronums R' Us, eh? :-)

  See attached all who are interested. There's the .lyx, .tex, and .log
files in a tarball.

Rich

mwe.tgz
Description: GNU Zip compressed data


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Jean-Marie Pacquet
Le 26/09/2017 à 22:15, Rich Shepard a écrit :
>   Now the log shows an overfull hbox for the header:
> 
> File: 0_home_rshepard_documents_templates_llc-letterhead.eps Graphic
> file (type
>  eps)
> <0_home_rshepard_documents_templates_llc-letterhead.eps>
> Overfull \hbox (227.64565pt too wide) in paragraph at lines 73--73
> 
> When I make the image width narrower it still does not display.

This error means that the bounding box of your pdf image is not what it
should be. You said that you made a minor text modification. 17pt is
acceptable for height increase but 227pt (approx. 80mm) is way too big
for width increase.
-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Jean-Marie Pacquet wrote:


You said that you made a copy of DIN to create your My.lco. Did you
delete these lines?
"
\LetterOptionNeedsPapersize{%
 DIN%
 }
 {a4}
"

They should be replaced by:
"
\LetterOptionNeedsPapersize{%
 My%
}{letter}
"


Jean-Marie,

  Er, ... no. I had overlooked that. Just did no to no effect.

  Now the log shows an overfull hbox for the header:

File: 0_home_rshepard_documents_templates_llc-letterhead.eps Graphic file (type
 eps)
<0_home_rshepard_documents_templates_llc-letterhead.eps>
Overfull \hbox (227.64565pt too wide) in paragraph at lines 73--73

When I make the image width narrower it still does not display.

Thanks,

Rich




Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Jean-Marie Pacquet
Le 26/09/2017 à 20:32, Rich Shepard a écrit :
> head being too high, but I do see this:
> 
> Class scrlttr2 Warning: Letter option file `DIN.lco'
> (scrlttr2)  needs paper size `a4'.
> (scrlttr2)  Current paper size is not `a4'!
> (scrlttr2)  You should add `paper=a4,paper=portrait' at the
> (scrlttr2)  option list of `\documentclass' or
> (scrlttr2)  add `\KOMAoptions{paper=a4,paper=portrait}'
> (scrlttr2)  before starting this letter!
> (scrlttr2)  Maybe you know what you are doing,
> (scrlttr2)  so I do not change this myself.
> 
>   At the top of the preamble I inserted \LoadLetterOption{My}%
> so I don't know why LyX is using DIN.lco. And the page format is US letter,
> not A4. Gzipped log file attached.

Rich,

You said that you made a copy of DIN to create your My.lco. Did you
delete these lines?
"
\LetterOptionNeedsPapersize{%
  DIN%
  }
  {a4}
"

They should be replaced by:
"
\LetterOptionNeedsPapersize{%
  My%
}{letter}
"

-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Jean-Marie Pacquet wrote:


The error message was:
Class scrlttr2 Warning: head of first page is 17.22406pt too high.

The default firstheadvpos in DIN file is 8mm. Since 17 pt is approx.
6mm, I would try:
\@setplength{firstheadvpos}{1mm}


Jean-Marie,

  That clarifies my understanding of firstheadvpos.

  I modified My.lco to \@setplength{firstheadvpos}{1mm} and re-compiled and
re-installed both TeXLive-2017 and LyX-2.2.3. Reconfigured LyX, too. Still
no logo displayed on preview or compiled .pdf.

  This is interesting. Reading the .log I see no reference to the first page
head being too high, but I do see this:

Class scrlttr2 Warning: Letter option file `DIN.lco'
(scrlttr2)  needs paper size `a4'.
(scrlttr2)  Current paper size is not `a4'!
(scrlttr2)  You should add `paper=a4,paper=portrait' at the
(scrlttr2)  option list of `\documentclass' or
(scrlttr2)  add `\KOMAoptions{paper=a4,paper=portrait}'
(scrlttr2)  before starting this letter!
(scrlttr2)  Maybe you know what you are doing,
(scrlttr2)  so I do not change this myself.

  At the top of the preamble I inserted \LoadLetterOption{My}%
so I don't know why LyX is using DIN.lco. And the page format is US letter,
not A4. Gzipped log file attached.

  I'll read Chapter 4 and see if I get ideas.

Still puzzled,

Rich

scoping-draft.log.gz
Description: GNU Zip compressed data


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Jean-Marie Pacquet
Le 26/09/2017 à 18:59, Rich Shepard a écrit :
>   Added your example spacing command in My.lco and neither 15mm nor 25mm
> allows the logo .pdf to display. I'm now reading Chapter 4 (scrlttr2) in
> the
> latest English guide to learn how to set the firstheadpage spacing so the
> logo once again displays.

Rich,

The error message was:
Class scrlttr2 Warning: head of first page is 17.22406pt too high.

The default firstheadvpos in DIN file is 8mm. Since 17 pt is approx.
6mm, I would try:
\@setplength{firstheadvpos}{1mm}

-- 
Jean-Marie



Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Jean-Marie Pacquet wrote:


If you want to modify the default, create your own lco file and call it in
the preamble. The one I created for french norms is NF.lco.


Jean-Marie,

  Added your example spacing command in My.lco and neither 15mm nor 25mm
allows the logo .pdf to display. I'm now reading Chapter 4 (scrlttr2) in the
latest English guide to learn how to set the firstheadpage spacing so the
logo once again displays.

Again, many thanks,

Rich



Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Jean-Marie Pacquet wrote:


The important thing is \@setplength commands go before the \KOMAoptions in
the preamble. And since these are not modified frequently, it makes sense
to put them in a file called "lco".


Jean-Marie,

  I just copied DIN.lo to My.lco and will modify it to include a header
length that accommodates my .pdf logo.


My preamble reads as:


  Well! There's so much more for me to learn about the KOMA-Script classes.
I really appreciate learning more. I'll try to re-read the guide when I can
make the time, perhaps evenings or over the weekend. Much still does not
make complete sense to me as I'm far from a LaTeX or TeX expert.

Very much appreciated,

Rich



Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Jean-Marie Pacquet
Le 26/09/2017 à 18:10, Rich Shepard a écrit :
> Jean-Marie,
> 
>   The setting file does not have a \LoadLetterIption command, and does
> contain \@setplength commands:

The important thing is \@setplength commands go before the \KOMAoptions
in the preamble. And since these are not modified frequently, it makes
sense to put them in a file called "lco".

My preamble reads as:

%
%% Here you can modify the layout of your letter
%% Have a look at the KOMA script documentation
%% for details. Most commands are commented out
%% here (i.e. we use default settings)
%

%% Load an *.lco style file (see KOMA documentation)
\LoadLetterOption{NF}%

%% THE CLASS OPTIONS
%% Remove preceeding '%' to uncomment an item
\KOMAoptions{%
%,headsepline=true%separate the header with a line on page >1
%,footsepline=true% separate the footer with a line on page >1
%pagenumber=botcenter%   position of the page number (see docu)
%,parskip=false%  Use indent instead of skip (more options cf. docu)
,fromalign=left%alignment of the address
%,fromrule=aftername%separate the address with a line?
,fromphone=true% print sender phone number
%,fromfax=true%  print sender fax number
,fromemail=true%   print sender e-mail address
%,fromurl=true%   print sender URL
%,fromlogo=true% print a logo (position depends on fromalign)
%,addrfield=false%print an address field?
,backaddress=false%  print the back address?
%,subject=afteropening,titled% alternative subject layout and position
%,locfield=narrow%  width of the (extra) location field
%,foldmarks=false%  print foldmarks?
%,numericaldate=true%  date layout
%,refline=wide% layout of the refline
}

%% Customize Separators
%\setkomavar{placeseparator}{ -- }
\setkomavar{backaddressseparator}{ $\cdot$ }
%\setkomavar{emailseparator}{ --> }
%\setkomavar{enclseparator}{ > }
%\setkomavar{faxseparator}{ --> }
%\setkomavar{phoneseparator}{ --> }
%\setkomavar{subjectseparator}{ >>> }

%% Customize fonts
%% Use LaTeX's standard font commands
%% Modify with \setkomafont or \addtokomafont
%% (see KOMA documentation)
\setkomafont{backaddress}{\rmfamily}
%\setkomafont{descriptionlabel}{}
\setkomafont{fromaddress}{\small}
\setkomafont{fromname}{\scshape}
%\setkomafont{pagefoot}{}
%\setkomafont{pagehead}{}
%\setkomafont{pagenumber}{}
%\setkomafont{subject}{}
%\setkomafont{title}{}

%\renewcommand{\theenumi}{\alph{enumi}}


-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Jean-Marie Pacquet
Le 26/09/2017 à 18:01, Rich Shepard a écrit :
>   How do I determine in which .lco file to change the height? Here I find
> the setplength in multiple files:

The DIN.lco file is the default. My reference manual says (chapter 4
page 189):
"
By the way, the DIN lco-file will always be loaded as the first lco
file. This ensures that all pseudo-lengths will have more or less
reasonable default values. Because of this, it is not necessary to load
this default file on your own.
"

If you don't call one in your preamble, I assume that all pseudo-lengths
used will be those of DIN.lco.

If you want to modify the default, create your own lco file and call it
in the preamble. The one I created for french norms is NF.lco.
-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Jean-Marie Pacquet wrote:


These \@setplength should be in the lco file (letter class options) which
is called in the Latex preamble with \LoadLetterOption{lcofile}% I don't
think you can use them anywhere in your Lyx document.


Jean-Marie,

  The setting file does not have a \LoadLetterIption command, and does
contain \@setplength commands:

\date{}
\usepackage{scrpage2,url}
\pagestyle{scrheadings}
\cfoot[scrplain-centered ]{}
\makeatletter
% horizontal position of the address field
\@setplength{toaddrhpos}{20.0mm}
%\vertical position of the address field
\@addtoplength{toaddrvpos}{20mm}
\makeatother
\renewcommand*{\raggedsignature}{}
\makeatletter
% vertical position of ref line (date)
\@setplength{refvpos}{6.5cm}
% space between ref line and letter text
\@setplength{refaftervskip}{4cm}
% space for signature image
\@setplength{sigbeforevskip}{0mm}
\makeatother
\firsthead{\centering\usekomavar{fromlogo}\hspace*{8cm}}
\ihead{\usekomavar{toname}\\%
Page \thepage\\\usekomavar{date}}
\KOMAoptions{%
foldmarks=false
}

Rich


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Jean-Marie Pacquet
Le 26/09/2017 à 16:54, Rich Shepard a écrit :
>   [...]. First need to upgrade KOMA-Script.

I still use the 2004 version. I only upgraded the reference manual!.
-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Paul A. Rubin

On 09/26/2017 08:47 AM, Rich Shepard wrote:

On Tue, 26 Sep 2017, Dr Eberhard Lisse wrote:


Why don't you send a MWE with the graphics file in question?



  Possibly because I've no idea what a MWE is? :-)

MWE = Minimum Working Example (or, since it's actually not working, 
maybe Minimum Wobbly Example?)


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Jean-Marie Pacquet wrote:


My scrguien.pdf is old as well (file dated 2013-02-25). It has references
to version 3.10 of KOMA-Script.


Jean-Marie,

  My KOMA-Script version is ancient: 2004; think the version is 2.98. I just
downloaded the latest from CTAN (2017-09-07 but have totally forgotten how
to upgrade an installed package. I'm running TeXLive-2017 and I _think_ that
I cp the koma-script.tds.zip file to /usr/share/texmf/ and unzip it there,
but I'm not confident that's the proper way.


These \@setplength should be in the lco file (letter class options) which
is called in the Latex preamble with \LoadLetterOption{lcofile}% I don't
think you can use them anywhere in your Lyx document.

Have a look at any of the lco file you have (DIN.lco f.ex.).


  I'll look for (and in) .lco files. First need to upgrade KOMA-Script.

Many thanks,

Rich


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Jean-Marie Pacquet
Le 26/09/2017 à 16:23, Rich Shepard a écrit :
> On Tue, 26 Sep 2017, Jean-Marie Pacquet wrote:
> 
>> You need to use the pseudo-lengths shown in figure 17.1 (In my
>> scrguien.pdf, chapter 17 page 296)
> 
> Jean-Marie,
> 
>   I'll get the latest KOMA-script and docs today; my 2013 version has
> firstheadvpos in Chapter 21 on page 358 and section 21.1.2 on page 365.
> 
>> firstheadvpos
>> vertical distance of letterhead from top paper edge (section 17.1.2,
>> page 299)

Rich,

My scrguien.pdf is old as well (file dated 2013-02-25). It has
references to version 3.10 of KOMA-Script.

>>
>> To set a pseudo-length (f.ex. setting firstheadvpos to 15mm)
>> \@setplength{firstheadvpos}{15mm}
> 
>   I'm getting an error:
> 
>  \@
>    setplength{firstheadvpos}{15mm}
> Sorry, but I'm not programmed to handle this case;
> I'll just pretend that you didn't ask for it.
> If you're in the wrong mode, you might be able to
> return to the right one by typing `I}' or `I$' or `I\par'.
> 
>   KOMA-script upgrade needed?

These \@setplength should be in the lco file (letter class options)
which is called in the Latex preamble with
\LoadLetterOption{lcofile}%
I don't think you can use them anywhere in your Lyx document.

Have a look at any of the lco file you have (DIN.lco f.ex.).
-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Jean-Marie Pacquet wrote:


You need to use the pseudo-lengths shown in figure 17.1 (In my
scrguien.pdf, chapter 17 page 296)


Jean-Marie,

  I'll get the latest KOMA-script and docs today; my 2013 version has
firstheadvpos in Chapter 21 on page 358 and section 21.1.2 on page 365.


firstheadvpos
vertical distance of letterhead from top paper edge (section 17.1.2,
page 299)

To set a pseudo-length (f.ex. setting firstheadvpos to 15mm)
\@setplength{firstheadvpos}{15mm}


  I'm getting an error:

 \@
   setplength{firstheadvpos}{15mm}
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

  KOMA-script upgrade needed?

Rich


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Rich Shepard

On Tue, 26 Sep 2017, Dr Eberhard Lisse wrote:


Why don't you send a MWE with the graphics file in question?


Eberhard,

  Possibly because I've no idea what a MWE is? :-)

  The graphic file at issue is the same PDF as before except that I changed
the Inc. to LLC because I changed the corporate structure. This was done in
LibreOffice because LyX, at least my installation, does not support the
Baker-signet typeface which I adopted as the company's logotype 25+ years
ago. When the corporate structure changed in the state and federal
registrations I chenged those three letters in LO Writer and re-saved the
page as a .pdf. This overlarge top-of-page issue wasn't before now.

Rich


Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Dr Eberhard Lisse
Why don't you send a MWE with the graphics file in question?

el

On 25/09/2017 20:22, Rich Shepard wrote:
> On Mon, 25 Sep 2017, Paul A. Rubin wrote:
> 
>> Try starting LyX from a terminal with the "-dbg graphics" flag, open
>> and view the document, and see if it spits up an error message.
>
> Paul,
>
>   File's attached. In emacs the first reference to the image is line
> 459.  There are no errors (or Errors) in the file.
>
>> (I assume you've already checked the LaTeX log for signs of an
>> implosion.)
>
>   Don't know where the log file is to be found. It's not in /var/log/
> or the document directory.
> 
> Thanks,
> 
> Rich




Re: KOMA-letter-2: logo disappeared

2017-09-26 Thread Jean-Marie Pacquet
Le 25/09/2017 à 22:32, Rich Shepard a écrit :
> On Mon, 25 Sep 2017, Rich Shepard wrote:
> 
>> Class scrlttr2 Warning: head of first page is 17.22406pt too high.
>> (scrlttr2)  You have to change `firstheadvpos'
>> (scrlttr2)  or you have to define a smaller
>> (scrlttr2)  head of first page using \setkomavar.
>> (scrlttr2)  Because of this too high head of first page
>> (scrlttr2)  you've got an overfull \vbox message on input
>> line 68.
> 
>   In the document's preamble is:
> 
> \firsthead{\centering\usekomavar{fromlogo}\hspace*{8cm}}
> \ihead{\usekomavar{toname}\\%
> 
>   I'm not sure how to change these to define a smaller head of first page.
> 
>   Anyone know how?

Hello Rich,

You need to use the pseudo-lengths shown in figure 17.1 (In my
scrguien.pdf, chapter 17 page 296)

firstheadvpos
vertical distance of letterhead from top paper edge (section 17.1.2,
page 299)

To set a pseudo-length (f.ex. setting firstheadvpos to 15mm)
\@setplength{firstheadvpos}{15mm}

-- 
Jean-Marie


Re: KOMA-letter-2: logo disappeared

2017-09-25 Thread Rich Shepard

On Mon, 25 Sep 2017, Rich Shepard wrote:


 In the document's preamble is:
\firsthead{\centering\usekomavar{fromlogo}\hspace*{8cm}}
\ihead{\usekomavar{toname}\\%
 I'm not sure how to change these to define a smaller head of first page.


  The KOMA-script 2013 doc says this:

\usekomavar[command ]{name }
\usekomavar*[command ]{name }
In some cases it is necessary for the user to access the content or the
description of a variable and not to leave this only up to the class. This
is specially important when you have defined a variable which is not added
to the reference fields line. Using the command \usekomavar you have access
to the content of the variable name , whereas the starred version
\usekomavar* allows you to access the description or title. In section 21.2,
page 371 you may find mor information about defining variable on your own.

  But this gives me no idea what to change to make the logo fit the page.

Rich


Re: KOMA-letter-2: logo disappeared

2017-09-25 Thread Rich Shepard

On Mon, 25 Sep 2017, Rich Shepard wrote:


Class scrlttr2 Warning: head of first page is 17.22406pt too high.
(scrlttr2)  You have to change `firstheadvpos'
(scrlttr2)  or you have to define a smaller
(scrlttr2)  head of first page using \setkomavar.
(scrlttr2)  Because of this too high head of first page
(scrlttr2)  you've got an overfull \vbox message on input line 
68.


  In the document's preamble is:

\firsthead{\centering\usekomavar{fromlogo}\hspace*{8cm}}
\ihead{\usekomavar{toname}\\%

  I'm not sure how to change these to define a smaller head of first page.

  Anyone know how?

Thanks,

Rich



Re: KOMA-letter-2: logo disappeared

2017-09-25 Thread Rich Shepard

On Mon, 25 Sep 2017, Paul A. Rubin wrote:


Around line 498, LyX parks a copy in the temporary buffer and tries to
convert it to EPS. Around line 505, you can see the \insertgraphics
command for it (which I assume means LyX thinks the conversion was
successful). Your guess is better than mine whether the bounding box is
set correctly.


Paul,

  I saw that LyX thinks the conversion is successful ... and the bounding
box is correct. Wonder why it's not displaying, then. I can run the image
through 'convert' and create an .eps file, but have not before had issues
inserting .pdf files.


Assuming you previewed the document in LyX, Document > LaTeX Log will open
the log in a viewing window for you. The actual log file lives in the
temporary buffer directory (/tmp/lyx_tmpdir.mmCXUkQ28141) in this case.


  Didn't see it there before, it's in ../lyx_tempbuf2. And the log file
tells me:

File: 0_home_rshepard_documents_templates_llc-letterhead.eps Graphic file (type
 eps)
<0_home_rshepard_documents_templates_llc-letterhead.eps>
Overfull \hbox (227.62204pt too wide) in paragraph at lines 68--68
 []|
 []

Overfull \vbox (17.22406pt too high) detected at line 68
 []

File: 0_home_rshepard_documents_templates_llc-letterhead.eps Graphic file (type
 eps)
<0_home_rshepard_documents_templates_llc-letterhead.eps>
Overfull \hbox (227.62204pt too wide) in paragraph at lines 68--68
 []|
 []

Class scrlttr2 Warning: head of first page is 17.22406pt too high.
(scrlttr2)  You have to change `firstheadvpos'
(scrlttr2)  or you have to define a smaller
(scrlttr2)  head of first page using \setkomavar.
(scrlttr2)  Because of this too high head of first page
(scrlttr2)  you've got an overfull \vbox message on input line 68.

  So I need to play with the image size or positioning to get it to fit.

Thanks for the pointer,

Rich



Re: KOMA-letter-2: logo disappeared

2017-09-25 Thread Paul A. Rubin

On 09/25/2017 02:22 PM, Rich Shepard wrote:

On Mon, 25 Sep 2017, Paul A. Rubin wrote:


Try starting LyX from a terminal with the "-dbg graphics" flag, open and
view the document, and see if it spits up an error message.


Paul,

  File's attached. In emacs the first reference to the image is line 459.
There are no errors (or Errors) in the file.
Around line 459 is, I believe, where LyX is trying to convert the image 
to something it can display in the LyX GUI (which ultimately succeeds).


Around line 498, LyX parks a copy in the temporary buffer and tries to 
convert it to EPS. Around line 505, you can see the \insertgraphics 
command for it (which I assume means LyX thinks the conversion was 
successful). Your guess is better than mine whether the bounding box is 
set correctly.
(I assume you've already checked the LaTeX log for signs of an 
implosion.)


  Don't know where the log file is to be found. It's not in /var/log/ 
or the

document directory.
Assuming you previewed the document in LyX, Document > LaTeX Log will 
open the log in a viewing window for you. The actual log file lives in 
the temporary buffer directory (/tmp/lyx_tmpdir.mmCXUkQ28141) in this case.


Paul



Re: KOMA-letter-2: logo disappeared

2017-09-25 Thread Rich Shepard

On Mon, 25 Sep 2017, Paul A. Rubin wrote:


Try starting LyX from a terminal with the "-dbg graphics" flag, open and
view the document, and see if it spits up an error message.


Paul,

  File's attached. In emacs the first reference to the image is line 459.
There are no errors (or Errors) in the file.


(I assume you've already checked the LaTeX log for signs of an implosion.)


  Don't know where the log file is to be found. It's not in /var/log/ or the
document directory.

Thanks,

Rich$ lyx -dbg graphics
Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Format.cpp (388): Recognised Fileformat: agr
Format.cpp (124): New Format: n=platex, flags=1
Format.cpp (124): New Format: n=dvi, flags=1
Format.cpp (124): New Format: n=latex, flags=1
Format.cpp (124): New Format: n=tgif, flags=2
Format.cpp (124): New Format: n=fig, flags=2
Format.cpp (124): New Format: n=dia, flags=10
Format.cpp (124): New Format: n=odg, flags=10
Format.cpp (124): New Format: n=agr, flags=2
Format.cpp (124): New Format: n=fen, flags=0
Format.cpp (124): New Format: n=svg, flags=2
Format.cpp (124): New Format: n=svgz, flags=10
Format.cpp (124): New Format: n=bmp, flags=0
Format.cpp (124): New Format: n=gif, flags=0
Format.cpp (124): New Format: n=jpg, flags=0
Format.cpp (124): New Format: n=pbm, flags=0
Format.cpp (124): New Format: n=pgm, flags=0
Format.cpp (124): New Format: n=png, flags=0
Format.cpp (124): New Format: n=ppm, flags=0
Format.cpp (124): New Format: n=tiff, flags=0
Format.cpp (124): New Format: n=xbm, flags=0
Format.cpp (124): New Format: n=xpm, flags=0
Format.cpp (124): New Format: n=asciichess, flags=0
Format.cpp (124): New Format: n=asciiimage, flags=0
Format.cpp (124): New Format: n=asciixfig, flags=0
Format.cpp (124): New Format: n=dateout, flags=0
Format.cpp (124): New Format: n=docbook, flags=5
Format.cpp (124): New Format: n=docbook-xml, flags=5
Format.cpp (124): New Format: n=dot, flags=2
Format.cpp (124): New Format: n=dviluatex, flags=5
Format.cpp (124): New Format: n=platex, flags=5
Format.cpp (124): New Format: n=literate, flags=5
Format.cpp (124): New Format: n=sweave, flags=5
Format.cpp (124): New Format: n=r, flags=5
Format.cpp (124): New Format: n=knitr, flags=5
Format.cpp (124): New Format: n=lilypond, flags=2
Format.cpp (124): New Format: n=lilypond-book, flags=5
Format.cpp (124): New Format: n=latex, flags=5
Format.cpp (124): New Format: n=luatex, flags=5
Format.cpp (124): New Format: n=pdflatex, flags=5
Format.cpp (124): New Format: n=xetex, flags=5
Format.cpp (124): New Format: n=latexclipboard, flags=0
Format.cpp (124): New Format: n=text, flags=5
Format.cpp (124): New Format: n=text2, flags=1
Format.cpp (124): New Format: n=text3, flags=1
Format.cpp (124): New Format: n=text4, flags=1
Format.cpp (124): New Format: n=textparagraph, flags=1
Format.cpp (124): New Format: n=beamer.info, flags=5
Format.cpp (124): New Format: n=gnumeric, flags=1
Format.cpp (124): New Format: n=excel, flags=1
Format.cpp (124): New Format: n=excel2, flags=1
Format.cpp (124): New Format: n=html_table, flags=1
Format.cpp (124): New Format: n=oocalc, flags=1
Format.cpp (124): New Format: n=xhtml, flags=5
Format.cpp (124): New Format: n=bibtex, flags=0
Format.cpp (124): New Format: n=eps, flags=2
Format.cpp (124): New Format: n=eps2, flags=2
Format.cpp (124): New Format: n=eps3, flags=1
Format.cpp (124): New Format: n=ps, flags=7
Format.cpp (124): New Format: n=pdf, flags=7
Format.cpp (124): New Format: n=pdf2, flags=7
Format.cpp (124): New Format: n=pdf3, flags=7
Format.cpp (124): New Format: n=pdf4, flags=7
Format.cpp (124): New Format: n=pdf5, flags=7
Format.cpp (124): New Format: n=pdf6, flags=2
Format.cpp (124): New Format: n=pdf7, flags=3
Format.cpp (124): New Format: n=pdf8, flags=3
Format.cpp (124): New Format: n=dvi, flags=7
Format.cpp (124): New Format: n=dvi3, flags=7
Format.cpp (124): New Format: n=html, flags=5
Format.cpp (124): New Format: n=noteedit, flags=2
Format.cpp (124): New Format: n=odt, flags=7
Format.cpp (124): New Format: n=odt2, flags=7
Format.cpp (124): New Format: n=odt3, flags=7
Format.cpp (124): New Format: n=sxw, flags=3
Format.cpp (124): New Format: n=rtf, flags=7
Format.cpp (124): New Format: n=word, flags=7
Format.cpp (124): New Format: n=word2, flags=7
Format.cpp (124): New Format: n=date, flags=0
Format.cpp (124): New Format: n=csv, flags=1
Format.cpp (124): New Format: n=fax, flags=1
Format.cpp (124): New Format: n=lyx, flags=0
Format.cpp (124): New Format: n=lyx13x, flags=1
Format.cpp (124): New Format: n=lyx14x, flags=1
Format.cpp (124): New Format: n=lyx15x, flags=1
Format.cpp (124): New Format: n=lyx16x, flags=1
Format.cpp (124): New Format: n=lyx20x, flags=1
Format.cpp (124): New Format: n=lyx21x, flags=5
Format.cpp (124): New Format: n=clyx, flags=1
Format.cpp (124): New Format: n=jlyx, flags=1
Format.cpp (124): New Format: n=klyx, flags=1
Format.cpp (124): New Format: n=lyxpreview, flags=0
Format.cpp (124): New Format: n=pdftex, flags=0

Re: KOMA-letter-2: logo disappeared

2017-09-25 Thread Paul A. Rubin

On 09/25/2017 12:51 PM, Rich Shepard wrote:

Some time in the past I modified the KOMA-letter version 2 template to
suit my needs. Not by modifying the template itself, but using selected
elements for a letter which I then copy and modify for new letters. 
This has

worked well until today.

  At the top of the document is a Logo environment using the company 
logo as

a .pdf file. It shows in the .lyx document but not when I do a preview or
pdflatex compilation.

  Just after the preamble in the .lyx file is the Logo:

\begin_body

\begin_layout Logo
\begin_inset Graphics
filename /home/rshepard/documents/templates/llc-letterhead.pdf
width 100text%
BoundingBox 80bp 100bp 520bp 250bp
clip

\end_inset


\end_layout

  I'm at a loss to know where to start looking for the reason and need 
some

ideas from the experts here.

TIA,

Rich

Try starting LyX from a terminal with the "-dbg graphics" flag, open and 
view the document, and see if it spits up an error message. (I assume 
you've already checked the LaTeX log for signs of an implosion.)


Paul



KOMA-letter-2: logo disappeared

2017-09-25 Thread Rich Shepard

  Some time in the past I modified the KOMA-letter version 2 template to
suit my needs. Not by modifying the template itself, but using selected
elements for a letter which I then copy and modify for new letters. This has
worked well until today.

  At the top of the document is a Logo environment using the company logo as
a .pdf file. It shows in the .lyx document but not when I do a preview or
pdflatex compilation.

  Just after the preamble in the .lyx file is the Logo:

\begin_body

\begin_layout Logo
\begin_inset Graphics
filename /home/rshepard/documents/templates/llc-letterhead.pdf
width 100text%
BoundingBox 80bp 100bp 520bp 250bp
clip

\end_inset


\end_layout

  I'm at a loss to know where to start looking for the reason and need some
ideas from the experts here.

TIA,

Rich



Re: LyX 2.2 -- logo in headers?

2016-11-22 Thread gordon cooper

 We are working in Koma script. Logo on first page is inserted as an image,
at the cursor position on the page.  No additional coding needed.

Insert>Graphics> , with image file in the same folder as the Lyx file.

We have about 100 images in one document, a manual, so have a graphics
sub-folder for them all.

Gordon.


On 23/11/16 04:30, Bernt Lie wrote:

From: Anders Ekberg [mailto:a...@me.com]
Sent: tirsdag 22. november 2016 16.21
To: Bernt Lie <bernt@hit.no>
Cc: lyx-users@lists.lyx.org
Subject: Re: LyX 2.2 -- logo in headers?

On 2016Nov22, at 16:16, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> 
wrote:


-Original Message-
From: Anders Ekberg [mailto:a...@me.com]
Sent: tirsdag 22. november 2016 15.45
To: Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>>
Cc: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: LyX 2.2 -- logo in headers?


On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> 
wrote:

Using LyX 2.2.1 on Windows 10...

* Is there a way to put a logo in the header of a standard LaTeX article class? 
... or a similar class?

I'm drafting an exam problem, and would like to insert the logo of my 
university in the header...

-Bernt

For footer I put
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.
---
Thanks Anders. I tried to insert a figure in the *title* field of the first page, but 
that figure is simply ignored... Perhaps I can put it in the text, and specify it to show 
on the top of the page... Hm. I may try the "\chead" command.

-B

This is my example document. It’s a letter, so there are no Title. Could be 
that a title messes it up.
/@nders
--
OK – I’ll check it tomorrow.
-B





RE: LyX 2.2 -- logo in headers?

2016-11-22 Thread Bernt Lie

From: Anders Ekberg [mailto:a...@me.com]
Sent: tirsdag 22. november 2016 16.21
To: Bernt Lie <bernt@hit.no>
Cc: lyx-users@lists.lyx.org
Subject: Re: LyX 2.2 -- logo in headers?

On 2016Nov22, at 16:16, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> 
wrote:


-Original Message-
From: Anders Ekberg [mailto:a...@me.com]
Sent: tirsdag 22. november 2016 15.45
To: Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>>
Cc: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: LyX 2.2 -- logo in headers?


On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> 
wrote:

Using LyX 2.2.1 on Windows 10...

* Is there a way to put a logo in the header of a standard LaTeX article class? 
... or a similar class?

I'm drafting an exam problem, and would like to insert the logo of my 
university in the header...

-Bernt

For footer I put
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.
---
Thanks Anders. I tried to insert a figure in the *title* field of the first 
page, but that figure is simply ignored... Perhaps I can put it in the text, 
and specify it to show on the top of the page... Hm. I may try the "\chead" 
command.

-B

This is my example document. It’s a letter, so there are no Title. Could be 
that a title messes it up.
/@nders
--
OK – I’ll check it tomorrow.
-B



RE: LyX 2.2 -- logo in headers?

2016-11-22 Thread Bernt Lie

-Original Message-
From: Anders Ekberg [mailto:a...@me.com] 
Sent: tirsdag 22. november 2016 15.45
To: Bernt Lie <bernt@hit.no>
Cc: lyx-users@lists.lyx.org
Subject: Re: LyX 2.2 -- logo in headers?

> On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no> wrote:
> 
> Using LyX 2.2.1 on Windows 10...
> 
> * Is there a way to put a logo in the header of a standard LaTeX article 
> class? ... or a similar class?
> 
> I'm drafting an exam problem, and would like to insert the logo of my 
> university in the header...
> 
> -Bernt

For footer I put 
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.
---
Thanks Anders. I tried to insert a figure in the *title* field of the first 
page, but that figure is simply ignored... Perhaps I can put it in the text, 
and specify it to show on the top of the page... Hm. I may try the "\chead" 
command.

-B



/Anders


Re: LyX 2.2 -- logo in headers?

2016-11-22 Thread Anders Ekberg
On 2016Nov22, at 16:16, Bernt Lie <bernt@hit.no> wrote:-Original Message-From: Anders Ekberg [mailto:a...@me.com] Sent: tirsdag 22. november 2016 15.45To: Bernt Lie <bernt@hit.no>Cc: lyx-users@lists.lyx.orgSubject: Re: LyX 2.2 -- logo in headers?On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no> wrote:Using LyX 2.2.1 on Windows 10...* Is there a way to put a logo in the header of a standard LaTeX article class? ... or a similar class?I'm drafting an exam problem, and would like to insert the logo of my university in the header...-BerntFor footer I put \cfoot{{\includegraphics{LetterFoot.png}}}\renewcommand{\headrulewidth}{0pt}in the footer (no idea why I have the second line, but it works). I guess a similar version for \chead would work.For logos on the front page I found it more easy to just include the logo in the text as graphic and modify the margins.---Thanks Anders. I tried to insert a figure in the *title* field of the first page, but that figure is simply ignored... Perhaps I can put it in the text, and specify it to show on the top of the page... Hm. I may try the "\chead" command.-BThis is my example document. It’s a letter, so there are no Title. Could be that a title messes it up./@nders

Logo_letter.lyx
Description: Binary data


Re: LyX 2.2 -- logo in headers?

2016-11-22 Thread Anders Ekberg
> On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no> wrote:
> 
> Using LyX 2.2.1 on Windows 10...
> 
> * Is there a way to put a logo in the header of a standard LaTeX article 
> class? ... or a similar class?
> 
> I'm drafting an exam problem, and would like to insert the logo of my 
> university in the header...
> 
> -Bernt

For footer I put 
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.

/Anders

LyX 2.2 -- logo in headers?

2016-11-22 Thread Bernt Lie
Using LyX 2.2.1 on Windows 10...

* Is there a way to put a logo in the header of a standard LaTeX article class? 
... or a similar class?

I'm drafting an exam problem, and would like to insert the logo of my 
university in the header...

-Bernt


SV: logo

2013-01-14 Thread Ingar Pareliussen

 -Opprinnelig melding-
 Fra: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] På vegne
 av Jörg Kühne
 Sendt: 13. januar 2013 20:34
 Til: lyx-users@lists.lyx.org
 Emne: logo
 
 Dear Lyx user list
 
 How I could insert a simple logo which would be displayed on each page?
 
 Following user specified commands interferes with the default settings,
 see

Have yuo tried somthing like this in the latex-preamble?

\lhead{Author}
\chead{}
\rhead{\includegraphics[height=1cm]{pic}}
\lfoot{}
\cfoot{}
\rfoot{\thepage}

or for a two-sided dokument use

\fancyhead[RO,LE]{\includegraphics[height=1cm]{pic}}
\fancyhead[LO,RE]{Author}
\fancyfoot[LE,RO]{\thepage}

Where first letter is one of:
E Even page
O Odd page
And second letter is one of:
L Left field
C Center field
R Right field


Ingar


SV: logo

2013-01-14 Thread Ingar Pareliussen

 -Opprinnelig melding-
 Fra: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] På vegne
 av Jörg Kühne
 Sendt: 13. januar 2013 20:34
 Til: lyx-users@lists.lyx.org
 Emne: logo
 
 Dear Lyx user list
 
 How I could insert a simple logo which would be displayed on each page?
 
 Following user specified commands interferes with the default settings,
 see

Have yuo tried somthing like this in the latex-preamble?

\lhead{Author}
\chead{}
\rhead{\includegraphics[height=1cm]{pic}}
\lfoot{}
\cfoot{}
\rfoot{\thepage}

or for a two-sided dokument use

\fancyhead[RO,LE]{\includegraphics[height=1cm]{pic}}
\fancyhead[LO,RE]{Author}
\fancyfoot[LE,RO]{\thepage}

Where first letter is one of:
E Even page
O Odd page
And second letter is one of:
L Left field
C Center field
R Right field


Ingar


SV: logo

2013-01-14 Thread Ingar Pareliussen

> -Opprinnelig melding-
> Fra: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] På vegne
> av "Jörg Kühne"
> Sendt: 13. januar 2013 20:34
> Til: lyx-users@lists.lyx.org
> Emne: logo
> 
> Dear Lyx user list
> 
> How I could insert a simple logo which would be displayed on each page?
> 
> Following user specified commands interferes with the default settings,
> see

Have yuo tried somthing like this in the latex-preamble?

\lhead{Author}
\chead{}
\rhead{\includegraphics[height=1cm]{pic}}
\lfoot{}
\cfoot{}
\rfoot{\thepage}

or for a two-sided dokument use

\fancyhead[RO,LE]{\includegraphics[height=1cm]{pic}}
\fancyhead[LO,RE]{Author}
\fancyfoot[LE,RO]{\thepage}

Where first letter is one of:
E Even page
O Odd page
And second letter is one of:
L Left field
C Center field
R Right field


Ingar


logo

2013-01-13 Thread Jörg Kühne
Dear Lyx user list

How I could insert a simple logo which would be displayed on each page?

Following user specified commands interferes with the default settings, see

\documentclass[11pt,ngerman]{article}
\usepackage{ae,aecompl}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{fancyhdr}
\pagestyle{fancy}


%% User specified LaTeX commands.
\usepackage{scrpage2}   
\pagestyle{scrheadings} 
\clearscrheadfoot
\chead[\headmark]{\headmark}

\ihead[{\includegraphics[height=1cm]{pic}}]{\includegraphics[height=1cm]{pic}}
\ohead[{\includegraphics[height=1cm]{pic}}]{\includegraphics[height=1cm]{pic}}

\addtolength{\headsep}{\baselineskip}
\setheadsepline{1pt}
\setfootsepline{1pt}
\ifoot[name]{name}
\cfoot[Arbeit]{Arbeit}


How I could change the default \usepackage{fancyhdr} values in Lyx?

Best regards

Joerg
 


logo

2013-01-13 Thread Jörg Kühne
Dear Lyx user list

How I could insert a simple logo which would be displayed on each page?

Following user specified commands interferes with the default settings, see

\documentclass[11pt,ngerman]{article}
\usepackage{ae,aecompl}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{fancyhdr}
\pagestyle{fancy}


%% User specified LaTeX commands.
\usepackage{scrpage2}   
\pagestyle{scrheadings} 
\clearscrheadfoot
\chead[\headmark]{\headmark}

\ihead[{\includegraphics[height=1cm]{pic}}]{\includegraphics[height=1cm]{pic}}
\ohead[{\includegraphics[height=1cm]{pic}}]{\includegraphics[height=1cm]{pic}}

\addtolength{\headsep}{\baselineskip}
\setheadsepline{1pt}
\setfootsepline{1pt}
\ifoot[name]{name}
\cfoot[Arbeit]{Arbeit}


How I could change the default \usepackage{fancyhdr} values in Lyx?

Best regards

Joerg
 


logo

2013-01-13 Thread Jörg Kühne
Dear Lyx user list

How I could insert a simple logo which would be displayed on each page?

Following user specified commands interferes with the default settings, see

\documentclass[11pt,ngerman]{article}
\usepackage{ae,aecompl}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{fancyhdr}
\pagestyle{fancy}


%% User specified LaTeX commands.
\usepackage{scrpage2}   
\pagestyle{scrheadings} 
\clearscrheadfoot
\chead[\headmark]{\headmark}

\ihead[{\includegraphics[height=1cm]{pic}}]{\includegraphics[height=1cm]{pic}}
\ohead[{\includegraphics[height=1cm]{pic}}]{\includegraphics[height=1cm]{pic}}

\addtolength{\headsep}{\baselineskip}
\setheadsepline{1pt}
\setfootsepline{1pt}
\ifoot[name]{name}
\cfoot[Arbeit]{Arbeit}


How I could change the default \usepackage{fancyhdr} values in Lyx?

Best regards

Joerg
 


Re: Adding a logo to beamer presentation

2011-06-15 Thread Paul Rubin
Liviu Andronic landronimirc at gmail.com writes:


 Each Beamer theme is a collection of LaTeX commands, meaning that
 instead of using a given theme you could compile several commands
 (from different themes) that would give you the look you desire. I'd
 start with Beamer's documentation.

I've customized a few themes (Warsaw, Madrid, Marburg) to add my college's logo.
 What I did was copy the relevant theme files to a folder in my localtexmf tree,
renamed them (so that they did not collide with the originals), and hacked them.
 Hacking an existing theme is probably faster than cobbling together a new one,
assuming you're happy with most of what the existing theme does.

Paul



Re: Adding a logo to beamer presentation

2011-06-15 Thread Graham Smith
Paul


  Each Beamer theme is a collection of LaTeX commands, meaning that
  instead of using a given theme you could compile several commands
  (from different themes) that would give you the look you desire. I'd
  start with Beamer's documentation.

 I've customized a few themes (Warsaw, Madrid, Marburg) to add my college's
 logo.
  What I did was copy the relevant theme files to a folder in my localtexmf
 tree,
 renamed them (so that they did not collide with the originals), and hacked
 them.
  Hacking an existing theme is probably faster than cobbling together a new
 one,
 assuming you're happy with most of what the existing theme does.


I may well try that some time, but for now I will have to compromise.

Thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-15 Thread Paul Rubin
Liviu Andronic landronimirc at gmail.com writes:


 Each Beamer theme is a collection of LaTeX commands, meaning that
 instead of using a given theme you could compile several commands
 (from different themes) that would give you the look you desire. I'd
 start with Beamer's documentation.

I've customized a few themes (Warsaw, Madrid, Marburg) to add my college's logo.
 What I did was copy the relevant theme files to a folder in my localtexmf tree,
renamed them (so that they did not collide with the originals), and hacked them.
 Hacking an existing theme is probably faster than cobbling together a new one,
assuming you're happy with most of what the existing theme does.

Paul



Re: Adding a logo to beamer presentation

2011-06-15 Thread Graham Smith
Paul


  Each Beamer theme is a collection of LaTeX commands, meaning that
  instead of using a given theme you could compile several commands
  (from different themes) that would give you the look you desire. I'd
  start with Beamer's documentation.

 I've customized a few themes (Warsaw, Madrid, Marburg) to add my college's
 logo.
  What I did was copy the relevant theme files to a folder in my localtexmf
 tree,
 renamed them (so that they did not collide with the originals), and hacked
 them.
  Hacking an existing theme is probably faster than cobbling together a new
 one,
 assuming you're happy with most of what the existing theme does.


I may well try that some time, but for now I will have to compromise.

Thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-15 Thread Paul Rubin
Liviu Andronic  gmail.com> writes:


> Each Beamer theme is a collection of LaTeX commands, meaning that
> instead of using a given theme you could compile several commands
> (from different themes) that would give you the look you desire. I'd
> start with Beamer's documentation.

I've customized a few themes (Warsaw, Madrid, Marburg) to add my college's logo.
 What I did was copy the relevant theme files to a folder in my localtexmf tree,
renamed them (so that they did not collide with the originals), and hacked them.
 Hacking an existing theme is probably faster than cobbling together a new one,
assuming you're happy with most of what the existing theme does.

Paul



Re: Adding a logo to beamer presentation

2011-06-15 Thread Graham Smith
Paul


> > Each Beamer theme is a collection of LaTeX commands, meaning that
> > instead of using a given theme you could compile several commands
> > (from different themes) that would give you the look you desire. I'd
> > start with Beamer's documentation.
>
> I've customized a few themes (Warsaw, Madrid, Marburg) to add my college's
> logo.
>  What I did was copy the relevant theme files to a folder in my localtexmf
> tree,
> renamed them (so that they did not collide with the originals), and hacked
> them.
>  Hacking an existing theme is probably faster than cobbling together a new
> one,
> assuming you're happy with most of what the existing theme does.
>

I may well try that some time, but for now I will have to compromise.

Thanks,

Graham


Adding a logo to beamer presentation

2011-06-14 Thread Graham Smith
Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu
10.10  Goettingen theme

I tried just

\logo{\includegraphics[height=0.5cm]{Biocensustraininglogonew.JPG}}

an option in the Beamer instructions both as a preamble and ERT but nothing
happened , no errors no logo. The logo file is in the same directory as the
lyx file.

I then tried:


\usepackage{pgf}
\pgfdeclareimage[height=0.5cm]{Biocensus-logo}{/home/graham/Dropbox/Lectures/WildlifeLegislation/Biocensustraininglogonew.JPG}
\logo{\pgfuseimage{Biocensus-logo}}


Again no error messages and no logo.

My search through google seems to just confirm the above method of doing
what I am doing, but obviously I am missing something.

Can anyone help.

Many thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-14 Thread Liviu Andronic
On Tue, Jun 14, 2011 at 10:52 AM, Graham Smith myotis...@gmail.com wrote:
 Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu
 10.10  Goettingen theme

[..]

 My search through google seems to just confirm the above method of doing
 what I am doing, but obviously I am missing something.

I'm wondering if it's not theme-related. Have you tried with some other themes?
Liviu


Re: Adding a logo to beamer presentation

2011-06-14 Thread Graham Smith
Liviu


 I'm wondering if it's not theme-related. Have you tried with some other
 themes?


You are correct, it is linked to the them, changing to Warsaw gives me the
logo in the bottom left corner.

Which is fine except I really want the Goettingen theme. Having tried a few
themes it seems it doesn't work if you have a theme with a vertical
navigation bar.

That's a blow, but at least I now know what is going on.

Thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-14 Thread Liviu Andronic
On Tue, Jun 14, 2011 at 4:28 PM, Graham Smith myotis...@gmail.com wrote:
 You are correct, it is linked to the them, changing to Warsaw gives me the
 logo in the bottom left corner.
 Which is fine except I really want the Goettingen theme. Having tried a few
 themes it seems it doesn't work if you have a theme with a vertical
 navigation bar.

Each Beamer theme is a collection of LaTeX commands, meaning that
instead of using a given theme you could compile several commands
(from different themes) that would give you the look you desire. I'd
start with Beamer's documentation.

Regards
Liviu


Adding a logo to beamer presentation

2011-06-14 Thread Graham Smith
Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu
10.10  Goettingen theme

I tried just

\logo{\includegraphics[height=0.5cm]{Biocensustraininglogonew.JPG}}

an option in the Beamer instructions both as a preamble and ERT but nothing
happened , no errors no logo. The logo file is in the same directory as the
lyx file.

I then tried:


\usepackage{pgf}
\pgfdeclareimage[height=0.5cm]{Biocensus-logo}{/home/graham/Dropbox/Lectures/WildlifeLegislation/Biocensustraininglogonew.JPG}
\logo{\pgfuseimage{Biocensus-logo}}


Again no error messages and no logo.

My search through google seems to just confirm the above method of doing
what I am doing, but obviously I am missing something.

Can anyone help.

Many thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-14 Thread Liviu Andronic
On Tue, Jun 14, 2011 at 10:52 AM, Graham Smith myotis...@gmail.com wrote:
 Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu
 10.10  Goettingen theme

[..]

 My search through google seems to just confirm the above method of doing
 what I am doing, but obviously I am missing something.

I'm wondering if it's not theme-related. Have you tried with some other themes?
Liviu


Re: Adding a logo to beamer presentation

2011-06-14 Thread Graham Smith
Liviu


 I'm wondering if it's not theme-related. Have you tried with some other
 themes?


You are correct, it is linked to the them, changing to Warsaw gives me the
logo in the bottom left corner.

Which is fine except I really want the Goettingen theme. Having tried a few
themes it seems it doesn't work if you have a theme with a vertical
navigation bar.

That's a blow, but at least I now know what is going on.

Thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-14 Thread Liviu Andronic
On Tue, Jun 14, 2011 at 4:28 PM, Graham Smith myotis...@gmail.com wrote:
 You are correct, it is linked to the them, changing to Warsaw gives me the
 logo in the bottom left corner.
 Which is fine except I really want the Goettingen theme. Having tried a few
 themes it seems it doesn't work if you have a theme with a vertical
 navigation bar.

Each Beamer theme is a collection of LaTeX commands, meaning that
instead of using a given theme you could compile several commands
(from different themes) that would give you the look you desire. I'd
start with Beamer's documentation.

Regards
Liviu


Adding a logo to beamer presentation

2011-06-14 Thread Graham Smith
Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu
10.10  Goettingen theme

I tried just

\logo{\includegraphics[height=0.5cm]{Biocensustraininglogonew.JPG}}

an option in the Beamer instructions both as a preamble and ERT but nothing
happened , no errors no logo. The logo file is in the same directory as the
lyx file.

I then tried:


\usepackage{pgf}
\pgfdeclareimage[height=0.5cm]{Biocensus-logo}{/home/graham/Dropbox/Lectures/WildlifeLegislation/Biocensustraininglogonew.JPG}
\logo{\pgfuseimage{Biocensus-logo}}


Again no error messages and no logo.

My search through google seems to just confirm the above method of doing
what I am doing, but obviously I am missing something.

Can anyone help.

Many thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-14 Thread Liviu Andronic
On Tue, Jun 14, 2011 at 10:52 AM, Graham Smith <myotis...@gmail.com> wrote:
> Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu
> 10.10  Goettingen theme
>
[..]

> My search through google seems to just confirm the above method of doing
> what I am doing, but obviously I am missing something.
>
I'm wondering if it's not theme-related. Have you tried with some other themes?
Liviu


Re: Adding a logo to beamer presentation

2011-06-14 Thread Graham Smith
Liviu


> I'm wondering if it's not theme-related. Have you tried with some other
> themes?
>
>
You are correct, it is linked to the them, changing to Warsaw gives me the
logo in the bottom left corner.

Which is fine except I really want the Goettingen theme. Having tried a few
themes it seems it doesn't work if you have a theme with a vertical
navigation bar.

That's a blow, but at least I now know what is going on.

Thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-14 Thread Liviu Andronic
On Tue, Jun 14, 2011 at 4:28 PM, Graham Smith <myotis...@gmail.com> wrote:
> You are correct, it is linked to the them, changing to Warsaw gives me the
> logo in the bottom left corner.
> Which is fine except I really want the Goettingen theme. Having tried a few
> themes it seems it doesn't work if you have a theme with a vertical
> navigation bar.
>
Each Beamer theme is a collection of LaTeX commands, meaning that
instead of using a given theme you could compile several commands
(from different themes) that would give you the look you desire. I'd
start with Beamer's documentation.

Regards
Liviu


logo on front slide of beamer presentation

2011-05-23 Thread Marit Elisabeth Klemetsen
Hi!

My name is Marit and I am working on my thesis presentation in a template
called beamer-conference-ornate-20min. I am trying to do include the logo
of Stockholm University on the front slide and the instructions I get from
the template are:

If you have a file called institution-logo-filename.xxx, where xxx is a
graphic format that can be processed by latex or pdflatex, resp., then you
can add a logo by uncommenting the following:

%\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename}

%\logo{\pgfuseimage{institution-logo}}

Do I need to install pgf? I hope I can avoid this. I have the logo in .pdf
and in .tif . Can LyX process this? I saved the logo in the same folder as
my lyx document. I removed the % signs guessing that I then am
uncommenting the code. I named the file institution-logo-filename just
to test it. But it didn't work.
Is there a code to include a logo in pdf format?

Thanks in advance!

Best regards,

Marit


Re: logo on front slide of beamer presentation

2011-05-23 Thread Stephan Witt
Am 23.05.2011 um 14:29 schrieb Marit Elisabeth Klemetsen:

 Hi!
 
 My name is Marit and I am working on my thesis presentation in a template 
 called beamer-conference-ornate-20min. I am trying to do include the logo 
 of Stockholm University on the front slide and the instructions I get from 
 the template are:
 
 If you have a file called institution-logo-filename.xxx, where xxx is a 
 graphic format that can be processed by latex or pdflatex, resp., then you 
 can add a logo by uncommenting the following:
 
 %\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename}
 
 %\logo{\pgfuseimage{institution-logo}}
 
 Do I need to install pgf? I hope I can avoid this. I have the logo in .pdf 
 and in .tif . Can LyX process this? I saved the logo in the same folder as my 
 lyx document. I removed the % signs guessing that I then am uncommenting 
 the code. I named the file institution-logo-filename just to test it. But 
 it didn't work. 
 Is there a code to include a logo in pdf format?

Removing the % was fine.
I tried it myself and succeeded with the absolute path name for the image.
E. g. /Users/stephan/Desktop/mylogo for /Users/stephan/Desktop/mylogo.pdf

I'm using LyX 2.0.0 ...

Stephan

Re: logo on front slide of beamer presentation

2011-05-23 Thread Paul Rubin
Marit Elisabeth Klemetsen maritklemetsen at gmail.com writes:

 
 Do I need to install pgf? I hope I can avoid this.

Yes, you will need to install the PGF LaTeX package.

Paul




Re: logo on front slide of beamer presentation

2011-05-23 Thread Stephan Witt
Am 23.05.2011 um 17:00 schrieb Paul Rubin:

 Marit Elisabeth Klemetsen maritklemetsen at gmail.com writes:
 
 
 Do I need to install pgf? I hope I can avoid this.
 
 Yes, you will need to install the PGF LaTeX package.

So, it's already included in MacTeX 2009, obviously...

Stephan


logo on front slide of beamer presentation

2011-05-23 Thread Marit Elisabeth Klemetsen
Hi!

My name is Marit and I am working on my thesis presentation in a template
called beamer-conference-ornate-20min. I am trying to do include the logo
of Stockholm University on the front slide and the instructions I get from
the template are:

If you have a file called institution-logo-filename.xxx, where xxx is a
graphic format that can be processed by latex or pdflatex, resp., then you
can add a logo by uncommenting the following:

%\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename}

%\logo{\pgfuseimage{institution-logo}}

Do I need to install pgf? I hope I can avoid this. I have the logo in .pdf
and in .tif . Can LyX process this? I saved the logo in the same folder as
my lyx document. I removed the % signs guessing that I then am
uncommenting the code. I named the file institution-logo-filename just
to test it. But it didn't work.
Is there a code to include a logo in pdf format?

Thanks in advance!

Best regards,

Marit


Re: logo on front slide of beamer presentation

2011-05-23 Thread Stephan Witt
Am 23.05.2011 um 14:29 schrieb Marit Elisabeth Klemetsen:

 Hi!
 
 My name is Marit and I am working on my thesis presentation in a template 
 called beamer-conference-ornate-20min. I am trying to do include the logo 
 of Stockholm University on the front slide and the instructions I get from 
 the template are:
 
 If you have a file called institution-logo-filename.xxx, where xxx is a 
 graphic format that can be processed by latex or pdflatex, resp., then you 
 can add a logo by uncommenting the following:
 
 %\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename}
 
 %\logo{\pgfuseimage{institution-logo}}
 
 Do I need to install pgf? I hope I can avoid this. I have the logo in .pdf 
 and in .tif . Can LyX process this? I saved the logo in the same folder as my 
 lyx document. I removed the % signs guessing that I then am uncommenting 
 the code. I named the file institution-logo-filename just to test it. But 
 it didn't work. 
 Is there a code to include a logo in pdf format?

Removing the % was fine.
I tried it myself and succeeded with the absolute path name for the image.
E. g. /Users/stephan/Desktop/mylogo for /Users/stephan/Desktop/mylogo.pdf

I'm using LyX 2.0.0 ...

Stephan

Re: logo on front slide of beamer presentation

2011-05-23 Thread Paul Rubin
Marit Elisabeth Klemetsen maritklemetsen at gmail.com writes:

 
 Do I need to install pgf? I hope I can avoid this.

Yes, you will need to install the PGF LaTeX package.

Paul




Re: logo on front slide of beamer presentation

2011-05-23 Thread Stephan Witt
Am 23.05.2011 um 17:00 schrieb Paul Rubin:

 Marit Elisabeth Klemetsen maritklemetsen at gmail.com writes:
 
 
 Do I need to install pgf? I hope I can avoid this.
 
 Yes, you will need to install the PGF LaTeX package.

So, it's already included in MacTeX 2009, obviously...

Stephan


logo on front slide of beamer presentation

2011-05-23 Thread Marit Elisabeth Klemetsen
Hi!

My name is Marit and I am working on my thesis presentation in a template
called "beamer-conference-ornate-20min". I am trying to do include the logo
of Stockholm University on the front slide and the instructions I get from
the template are:

"If you have a file called "institution-logo-filename.xxx", where xxx is a
graphic format that can be processed by latex or pdflatex, resp., then you
can add a logo by uncommenting the following:

%\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename}

%\logo{\pgfuseimage{institution-logo}}
"
Do I need to install pgf? I hope I can avoid this. I have the logo in .pdf
and in .tif . Can LyX process this? I saved the logo in the same folder as
my lyx document. I removed the % signs guessing that I then am
"uncommenting" the code. I named the file "institution-logo-filename" just
to test it. But it didn't work.
Is there a code to include a logo in pdf format?

Thanks in advance!

Best regards,

Marit


Re: logo on front slide of beamer presentation

2011-05-23 Thread Stephan Witt
Am 23.05.2011 um 14:29 schrieb Marit Elisabeth Klemetsen:

> Hi!
> 
> My name is Marit and I am working on my thesis presentation in a template 
> called "beamer-conference-ornate-20min". I am trying to do include the logo 
> of Stockholm University on the front slide and the instructions I get from 
> the template are:
> 
> "If you have a file called "institution-logo-filename.xxx", where xxx is a 
> graphic format that can be processed by latex or pdflatex, resp., then you 
> can add a logo by uncommenting the following:
> 
> %\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename}
> 
> %\logo{\pgfuseimage{institution-logo}}
> "
> Do I need to install pgf? I hope I can avoid this. I have the logo in .pdf 
> and in .tif . Can LyX process this? I saved the logo in the same folder as my 
> lyx document. I removed the % signs guessing that I then am "uncommenting" 
> the code. I named the file "institution-logo-filename" just to test it. But 
> it didn't work. 
> Is there a code to include a logo in pdf format?

Removing the % was fine.
I tried it myself and succeeded with the absolute path name for the image.
E. g. /Users/stephan/Desktop/mylogo for /Users/stephan/Desktop/mylogo.pdf

I'm using LyX 2.0.0 ...

Stephan

Re: logo on front slide of beamer presentation

2011-05-23 Thread Paul Rubin
Marit Elisabeth Klemetsen  gmail.com> writes:

> 
> Do I need to install pgf? I hope I can avoid this.

Yes, you will need to install the PGF LaTeX package.

Paul




Re: logo on front slide of beamer presentation

2011-05-23 Thread Stephan Witt
Am 23.05.2011 um 17:00 schrieb Paul Rubin:

> Marit Elisabeth Klemetsen  gmail.com> writes:
> 
>> 
>> Do I need to install pgf? I hope I can avoid this.
> 
> Yes, you will need to install the PGF LaTeX package.

So, it's already included in MacTeX 2009, obviously...

Stephan


Beamer and logo

2010-05-25 Thread Ehud Kaplan
After playing with Beamer for a while, and admiring the beautiful 
slides it can make,
I am disappointed to discover that the style dictatorship that Latex 
enforces could become

too restrictive:

   * Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   * If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)

Without the ability to place a logo anywhere the user wishes to, Beamer 
might be useless for certain presentations.


   * In addition, when used through Lyx, the logo is not displayed with
 the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.


EK



Re: gt;Beamer and logo

2010-05-25 Thread Paul Rubin
Ehud Kaplan Ehud.Kaplan at mssm.edu writes:

 
 
 After playing with Beamer for a while, and admiring the beautiful
 slides it can make, 
 I am disappointed to discover that the style dictatorship that Latex
 enforces could become 
 too restrictive:
 Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)
 
 Without the ability to place a logo anywhere the user wishes to, Beamer
 might be useless for certain presentations.

I believe you can put a logo pretty much anywhere on the periphery if you use a
style that has a bar in that area and then hack the appropriate outer theme to
put the logo where you want it.
 
 In addition, when used through Lyx, the logo is not displayed
 with the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.

When I preview beamer files using pdflatex, I see my logo(s).

/Paul




Beamer and logo

2010-05-25 Thread Ehud Kaplan
After playing with Beamer for a while, and admiring the beautiful 
slides it can make,
I am disappointed to discover that the style dictatorship that Latex 
enforces could become

too restrictive:

   * Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   * If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)

Without the ability to place a logo anywhere the user wishes to, Beamer 
might be useless for certain presentations.


   * In addition, when used through Lyx, the logo is not displayed with
 the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.


EK



Re: gt;Beamer and logo

2010-05-25 Thread Paul Rubin
Ehud Kaplan Ehud.Kaplan at mssm.edu writes:

 
 
 After playing with Beamer for a while, and admiring the beautiful
 slides it can make, 
 I am disappointed to discover that the style dictatorship that Latex
 enforces could become 
 too restrictive:
 Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)
 
 Without the ability to place a logo anywhere the user wishes to, Beamer
 might be useless for certain presentations.

I believe you can put a logo pretty much anywhere on the periphery if you use a
style that has a bar in that area and then hack the appropriate outer theme to
put the logo where you want it.
 
 In addition, when used through Lyx, the logo is not displayed
 with the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.

When I preview beamer files using pdflatex, I see my logo(s).

/Paul




>Beamer and logo

2010-05-25 Thread Ehud Kaplan
After playing with Beamer for a while, and admiring the beautiful 
"slides" it can make,
I am disappointed to discover that the style dictatorship that Latex 
enforces could become

too restrictive:

   * Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   * If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)

Without the ability to place a logo anywhere the user wishes to, Beamer 
might be useless for certain presentations.


   * In addition, when used through Lyx, the logo is not displayed with
 the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.


EK



Re: Beamer and logo

2010-05-25 Thread Paul Rubin
Ehud Kaplan  mssm.edu> writes:

> 
> 
> After playing with Beamer for a while, and admiring the beautiful
> "slides" it can make, 
> I am disappointed to discover that the style dictatorship that Latex
> enforces could become 
> too restrictive:
> Beamer allows us to place a logo on the slides, but ONLY where it
> wants to (not really where I would put it by default).
>   If you set the headings to empty, it also eliminate the logo (I
> fail to see the connection)
> 
> Without the ability to place a logo anywhere the user wishes to, Beamer
> might be useless for certain presentations.

I believe you can put a logo pretty much anywhere on the periphery if you use a
style that has a bar in that area and then hack the appropriate "outer theme" to
put the logo where you want it.
> 
> In addition, when used through Lyx, the logo is not displayed
> with the pdflatex preview.  You have to export to Latex, compile and
> view the pdf.

When I preview beamer files using pdflatex, I see my logo(s).

/Paul




Re: Logo with Lyx-Beamer

2010-05-18 Thread José Matos
On Tuesday 18 May 2010 00:45:27 E. Kaplan wrote:
 I am trying to embed a logo on each slide of a presentation I created
 with Lyx and Beamer.
 When I use the following lines from the example (using ERT):
 \pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.
 jpg} \logo{\pgfuseimage{institution-logo}}

You need the global path of the logo, it will not work otherwise because of 
the way LyX uses the temporary directory.

 I get pgf errors, and the logo does not show up.
 What am I doing wrong?
 I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.
 
 Thanks,
 EK

-- 
José Abílio


Logo with Lyx-Beamer

2010-05-18 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Re: Logo with Lyx-Beamer

2010-05-18 Thread José Matos
On Tuesday 18 May 2010 00:45:27 E. Kaplan wrote:
 I am trying to embed a logo on each slide of a presentation I created
 with Lyx and Beamer.
 When I use the following lines from the example (using ERT):
 \pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.
 jpg} \logo{\pgfuseimage{institution-logo}}

You need the global path of the logo, it will not work otherwise because of 
the way LyX uses the temporary directory.

 I get pgf errors, and the logo does not show up.
 What am I doing wrong?
 I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.
 
 Thanks,
 EK

-- 
José Abílio


Logo with Lyx-Beamer

2010-05-18 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Re: Logo with Lyx-Beamer

2010-05-18 Thread José Matos
On Tuesday 18 May 2010 00:45:27 E. Kaplan wrote:
> I am trying to embed a logo on each slide of a presentation I created
> with Lyx and Beamer.
> When I use the following lines from the example (using ERT):
> \pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.
> jpg} \logo{\pgfuseimage{institution-logo}}

You need the global path of the logo, it will not work otherwise because of 
the way LyX uses the temporary directory.

> I get pgf errors, and the logo does not show up.
> What am I doing wrong?
> I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.
> 
> Thanks,
> EK

-- 
José Abílio


Logo with Lyx-Beamer

2010-05-18 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Logo with Lyx-Beamer

2010-05-17 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Logo with Lyx-Beamer

2010-05-17 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Logo with Lyx-Beamer

2010-05-17 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Re: Lost Logo in Beamer Class Presentation ... Again

2009-10-28 Thread Paul A. Rubin

Rich Shepard wrote:

  I've just finished the visuals for a meeting keynote talk I'm presenting
this coming Friday. Once again the logo does not display in the lower right
corner of each slide. I no longer have thread from last April, but I copied
that presentation (where it finally worked) to use as the template for this
one. The .pdf logo does not display in either xpdf or acroread.

  Any ideas on what might be going on or where I should look for a reason?

Rich



If it's not displaying on any slide, maybe the path to it is munged?

Anything in the log file relating to it?

/Paul



Re: Lost Logo in Beamer Class Presentation ... Again

2009-10-28 Thread Paul A. Rubin

Rich Shepard wrote:

  I've just finished the visuals for a meeting keynote talk I'm presenting
this coming Friday. Once again the logo does not display in the lower right
corner of each slide. I no longer have thread from last April, but I copied
that presentation (where it finally worked) to use as the template for this
one. The .pdf logo does not display in either xpdf or acroread.

  Any ideas on what might be going on or where I should look for a reason?

Rich



If it's not displaying on any slide, maybe the path to it is munged?

Anything in the log file relating to it?

/Paul



Re: Lost Logo in Beamer Class Presentation ... Again

2009-10-28 Thread Paul A. Rubin

Rich Shepard wrote:

  I've just finished the visuals for a meeting keynote talk I'm presenting
this coming Friday. Once again the logo does not display in the lower right
corner of each slide. I no longer have thread from last April, but I copied
that presentation (where it finally worked) to use as the template for this
one. The .pdf logo does not display in either xpdf or acroread.

  Any ideas on what might be going on or where I should look for a reason?

Rich



If it's not displaying on any slide, maybe the path to it is munged?

Anything in the log file relating to it?

/Paul



Lost Logo in Beamer Class Presentation ... Again

2009-10-27 Thread Rich Shepard

  I've just finished the visuals for a meeting keynote talk I'm presenting
this coming Friday. Once again the logo does not display in the lower right
corner of each slide. I no longer have thread from last April, but I copied
that presentation (where it finally worked) to use as the template for this
one. The .pdf logo does not display in either xpdf or acroread.

  Any ideas on what might be going on or where I should look for a reason?

Rich


Lost Logo in Beamer Class Presentation ... Again

2009-10-27 Thread Rich Shepard

  I've just finished the visuals for a meeting keynote talk I'm presenting
this coming Friday. Once again the logo does not display in the lower right
corner of each slide. I no longer have thread from last April, but I copied
that presentation (where it finally worked) to use as the template for this
one. The .pdf logo does not display in either xpdf or acroread.

  Any ideas on what might be going on or where I should look for a reason?

Rich


  1   2   3   4   5   6   7   8   >