项目作者: Alhadis

项目描述 :
Live previewing of PostScript/EPS files in Atom using GhostScript.
高级语言: JavaScript
项目地址: git://github.com/Alhadis/Atom-PostScript.git
创建时间: 2019-02-19T09:55:14Z
项目社区:https://github.com/Alhadis/Atom-PostScript

开源协议:ISC License

下载


PostScript support for Atom

Live previews of PostScript/EPS files using GhostScript.

Figure 1: Structural formula rendering

To preview an .eps or .ps file, press CTRL + Shift + M.

Installation

  1. Install GhostScript if needed.
    Download a precompiled binary or install using a package manager.

    On Linux, using APT, DNF, et al:

    1. # Debian/Ubuntu
    2. sudo apt-get update
    3. sudo apt-get install ghostscript
    4. # RPM-based distros
    5. sudo yum install ghostscript

    On macOS, using Homebrew or MacPorts:

    1. # Homebrew
    2. brew install ghostscript
    3. # MacPorts
    4. sudo port install ghostscript

    On Windows, using Chocolatey:

    1. choco install ghostscript
  1. Clone this repository to ~/.atom/packages using Git.
    After checkout, install libraries needed by this package’s UI:

    On Linux and macOS:

    1. cd ~/.atom/packages
    2. git clone 'https://github.com/Alhadis/Atom-PostScript.git' postscript
    3. cd postscript
    4. apm install .
    5. apm install --production file-icons

    On Windows:

    1. cd %HOMEPATH%\.atom\packages
    2. git clone "https://github.com/Alhadis/Atom-PostScript.git"
    3. ren Atom-PostScript postscript
    4. cd postscript
    5. apm install --production file-icons
    6. :: Node.js is required on Windows due to a bug in APM
    7. npm install --production .