info-gnus-english
[Top][All Lists]
Advanced

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

Re: how to obtain green background for some text?


From: Gernot Hassenpflug
Subject: Re: how to obtain green background for some text?
Date: Sun, 22 Jul 2007 10:53:07 +0900
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Sat, Jul 21 2007, Gernot Hassenpflug wrote:
>
>> Reiner Steib <reinersteib+gmane@imap.cc> writes:
> /../
> This entry in `mm-uu-type-alist' is responsible for this:
>
>     (LaTeX
>      "^\\([\\\\%][^\n]+\n\\)*\\\\documentclass.*[[{%]"
>      "^\\\\end{document}"
>      mm-uu-latex-extract
>      nil
>      mm-uu-latex-test)
>
> I.e. if there's a line like \documentclass[foo]{bar} closed by a line
> like \end{document} it is recognized as "non-MIME attachment":
>
> ,----[ <f1> v mm-uu-type-alist RET ]
> | mm-uu-type-alist is a variable defined in `mm-uu'.
> | Its value is shown below.
> | 
> | Documentation:
> | A list of specifications for non-MIME attachments.
> | Each element consist of the following entries: label,
> | start-regexp, end-regexp, extract-function, test-function.
> | 
> | After modifying this list you must run M-x mm-uu-configure.
> `----

Very interesting, I've never noted the use of mm-something-something
before. Time to read...

> It will not work in this group, because by default, it is only enable
> in TeX groups:
>
> ,----[ <f1> v mm-uu-tex-groups-regexp RET ]
> | mm-uu-tex-groups-regexp is a variable defined in `mm-uu'.
> | Its value is "\\.tex\\>"
> | 
> | Documentation:
> | *Regexp matching TeX groups.
> | 
> | You can customize this variable.
> `----

OK, but the example by a previous poster (using #v+ ... #v-) did show
up the same way. I will check documentation.

> Keep in mind that probably only Gnus will highlight the LaTeX document
> in this way.  Or is anyone aware of another newsreader with this
> feature?

Thanks again,
       Gernot
-- 
Gernot Hassenpflug


reply via email to

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