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 = convertFileTxtToPdf;var convertFileTxtToPdfResult = convertFileTxtToPdfstart;
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 = livereload;var livereloadResult = livereloadstart;
livereload steps
livereload features
livereload config
"livereload":
exampleAsync
exampleAsync global usage
dmtex [exampleAsync]
exampleAsync programmatically usage
var exampleAsync = exampleAsync;var exampleAsyncResult = exampleAsyncstart;
exampleAsync steps
exampleAsync features
exampleAsync config
"exampleAsync":
exampleSync
exampleSync global usage
dmtex [exampleSync]
exampleSync programmatically usage
var exampleSync = exampleSync;var exampleSyncResult = exampleSyncstart;
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