Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
steveroush opened this issue Apr 26, 2021 · 2 comments
Open

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

steveroush opened this issue Apr 26, 2021 · 2 comments

Comments

@steveroush
Copy link

man and firefox don't display it usably

@Profpatsch
Copy link

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

@Potherca
Copy link

Potherca commented Jul 2, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants