ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
To: ntg-context@ntg.nl
Subject: Re: ntg-context Digest, Vol 103, Issue 49
Date: Thu, 17 Jan 2013 15:16:11 +0100	[thread overview]
Message-ID: <50F807AB.8060703@mmnetz.de> (raw)
In-Reply-To: <mailman.399.1358424781.2489.ntg-context@ntg.nl>

Am 17.01.2013 13:13, schrieb ntg-context-request@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	other threads:[~2013-01-17 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.399.1358424781.2489.ntg-context@ntg.nl>
2013-01-17 14:16 ` "H. Özoguz" [this message]
2013-01-17 14:20   ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50F807AB.8060703@mmnetz.de \
    --to=h.oezoguz@mmnetz.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).