Re: [NTG-context] letter module: no linebreak in signature

2008-11-19 Thread Wolfgang Schuster

Am 19.11.2008 um 02:54 schrieb Michael Green:

 \setuppapersize[letter][letter]

 Do you need lettersize for all your letters?


 Yes, I have to use US lettersize paper (8.5 inches x 11 inches) for
 the physical paper on which my letters are printed. For long letters,
 I use a narrower textarea, but I don't think that's what you're
 asking me.

You can write the setting for the paper size in a new file with
the namer user.nls and put it somewhere in your TeX directory
where ConTeXt could find it. It's similiar to cont-usr.tex because
my module loads for every letter you write.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] letter module: no linebreak in signature

2008-11-19 Thread Michael Green
Wolfgang Schuster wrote:

 You can write the setting for the paper size in a new file with
 the namer user.nls and put it somewhere in your TeX directory
 where ConTeXt could find it. It's similiar to cont-usr.tex because
 my module loads for every letter you write.


Ah, I see. That's an interesting feature. Thanks!

Michael

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Michael Green
Using Wolfgang Schuster's wonderful letter module, I enter my  
signature with my name and title like so:

\setupletter[signature={Michael Green \\ Assistant Professor of  
Philosophy}]

This used to produce a line break between Green and Assistant so  
the output would look like this:

Michael Green
Assistant Professor of Philosophy

But it no longer does. Now it comes out like this:

Michael Green  Assistant Professor of Philosophy

Is there a preferred way to accomplish the effect I want?

Thanks!

Michael

--  Example  

ConTeXt  ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.17  int: english/ 
english

\setuppapersize[letter][letter]

\usemodule[letter][style=semiblock]
\setupletter[%
  closing={Sincerely yours,},
  signature={Michael Green \\ Assistant Professor of Philosophy},
  date=\currentdate
]

\setupletter[%
  opening={To the Addressee,},
]

\starttext

\startletter

Here is the content of the letter.
\stopletter
\stoptext

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Wolfgang Schuster

Am 18.11.2008 um 17:47 schrieb Michael Green:

 Using Wolfgang Schuster's wonderful letter module, I enter my
 signature with my name and title like so:

 \setupletter[signature={Michael Green \\ Assistant Professor of
 Philosophy}]

 This used to produce a line break between Green and Assistant so
 the output would look like this:

 Michael Green
 Assistant Professor of Philosophy

 But it no longer does. Now it comes out like this:

 Michael Green  Assistant Professor of Philosophy

 Is there a preferred way to accomplish the effect I want?

I uploaded a new version, if you have no time update for
the moment use \crlf as replacement.

 Thanks!

 Michael

 --  Example  

 ConTeXt  ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.17  int: english/
 english

 \setuppapersize[letter][letter]

Do you need lettersize for all your letters?

 \usemodule[letter][style=semiblock]
 \setupletter[%
  closing={Sincerely yours,},
  signature={Michael Green \\ Assistant Professor of Philosophy},
  date=\currentdate
 ]

 \setupletter[%
  opening={To the Addressee,},
 ]

 \starttext

 \startletter

 Here is the content of the letter.
 \stopletter
 \stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Michael Green

On Nov 18, 2008, at 10:46 AM, Wolfgang Schuster wrote:


 Am 18.11.2008 um 17:47 schrieb Michael Green:

 Using Wolfgang Schuster's wonderful letter module, I enter my
 signature with my name and title like so:

 \setupletter[signature={Michael Green \\ Assistant Professor of
 Philosophy}]

 This used to produce a line break between Green and Assistant so
 the output would look like this:

 Michael Green
 Assistant Professor of Philosophy

 But it no longer does. Now it comes out like this:

 Michael Green  Assistant Professor of Philosophy

 Is there a preferred way to accomplish the effect I want?

 I uploaded a new version, if you have no time update for
 the moment use \crlf as replacement.


Wow, that was incredibly fast. Thank you very much! The new version  
works as I expected.


 --  Example  

 ConTeXt  ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.17  int: english/
 english

 \setuppapersize[letter][letter]

 Do you need lettersize for all your letters?


Yes, I have to use US lettersize paper (8.5 inches x 11 inches) for  
the physical paper on which my letters are printed. For long letters,  
I use a narrower textarea, but I don't think that's what you're  
asking me.

Thanks again.

Michael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___