auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] syntax highlighting for ConTeXt


From: Andrea Tomadin
Subject: Re: [AUCTeX] syntax highlighting for ConTeXt
Date: Fri, 23 Feb 2007 08:47:06 +0100


Il giorno 22/feb/07, alle ore 22:18, Ralf Angeli ha scritto:

* Andrea Tomadin (2007-02-22) writes:

But in the ConTeXt environment I can only get a kind of graphical
representation of ^ and _ and the only tag that gets highlighted is
\item. Basically, the syntax is completely ignored.

Probably the face `font-latex-sedate-face' is not easily
distinguishable from the default face on your system.  What's the
output of `C-u C-x =' with point (i.e. the cursor) on an arbitrary
macro?

Thank you Ralf for your answer. If I understood you right, I placed the cursor on keywords or in the middle of "environments" and issued that command. I report in the following the results. Only the last two trials refer to colorized output (the "\item" and "\input" keyword). Please note again that if I use LaTeX instead of ConTeXt, the text is fully colorized.

=======================================================

within \startformula ... \stopformula

  character: \ (92, #o134, #x5c, U+005C)
    charset: ascii (ASCII (ISO646 IRV))
code point: #x5C
     syntax: \  which means: escape
   category: a:ASCII l:Latin
buffer code: #x5C
  file code: #x5C (encoded by coding system undecided-unix)
    display: by this font (glyph code)
-apple-monaco-medium-r-normal--18-180-72-72-m-180-iso10646-1 (#x5C)

There are text properties here:
  face                 (font-latex-sedate-face)
  fontified            t


on "\startformula"

  character: r (114, #o162, #x72, U+0072)
    charset: ascii (ASCII (ISO646 IRV))
code point: #x72
     syntax: w  which means: word
   category: a:ASCII l:Latin
buffer code: #x72
  file code: #x72 (encoded by coding system undecided-unix)
    display: by this font (glyph code)
-apple-monaco-medium-r-normal--18-180-72-72-m-180-iso10646-1 (#x72)

There are text properties here:
  face                 (font-latex-sedate-face)
  fontified            t


on "\startitemize"

  character: i (105, #o151, #x69, U+0069)
    charset: ascii (ASCII (ISO646 IRV))
code point: #x69
     syntax: w  which means: word
   category: a:ASCII l:Latin
buffer code: #x69
  file code: #x69 (encoded by coding system undecided-unix)
    display: by this font (glyph code)
-apple-monaco-medium-r-normal--18-180-72-72-m-180-iso10646-1 (#x69)

There are text properties here:
  face                 (font-latex-sedate-face)
  fontified            t


on "\defineparagraph"

  character: i (105, #o151, #x69, U+0069)
    charset: ascii (ASCII (ISO646 IRV))
code point: #x69
     syntax: w  which means: word
   category: a:ASCII l:Latin
buffer code: #x69
  file code: #x69 (encoded by coding system undecided-unix)
    display: by this font (glyph code)
-apple-monaco-medium-r-normal--18-180-72-72-m-180-iso10646-1 (#x69)

There are text properties here:
  face                 (font-latex-sedate-face)
  fontified            t


on "\input"

  character: p (112, #o160, #x70, U+0070)
    charset: ascii (ASCII (ISO646 IRV))
code point: #x70
     syntax: w  which means: word
   category: a:ASCII l:Latin
buffer code: #x70
  file code: #x70 (encoded by coding system undecided-unix)
    display: by this font (glyph code)
-apple-monaco-medium-r-normal--18-180-72-72-m-180-iso10646-1 (#x70)

There are text properties here:
  face                 (font-lock-keyword-face font-latex-sedate-face)
  fontified            t



on "\item"

  character: e (101, #o145, #x65, U+0065)
    charset: ascii (ASCII (ISO646 IRV))
code point: #x65
     syntax: w  which means: word
   category: a:ASCII l:Latin
buffer code: #x65
  file code: #x65 (encoded by coding system undecided-unix)
    display: by this font (glyph code)
-apple-monaco-medium-r-normal--18-180-72-72-m-180-iso10646-1 (#x65)

There are text properties here:
  face                 (font-lock-keyword-face font-latex-sedate-face)
  fontified            t

========================================================

Does this ring any bell?
Regards,

Andrea










reply via email to

[Prev in Thread] Current Thread [Next in Thread]