- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 Groff 的 man
宏包编写联机帮助页。具体来说,我想写一些如下所示的文字:
The daemon can be configured by means of a configuration file. The default location of such file is /etc/trolls.conf, and this is quite nice.
所需的文本属性:
/etc/trolls.conf
以斜体呈现/etc/trols.conf
和逗号之间没有空格。要获得满足这样的礼节的文本是非常困难的!例如,以下内容将产生斜体逗号:
.SH DESCRIPTIONThe daemon can be configured by means of a configuration file. The defaultlocation of such file is.I /etc/trolls.conf,and this is quite nice.
另一方面,第二次尝试将在 /etc/trolls.conf
和罗马逗号之间放置一个空格:
.SH DESCRIPTIONThe daemon can be configured by means of a configuration file. The defaultlocation of such file is.I /etc/trolls.conf, and this is quite nice.
有什么方法可以让它发挥作用吗?
最佳答案
这种排版语言非常困难(嗯,它也非常古老),最终我通过查看现有的联机帮助页解决了这个问题!
解决办法如下:
.SH DESCRIPTIONThe daemon can be configured by means of a configuration file. The defaultlocation of such file is.IR /etc/trolls.conf ,and this is quite nice.
关于manpage - 宏后逗号前避免空格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51939104/
我正在使用 Cygwin,但令我沮丧的是,我刚刚发现包命名方案源自 Red Hat。我需要开发手册页,名为 manpages-dev和 manpages-posix-dev在基于 Debian 的发行
编写手册页的最佳方式是什么?我应该使用标准的 man 宏来编写,还是现在有一些聪明的包可以使用某种 XML 化的源代码,并且可以输出手册页、HTML、ASCII 等等? 谢谢 最佳答案 我以前使用过称
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 8年前关闭。 Improve this q
我正在尝试使用 Groff 的 man 宏包编写联机帮助页。具体来说,我想写一些如下所示的文字: The daemon can be configured by means of a configur
我有一个粗体行,后面是一个以句点开头的行。 man 认为 . 是命令的开始...有没有办法“转义”它? .B bold words ./something ./something 是在终端中键入的命令
以下是一些示例: 来自 man命令页面: $ man man man [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file]
在阅读了 stdbool.h 手册页后,它的节号 0P 引起了我的注意。 它是否描述了 *.h 文件或类似的东西?我找不到答案。 最佳答案 至少在 Linux 下,p 代表 POSIX。 0p部分是头
我想使用 Asciidoc 为我的 CLI 脚本编写联机帮助页并使用它进行转换 a2x --doctype manpage --format manpage MYMANPAGE.ASCIIDOC 我找
我正在 Sphinx 中创建教材,并且经常希望将学生重定向到给定的手册页。 Sphinx对此有一个很好的内部语法,例如:manpage:ls(1)。不幸的是,Sphinx 仅对此应用了一些格式,从而产
我正在使用 Sphinx 创建教材,我经常想将学生重定向到给定的手册页。 Sphinx 对此有一个很好的内部语法,例如:手册页:ls(1)。不幸的是,Sphinx 仅对此应用了一些格式,从而导致纯文本
关闭。这个问题不符合 Stack Overflow guidelines 。它目前不接受答案。 想改善这个问题吗?更新问题,以便堆栈溢出为 on-topic。 4年前关闭。 Improve this
我是一名优秀的程序员,十分优秀!