【工具】使用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

相关推荐
Gene_20228 分钟前
搭建自己的小车 —— 运行livox mid_360
linux·ubuntu
q***01771 小时前
PHP进阶-在Ubuntu上搭建LAMP环境教程
开发语言·ubuntu·php
艾莉丝努力练剑2 小时前
【Git:企业级开发模型】Git企业级Git工作流实战:基于Git Flow的分支模型与开发流程
服务器·git·ubuntu·gitee·centos·powershell·企业级开发模型
c***21293 小时前
ubuntu 安装 Redis
linux·redis·ubuntu
boligongzhu3 小时前
ubuntu20.04搭建YOLOv11 GPU运行环境
linux·yolo·ubuntu·机器人
松涛和鸣4 小时前
DAY20 Optimizing VS Code for C/C++ Development on Ubuntu
linux·c语言·开发语言·c++·嵌入式硬件·ubuntu
I***26154 小时前
PHP进阶-在Ubuntu上搭建LAMP环境教程
开发语言·ubuntu·php
Python大数据分析@5 小时前
我把pdfplumber整成了可以拖拉拽的web软件
前端·pdf
庚昀◟5 小时前
Wsl系统下使用Ubuntu下载官网Nginx并加入系统服务
linux·nginx·ubuntu
Chasing Aurora6 小时前
Python连接云端Linux服务器进行远程 (后端开发/深度学习)时候的注意事项
linux·开发语言·python·ubuntu·ai编程