V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
oldgun
V2EX  ›  Python

如何将MS Word文档转换成rst文档,或者word文档如何Sphinx化?

  •  
  •   oldgun · 2012-03-12 00:08:25 +08:00 · 4577 次点击
    这是一个创建于 4418 天前的主题,其中的信息可能已经有所发展或是发生改变。
    这里的Sphinx是Pocoo的那个,不是另外一个。谢谢大家!
    4 条回复    1970-01-01 08:00:00 +08:00
    oldgun
        1
    oldgun  
    OP
       2012-03-12 00:33:39 +08:00
    大量用word写成的文档想导入sphinx,该如何做呢?
    这里有人做过类似的工作吗?
    gastlygem
        2
    gastlygem  
       2012-03-12 11:12:04 +08:00
    先把 doc/docx 转存 html,再用 pandoc 转成 rst。

    http://johnmacfarlane.net/pandoc/

    不过估计格式或者内容丢失是必然的。
    oldgun
        3
    oldgun  
    OP
       2012-03-23 22:13:05 +08:00
    @gastlygem 感谢,通过其他格式中转的办法已经想过,在这里是想找个直接点的办法。
    xell
        4
    xell  
       2012-03-24 00:15:52 +08:00
    更直接的办法……我能想到的就是在 Word 中用开发模式写脚本了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5553 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 08:19 · PVG 16:19 · LAX 01:19 · JFK 04:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.