dm-tex
tex helper
Last updated 5 years ago by divramod .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dm-tex 
SYNC missed versions from official npm registry.

dm-tex

tex helper

Description

  • started project --> look at the todos to see what will be done

Run

dmtex [task]
dm-tex [task]

Install

npm install dm-tex -g # for global use
npm install dm-tex --save # for programmatically use

Tasks

convertFileTxtToPdf

  • converts a file from raw txt to pdf

convertFileTxtToPdf global usage

dmtex [convertFileTxtToPdf|cfttp]

convertFileTxtToPdf programmatically usage

var convertFileTxtToPdf = require("dm-tex").convertFileTxtToPdf;
var convertFileTxtToPdfResult = convertFileTxtToPdf.start();

convertFileTxtToPdf steps

convertFileTxtToPdf features

convertFileTxtToPdf config

{
    "convertFileTxtToPdf": {
    }
}

livereload

  • livereloads a tex sheet
  • cd into the folder containing .tex files
  • run dmtex lr
[dmtex|dm-tex] [livereload|lr]

livereload global usage

cd your_tex_file_containing_folder
dmtex lr

livereload programmatically usage

var livereload = require("dm-tex").livereload;
var livereloadResult = livereload.start();

livereload steps

livereload features

livereload config

{
    "livereload": {
    }
}

exampleAsync

exampleAsync global usage

dmtex [exampleAsync]

exampleAsync programmatically usage

var exampleAsync = require("dm-tex").exampleAsync;
var exampleAsyncResult = exampleAsync.start();

exampleAsync steps

exampleAsync features

exampleAsync config

{
    "exampleAsync": {
    }
}

exampleSync

exampleSync global usage

dmtex [exampleSync]

exampleSync programmatically usage

var exampleSync = require("dm-tex").exampleSync;
var exampleSyncResult = exampleSync.start();

exampleSync steps

exampleSync features

exampleSync config

{
    "exampleSync": {
    }
}

Config

  • you can place a .dm-tex.json file in your home directory (~/.dm-tex.json)
  • the following things are allowed at the moment
{
}

Lessons Learned

Current Tags

  • 0.1.2                                ...           latest (5 years ago)

3 Versions

  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (9)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |