Giter VIP home page Giter VIP logo

tomtom / deplate Goto Github PK

View Code? Open in Web Editor NEW
12.0 5.0 1.0 541 KB

deplate is a tool for converting wiki-like markup to latex, docbook, html, or "html-slides". It supports embedded LaTeX code, footnotes, citations, biblographies, automatic generation of an index etc.

Home Page: http://deplate.sourceforge.net/

License: GNU General Public License v2.0

Ruby 87.79% CSS 9.89% JavaScript 0.40% TeX 0.49% PHP 0.66% HTML 0.75%
ruby viki wiki html pdf latex docbook converter rdoc

deplate's Introduction

deplate -- convert wiki-like markup to latex, docbook, html, and 
"html-slides"
Copyright (C) 2004 Tom Link

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  
USA


= Install

== The source distribution

Basically, you have the following four options:

Either (1) use setup.rb (long version):

    $ ruby setup.rb config
    $ ruby setup.rb setup
    # ruby setup.rb install             # this might require root privilege

Or (short):

    # ruby setup.rb                     # this might require root privilege

Or (2) if you have sh/bash (but this really is just a wrapper for the above):
  
    $ chmod u+x configure               # when using the git repository
    $ ./configure --help
    $ ./configure
    $ make
    # make install                      # this might require root privilege

Or (3) build a gem and install it:

    $ ruby bin/pre-setup.rb
    $ gem build deplate.gemspec
    # gem install deplate-VERSION.gem   # this might require root privilege

Or (4) add the bin directory to PATH:

    $ export PATH=DEPLATE_DIRECTORY/bin:$PATH

Download the latest source-code from the sourceforge project site:

    http://sourceforge.net/projects/deplate/

The files in the "debian" sub-directory were contributed by Maxim Komar. 
You might want to adjust some paths.


== The ruby gem distribution

The gem file can be installed by running

    $ gem install deplate-VERSION.gem       # might require root privilege

When installing from a gem file, it could be necessary to manually 
link/copy the deplate starter script in the GEMDIR/bin directory.


== The win-32 distribution

The win32 binary was created with exerb[1] and is supposed to work 
without ruby being installed. The binary is self-contained and doesn't 
rely on any extranous files. Just copy the binary into a directory in 
PATH.

The distribution directory contains some extra files in the rc 
directory, which you could copy to the respective sub-directories in 
~/.deplate/.

[1] http://exerb.sourceforge.jp/index.en.html


= Documentation

The documentation is distributed in a separate archive or can be 
downloaded from

    http://deplate.sf.net/deplate.html

The online manual usually corresponds to the latest testing/working 
version.


vim: ft=rd

deplate's People

Contributors

tomtom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jean

deplate's Issues

Simplified Chinese language support is totally broken under Ruby 1.9

In Ruby 1.8, string was binary array with no encoding information. But since Ruby 1.9, string are forced to be attached to a specific encoding. That broke the whole simplified Chinese support (the typical "invalid byte sequence in UTF-8").

As Ruby 1.8 was already end-of-life, do we have plan to port deplate to make it Ruby 1.9 compatible?

Thanks!

deplate does complain about intervikis

deplate does not read .vimrc or any other vim configs, so it has no idea what the intervikis are.
how can I tell it where they are? I searched a little but didn't find anything.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.