Am 17.01.2013 13:13, schrieb ntg-context-requ...@ntg.nl:
There is no error message when I run this example.
Sorry, that was  my mistake, I meant this one:

++++++++++++++++++++++++++++++++++
\usemodule[annotation]


\define[2]\AnnotationCommand

{\startblockquote

\noindent #2%

\stopblockquote}


\defineannotation[bigquote]


\setupannotation[bigquote]

[alternative=command,

command=\AnnotationCommand]


\starttext


He said:

\startbigquote

This is interesting!

\stopbigquote


\stoptext

+++++++++++++++++++++++++++++++
With no line between "He said" and \startbigquote, that was the issue I meant with the second code. If I add one lineskip in the code, then the error disappears. But I want no skip in the compiled file.


The error is:

++++++++++++++++++++++++++++
! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\p'.


system > tex > error on line 20 in file minexample.tex: LuaTeX error ...


10 \setupannotation[bigquote]

11 [alternative=command,

12 command=\AnnotationCommand]

13

14 \starttext

15

16 He said:

17 \startbigquote

18 This is interesting!

19 \stopbigquote

20 >>

21 \stoptext

22



\ctxcommand #1->\directlua {commands.#1}

<to be read again>

\par

l.20

?

++++++++++++++++++++++++++


@Marco: To remove the empty line with

\define[2]\AnnotationCommand{%%
  \startblockquote

does not resolve this.

And again: No change from me in this code, first error yesterday. Maybe I 
changed another thing, what could that be?
Thanks for help.


Huseyin





___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to