0.1.2 • Published 10 years ago
dm-tex v0.1.2
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 useTasks
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 lrlivereload 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
{
}