At 01:07 PM 2/21/2002 +0100, Robert F. Beeger wrote:

>There are is a JS and a JV verbatim environment defined in ConTeXt.
>What is the difference between those two. Is it only to make the
>intention clear : If you have some Java-code, use JV to make clear
>that it is Java and not JavaScript. If it is JavaScript use JS. Or is
>there more to it.

no, as you deduced, theye're just synonyms

>I have one problem with the Java/JavaScript verbatim module. I would
>like the comments to be grayed out like it is done by the XML module.
>
>If I have
>
>\startJV
>// bla
>public void bla();
>\stopJV
>
>the "//" gets typeset in red and the "bla" after the "//" gets typeset in
>black, which is the normal color for non-keywords.
>How do I make it that the "bla" after the "//"is grayed out.
>
>An other problem occurres when I use a JavaDoc-Comment
>
>\startJV
>   /**
>    * bla
>    * @param blub Blub bla blub.
>    */
>\stopJV
>
>Now "/*" and "*/" gets typeset in red, the "*" after "/*" and the text
>in the comment gets typeset in black and the two remaining "*" get
>grayed out. Here I would like to have "/*", "*/" and the other stars
>to be typeset in one color�, be it red or what ever, and the text to
>be grayed out. I know this is not that easy to accomplish and is more a
>feature request for the future. But since I am into this now, I
>thought it would not do any harm, if mentioned it.

if you give me precise specs and example files, i can have a look at it

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------

Reply via email to