推荐学习书目
› 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 · Mar 12, 2012 · 5557 views
    This topic created in 5313 days ago, the information mentioned may be changed or developed.
    这里的Sphinx是Pocoo的那个,不是另外一个。谢谢大家!
    4 replies  •  1970-01-01 08:00:00 +08:00
    oldgun
        1
    oldgun  
    OP
       Mar 12, 2012
    大量用word写成的文档想导入sphinx,该如何做呢?
    这里有人做过类似的工作吗?
    gastlygem
        2
    gastlygem  
       Mar 12, 2012
    先把 doc/docx 转存 html,再用 pandoc 转成 rst。

    http://johnmacfarlane.net/pandoc/

    不过估计格式或者内容丢失是必然的。
    oldgun
        3
    oldgun  
    OP
       Mar 23, 2012
    @gastlygem 感谢,通过其他格式中转的办法已经想过,在这里是想找个直接点的办法。
    xell
        4
    xell  
       Mar 24, 2012
    更直接的办法……我能想到的就是在 Word 中用开发模式写脚本了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1077 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 17:27 · PVG 01:27 · LAX 10:27 · JFK 13:27
    ♥ Do have faith in what you're doing.