Re: [NTG-context] how to write morsecode?

2010-12-02 Thread Jonas Stein
> You need \dontleavehmode, see also:
> http://wiki.contextgarden.net/FAQ#Why_is_there_a_line-break_in_the_output_after_some_commands.3F

That works fine.
Thank you.

-- 
Jonas Stein 

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to write morsecode?

2010-12-01 Thread Peter Münster
On Thu, Dec 02 2010, Jonas Stein wrote:
> 
> \define[]\kurz{\blackrule[width=0.3em]}
> \define[]\lang{\blackrule[width=1.4em]}
> \starttext
> \kurz \kurz \lang \kurz Signal
> \stoptext

You need \dontleavehmode, see also:
http://wiki.contextgarden.net/FAQ#Why_is_there_a_line-break_in_the_output_after_some_commands.3F

Peter

-- 
Contact information: http://pmrb.free.fr/contact/
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] how to write morsecode?

2010-12-01 Thread Jonas Stein
i tried:

=

\define[]\kurz{\blackrule[width=0.3em]}
\define[]\lang{\blackrule[width=1.4em]}
\starttext
\kurz \kurz \lang \kurz Signal
\stoptext

=

generates:

-
-
---
- Signal


the text continues after the bar, but every bar starts on a new line. 
I dont know why.
It was not said so in documentation [1]
How would you write morsecodes?

[1] http://www.pragma-ade.com/general/manuals/cont-eni.pdf

-- 
Jonas Stein 

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___