小编shi*_*ams的帖子

无法使用 Sphinx Readability 主题

我想为我的 Sphinx 使用 Readability 主题,可在此处找到。但是,当我尝试conf.py按照说明中的建议修改我的文件来使用此主题时,它在执行以下操作时显示此错误make html

sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v1.3.1
loading pickled environment... done

Theme error:
no theme named 'readability' found (missing theme.conf?)
make: *** [html] Error 1
Run Code Online (Sandbox Code Playgroud)

我发现人们之前在这个问题中报告的其他一些主题中也遇到过类似的问题。但是,就我而言,该conf.py文件存在于此处。

更新

我尝试了 a 内的主题virtualenv,并使用了较新的sphinx. 并且在执行以下操作时显示此错误make html

sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v1.3.1
loading pickled environment... done
building [mo]: targets for 0 po files that are …
Run Code Online (Sandbox Code Playgroud)

python themes python-sphinx

5
推荐指数
1
解决办法
1440
查看次数

如何根据位置从PDF中提取文本?

我有多个 PDF,我想从第一页的某个区域提取文本。那么,假设我有 PDF 中文本的边界框坐标,如何使用命令行提取该文本。

我研究了一下,发现 PDFMiner 和 PDFBox 可以做到这一点。但 PDFMiner 的文档非常少。

有人可以告诉我如何使用 PDFMiner 做到这一点吗?或者您是否可以建议其他解决方案?

PS:我在 Linux 终端上。

linux pdf pdfminer

1
推荐指数
1
解决办法
2912
查看次数

标签 统计

linux ×1

pdf ×1

pdfminer ×1

python ×1

python-sphinx ×1

themes ×1