Tweaks to w3m.sh to improve TXT version of docs

Make headers and description terms more apparent, by adding
some more regexps into the `sed` that the HTML is piped through
before being sent to `w3m`.
This commit is contained in:
Bill Kendrick 2024-10-14 17:08:31 -07:00
parent 3032afb85f
commit a62db7f9c2
1060 changed files with 10160 additions and 9743 deletions

View file

@ -871,6 +871,7 @@
alt="[ Landscape-shaped image of a horizon with the sun in the middle and a building on the right. ]"
title="Landscape-shaped image of a horizon with the sun in the middle and a building on the right."
valign="middle" />
<span style="display: none;"><br/>&nbsp;</span>
<figcaption style="font-size: smaller;">
<p>Focusing on the center of a starter image stretched to fit the width of the canvas.<p/>
</figcaption>
@ -884,6 +885,7 @@
alt="[ Portrait-shaped image of a horizon with the sun in the middle and the left side of building on the right. ]"
title="Portrait-shaped image of a horizon with the sun in the middle and the left side of building on the right."
valign="middle" />
<span style="display: none;"><br/>&nbsp;</span>
<figcaption style="font-size: smaller;">
<p>Focusing on the center of a starter image stretched to fit the height of the canvas.<p/>
</figcaption>
@ -897,6 +899,7 @@
alt="[ Landscape-shaped image of the sky with the sun at the bottom and the top of building on the right. ]"
title="Landscape-shaped image of the sky with the sun at the bottom and the top of building on the right."
valign="middle" />
<span style="display: none;"><br/>&nbsp;</span>
<figcaption style="font-size: smaller;">
<p>Focusing on the top of a starter image stretched to fit the width of the canvas.<p/>
</figcaption>
@ -910,6 +913,7 @@
alt="[ Landscape-shaped image of the ground with the sun at the top. ]"
title="Landscape-shaped image of the ground with the sun at the top."
valign="middle" />
<span style="display: none;"><br/>&nbsp;</span>
<figcaption style="font-size: smaller;">
<p>Focusing on the bottom of a starter image stretched to fit the width of the canvas.<p/>
</figcaption>
@ -923,6 +927,7 @@
alt="[ Portrait-shaped image of a horizon with the sun on the left and a building in the center. ]"
title="Portrait-shaped image of a horizon with the sun on the left and a building in the center."
valign="middle" />
<span style="display: none;"><br/>&nbsp;</span>
<figcaption style="font-size: smaller;">
<p>Focusing on the right of a starter image stretched to fit the height of the canvas.<p/>
</figcaption>

View file

@ -102,7 +102,7 @@
</p>
<p>
2024年10月12</p>
2024年10月14</p>
</center>
</header>
<table border="2"
@ -232,13 +232,13 @@
<dd>A flood fill option that fills the canvas with the background color, or template or starter background, upon which the drawing was based.</dd>
<dt>ブラシの追加</dt>
<dd>New brushes for the Paint and Lines tools: "Fluff (gradient)", "Graphite", "Paint splats", "Smoke", "Spines", "Water (still)", and "Watercolor splotches".</dt>
<dd>New brushes for the Paint and Lines tools: "Fluff (gradient)", "Graphite", "Paint splats", "Smoke", "Spines", "Water (still)", and "Watercolor splotches".</dd>
<dt>New brush option</dt>
<dd>Brushes may be given a "chaotic" setting, causing them to rotate continuously while drawing with them.</dt>
<dd>Brushes may be given a "chaotic" setting, causing them to rotate continuously while drawing with them.</dd>
<dt>New templates</dt>
<dd>"Clouds from an airplane" and "Lough Leane".</dt>
<dd>"Clouds from an airplane" and "Lough Leane".</dd>
<dt>New Magic tool: Comic dots</dt>
<dd>Draws a repeating dot pattern, simulating the "Ben Day process" used in early comic books.</dd>
@ -250,37 +250,37 @@
<dd>A set of tools that recursively repeat what you draw, scaling and/or rotating it as they repeat.</dd>
<dt>New Magic tool: ASCII Typewriter</dt>
<dd>Transform your picture into "ASCII art", typewriter-style.</dt>
<dd>Transform your picture into "ASCII art", typewriter-style.</dd>
<dt>New Magic tool: ASCII Computer</dt>
<dd>Transform your picture into "ASCII art", computer-style.</dt>
<dd>Transform your picture into "ASCII art", computer-style.</dd>
<dt>New Magic tool: ASCII Color Computer</dt>
<dd>Transform your picture into colored computer "ASCII art".</dt>
<dd>Transform your picture into colored computer "ASCII art".</dd>
<dt>New Magic tool: Crescent</dt>
<dd>Draw one of various crescent shapes at a chosen angle.</dt>
<dd>Draw one of various crescent shapes at a chosen angle.</dd>
<dt>New Magic tool: Spiral</dt>
<dd>Draw spirals.</dt>
<dd>Draw spirals.</dd>
<dt>New Magic tool: Spiral Square</dt>
<dd>Draw square spirals.</dt>
<dd>Draw square spirals.</dd>
<dt>New Magic tool: Concentric Circle</dt>
<dd>Draw concentric circles.</dt>
<dd>Draw concentric circles.</dd>
<dt>New Magic tool: Concentric Square</dt>
<dd>Draw concentric squares.</dt>
<dd>Draw concentric squares.</dd>
<dt>New Magic tool: Tessellation Pointy</dt>
<dd>Draw repeating tessellation patterns with pointy-topped hexagons.</dt>
<dd>Draw repeating tessellation patterns with pointy-topped hexagons.</dd>
<dt>New Magic tool: Tessellation Flat</dt>
<dd>Draw repeating tessellation patterns with flat-topped hexagons.</dt>
<dd>Draw repeating tessellation patterns with flat-topped hexagons.</dd>
<dt>Magic API Updates</dt>
<dd>Sound pause and resume functions added.</dt>
<dd>Sound pause and resume functions added.</dd>
</dl>
<p>
@ -378,6 +378,7 @@
width="324"
height="254"
alt="[起動画面]">
<span style="display: none;"><br/>&nbsp;</span>
</div>
<h2 id="using_title">
B. 起動画面 </h2>
@ -412,6 +413,7 @@
height="254"
alt=
"[どうぐ: ふで, はんこ, せん, かたち, もじ, まほう, ラベル, とりけし, やりなおし, けしゴム, さいしょから, ひらく, セーブ, いんさつ, やめる]">
<span style="display: none;"><br/>&nbsp;</span>
</div>
<dt>
<strong>左側: ツールバー「どうぐ」</strong>
@ -431,6 +433,7 @@
width="324"
height="254"
alt="[描画キャンバス]">
<span style="display: none;"><br/>&nbsp;</span>
</div>
<dt>
@ -455,6 +458,7 @@
height="254"
alt=
"[セレクタ - ふで、もじ、かたち、はんこ]">
<span style="display: none;"><br/>&nbsp;</span>
</div>
<dt>
@ -476,6 +480,7 @@
height="254"
alt=
"[いろ - いろ - くろ、しろ、あか、ぴんく、おれんじ、きいろ、みどり、みずいろ、あお、むらさき、ちゃいろ、はいいろ]">
<span style="display: none;"><br/>&nbsp;</span>
</div>
<dt>
@ -486,13 +491,14 @@
<p>
使用中のツールが色をサポートしている場合、画面の下部付近に色の選択肢がパレットで表示されます。このパレットをクリックして色を選択すると、その色がツールで使用されます。(例えば、「ふで」ツールでは選択したブラシで描く色として、「ぬる」ツールでは画像の領域を塗りつぶす色として使用します)。 </p>
<div class="screenshot-right-after"></div>
<div class="screenshot-right-after">
<img src="../../html/images/colors_special.png"
width="105"
height="48"
alt=""
align="right">
</div>
<img src="../../html/images/colors_special.png"
width="105"
height="48"
alt=""
align="right">
<p id="special_color_options">
右端には色に関する3つの特別なオプションがあります。 <ul>
<li>
@ -544,6 +550,7 @@
height="254"
alt=
"(「かたち」ツールの使い方を説明している例)">
<span style="display: none;"><br/>&nbsp;</span>
</div>
<dt>