uman >> uman > uman internals

uman internals

Technical internal aspects about how uman() works

Table of contents

Technical aspects

How uman() works

Packaging of modules and their documentation

To be correctly parsed for documentation, the minimal setup of a registered module (ATOMS or others) is as follows:

That's all. Additional subdirectories may exist but are ignored by uman.

Known limitations

  1. uman can't be used in naked console mode for MS Windows releases: UTF8 characteres are badly rendered. Please see the bug report #10748).

  2. uman can't display correctly Right-to-Left languages in the console.

  3. Switching the language in the help browser run with the "g" option needs first to close it (by hand ; no way by code). See the bug report #12889

  4. Display of tables:
    • center- or right-justification in cells is not rendered in the console.
    • The indentation and line wrapping are incorrect for structured contents (nested itemized lists, contents in table cells,..) included in a table.
    • Cells vertically merged with rowspan are not supported.

  5. If multiple versions of a module are installed or declared (in SCI\contrib\* or SCIHOME\contrib\* subdirectories, etc), its selected pages are unpredictable.

  6. For any local function, heading comments set in a multiline bloc of comments /*...*/ are ignored. See the bug report #14353.

  7. LaTeXed expressions without alt=".." text equivalent defined in the source file can't be displayed as clear text. However, their existence is indicated in the text.

  8. For pages in Chinese, long lines without space are not wrapped.

Resources used and references

For the console, "g", and "w" modes

The following resources are considered:

If the pattern or its possible alias is not found in these resources, other registered uninstalled external resources are scanned against it, namely:

If finally one of these resources matches the given pattern, a message inviting to use the "w" option -- or even the actual pattern -- is displayed in the console.

For the "w" web mode

Scilab-to-Scilab, external-to-Scilab, and external-to-external aliases may as well be found and used along the successive searching steps, from the raw input pattern to the actually displayed page.

For the "b" bugs mode

When the unique and final item is a...

See Also

Author

Samuel GOUGEON

History

VersionDescription
3.0 2019-08-22
  • uman now automatically detects whether any ATOMS module has been installed or uninstalled during the session, and rescans ressources accordingly. The reloading 'r' option is still available. It can be used when you install contribs other than ATOMS ones.

  • uman now uses automatically the ATOMS packages list downloaded by your ATOMS manager to complete its own set of ATOMS references. Hence, uman is now always up-to-date about ATOMS ressources, provided that your ATOMS manager is so.

  • uman messages can now be translated. There are already available for french.

  • 75 redirections / references added.

  • ~100 unitary tests added for all uman modes.

2.1 2016-10-30 : 19 references added.
2.0 2016-04-06 : 22 references added.
1.4 2015-07-31 : 10 references added.
1.3 2015-07-12 : 20 references added.
1.2 2015-06-06 : Code ready for Scilab 6.
1.0 2015-03-22 : First release

<< Preferences uman