打算使用MarkDown了,群友推荐使用ReText,基于Python的,同时依赖了Python的几个包,通过easystall可以方便地安装,同时制作了快捷启动方式,网上找了篇文章以备忘。

Installation

  1. Download and install the latest version of Python (3.3.0: x86 or amd64).
  2. Download and install PyQt for your Python version from riverbankcomputing.co.uk.
  3. Time to update your computer's Environmental Variables:

    • Click Start, right-click My Computer and select Properties.
    • Click Environment Variables.
    • For System Variables, click New. Then add:

      PYTHONPATH=C:\Python33\Lib\;C:\Python33\Lib\site-packages\
      
    • Select the System Variable PATH, click Edit.

    • Update the PATH by adding C:\Python33;C:\Python33\Lib\site-packages\PyQt4\bin; to the front of it, like so: PATH=C:\Python33;C:\Python33\Lib\site-packages\PyQt4\bin;etc.
  4. Download and run distribute_setup.py which will install distribute package, which provides easy_installtool.

  5. Time to install additional Python libraries.

    • Select Start -> Run cmd then cd \Python33\Tools\Scripts.
    • Enter:

      easy_install Pygments
      easy_install ElementTree
      easy_install Markdown
      easy_install docutils
      easy_install Markups
  6. Download and unpack ReText

  7. Download and unpack ReText icons pack
  8. Place the unpacked icons into the ReText\icons folder
  9. Run cmd then cd to the ReText folder. Then enter: python3 retext.py

Creating a Launch Shortcut

If you wish to ReText to have a Shortcut to start it. Then you can pin it to your Start menu, copy to your Desktop or Quick Launch, etc.

For local installs

  1. Right-click drag-n-drop the retext.py and select "Create shortcuts here"
  2. Adjust the properties of the shortcut
  3. Change the Shortcut tab: Target: C:\python33\pythonw.exe retext.py's path ; Run = minimized ; Change Icon (to whatever you like).
  4. Change the General tab: rename it to "ReText"

If you wish for the python shell box to not appear, you should follow the USB Stick Batch file instructions at the moment.

For USB Sticks

  1. Copy C:\python33 to USB Stick, say U:\python33
  2. Put ReText on the stick
  3. Create the following BAT file: retext.bat

    REM ReText Startup batch file
    REM -------------------------
    REM determine drive letter of batchfile
    for /f "delims=\" %%d in ('cd') do set curdrv=%%d
    echo %curdrv%
    REM Set ENVs using current drive letter if ENVs not set for USB Sticks
    REM REM them out if you have the ENVs set
    set PYTHONPATH=%curdrv%\Python33\Lib;%curdrv%\Python33\Lib\site-packages
    set PATH=%curdrv%\Python33;%curdrv%\Python33\Lib\site-packages\PyQt4\bin;%PATH%
    REM Start ReText
    start /B %curdrv%\Python33\pythonw.exe %CD%\retext.py
  4. Right-click drag-n-drop the retext.bat and select "Create shortcuts here"

  5. Adjust the properties of the shortcut
  6. Change the Shortcut tab: Run = minimized ; Change Icon (to whatever you like)
  7. Change the General tab: rename it to "ReText"

Notables

  • Install performed without a proxy. easy_install requires an internet connection. You're on your own dealing with a proxy. As there's really no Registry Entries, you could install else where and copy to USB Stick and create the batch file.
  • Tested on Windows XP 32-bit. Untested with ActiveState Python, so adjust your steps accordingly.

Windows 下安装ReText的更多相关文章

  1. 在windows下安装gulp —— 基于 Gulp 的前端集成解决方案(一)

    相关连接导航 在windows下安装gulp —— 基于 Gulp 的前端集成解决方案(一) 执行 $Gulp 时发生了什么 —— 基于 Gulp 的前端集成解决方案(二) 常用 Gulp 插件汇总 ...

  2. Windows 下安装 MongoDB

    Windows 下安装 MongoDB 的步骤:1.官网www.mongodb.com下载安装包或zip包2.解压下载的文件到文件夹 D:\mongo .3.使用管理员权限打开CMD,导航到目录 D: ...

  3. Coreseek Windows下安装调试

    由于项目需要全文检索,后面就去网上查了下资料,找到了Sphinx[中文是狮身人面像]这个全文检索引擎,听说挺好用的,不过没有中文分词.后面又去找了一下,找到了Coreseek,一款中文全文检索/搜索软 ...

  4. 从零开始学 Java - Windows 下安装 Tomcat

    谁都想分一杯羹 没有一个人是真正的无私到伟大的,我们试着说着做自己,与人为善,世界和平!殊不知,他们的真实目的当你知道后,你会被恶心到直摇头并下意识地迅速跑开,下辈子都不想见到他.不过,他没错,你也没 ...

  5. 从零开始学 Java - Windows 下安装 JDK

    关于未来 "我要死在火星.在我死去的时候能够想着人类能有一个美好的未来--有可持续的能源,同时能够殖民其他的星球来避免人类灭绝的最坏可能." 官网下载 直接打开官网:http:// ...

  6. windows下安装nginx

    说起开发,自己感到非常惭愧,由于公司让我给<绿电侠>项目写整体架构解决方案,才开始接触nginx这个东东,突然觉得它是一把非常好的利器. 本文主要记录在windows下安装nginx,另参 ...

  7. Redhat/Ubuntu/Windows下安装Docker

    Redhat/Ubuntu/Windows下安装Docker 什么是Docker Docker是Docker.inc公司开源的一个基于LXC技术之上构建的Container容器引擎,基于Go语言并遵从 ...

  8. Windows下安装Redis

    1.首先,Redis官方是支持Linux系统的,我这里不多说,需要的可以参考:http://www.oschina.net/question/12_18065/ 2.Windows 64位下载地址:h ...

  9. 【转】linux和windows下安装python集成开发环境及其python包

    本系列分为两篇: 1.[转]windows和linux中搭建python集成开发环境IDE 2.[转]linux和windows下安装python集成开发环境及其python包 3.windows和l ...

随机推荐

  1. check_http检查http服务

    选 项 说 明 -H, --hostname=ADDRESS 主机名或域名 -I, --IP-address=ADDRESS server的IP地址,用于在不能DNS的情况下 -p, --port=I ...

  2. C++ 0x 使用可变参数模板类 实现 C# 的委托机制

    #ifndef _ZTC_DELEGATE_H_ #define _ZTC_DELEGATE_H_ #include <vector> #include <functional> ...

  3. Recursion递归

    /*java.lang 核心包 如 String Math Integer System Thread等 拿来直接用 * java.awt 窗口工具 GUI * java.net 网络包 * java ...

  4. java列表转成 int[] 的格式

    java 稀疏矩阵中输入的索引系列和对应的值系列需要用 int[] r_indices = new int[featureIdxList.size()]; 的数据格式. 但是实际中可能实现没法确定 f ...

  5. iOS 处理cell选中时背景颜色消息问题

    在cell上添加子控件,在我们点击或者长按的时候,如果子控件有背景颜色,这时候背景颜色就会没有了,这个时候产品经理过来一顿怼,

  6. sqlserver查询效率 (转)

    很多人不知道SQL语句在SQL SERVER中是如何执行的,他们担心自己所写的SQL语句会被SQL SERVER误解.比如: select * from table1 where name='zhan ...

  7. 通过dockerfile构建nginx

    上次 利用命令行的形式来构建nginx服务, http://www.cnblogs.com/loveyouyou616/p/6806788.html 这次利用dockerfile文件来构建nginx服 ...

  8. php 函数中静态变量的问题

    <?php function msg() { static $a = 0; echo $a++, '<br />'; } msg(); msg(); msg(); 上述代码,分别输出 ...

  9. C#6.0新特性:var s = $"{12}+{23}={12+23}"

    为什么会出现$符号,c#6.0才出现的新特性 var s = string.Fromat("{0}+{1}={2}",12,23,12+23) 用起来必须输入string.From ...

  10. C语言跳表(skiplist)实现

    一.简介 跳表(skiplist)是一个非常优秀的数据结构,实现简单,插入.删除.查找的复杂度均为O(logN).LevelDB的核心数据结构是用跳表实现的,redis的sorted set数据结构也 ...