how to write morsecode?
![](https://secure.gravatar.com/avatar/9e281d78eedf8cad94cbe3899ef91dc4.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
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_af... Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/9e281d78eedf8cad94cbe3899ef91dc4.jpg?s=120&d=mm&r=g)
You need \dontleavehmode, see also: http://wiki.contextgarden.net/FAQ#Why_is_there_a_line-break_in_the_output_af...
That works fine.
Thank you.
--
Jonas Stein
participants (2)
-
Jonas Stein
-
Peter Münster