首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
Apostrophes
全部标签
python - 狮身人面像 PDF 输出 : Apostrophes in python source are replaced by right single quotes
我正在输出一些documentation使用Sphinx作为PDF.一切都很好,除了当输出python源代码时,单引号(unicodeU+0027)输出为右单引号(U+2019),看起来很尴尬。Here是相关字形的图像,here是我生成的PDF。有人知道如何纠正这个问题吗? 最佳答案 将此添加到您的sphinxconf.py(如果已设置,则附加到latex_preamble):latex_preamble="""\usepackage{upquote}""" 关于python-狮身人面像
python
Apostrophes
section
noreferrer
noopener
pdf
latex
python-sphinx
Home
Powered By IT.CAOLU.XIN
页面耗时:0.0522s