What tools are available to edit manpages, i.e. GUI WYSIWYG editors (any platform)

蓝咒 提交于 2019-12-07 02:30:26

问题


Is there any decent GUI(Graphical User Interface) WYSIWYG(What You See is What You Get) editor (on any platform) that can be used for authoring/editing manpages? An app that can export to the troff format would also be fine.


回答1:


NroffEdit was originally created for writing RFCs, but since they're, like man pages, in troff format, I guess you could use it for that.




回答2:


You want ronn.

Ronn builds manuals. It converts simple, human readable textfiles to roff for terminal display, and also to HTML for the web.

It's not WYSIWYG, but it does let you export normal text files. Since nroff doesn't support arbitrarily positioned text that's about as good as it gets.




回答3:


There is an online editor for man pages in mdoc format: http://roperzh.github.io/grapse/

Mdoc is a semantic markup for man pages. It has been around for about two decades and supported by Linux and other Unix-like OSes. You should prefer mdoc to troff.



来源:https://stackoverflow.com/questions/7707119/what-tools-are-available-to-edit-manpages-i-e-gui-wysiwyg-editors-any-platfor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!