Text help fails in some cases

Sometimes I get an error when trying to get text help:

?- help(plunit).
ERROR: Failed to translate to HTML: \man_pages([assert_cyclic/1,begin_test/4,call_det/2,call_ex/2,cleanup/2,cmp/4,condition/3,count_tests/3,current_test/5,current_test_unit/2,end_test/4,end_tests/1,expand/2,expand_test/4,failure/8,info/1,job_finish/3,job_finish/4,job_format/3,job_format/5,job_wait/1,jobs_redraw/0,loading_tests/0,make_run_tests/1,make_unit_module/2,match_error/2,nondet_compare/5,progress/4,progress_string/2,progress_tag/4,reify/2,reify_tmo/3,report/2,report_and_cleanup/3,report_result/4,result_vars/2,run_test/2,run_test/6,run_test_6/6,run_test_7/6,run_test_once/6,run_test_once6/7,run_tests/2,run_tests_in_files/1,run_unit/1,runnable_tests/2,setup/3,setup_jobs/1,test_name_summary/3,test_option/1,test_summary/2,unit_file/2,unit_module/2,valid_options/2],[no_manual(fail),links(false),link_source(false),navtree(false),server(false)])

It works for other cases:

?- help(aggregate).
% this works and displays the help for library(aggregate)

Some time ago I was trying to find the cause of this problem, but was not able. Any ideas what could cause it?

For me, I get this.

101 ?- help(plunit).
Warning: No help for plunit.
Warning: Use ?- apropos(query). to search for candidates.

Ok, after loading plunit I see what you get :slight_smile:

I can reproduce it – seems to be a problem in packages/pldoc/doc_man.pl predicate man_page//2.