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

@ -21,15 +21,15 @@
+------------------------------+
-------------------------------------------------------------------------------
Drawing-related
### Drawing-related ###
Fonts I added to Tux Paint only show squares
Fonts I added to Tux Paint only show squares
The TrueType Font you're using might have the wrong encoding. If it's
'custom' encoded, for example, you can try running it through FontForge (
http://fontforge.sourceforge.net/) to convert it to an ISO-8859 format.
(Email us if you need help with special fonts.)
The Rubber Stamp tool is greyed out!
The Rubber Stamp tool is greyed out!
This means that Tux Paint either couldn't find any stamp images, or was
asked not to load them.
@ -55,8 +55,8 @@ The Rubber Stamp tool is greyed out!
configuration file.
Stamp outlines are always rectangles
Stamp outlines are always rectangles
Tux Paint was built with low-quality (but faster) stamp outlines.
@ -68,13 +68,13 @@ Stamp outlines are always rectangles
in the "tuxpaint.c" file in the "src" directory.
-------------------------------------------------------------------------------
Interface Problems
### Interface Problems ###
Stamp thumbnails in the Stamp Selector look bad
Stamp thumbnails in the Stamp Selector look bad
Tux Paint was probably compiled with the faster, lower quality thumbnail
code enabled. Run the command: "tuxpaint --verbose-version" from a command
@ -89,24 +89,24 @@ Stamp thumbnails in the Stamp Selector look bad
in the "tuxpaint.c" file in the "src" directory.
Pictures in the 'Open' dialog look bad
Pictures in the 'Open' dialog look bad
"Low Quality Thumbnails" is probably enabled. See: "Stamp thumbnails in the
Stamp Selector look bad", above.
All of the text is in uppercase!
All of the text is in uppercase!
The "uppercase" option is on.
Either change/remove the "uppercase" option, or you can override it with
"--mixedcase" on the command line or either "uppercase=no" or "mixedcase=
yes" in a configuration file.
Tux Paint is in a different language
Tux Paint is in a different language
Make sure your locale setting is correct. See "Tux Paint won't switch to my
language", below.
Tux Paint won't switch to my language
Tux Paint won't switch to my language
+ Linux and Unix users: Make sure the locale is available
Make sure the locale you want is available. Check your "/etc/
@ -142,13 +142,13 @@ Tux Paint won't switch to my language
https://tuxpaint.org/download/fonts/
-------------------------------------------------------------------------------
Printing
### Printing ###
Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
Tux Paint prints by creating a PostScript rendition of the picture and
sending it to an external command. By default, this command is the "lpr"
@ -167,8 +167,8 @@ Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
you will need to go back and alter it to accept PostScript.
I get the message "You can't print yet!" when I go to print
I get the message "You can't print yet!" when I go to print
The "print delay" option is on. You can only print once every X seconds.
@ -190,8 +190,8 @@ I get the message "You can't print yet!" when I go to print
allow unlimited printing. (You won't have to wait between prints.)
I simply can't print! The button is greyed out!
I simply can't print! The button is greyed out!
The "no print" option is on.
@ -212,41 +212,41 @@ I simply can't print! The button is greyed out!
is checked.
-------------------------------------------------------------------------------
Saving
### Saving ###
Where does Tux Paint save my drawings?
Where does Tux Paint save my drawings?
Unless you asked Tux Paint to save into a specific location (using the
"savedir" option), Tux Paint saves into a standard location on your local
drive:
Windows Windows 7, Windows 8, Windows 10, Windows 11
Windows Windows 7, Windows 8, Windows 10, Windows 11
In the user's "AppData" folder:
e.g., "C:\Users\username\AppData\Roaming\TuxPaint\saved\"
macOS
macOS
In the user's "Application Support" folder:
e.g., "/Users/username/Library/Application Support/TuxPaint/saved/"
Linux / Unix
Linux / Unix
In the user's "home directory" folder:
e.g., "/home/username/.tuxpaint/saved/"
Haiku
Haiku
In the user's "settings" folder:
e.g., "/boot/home/config/settings/TuxPaint/saved/"
The images are stored as PNG bitmaps, which most modern programs should be
able to load (image editors, word processors, web browsers, etc.)
Tux Paint always saves over my old picture
Tux Paint always saves over my old picture
The "save over" option is enabled. (This disables the prompt that would
appear when you click 'Save.')
@ -271,8 +271,8 @@ Tux Paint always saves over my old picture
Also, see "Tux Paint always saves a new picture!", below.
Tux Paint always saves a new picture!
Tux Paint always saves a new picture!
The "never save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
@ -297,13 +297,13 @@ Tux Paint always saves a new picture!
Also, see "Tux Paint always saves over my old picture!", above.
-------------------------------------------------------------------------------
Audio Problems
### Audio Problems ###
There's no sound!
There's no sound!
+ First, check the obvious:
o Are your speakers connected and turned on?
o Is the volume turned up on your speakers?
@ -363,8 +363,8 @@ There's no sound!
headers are available!
Tux Paint makes too much noise! Can I turn them off?
Tux Paint makes too much noise! Can I turn them off?
Yes, there are a number of ways to disable sounds in Tux Paint:
@ -380,9 +380,9 @@ Tux Paint makes too much noise! Can I turn them off?
o Alternatively, recompile Tux Paint with sound support disabled.
(See above, and the 'Install' documentation.
The stereo panning of sound effects is bothersome; can sound effects be
monophonic?
The stereo panning of sound effects is bothersome; can sound effects be
monophonic?
Run Tux Paint with the "no stereo" option:
@ -393,8 +393,8 @@ The stereo panning of sound effects is bothersome; can sound effects be
+ Or use Tux Paint Config. and make sure "Enable Stereo Effects" (under
"Video & Sound") is not checked.
The sound effects sound strange
The sound effects sound strange
This could have to do with how SDL and SDL_mixer were initialized. (The
buffer size chosen.)
@ -404,16 +404,17 @@ The sound effects sound strange
"tuxpaint --version" to verify), and so on.)
-------------------------------------------------------------------------------
Fullscreen Mode Problems
### Fullscreen Mode Problems ###
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns black!
→ When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns
black! ←
This is apparently a bug in the SDL library. Sorry.
When I run Tux Paint full-screen, it has large borders around it
When I run Tux Paint full-screen, it has large borders around it
Linux users - Your X-Window server is probably not set with the ability to
switch to the desired resolution: 800×600. (or whatever resolution you have
@ -440,8 +441,8 @@ When I run Tux Paint full-screen, it has large borders around it
xserver-xfree86" as root, for example.
Tux Paint keeps running in Full Screen mode - I want it windowed!
Tux Paint keeps running in Full Screen mode - I want it windowed!
The "fullscreen" option is set.
@ -464,20 +465,21 @@ Tux Paint keeps running in Full Screen mode - I want it windowed!
is not checked.
How do I access other applications when Tux Paint is running in Full Screen?
→ How do I access other applications when Tux Paint is running in Full Screen?
+ Windows and Linux users, try the [Alt] + [Tab] key combination to
switch between applications.
+ macOS users, switch to other applications using [Control] + [Left
Arrow], then back to Tux Paint using [Control] + [Right Arrow].
-------------------------------------------------------------------------------
Other Problems
### Other Problems ###
Tux Paint won't run
Tux Paint won't run
If Tux Paint aborts with the message: "You're already running a copy of Tux
Paint!", this means it has been launched in the last 30 seconds. (On Unix/
@ -503,8 +505,8 @@ Tux Paint won't run
command-line, or "nolockfile=yes" to the configuration file.
Tux Paint launches very slowly
Tux Paint launches very slowly
The first time Tux Paint is launched (for a particular user), it may take a
minute or more to respond. The font system used by Tux Paint (FontConfig,
@ -526,8 +528,8 @@ Tux Paint launches very slowly
fontconfig\cache</cachedir>
I can't quit Tux Paint
I can't quit Tux Paint
The "no quit" option is set. This disables the "Quit" button in Tux Paint's
toolbar (greying it out), and prevents Tux Paint from being exited via the
@ -543,8 +545,8 @@ I can't quit Tux Paint
combination on your keyboard to quit Tux Paint.)
I don't want "no quit" mode enabled!
I don't want "no quit" mode enabled!
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noquit" option.
@ -563,8 +565,8 @@ I don't want "no quit" mode enabled!
Key" (under "Simplification") is not checked.
Tux Paint keeps writing weird messages to the screen / to a text file
Tux Paint keeps writing weird messages to the screen / to a text file
A few messages are normal, but if Tux Paint is being extremely verbose
(like listing the name of every rubber-stamp image it finds while loading
@ -578,8 +580,8 @@ Tux Paint keeps writing weird messages to the screen / to a text file
in the "tuxpaint.c" file in the "src" directory.
Tux Paint is using options I didn't specify!
Tux Paint is using options I didn't specify!
By default, Tux Paint first looks at configuration files for options.
@ -656,11 +658,11 @@ Tux Paint is using options I didn't specify!
--nosysconfig
-------------------------------------------------------------------------------
Help / Contact
### Help / Contact ###
Any questions you don't see answered? Please let us know! You can subscribe and
post to our "tuxpaint-users" mailing list: