diff options
| author | Tassilo Horn | 2014-11-07 10:48:25 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2014-11-07 10:48:25 +0000 |
| commit | a067ef9a5ddc9812e35734e8c027684e01d684ef (patch) | |
| tree | ce233dcac7a30829ba805580d4346194dba06580 | |
| parent | 361ffe132463580de4ca62f923796b54737a46fe (diff) | |
| download | emacs-a067ef9a5ddc9812e35734e8c027684e01d684ef.tar.gz emacs-a067ef9a5ddc9812e35734e8c027684e01d684ef.zip | |
doc/misc/{gnus.texi,gnus-faq.texi}: Add link to EWW manual
* gnus.texi (HTML): Update section so that it mentions shr and w3m.
Also link the full EWW manual that explains more on shr, too.
* gnus-faq.texi (FAQ 4 - Reading messages, FAQ 4-16): Add Q&A on how to
increase contrast when displaying HTML mail with shr.
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/gnus-faq.texi | 16 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 31 |
3 files changed, 43 insertions, 10 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 441285647bd..20b124f89cb 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2014-11-07 Tassilo Horn <tsdh@gnu.org> | 1 | 2014-11-07 Tassilo Horn <tsdh@gnu.org> |
| 2 | 2 | ||
| 3 | * gnus.texi (HTML): Update section so that it mentions shr and w3m. | ||
| 4 | Also link the full EWW manual that explains more on shr, too. | ||
| 5 | |||
| 6 | * gnus-faq.texi (FAQ 4 - Reading messages, FAQ 4-16): Add Q&A on how to | ||
| 7 | increase contrast when displaying HTML mail with shr. | ||
| 8 | |||
| 3 | * eww.texi (Advanced): Document increasing contrast with | 9 | * eww.texi (Advanced): Document increasing contrast with |
| 4 | shr-color-visible-distance-min and | 10 | shr-color-visible-distance-min and |
| 5 | shr-color-visible-luminance-min. | 11 | shr-color-visible-luminance-min. |
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi index fd4f427431d..83fff5e9497 100644 --- a/doc/misc/gnus-faq.texi +++ b/doc/misc/gnus-faq.texi | |||
| @@ -742,6 +742,7 @@ POP3 mail source. See @pxref{Mail Source Specifiers} for VALUE. | |||
| 742 | * FAQ 4-14:: I don't like the way the Summary buffer looks, how to | 742 | * FAQ 4-14:: I don't like the way the Summary buffer looks, how to |
| 743 | tweak it? | 743 | tweak it? |
| 744 | * FAQ 4-15:: How to split incoming mails in several groups? | 744 | * FAQ 4-15:: How to split incoming mails in several groups? |
| 745 | * FAQ 4-16:: How can I ensure more contrast when viewing HTML mail? | ||
| 745 | @end menu | 746 | @end menu |
| 746 | 747 | ||
| 747 | @node FAQ 4-1 | 748 | @node FAQ 4-1 |
| @@ -1185,6 +1186,21 @@ from using them): | |||
| 1185 | @end example | 1186 | @end example |
| 1186 | @noindent | 1187 | @noindent |
| 1187 | 1188 | ||
| 1189 | @node FAQ 4-16 | ||
| 1190 | @subsubheading Question 4.16 | ||
| 1191 | |||
| 1192 | How can I ensure more contrast when viewing HTML mail? | ||
| 1193 | |||
| 1194 | @subsubheading Answer | ||
| 1195 | |||
| 1196 | Gnus' built-in simple HTML renderer (you use it if the value of | ||
| 1197 | @code{mm-text-html-renderer} is @code{shr}) uses the colors which are | ||
| 1198 | declared in the HTML mail. However, it adjusts them in order to | ||
| 1199 | prevent situations like dark gray text on black background. In case | ||
| 1200 | the results still have a too low contrast for you, increase the values | ||
| 1201 | of the variables @code{shr-color-visible-distance-min} and | ||
| 1202 | @code{shr-color-visible-luminance-min}. | ||
| 1203 | |||
| 1188 | @node FAQ 5 - Composing messages | 1204 | @node FAQ 5 - Composing messages |
| 1189 | @subsection Composing messages | 1205 | @subsection Composing messages |
| 1190 | 1206 | ||
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index a25d7c540f3..67d4ed4e9ef 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -11761,20 +11761,31 @@ Also @pxref{MIME Commands}. | |||
| 11761 | @section @acronym{HTML} | 11761 | @section @acronym{HTML} |
| 11762 | @cindex @acronym{HTML} | 11762 | @cindex @acronym{HTML} |
| 11763 | 11763 | ||
| 11764 | If you have @code{w3m} installed on your system, Gnus can display | 11764 | Gnus can display @acronym{HTML} articles nicely formatted in the |
| 11765 | @acronym{HTML} articles in the article buffer. There are many Gnus | 11765 | article buffer. There are many methods for doing that, but two of |
| 11766 | add-ons for doing this, using various approaches, but there's one | 11766 | them are kind of default methods. |
| 11767 | (sort of) built-in method that's used by default. | 11767 | |
| 11768 | 11768 | If your Emacs copy has been built with libxml2 support, then Gnus uses | |
| 11769 | For a complete overview, consult @xref{Display Customization, | 11769 | Emacs' built-in, plain elisp Simple HTML Renderer @code{shr} |
| 11770 | ,Display Customization, emacs-mime, The Emacs MIME Manual}. This | 11770 | @footnote{@code{shr} displays colors as declared in the @acronym{HTML} |
| 11771 | section only describes the default method. | 11771 | article but tries to adjust them in order to be readable. If you |
| 11772 | prefer more contrast, have a look at question 4.16 in the | ||
| 11773 | @xref{Frequently Asked Questions}.} which is also used by Emacs' | ||
| 11774 | browser EWW (@xref{Top,,,eww}). | ||
| 11775 | |||
| 11776 | If your Emacs copy lacks libxml2 support but you have @code{w3m} | ||
| 11777 | installed on your system, Gnus uses that to render @acronym{HTML} mail | ||
| 11778 | and display the results in the article buffer (@code{gnus-w3m}). | ||
| 11779 | |||
| 11780 | For a complete overview, consult @xref{Display Customization, ,Display | ||
| 11781 | Customization, emacs-mime, The Emacs MIME Manual}. This section only | ||
| 11782 | describes the default method. | ||
| 11772 | 11783 | ||
| 11773 | @table @code | 11784 | @table @code |
| 11774 | @item mm-text-html-renderer | 11785 | @item mm-text-html-renderer |
| 11775 | @vindex mm-text-html-renderer | 11786 | @vindex mm-text-html-renderer |
| 11776 | If set to @code{gnus-article-html}, Gnus will use the built-in method, | 11787 | If set to @code{shr}, Gnus uses its own simple @acronym{HTML} |
| 11777 | that's based on @code{w3m}. | 11788 | renderer. If set to @code{gnus-w3m}, it uses @code{w3m}. |
| 11778 | 11789 | ||
| 11779 | @item gnus-blocked-images | 11790 | @item gnus-blocked-images |
| 11780 | @vindex gnus-blocked-images | 11791 | @vindex gnus-blocked-images |