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 w

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 lar

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 an

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 sudd

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: GN

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 p

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

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 `pape

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 und

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 dis

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 di

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

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 frequen

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

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

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

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 hav

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 > fir

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

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

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

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)   

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 ]

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)

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 whet

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 lin

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

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

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