Re: Koma-script letter error

2016-05-29 Thread Scott Kostyshak
On Sun, May 29, 2016 at 09:30:08PM +0200, Walter van Holst wrote:
> On 29/05/2016 15:25, Michael Berger wrote:
> 
> > Ron, the information you provide is too general; that Latex Error may
> > also be generated in hundreds of other cases.
> > Please, be more specific.
> 
> The name is Walter. Anyway, as a user this is the error that gets
> presented to you. If that is not specific enough, it might be worthwhile
> to have more specific error message.
> 
> Either way, it was a PEBCAK, I had been using the Adress field twice and
> omitted to use "end of letter" (which I do not remember being part of
> KOMA-Script Letter v2 earlier).

Glad you got it fixed. I thought we had an enhancement request open to
prevent duplicate entries for certain styles (like title, and as you
found I guess address also). But I can't find it.

Scott

> 
> Regards,
> 
>  Walter
> 


signature.asc
Description: PGP signature


Re: Koma-script letter error

2016-05-29 Thread Walter van Holst
On 29/05/2016 15:25, Michael Berger wrote:

> Ron, the information you provide is too general; that Latex Error may
> also be generated in hundreds of other cases.
> Please, be more specific.

The name is Walter. Anyway, as a user this is the error that gets
presented to you. If that is not specific enough, it might be worthwhile
to have more specific error message.

Either way, it was a PEBCAK, I had been using the Adress field twice and
omitted to use "end of letter" (which I do not remember being part of
KOMA-Script Letter v2 earlier).

Regards,

 Walter



Re: Koma-script letter error

2016-05-29 Thread Michael Berger



On 05/29/2016 02:54 PM, Walter van Holst wrote:

Hi all,

When trying to use the Koma-script Letter template I get this error:\

! LaTeX Error: \begin{letter} on input line 27 ended by \end{document}.

  \end{document}

Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

Suggestions on how to deal with this would be most welcome.

Regards,

  Walter

Ron, the information you provide is too general; that Latex Error may 
also be generated in hundreds of other cases.

Please, be more specific.
Michael



Re: Koma-script letter error

2016-05-29 Thread Rich Shepard

On Sun, 29 May 2016, Walter van Holst wrote:


When trying to use the Koma-script Letter template I get this error:\
! LaTeX Error: \begin{letter} on input line 27 ended by \end{document}.
\end{document}

Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

Suggestions on how to deal with this would be most welcome.


Walter,

  First, did you examine the error log to see the details? Second, this
frequently occurs when you have an unintended character, such as a digbat,
inserted in the document or you're missing a package.

  Try reducing the letter to a minimal document that compiles, then
incrementally add text until you discover the problem area.

HTH,

Rich


Re: Koma-script letter error on Windows but not on Mac

2008-08-19 Thread Graham Smith

Daniel

On 18 Aug 2008, at 17:32, Daniel Lohmann wrote:



On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and  
Windows that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to  
use  either 16 bit unicode or ISO with codepages. Another issue are  
line endings. So you often need to convert text files when moving  
from one system to another.


Open the files with a text editor (such as TextWrangler) that can  
translate them  to Windows.


I have tried opening in Emacs and Notepad, and saving) and I have  
commented out all the lines and retyped them fresh, but still get the  
same error.  The file compiles OK on Linux as well as the Mac, so yes  
it seems to be something specific to Windows.


My lines of code giving the problem are:

\KOMAoptions{%
,fromalign=right
,fromrule=aftername
,fromlogo=true
,backaddress=false
}

Graham


Daniel




Re: Koma-script letter error on Windows but not on Mac

2008-08-19 Thread Konrad Hofbauer

Graham Smith wrote:

My lines of code giving the problem are:

\KOMAoptions{%
,fromalign=right
,fromrule=aftername
,fromlogo=true
,backaddress=false
}


Is this LyX-generated code or your own Preamble stuff?

I have not tried, but should there not be a %-sign at the end of each 
line ??? Plus, there is a ',' too much on the first line.
So this is I believe not a cross-platform issue but wrong syntax (which 
happens to be forgiven or not depending on the platform and Koma version).


Try putting everything on one line, i.e.
\KOMAoptions{fromalign=right, fromrule=aftername ,fromlogo=true, 
backaddress=false} and I am almost sure everything works.


HTH,
/Konrad



Re: Koma-script letter error on Windows but not on Mac

2008-08-19 Thread Graham Smith

Daniel

On 18 Aug 2008, at 17:32, Daniel Lohmann wrote:



On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and  
Windows that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to  
use  either 16 bit unicode or ISO with codepages. Another issue are  
line endings. So you often need to convert text files when moving  
from one system to another.


Open the files with a text editor (such as TextWrangler) that can  
translate them  to Windows.


I have tried opening in Emacs and Notepad, and saving) and I have  
commented out all the lines and retyped them fresh, but still get the  
same error.  The file compiles OK on Linux as well as the Mac, so yes  
it seems to be something specific to Windows.


My lines of code giving the problem are:

\KOMAoptions{%
,fromalign=right
,fromrule=aftername
,fromlogo=true
,backaddress=false
}

Graham


Daniel




Re: Koma-script letter error on Windows but not on Mac

2008-08-19 Thread Konrad Hofbauer

Graham Smith wrote:

My lines of code giving the problem are:

\KOMAoptions{%
,fromalign=right
,fromrule=aftername
,fromlogo=true
,backaddress=false
}


Is this LyX-generated code or your own Preamble stuff?

I have not tried, but should there not be a %-sign at the end of each 
line ??? Plus, there is a ',' too much on the first line.
So this is I believe not a cross-platform issue but wrong syntax (which 
happens to be forgiven or not depending on the platform and Koma version).


Try putting everything on one line, i.e.
\KOMAoptions{fromalign=right, fromrule=aftername ,fromlogo=true, 
backaddress=false} and I am almost sure everything works.


HTH,
/Konrad



Re: Koma-script letter error on Windows but not on Mac

2008-08-19 Thread Graham Smith

Daniel

On 18 Aug 2008, at 17:32, Daniel Lohmann wrote:



On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and  
Windows that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to  
use  either 16 bit unicode or ISO with codepages. Another issue are  
line endings. So you often need to convert text files when moving  
from one system to another.


Open the files with a text editor (such as TextWrangler) that can  
"translate" them  to Windows.


I have tried opening in Emacs and Notepad, and saving) and I have  
commented out all the lines and retyped them fresh, but still get the  
same error.  The file compiles OK on Linux as well as the Mac, so yes  
it seems to be something specific to Windows.


My lines of code giving the problem are:

\KOMAoptions{%
,fromalign=right
,fromrule=aftername
,fromlogo=true
,backaddress=false
}

Graham


Daniel




Re: Koma-script letter error on Windows but not on Mac

2008-08-19 Thread Konrad Hofbauer

Graham Smith wrote:

My lines of code giving the problem are:

\KOMAoptions{%
,fromalign=right
,fromrule=aftername
,fromlogo=true
,backaddress=false
}


Is this LyX-generated code or your own Preamble stuff?

I have not tried, but should there not be a %-sign at the end of each 
line ??? Plus, there is a ',' too much on the first line.
So this is I believe not a cross-platform issue but wrong syntax (which 
happens to be forgiven or not depending on the platform and Koma version).


Try putting everything on one line, i.e.
\KOMAoptions{fromalign=right, fromrule=aftername ,fromlogo=true, 
backaddress=false} and I am almost sure everything works.


HTH,
/Konrad



Re: Koma-script letter error on Windows but not on Mac

2008-08-18 Thread Daniel Lohmann


On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and Windows  
that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to use   
either 16 bit unicode or ISO with codepages. Another issue are line  
endings. So you often need to convert text files when moving from one  
system to another.


Open the files with a text editor (such as TextWrangler) that can  
translate them  to Windows.


Daniel 


Re: Koma-script letter error on Windows but not on Mac

2008-08-18 Thread Graham Smith




On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and  
Windows that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to  
use  either 16 bit unicode or ISO with codepages. Another issue are  
line endings. So you often need to convert text files when moving  
from one system to another.


Open the files with a text editor (such as TextWrangler) that can  
translate them  to Windows.


Thanks, but immediate problem is now that after re-installing Lyx, I  
discovered none of the document classes had been installed, so I've  
installed Koma - Script via MikeTex and reconfigure either freezes or  
gives me a reconfigure error.


Graham



Re: Koma-script letter error on Windows but not on Mac

2008-08-18 Thread Daniel Lohmann


On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and Windows  
that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to use   
either 16 bit unicode or ISO with codepages. Another issue are line  
endings. So you often need to convert text files when moving from one  
system to another.


Open the files with a text editor (such as TextWrangler) that can  
translate them  to Windows.


Daniel 


Re: Koma-script letter error on Windows but not on Mac

2008-08-18 Thread Graham Smith




On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and  
Windows that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to  
use  either 16 bit unicode or ISO with codepages. Another issue are  
line endings. So you often need to convert text files when moving  
from one system to another.


Open the files with a text editor (such as TextWrangler) that can  
translate them  to Windows.


Thanks, but immediate problem is now that after re-installing Lyx, I  
discovered none of the document classes had been installed, so I've  
installed Koma - Script via MikeTex and reconfigure either freezes or  
gives me a reconfigure error.


Graham



Re: Koma-script letter error on Windows but not on Mac

2008-08-18 Thread Daniel Lohmann


On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and Windows  
that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to use   
either 16 bit unicode or ISO with codepages. Another issue are line  
endings. So you often need to convert text files when moving from one  
system to another.


Open the files with a text editor (such as TextWrangler) that can  
"translate" them  to Windows.


Daniel 


Re: Koma-script letter error on Windows but not on Mac

2008-08-18 Thread Graham Smith




On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and  
Windows that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to  
use  either 16 bit unicode or ISO with codepages. Another issue are  
line endings. So you often need to convert text files when moving  
from one system to another.


Open the files with a text editor (such as TextWrangler) that can  
"translate" them  to Windows.


Thanks, but immediate problem is now that after re-installing Lyx, I  
discovered none of the document classes had been installed, so I've  
installed Koma - Script via MikeTex and reconfigure either freezes or  
gives me a reconfigure error.


Graham