0.3.0 • Published 10 months ago

pdfmon v0.3.0

Weekly downloads
-
License
APACHE-2.0
Repository
github
Last release
10 months ago

pdfmon

Lightweight web server for easily monitor PDF changes on mobile device

Install

npm i -g pdfmon

Canonical Usage

Suppose you have a LaTeX document located at ~/work, and you want to use a tablet to continuously view the output PDF as latexmk goes.

cd ~/work
pdfmon latexmk main.tex
> ......
> ......
>
> Launched web server on 8080 for main.pdf
> Listening on 8080 for main.pdf
>

Technical Usage

Usage: To start a web server, run:
    pdfmon start <path-to-pdf>
  Note that the web server forks and runs in background.
To trigger reload, run:
    pdfmon reload
To quit daemon, run:
    pdfmon stop
To automatically run latexmk, run:
    pdfmon latexmk [<options>] <main.tex>

Note that <cwd> is very important for ALL those commands.
Adjust listening port by environment variable PORT.
0.3.0

10 months ago

0.2.1

1 year ago

0.2.0

2 years ago

0.1.0

2 years ago