Make annotations tolerant against empty lines
![](https://secure.gravatar.com/avatar/d39338246f50cca667c8256c313d7cfd.jpg?s=120&d=mm&r=g)
Hi, if the first line after an annotation start is empty, a new line is introduced. How can I make it tolerant so that the following both examples come out equal (Content and the annotation text on the same line)? \usemodule [annotation] \defineannotation [myannotation] \setupannotation [myannotation] [alternative=myalternative] \defineannotationalternative [myalternative] [renderingsetup=annotation:myalternative] \startsetups [annotation:myalternative] Content: \placeannotationcontent \stopsetups \starttext \startmyannotation \input knuth \stopmyannotation \blank \startmyannotation \input knuth \stopmyannotation \stoptext Marco
![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
Am 07.01.2013 um 22:25 schrieb Marco Patzer
Hi,
if the first line after an annotation start is empty, a new line is introduced. How can I make it tolerant so that the following both examples come out equal (Content and the annotation text on the same line)?
I made a simple change in the module and the first line is now ignored (can be a side effect of stripping spaces at the begin/end of the content) but I want to run a few tests before I release it. Still I would try to avoid such input because there can be cases where such a input would fail because a empty line ends a paragraph. Wolfgang
participants (2)
-
Marco Patzer
-
Wolfgang Schuster