8000 How can I readably display the man page - on Linux? · Issue #49 · katef/kgt · GitHub
[go: up one dir, main page]

Skip to content

How can I readably display the man page - on Linux? #49

Open

Description

@steveroush

man and firefox don't display it usably

Activity

  1. Profpatsch commented on Apr 26, 2021

    @Profpatsch

    See #50, it’s not yet in a displayable format, you have to use xsltproc to convert it to a manpage first.

  2. Potherca commented on Jul 2, 2023

    @Potherca

    If I, very naively, install xsltproc and run it I get errors, even when I include katef/minidocbook:

    $xsltproc \
        --path /tmp/katef/minidocbook/share/dtd/  \
        --path ./share/git/kmkf/share/dtd \
        share/xsl/asciidia.xsl \
        man/kgt.1/kgt.1.xml 
    
    man/kgt.1/kgt.1.xml:238: parser error : Entity 'css' not defined
    					<para>A &css; file to include inlined into output.
    					             ^
    man/kgt.1/kgt.1.xml:239: parser error : Entity 'html' not defined
    						This is relevant for &html; format output only,
    						                           ^
    compilation error: file man/kgt.1/kgt.1.xml line 42 element refentry
    

    To get readable output I've added

    	<!ENTITY html "html">
    	<!ENTITY css "css">

    but I assume something else is needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0