feat(i18n): 添加多语言支持功能

- 新增国际化系统,支持中英文切换
- 添加语言选择对话框和语言切换按钮回调
- 扩展配置系统以支持语言设置存储
- 创建语言文件目录结构和占位文件
- 更新主窗口支持UI文本动态刷新
This commit is contained in:
2026-03-26 20:44:22 +08:00
parent 9a78b88c4a
commit 4fe7dc47e4
2343 changed files with 127697 additions and 9 deletions
@@ -0,0 +1,186 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on January, 28 2026 by texi2html 1.78a -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNU libtextstyle: 1. Introduction</title>
<meta name="description" content="GNU libtextstyle: 1. Introduction">
<meta name="keywords" content="GNU libtextstyle: 1. Introduction">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78a">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
<td valign="middle" align="left">[<a href="libtextstyle_2.html#SEC4" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<hr size="2">
<a name="Introduction"></a>
<a name="SEC1"></a>
<h1 class="chapter"> <a href="libtextstyle_toc.html#TOC1">1. Introduction</a> </h1>
<p>Text is easier to read when it is accompanied with styling information,
such as color, font attributes (weight, posture), or underlining, and
this styling is customized appropriately for the output device.
</p>
<p>GNU libtextstyle provides an easy way to add styling to programs that
produce output to a console or terminal emulator window. It does this
in a way that allows the end user to customize the styling using the
industry standard, namely Cascading Style Sheets (CSS).
</p>
<a name="Style-definitions"></a>
<a name="SEC2"></a>
<h2 class="section"> <a href="libtextstyle_toc.html#TOC2">1.1 Style definitions</a> </h2>
<p>Let's look at the traditional way styling is done for specific programs.
</p>
<p>Browsers, when they render HTML, use CSS styling.
</p>
<p>The older approach to user-customizable text styling is that the user
associates patterns with escape sequences in an environment variable or a
command-line argument. This is the approach used, for example, by the
GNU &lsquo;<samp>ls</samp>&rsquo; program in combination with the &lsquo;<samp>dircolors</samp>&rsquo; program.
The processing is distributed across several steps:
</p><ol>
<li>
There is default style definition that is hard-coded in the
&lsquo;<samp>dircolors</samp>&rsquo; program. The user can also define their own definitions
in a file such as &lsquo;<tt>~/.dir_colors</tt>&rsquo;. This style definition contains
explicit terminal escape sequences; thus, it can only be used with
consoles and terminal emulators, and each style definition applies only
to a certain class of mostly-compatible terminal emulators.
</li><li>
The <code>dircolors</code> program, when invoked, translates such a style
definition to a sequence of shell statements that sets an environment
variable <code>LS_COLORS</code>.
</li><li>
The shell executes these statements, and thus sets the environment
variable <code>LS_COLORS</code>.
</li><li>
The program looks at the environment variable and emits the listed escape
sequences.
</li></ol>
<p>In contrast, this library implements styling as follows:
</p><ol>
<li>
There is a default style definition in a CSS file that is part of the
same package as the stylable program. The user can also define their own
definitions in a CSS file, and set an environment environment variable to
point to it.
</li><li>
The program looks at the environment variable, parses the CSS file,
translates the styling specifications to the form that is appropriate for
the output device (escape sequences for terminal emulators, inline CSS
and <code>&lt;span&gt;</code> elements for HTML output), and emits it.
</li></ol>
<p>Thus, with GNU libtextstyle, the styling has the following properties:
</p><ul>
<li>
It is easier for the user to define their own styling, because the file
format is standardized and supported by numerous syntax aware editors.
</li><li>
A styling file does not depend on the particular output device. An HTML
output and a black-on-white terminal emulator can use the same styling
file. A white-on-black (or even green-on-black) terminal emulator will
need different styling, though.
</li><li>
It is simpler: There is no need for a program that converts the style
specification from one format to another.
</li></ul>
<a name="Built_002din-versus-separate-styling"></a>
<a name="SEC3"></a>
<h2 class="section"> <a href="libtextstyle_toc.html#TOC3">1.2 Built-in versus separate styling</a> </h2>
<p>There are generally two approaches for adding styling to text:
</p><ul>
<li>
The program that generates the text adds the styling. It does so through
interleaved statements that turn on or off specific attributes.
</li><li>
The styling gets added by a separate program, that postprocesses the
output. This separate program usually uses regular expressions to
determine which text regions to style with a certain set of text
attributes.
</li></ul>
<p>The first approach produces a styling that is 100% correct, regardless of
the complexity of the text that is being output. This is the preferred
approach for example for JSON, XML, or programming language text.
</p>
<p>The second approach works well if the output has a simple, easy-to-parse
format. It may produce wrong styling in some cases when the text format
is more complex. This approach is often used for viewing log files.
</p>
<p>GNU libtextstyle supports both approaches; it includes an example program
for each of the two approaches.
</p>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC1" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_2.html#SEC4" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Bruno Haible</em> on <em>January, 28 2026</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.
</font>
<br>
</p>
</body>
</html>
@@ -0,0 +1,441 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on January, 28 2026 by texi2html 1.78a -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNU libtextstyle: 2. The end user's perspective</title>
<meta name="description" content="GNU libtextstyle: 2. The end user's perspective">
<meta name="keywords" content="GNU libtextstyle: 2. The end user's perspective">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78a">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_1.html#SEC1" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_3.html#SEC15" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<hr size="2">
<a name="The-user_0027s-view"></a>
<a name="SEC4"></a>
<h1 class="chapter"> <a href="libtextstyle_toc.html#TOC4">2. The end user's perspective</a> </h1>
<p>Styled output can viewed fine in a console or terminal emulator window.
</p>
<p>The stylable program will typically have the following options:
</p><dl compact="compact">
<dt> <code>--color</code></dt>
<dd><p>Use colors and other text attributes always.
</p></dd>
<dt> <code>--color=<var>when</var></code></dt>
<dd><p>Use colors and other text attributes if <var>when</var>. <var>when</var> may be
<code>always</code>, <code>never</code>, <code>auto</code>, or <code>html</code>.
</p></dd>
<dt> <code>--style=<var>style-file</var></code></dt>
<dd><p>Specify the CSS style rule file for <code>--color</code>.
</p></dd>
</dl>
<p>For more details, see the sections <a href="#SEC11">The <code>--color</code> option</a> and
<a href="#SEC12">The <code>--style</code> option</a> below.
</p>
<p>If the output does not fit on a screen, you can use &lsquo;<samp>less -R</samp>&rsquo; to
scroll around in the styled output. For example:
</p><table><tr><td>&nbsp;</td><td><pre class="smallexample"><var>program</var> --color <var>arguments</var> | less -R
</pre></td></tr></table>
<a name="The-TERM-variable"></a>
<a name="SEC5"></a>
<h2 class="section"> <a href="libtextstyle_toc.html#TOC5">2.1 The environment variable <code>TERM</code></a> </h2>
<p>The environment variable <code>TERM</code> contains a identifier for the text
window's capabilities. You can get a detailed list of these cababilities
by using the &lsquo;<samp>infocmp</samp>&rsquo; command (for example: <code>infocmp -L1 xterm</code>),
using &lsquo;<samp>man 5 terminfo</samp>&rsquo; as a reference.
</p>
<p>When producing text with embedded color directives, a
<code>libtextstyle</code>-enabled program looks at the <code>TERM</code> variable.
Text windows today typically support at least 8 colors. Often, however,
the text window supports 16 or more colors, even though the <code>TERM</code>
variable is set to a identifier denoting only 8 supported colors. It
can be worth setting the <code>TERM</code> variable to a different value in
these cases.
</p>
<p>After setting <code>TERM</code>, you can verify how well it works by invoking
&lsquo;<samp><var>program</var> --color=test</samp>&rsquo;, where <code><var>program</var></code> is any
<code>libtextstyle</code>-enabled program, and seeing whether the output looks
like a reasonable color map.
</p>
<a name="Terminal-emulators"></a>
<a name="SEC6"></a>
<h3 class="subsection"> <a href="libtextstyle_toc.html#TOC6">2.1.1 Terminal emulator programs</a> </h3>
<p>The following terminal emulator programs support 256 colors and set
<code>TERM=xterm-256color</code> accordingly:
</p>
<ul>
<li>
In GNOME: <code>gnome-terminal</code>, <code>tilda</code>.
</li><li>
<code>rxvt-unicode</code> (sets <code>TERM=rxvt-unicode-256color</code>).
</li><li>
<code>st</code> (sets <code>TERM=st-256color</code>).
</li><li>
<code>QTerminal</code>.
</li><li>
On macOS: <code>Terminal</code>, <code>iTerm2</code>.
</li></ul>
<p>The following terminal emulator programs support 256 colors. You only
need to set <code>TERM=xterm-256color</code> or similar; the programs by default
set <code>TERM</code> to a value that supports only 8 colors.
</p>
<ul>
<li>
<code>xterm</code> is in many cases built with support for 256 colors. But it
sets <code>TERM=xterm</code>. You need to set <code>TERM=xterm-256color</code>.
</li><li>
In GNOME: <code>guake</code> (sets <code>TERM=xterm</code>). You need to set
<code>TERM=xterm-256color</code>.
</li><li>
In KDE: <code>konsole</code> (sets <code>TERM=xterm</code>). You need to set
<code>TERM=xterm-256color</code> or <code>TERM=konsole-256color</code>.
</li><li>
In KDE: <code>yakuake</code> (sets <code>TERM=xterm</code>). You need to set
<code>TERM=xterm-256color</code>.
</li><li>
In Enlightenment: <code>Eterm</code> (sets <code>TERM=Eterm</code>). You need to set
<code>TERM=Eterm-256color</code>.
</li><li>
<code>mlterm</code> (sets <code>TERM=mlterm</code>). You need to set
<code>TERM=mlterm-256color</code>.
</li><li>
On Windows: <code>PuTTY</code> (sets <code>TERM=xterm</code>). You need to set
<code>TERM=xterm-256color</code> or <code>TERM=putty-256color</code>.
</li><li>
On Windows: <code>TeraTerm</code> (sets <code>TERM=xterm</code>). You need to set
<code>TERM=xterm-256color</code>.
</li></ul>
<p>A couple of terminal emulator programs support even the entire RGB color
space (16 million colors). To get this to work, at this date (2019), you
need three things:
</p><ul>
<li>
The <code>ncurses</code> library version 6.1 or newer must be installed.
</li><li>
You need a recent version of the respective terminal emulator program.
See <a href="https://github.com/termstandard/colors">https://github.com/termstandard/colors</a> for the most recent
developments in this area.
</li><li>
You need to set the <code>TERM</code> environment variable to the corresponding
value:
<code>TERM=xterm-direct</code> instead of
<code>TERM=xterm</code> or <code>TERM=xterm-256color</code>,
<code>TERM=konsole-direct</code> in <code>konsole</code>,
<code>TERM=st-direct</code> in <code>st</code>,
<code>TERM=mlterm-direct</code> in <code>mlterm</code>,
or <code>TERM=iterm2-direct</code> in <code>iTerm2</code> on macOS.
</li></ul>
<a name="Consoles"></a>
<a name="SEC7"></a>
<h3 class="subsection"> <a href="libtextstyle_toc.html#TOC7">2.1.2 Consoles</a> </h3>
<p>On OpenBSD 6 consoles, <code>TERM=xterm</code> produces better results than the
default <code>TERM=vt220</code>.
</p>
<p>On NetBSD 8 consoles, <code>TERM=netbsd6</code> produces better results than the
default <code>TERM=vt100</code>.
</p>
<p>On Windows consoles, no <code>TERM</code> setting is needed.
</p>
<a name="The-NO_005fCOLOR-variable"></a>
<a name="SEC8"></a>
<h2 class="section"> <a href="libtextstyle_toc.html#TOC8">2.2 The environment variable <code>NO_COLOR</code></a> </h2>
<p>The environment variable <code>NO_COLOR</code> can be used to suppress styling
in the textual output. When this environment variable is set (to any value),
<code>libtextstyle</code>-enabled programs will not emit colors and other text
styling.
</p>
<p>This environment variable can be overridden by passing the command-line option
&lsquo;<samp>--color=always</samp>&rsquo; (see <a href="#SEC11">The <code>--color</code> option</a>).
</p>
<a name="The-NO_005fTERM_005fHYPERLINKS-variable"></a>
<a name="SEC9"></a>
<h2 class="section"> <a href="libtextstyle_toc.html#TOC9">2.3 The environment variable <code>NO_TERM_HYPERLINKS</code></a> </h2>
<p>The environment variable <code>NO_TERM_HYPERLINKS</code> can be used to suppress
hyperlinks in the textual output. When this environment variable is set
(to any value), <code>libtextstyle</code>-enabled programs will not emit
hyperlinks. This may be useful for terminal emulators which produce
garbage output when they receive the escape sequence for a hyperlink.
Currently (as of 2019), this affects some versions of
<code>konsole</code>, <code>emacs</code>, <code>lxterminal</code>, <code>guake</code>, <code>yakuake</code>, <code>rxvt</code>. </p>
<a name="Emacs"></a>
<a name="SEC10"></a>
<h2 class="section"> <a href="libtextstyle_toc.html#TOC10">2.4 Emacs as a terminal emulator</a> </h2>
<p>Emacs has several terminal emulators: <code>M-x shell</code> and
<code>M-x term</code>. <code>M-x term</code> has good support for styling, whereas
in <code>M-x shell</code> most of the styling gets lost.
</p>
<a name="The-_002d_002dcolor-option"></a>
<a name="SEC11"></a>
<h2 class="section"> <a href="libtextstyle_toc.html#TOC11">2.5 The <code>--color</code> option</a> </h2>
<p>The &lsquo;<samp>--color=<var>when</var></samp>&rsquo; option specifies under which conditions
styled (colorized) output should be generated. The <var>when</var> part can
be one of the following:
</p>
<dl compact="compact">
<dt> <code>always</code></dt>
<dt> <code>yes</code></dt>
<dd><p>The output will be colorized.
</p>
</dd>
<dt> <code>never</code></dt>
<dt> <code>no</code></dt>
<dd><p>The output will not be colorized.
</p>
</dd>
<dt> <code>auto</code></dt>
<dt> <code>tty</code></dt>
<dd><p>The output will be colorized if the output device is a tty, i.e. when
the output goes directly to a text screen or terminal emulator window.
</p>
</dd>
<dt> <code>html</code></dt>
<dd><p>The output will be colorized and be in HTML format. This value is only
supported by some programs.
</p>
</dd>
<dt> <code>test</code></dt>
<dd><p>This is a special value, understood only by some programs. It is
explained in the section (<a href="#SEC5">The environment variable <code>TERM</code></a>) above.
</p></dd>
</dl>
<p>&lsquo;<samp>--color</samp>&rsquo; is equivalent to &lsquo;<samp>--color=yes</samp>&rsquo;. The default is
&lsquo;<samp>--color=auto</samp>&rsquo;.
</p>
<p>Thus, a command that invokes a <code>libtextstyle</code>-enabled program will
produce colorized output when called by itself in a command window.
Whereas in a pipe, such as &lsquo;<samp><var>program</var> <var>arguments</var> | less -R</samp>&rsquo;,
it will not produce colorized output. To get colorized output in this
situation nevertheless, use the command
&lsquo;<samp><var>program</var> --color <var>arguments</var> | less -R</samp>&rsquo;.
</p>
<p>The &lsquo;<samp>--color=html</samp>&rsquo; option will produce output that can be viewed in
a browser. This can be useful, for example, for Indic languages,
because the renderic of Indic scripts in browsers is usually better than
in terminal emulators.
</p>
<p>Note that the output produced with the <code>--color</code> option is
<em>not</em> consumable by programs that expect the raw text. It contains
additional terminal-specific escape sequences or HTML tags. For example,
an XML parser will give a syntax error when confronted with a colored XML
output. Except for the &lsquo;<samp>--color=html</samp>&rsquo; case, you therefore normally
don't need to save output produced with the <code>--color</code> option in a
file.
</p>
<a name="The-_002d_002dstyle-option"></a>
<a name="SEC12"></a>
<h2 class="section"> <a href="libtextstyle_toc.html#TOC12">2.6 The <code>--style</code> option</a> </h2>
<p>The &lsquo;<samp>--style=<var>style_file</var></samp>&rsquo; option specifies the style file to
use when colorizing. It has an effect only when the <code>--color</code>
option is effective.
</p>
<p>If the <code>--style</code> option is not specified, the program may consider
the value of an environment variable. It is meant to point to the user's
preferred style for such output. The name of such an environment
variable, if supported, is documented in the documentation of the
<code>libtextstyle</code>-enabled program.
</p>
<p>You can also design your own styles. This is described in the next
section.
</p>
<a name="Style-rules"></a>
<a name="SEC13"></a>
<h3 class="subsection"> <a href="libtextstyle_toc.html#TOC13">2.6.1 Creating your own style files</a> </h3>
<p>The same style file can be used for styling a certain type of output, for
terminal output and for HTML output. It is written in CSS
(Cascading Style Sheet) syntax. See
<a href="https://www.w3.org/TR/CSS2/">https://www.w3.org/TR/CSS2/</a> for a formal definition of
CSS. Many HTML authoring tutorials also contain explanations of CSS.
</p>
<p>In the case of HTML output, the style file is embedded in the HTML output.
In the case of text output, the style file is interpreted by the
<code>libtextstyle</code>-enabled program.
</p>
<p>You should avoid <code>@import</code> statements, because
</p><ul class="toc">
<li>-
In the case of HTML output, the files referenced by the <code>@import</code>
statements would not be embedded in the HTML output. In fact, relative
file names would be interpreted relative to the resulting HTML file.
</li><li>-
In the case of text output, <code>@import</code>s are not supported, due to a
limitation in <code>libcroco</code>.
</li></ul>
<p>CSS rules are built up from selectors and declarations. The declarations
specify graphical properties; the selectors specify when they apply.
</p>
<p>GNU libtextstyle supports simple selectors based on &quot;CSS classes&quot;, see
the CSS2 spec, section 5.8.3. The set of CSS classes that are supported
by a <code>libtextstyle</code>-enabled program are documented in the
documentation of that program.
</p>
<p>These selectors can be combined to hierarchical selectors. For example,
assume a program supports the CSS classes <code>string</code> (that matches a
string) and <code>non-ascii</code> (that matches a word with non-ASCII
characters), you could write
</p>
<table><tr><td>&nbsp;</td><td><pre class="smallexample">.string .non-ascii { color: red; }
</pre></td></tr></table>
<p>to highlight only the non-ASCII words inside strings.
</p>
<p>In text mode, pseudo-classes (CSS2 spec, section 5.11) and
pseudo-elements (CSS2 spec, section 5.12) are not supported.
</p>
<p>The declarations in HTML mode are not limited; any graphical attribute
supported by the browsers can be used.
</p>
<p>The declarations in text mode are limited to the following properties.
Other properties will be silently ignored.
</p>
<dl compact="compact">
<dt> <code>color</code> (CSS2 spec, section 14.1)</dt>
<dt> <code>background-color</code> (CSS2 spec, section 14.2.1)</dt>
<dd><p>These properties are supported. Colors will be adjusted to match the
terminal's capabilities. Note that many terminals support only 8 colors.
</p>
</dd>
<dt> <code>font-weight</code> (CSS2 spec, section 15.2.3)</dt>
<dd><p>This property is supported, but most terminals can only render two
different weights: <code>normal</code> and <code>bold</code>. Values &gt;= 600 are
rendered as <code>bold</code>.
</p>
</dd>
<dt> <code>font-style</code> (CSS2 spec, section 15.2.3)</dt>
<dd><p>This property is supported. The values <code>italic</code> and <code>oblique</code>
are rendered the same way.
</p>
</dd>
<dt> <code>text-decoration</code> (CSS2 spec, section 16.3.1)</dt>
<dd><p>This property is supported, limited to the values <code>none</code> and
<code>underline</code>.
</p></dd>
</dl>
<a name="Debugging-style-files"></a>
<a name="SEC14"></a>
<h3 class="subsection"> <a href="libtextstyle_toc.html#TOC14">2.6.2 Debugging style files</a> </h3>
<p>If you want to understand why the style rules in a style file produce
the output that you see, you can do so in three steps:
</p>
<ol>
<li>
Run the program with the command-line option <code>--color=html</code>,
redirecting the output to a file.
</li><li>
Open the resulting HTML file in a browser.
</li><li>
Use the browser's built-in CSS debugging tool.
<ul>
<li>
In Firefox: From the pop-up menu, select &quot;Inspect Element&quot;.
Click somewhere in the DOM tree (&quot;Inspector&quot; tab) and look at the
CSS declarations in the &quot;Rules&quot; tab.
</li><li>
In Chromium: From the pop-up menu, select &quot;Inspect&quot;.
Click somewhere in the DOM tree (&quot;Elements&quot; tab) and look at the
CSS declarations in the &quot;Styles&quot; tab.
</li></ul>
</li></ol>
<p>This technique allows you, in particular, to see which CSS declarations
override which other CSS declarations from other CSS rules.
</p>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC4" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_3.html#SEC15" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Bruno Haible</em> on <em>January, 28 2026</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.
</font>
<br>
</p>
</body>
</html>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,222 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on January, 28 2026 by texi2html 1.78a -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNU libtextstyle: Function Index</title>
<meta name="description" content="GNU libtextstyle: Function Index">
<meta name="keywords" content="GNU libtextstyle: Function Index">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78a">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_4.html#SEC38" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_6.html#SEC47" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<hr size="2">
<a name="Function-Index"></a>
<a name="SEC46"></a>
<h1 class="unnumbered"> <a href="libtextstyle_toc.html#TOC41">Function Index</a> </h1>
<table><tr><th valign="top">Jump to: &nbsp; </th><td><a href="#SEC46_0" class="summary-letter"><b>F</b></a>
&nbsp;
<a href="#SEC46_1" class="summary-letter"><b>H</b></a>
&nbsp;
<a href="#SEC46_2" class="summary-letter"><b>I</b></a>
&nbsp;
<a href="#SEC46_3" class="summary-letter"><b>M</b></a>
&nbsp;
<a href="#SEC46_4" class="summary-letter"><b>N</b></a>
&nbsp;
<a href="#SEC46_5" class="summary-letter"><b>O</b></a>
&nbsp;
<a href="#SEC46_6" class="summary-letter"><b>P</b></a>
&nbsp;
<a href="#SEC46_7" class="summary-letter"><b>S</b></a>
&nbsp;
<a href="#SEC46_8" class="summary-letter"><b>T</b></a>
&nbsp;
</td></tr></table>
<table border="0" class="index-fn">
<tr><td></td><th align="left">Index Entry</th><th align="left"> Section</th></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_0">F</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX31"><code>fd_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC26">3.5.3.2 The <code>fd_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX62"><code>fd_ostream_get_descriptor</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX63"><code>fd_ostream_get_filename</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX64"><code>fd_ostream_is_buffered</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX30"><code>file_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC25">3.5.3.1 The <code>file_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX61"><code>file_ostream_get_stdio_stream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_1">H</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX4"><code>handle_color_option</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC20">3.4 Command-line options</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX5"><code>handle_style_option</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC20">3.4 Command-line options</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX49"><code>html_ostream_begin_span</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC28">3.5.3.4 The <code>html_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX48"><code>html_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC28">3.5.3.4 The <code>html_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX50"><code>html_ostream_end_span</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC28">3.5.3.4 The <code>html_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX53"><code>html_ostream_flush_to_current_style</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC28">3.5.3.4 The <code>html_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX72"><code>html_ostream_get_destination</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX51"><code>html_ostream_get_hyperlink_ref</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC28">3.5.3.4 The <code>html_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX52"><code>html_ostream_set_hyperlink_ref</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC28">3.5.3.4 The <code>html_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX59"><code>html_styled_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC33">3.5.4.2 The <code>html_styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX77"><code>html_styled_ostream_get_css_filename</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX75"><code>html_styled_ostream_get_destination</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX76"><code>html_styled_ostream_get_html_destination</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_2">I</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX56"><code>iconv_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC30">3.5.3.6 The <code>iconv_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX71"><code>iconv_ostream_get_destination</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX69"><code>iconv_ostream_get_from_encoding</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX70"><code>iconv_ostream_get_to_encoding</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX10"><code>is_instance_of_fd_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX9"><code>is_instance_of_file_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX14"><code>is_instance_of_html_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX16"><code>is_instance_of_html_styled_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX13"><code>is_instance_of_iconv_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX12"><code>is_instance_of_memory_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX17"><code>is_instance_of_noop_styled_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX8"><code>is_instance_of_styled_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX11"><code>is_instance_of_term_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX15"><code>is_instance_of_term_styled_ostream</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_3">M</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX55"><code>memory_ostream_contents</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC29">3.5.3.5 The <code>memory_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX54"><code>memory_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC29">3.5.3.5 The <code>memory_ostream</code> class</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_4">N</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX60"><code>noop_styled_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC34">3.5.4.3 The <code>noop_styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX78"><code>noop_styled_ostream_get_destination</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX79"><code>noop_styled_ostream_is_owning_destination</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_5">O</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX22"><code>ostream_flush</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC22">3.5.1 The abstract <code>ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX23"><code>ostream_free</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC22">3.5.1 The abstract <code>ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX20"><code>ostream_printf</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC22">3.5.1 The abstract <code>ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX21"><code>ostream_vprintf</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC22">3.5.1 The abstract <code>ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX18"><code>ostream_write_mem</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC22">3.5.1 The abstract <code>ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX19"><code>ostream_write_str</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC22">3.5.1 The abstract <code>ostream</code> class</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_6">P</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX6"><code>print_color_test</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC20">3.4 Command-line options</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_7">S</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX7"><code>style_file_prepare</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC20">3.4 Command-line options</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX24"><code>styled_ostream_begin_use_class</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC23">3.5.2 The abstract <code>styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX58"><code>styled_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC32">3.5.4.1 The <code>term_styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX25"><code>styled_ostream_end_use_class</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC23">3.5.2 The abstract <code>styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX29"><code>styled_ostream_flush_to_current_style</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC23">3.5.2 The abstract <code>styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX27"><code>styled_ostream_get_hyperlink_id</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC23">3.5.2 The abstract <code>styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX26"><code>styled_ostream_get_hyperlink_ref</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC23">3.5.2 The abstract <code>styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX28"><code>styled_ostream_set_hyperlink</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC23">3.5.2 The abstract <code>styled_ostream</code> class</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC46_8">T</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX32"><code>term_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX47"><code>term_ostream_flush_to_current_style</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX36"><code>term_ostream_get_bgcolor</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX34"><code>term_ostream_get_color</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX65"><code>term_ostream_get_descriptor</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX68"><code>term_ostream_get_effective_tty_control</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX66"><code>term_ostream_get_filename</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX45"><code>term_ostream_get_hyperlink_id</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX44"><code>term_ostream_get_hyperlink_ref</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX40"><code>term_ostream_get_posture</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX67"><code>term_ostream_get_tty_control</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX42"><code>term_ostream_get_underline</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX38"><code>term_ostream_get_weight</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX33"><code>term_ostream_rgb_to_color</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX37"><code>term_ostream_set_bgcolor</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX35"><code>term_ostream_set_color</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX46"><code>term_ostream_set_hyperlink</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX41"><code>term_ostream_set_posture</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX43"><code>term_ostream_set_underline</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX39"><code>term_ostream_set_weight</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX57"><code>term_styled_ostream_create</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC32">3.5.4.1 The <code>term_styled_ostream</code> class</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX74"><code>term_styled_ostream_get_css_filename</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX73"><code>term_styled_ostream_get_destination</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
</table>
<table><tr><th valign="top">Jump to: &nbsp; </th><td><a href="#SEC46_0" class="summary-letter"><b>F</b></a>
&nbsp;
<a href="#SEC46_1" class="summary-letter"><b>H</b></a>
&nbsp;
<a href="#SEC46_2" class="summary-letter"><b>I</b></a>
&nbsp;
<a href="#SEC46_3" class="summary-letter"><b>M</b></a>
&nbsp;
<a href="#SEC46_4" class="summary-letter"><b>N</b></a>
&nbsp;
<a href="#SEC46_5" class="summary-letter"><b>O</b></a>
&nbsp;
<a href="#SEC46_6" class="summary-letter"><b>P</b></a>
&nbsp;
<a href="#SEC46_7" class="summary-letter"><b>S</b></a>
&nbsp;
<a href="#SEC46_8" class="summary-letter"><b>T</b></a>
&nbsp;
</td></tr></table>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_4.html#SEC38" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_6.html#SEC47" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Bruno Haible</em> on <em>January, 28 2026</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.
</font>
<br>
</p>
</body>
</html>
@@ -0,0 +1,122 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on January, 28 2026 by texi2html 1.78a -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNU libtextstyle: Variable Index</title>
<meta name="description" content="GNU libtextstyle: Variable Index">
<meta name="keywords" content="GNU libtextstyle: Variable Index">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78a">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_7.html#SEC48" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<hr size="2">
<a name="Variable-Index"></a>
<a name="SEC47"></a>
<h1 class="unnumbered"> <a href="libtextstyle_toc.html#TOC42">Variable Index</a> </h1>
<table><tr><th valign="top">Jump to: &nbsp; </th><td><a href="#SEC47_0" class="summary-letter"><b>C</b></a>
&nbsp;
<a href="#SEC47_1" class="summary-letter"><b>N</b></a>
&nbsp;
<a href="#SEC47_2" class="summary-letter"><b>S</b></a>
&nbsp;
<a href="#SEC47_3" class="summary-letter"><b>T</b></a>
&nbsp;
</td></tr></table>
<table border="0" class="index-vr">
<tr><td></td><th align="left">Index Entry</th><th align="left"> Section</th></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC47_0">C</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX2"><code>color_mode</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC20">3.4 Command-line options</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX1"><code>color_test_mode</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC20">3.4 Command-line options</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC47_1">N</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_2.html#SEC8"><code>NO_COLOR<span class="roman">, environment variable</span></code></a></td><td valign="top"><a href="libtextstyle_2.html#SEC8">2.2 The environment variable <code>NO_COLOR</code></a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_2.html#SEC9"><code>NO_TERM_HYPERLINKS<span class="roman">, environment variable</span></code></a></td><td valign="top"><a href="libtextstyle_2.html#SEC9">2.3 The environment variable <code>NO_TERM_HYPERLINKS</code></a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC47_2">S</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#IDX3"><code>style_file_name</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC20">3.4 Command-line options</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC47_3">T</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_2.html#SEC5"><code>TERM<span class="roman">, environment variable</span></code></a></td><td valign="top"><a href="libtextstyle_2.html#SEC5">2.1 The environment variable <code>TERM</code></a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
</table>
<table><tr><th valign="top">Jump to: &nbsp; </th><td><a href="#SEC47_0" class="summary-letter"><b>C</b></a>
&nbsp;
<a href="#SEC47_1" class="summary-letter"><b>N</b></a>
&nbsp;
<a href="#SEC47_2" class="summary-letter"><b>S</b></a>
&nbsp;
<a href="#SEC47_3" class="summary-letter"><b>T</b></a>
&nbsp;
</td></tr></table>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_7.html#SEC48" title="Next chapter"> &gt;&gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Bruno Haible</em> on <em>January, 28 2026</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.
</font>
<br>
</p>
</body>
</html>
@@ -0,0 +1,147 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on January, 28 2026 by texi2html 1.78a -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNU libtextstyle: General Index</title>
<meta name="description" content="GNU libtextstyle: General Index">
<meta name="keywords" content="GNU libtextstyle: General Index">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78a">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_6.html#SEC47" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[ &gt;&gt; ]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<hr size="2">
<a name="Index"></a>
<a name="SEC48"></a>
<h1 class="unnumbered"> <a href="libtextstyle_toc.html#TOC43">General Index</a> </h1>
<table><tr><th valign="top">Jump to: &nbsp; </th><td><a href="#SEC48_0" class="summary-letter"><b>-</b></a>
&nbsp;
<a href="#SEC48_1" class="summary-letter"><b>&lt;</b></a>
&nbsp;
<br>
<a href="#SEC48_2" class="summary-letter"><b>D</b></a>
&nbsp;
<a href="#SEC48_3" class="summary-letter"><b>F</b></a>
&nbsp;
<a href="#SEC48_4" class="summary-letter"><b>G</b></a>
&nbsp;
<a href="#SEC48_5" class="summary-letter"><b>I</b></a>
&nbsp;
<a href="#SEC48_6" class="summary-letter"><b>L</b></a>
&nbsp;
</td></tr></table>
<table border="0" class="index-cp">
<tr><td></td><th align="left">Index Entry</th><th align="left"> Section</th></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC48_0">-</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_2.html#SEC11"><code>--color</code> option</a></td><td valign="top"><a href="libtextstyle_2.html#SEC11">2.5 The <code>--color</code> option</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_2.html#SEC12"><code>--style</code> option</a></td><td valign="top"><a href="libtextstyle_2.html#SEC12">2.6 The <code>--style</code> option</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC48_1">&lt;</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#SEC18"><code>&lt;textstyle.h&gt;</code></a></td><td valign="top"><a href="libtextstyle_3.html#SEC18">3.2 Include files</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC48_2">D</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_2.html#SEC14">Debugging</a></td><td valign="top"><a href="libtextstyle_2.html#SEC14">2.6.2 Debugging style files</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#SEC36">Debugging</a></td><td valign="top"><a href="libtextstyle_3.html#SEC36">3.6 Debugging the text styling support</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC48_3">F</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_4.html#SEC44">FDL, GNU Free Documentation License</a></td><td valign="top"><a href="libtextstyle_4.html#SEC44">A.2 GNU Free Documentation License</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC48_4">G</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_4.html#SEC39">GPL, GNU General Public License</a></td><td valign="top"><a href="libtextstyle_4.html#SEC39">A.1 GNU GENERAL PUBLIC LICENSE</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC48_5">I</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_3.html#SEC18">Include file</a></td><td valign="top"><a href="libtextstyle_3.html#SEC18">3.2 Include files</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
<tr><th><a name="SEC48_6">L</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_4.html#SEC44">License, GNU FDL</a></td><td valign="top"><a href="libtextstyle_4.html#SEC44">A.2 GNU Free Documentation License</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_4.html#SEC39">License, GNU GPL</a></td><td valign="top"><a href="libtextstyle_4.html#SEC39">A.1 GNU GENERAL PUBLIC LICENSE</a></td></tr>
<tr><td></td><td valign="top"><a href="libtextstyle_4.html#SEC38">Licenses</a></td><td valign="top"><a href="libtextstyle_4.html#SEC38">A. Licenses</a></td></tr>
<tr><td colspan="3"> <hr></td></tr>
</table>
<table><tr><th valign="top">Jump to: &nbsp; </th><td><a href="#SEC48_0" class="summary-letter"><b>-</b></a>
&nbsp;
<a href="#SEC48_1" class="summary-letter"><b>&lt;</b></a>
&nbsp;
<br>
<a href="#SEC48_2" class="summary-letter"><b>D</b></a>
&nbsp;
<a href="#SEC48_3" class="summary-letter"><b>F</b></a>
&nbsp;
<a href="#SEC48_4" class="summary-letter"><b>G</b></a>
&nbsp;
<a href="#SEC48_5" class="summary-letter"><b>I</b></a>
&nbsp;
<a href="#SEC48_6" class="summary-letter"><b>L</b></a>
&nbsp;
</td></tr></table>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_6.html#SEC47" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[ &gt;&gt; ]</td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left"> &nbsp; </td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Bruno Haible</em> on <em>January, 28 2026</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.
</font>
<br>
</p>
</body>
</html>
@@ -0,0 +1,167 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on January, 28 2026 by texi2html 1.78a -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNU libtextstyle: About This Document</title>
<meta name="description" content="GNU libtextstyle: About This Document">
<meta name="keywords" content="GNU libtextstyle: About This Document">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78a">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="SEC_About"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h1>About This Document</h1>
<p>
This document was generated by <em>Bruno Haible</em> on <em>January, 28 2026</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.
</p>
<p>
The buttons in the navigation panels have the following meaning:
</p>
<table border="1">
<tr>
<th> Button </th>
<th> Name </th>
<th> Go to </th>
<th> From 1.2.3 go to</th>
</tr>
<tr>
<td align="center"> [ &lt; ] </td>
<td align="center">Back</td>
<td>Previous section in reading order</td>
<td>1.2.2</td>
</tr>
<tr>
<td align="center"> [ &gt; ] </td>
<td align="center">Forward</td>
<td>Next section in reading order</td>
<td>1.2.4</td>
</tr>
<tr>
<td align="center"> [ &lt;&lt; ] </td>
<td align="center">FastBack</td>
<td>Beginning of this chapter or previous chapter</td>
<td>1</td>
</tr>
<tr>
<td align="center"> [ Up ] </td>
<td align="center">Up</td>
<td>Up section</td>
<td>1.2</td>
</tr>
<tr>
<td align="center"> [ &gt;&gt; ] </td>
<td align="center">FastForward</td>
<td>Next chapter</td>
<td>2</td>
</tr>
<tr>
<td align="center"> [Top] </td>
<td align="center">Top</td>
<td>Cover (top) of document</td>
<td> &nbsp; </td>
</tr>
<tr>
<td align="center"> [Contents] </td>
<td align="center">Contents</td>
<td>Table of contents</td>
<td> &nbsp; </td>
</tr>
<tr>
<td align="center"> [Index] </td>
<td align="center">Index</td>
<td>Index</td>
<td> &nbsp; </td>
</tr>
<tr>
<td align="center"> [ ? ] </td>
<td align="center">About</td>
<td>About (help)</td>
<td> &nbsp; </td>
</tr>
</table>
<p>
where the <strong> Example </strong> assumes that the current position is at <strong> Subsubsection One-Two-Three </strong> of a document of the following structure:
</p>
<ul>
<li> 1. Section One
<ul>
<li>1.1 Subsection One-One
<ul>
<li>...</li>
</ul>
</li>
<li>1.2 Subsection One-Two
<ul>
<li>1.2.1 Subsubsection One-Two-One</li>
<li>1.2.2 Subsubsection One-Two-Two</li>
<li>1.2.3 Subsubsection One-Two-Three &nbsp; &nbsp;
<strong>&lt;== Current Position </strong></li>
<li>1.2.4 Subsubsection One-Two-Four</li>
</ul>
</li>
<li>1.3 Subsection One-Three
<ul>
<li>...</li>
</ul>
</li>
<li>1.4 Subsection One-Four</li>
</ul>
</li>
</ul>
<hr size="1">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Bruno Haible</em> on <em>January, 28 2026</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.
</font>
<br>
</p>
</body>
</html>
@@ -0,0 +1,146 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on January, 28 2026 by texi2html 1.78a -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNU libtextstyle: GNU libtextstyle</title>
<meta name="description" content="GNU libtextstyle: GNU libtextstyle">
<meta name="keywords" content="GNU libtextstyle: GNU libtextstyle">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78a">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h1 class="settitle">GNU libtextstyle</h1>
<a name="SEC_Contents"></a>
<h1>Table of Contents</h1>
<div class="contents">
<ul class="toc">
<li><a name="TOC1" href="libtextstyle_1.html#SEC1">1. Introduction</a>
<ul class="toc">
<li><a name="TOC2" href="libtextstyle_1.html#SEC2">1.1 Style definitions</a></li>
<li><a name="TOC3" href="libtextstyle_1.html#SEC3">1.2 Built-in versus separate styling</a></li>
</ul></li>
<li><a name="TOC4" href="libtextstyle_2.html#SEC4">2. The end user's perspective</a>
<ul class="toc">
<li><a name="TOC5" href="libtextstyle_2.html#SEC5">2.1 The environment variable <code>TERM</code></a>
<ul class="toc">
<li><a name="TOC6" href="libtextstyle_2.html#SEC6">2.1.1 Terminal emulator programs</a></li>
<li><a name="TOC7" href="libtextstyle_2.html#SEC7">2.1.2 Consoles</a></li>
</ul></li>
<li><a name="TOC8" href="libtextstyle_2.html#SEC8">2.2 The environment variable <code>NO_COLOR</code></a></li>
<li><a name="TOC9" href="libtextstyle_2.html#SEC9">2.3 The environment variable <code>NO_TERM_HYPERLINKS</code></a></li>
<li><a name="TOC10" href="libtextstyle_2.html#SEC10">2.4 Emacs as a terminal emulator</a></li>
<li><a name="TOC11" href="libtextstyle_2.html#SEC11">2.5 The <code>--color</code> option</a></li>
<li><a name="TOC12" href="libtextstyle_2.html#SEC12">2.6 The <code>--style</code> option</a>
<ul class="toc">
<li><a name="TOC13" href="libtextstyle_2.html#SEC13">2.6.1 Creating your own style files</a></li>
<li><a name="TOC14" href="libtextstyle_2.html#SEC14">2.6.2 Debugging style files</a></li>
</ul>
</li>
</ul></li>
<li><a name="TOC15" href="libtextstyle_3.html#SEC15">3. The programmer's perspective</a>
<ul class="toc">
<li><a name="TOC16" href="libtextstyle_3.html#SEC16">3.1 Basic use of libtextstyle</a>
<ul class="toc">
<li><a name="TOC17" href="libtextstyle_3.html#SEC17">3.1.1 Hyperlinks</a></li>
</ul></li>
<li><a name="TOC18" href="libtextstyle_3.html#SEC18">3.2 Include files</a></li>
<li><a name="TOC19" href="libtextstyle_3.html#SEC19">3.3 Link options</a></li>
<li><a name="TOC20" href="libtextstyle_3.html#SEC20">3.4 Command-line options</a></li>
<li><a name="TOC21" href="libtextstyle_3.html#SEC21">3.5 The output stream hierarchy</a>
<ul class="toc">
<li><a name="TOC22" href="libtextstyle_3.html#SEC22">3.5.1 The abstract <code>ostream</code> class</a></li>
<li><a name="TOC23" href="libtextstyle_3.html#SEC23">3.5.2 The abstract <code>styled_ostream</code> class</a></li>
<li><a name="TOC24" href="libtextstyle_3.html#SEC24">3.5.3 Concrete ostream subclasses without styling</a>
<ul class="toc">
<li><a name="TOC25" href="libtextstyle_3.html#SEC25">3.5.3.1 The <code>file_ostream</code> class</a></li>
<li><a name="TOC26" href="libtextstyle_3.html#SEC26">3.5.3.2 The <code>fd_ostream</code> class</a></li>
<li><a name="TOC27" href="libtextstyle_3.html#SEC27">3.5.3.3 The <code>term_ostream</code> class</a></li>
<li><a name="TOC28" href="libtextstyle_3.html#SEC28">3.5.3.4 The <code>html_ostream</code> class</a></li>
<li><a name="TOC29" href="libtextstyle_3.html#SEC29">3.5.3.5 The <code>memory_ostream</code> class</a></li>
<li><a name="TOC30" href="libtextstyle_3.html#SEC30">3.5.3.6 The <code>iconv_ostream</code> class</a></li>
</ul></li>
<li><a name="TOC31" href="libtextstyle_3.html#SEC31">3.5.4 Concrete <code>styled_ostream</code> subclasses</a>
<ul class="toc">
<li><a name="TOC32" href="libtextstyle_3.html#SEC32">3.5.4.1 The <code>term_styled_ostream</code> class</a></li>
<li><a name="TOC33" href="libtextstyle_3.html#SEC33">3.5.4.2 The <code>html_styled_ostream</code> class</a></li>
<li><a name="TOC34" href="libtextstyle_3.html#SEC34">3.5.4.3 The <code>noop_styled_ostream</code> class</a></li>
</ul></li>
<li><a name="TOC35" href="libtextstyle_3.html#SEC35">3.5.5 Accessor functions</a></li>
</ul></li>
<li><a name="TOC36" href="libtextstyle_3.html#SEC36">3.6 Debugging the text styling support</a></li>
<li><a name="TOC37" href="libtextstyle_3.html#SEC37">3.7 Documenting the text styling support</a></li>
</ul></li>
<li><a name="TOC38" href="libtextstyle_4.html#SEC38">A. Licenses</a>
<ul class="toc">
<li><a name="TOC39" href="libtextstyle_4.html#SEC39">A.1 GNU GENERAL PUBLIC LICENSE</a></li>
<li><a name="TOC40" href="libtextstyle_4.html#SEC44">A.2 GNU Free Documentation License</a></li>
</ul></li>
<li><a name="TOC41" href="libtextstyle_5.html#SEC46">Function Index</a></li>
<li><a name="TOC42" href="libtextstyle_6.html#SEC47">Variable Index</a></li>
<li><a name="TOC43" href="libtextstyle_7.html#SEC48">General Index</a></li>
</ul>
</div>
<a name="Top"></a>
<a name="SEC_Top"></a>
<p>This manual documents the GNU libtextstyle library, version
1.0.
</p>
<hr size="1">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_5.html#SEC46" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="libtextstyle_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Bruno Haible</em> on <em>January, 28 2026</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.
</font>
<br>
</p>
</body>
</html>