【工具】使用asciidoctor-pdf将adoc文件转换成pdf

文章目录

配置方法

使用gem镜像源, 安装工具 asciidoctor-pdf

配置gem镜像源

安装工具 asciidoctor-pdf

  • 使用gem命令安装asciidoctor pdf工具。
bash 复制代码
gem install asciidoctor-pdf

将adoc转换成pdf

  • 转换成pdf
bash 复制代码
asciidoctor-pdf riscv-cc.adoc -o riscv-cc.pdf
  • 使用evince 打开生成的pdf文件
bash 复制代码
evince riscv-cc.pdf

reference

相关推荐
bohu838 小时前
亚博microros小车-原生ubuntu支持系列:16 机器人状态估计
ubuntu·机器人·imu·localization·microros·imu_tools
hunter20620616 小时前
如何监控ubuntu系统某个程序的运行状态,如果程序出现异常,对其自动重启。
linux·chrome·ubuntu
Q168496451520 小时前
基于VMware的ubuntu与vscode建立ssh连接
vscode·ubuntu·ssh
davenian21 小时前
< OS 有关 > 阿里云 几个小时前 使用密钥替换 SSH 密码认证后, 发现主机正在被“攻击” 分析与应对
ubuntu·阿里云·ssh·网络攻击·fail2ban
zyhhsss1 天前
Ubuntu&Windows双系统安装
linux·运维·ubuntu
AlenTech2 天前
Ubuntu 系统,如何使用双Titan V跑AI
linux·人工智能·ubuntu
流形填表2 天前
Pdf to forms如何实现?如何在3分钟内将PDF自动转换为Microsoft Forms
microsoft·pdf·c#
IDRSolutions_CN2 天前
什么是线性化PDF?
经验分享·pdf·软件工程·团队开发
辣香牛肉面2 天前
开源PDF分割合并工具 PDFsam Basic v5.3.0绿色版
pdf
枫舞雪域2 天前
【ubuntu】双系统ubuntu下一键切换到Windows
ubuntu