{"id":24563785,"url":"https://github.com/mildronize/latex-live-preview","last_synced_at":"2025-03-17T00:25:07.958Z","repository":{"id":83976402,"uuid":"43023873","full_name":"mildronize/latex-live-preview","owner":"mildronize","description":"Live Preview Latex for detecting both .tex and .bib","archived":false,"fork":false,"pushed_at":"2016-02-18T17:10:25.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T10:15:42.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mildronize.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-23T20:04:22.000Z","updated_at":"2016-02-17T16:20:32.000Z","dependencies_parsed_at":"2023-05-04T07:52:17.012Z","dependency_job_id":null,"html_url":"https://github.com/mildronize/latex-live-preview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Flatex-live-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Flatex-live-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Flatex-live-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Flatex-live-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mildronize","download_url":"https://codeload.github.com/mildronize/latex-live-preview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243951833,"owners_count":20373803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-23T10:15:46.225Z","updated_at":"2025-03-17T00:25:07.923Z","avatar_url":"https://github.com/mildronize.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Latex Live Preview\nLatex Live Preview with watchdog\n\n\u003e Here is a first beta. It may be some bug.\n\n## Feature\n- Live Preview, when you save `.tex` or `.bib`\n- Support only `evince` (pdf viewer).\n- Show only `Error` and `Warning` message, for easily to debug. [Source\n  is adapted from Here](http://tex.stackexchange.com/questions/27878/pdflatex-bash-script-to-supress-all-output-except-error-messages)\n- Automatic convert to pdf \u0026 clean junk files\n\n## Dockerize this project\n- Build this project\n\n    ```\n    docker build -t mildronize/latex-live-preview .\n    ```\n\n- Run Latex with live preview on Docker\n\n    ```\n    docker run --rm -it -v \"$PWD:/src\" mildronize/latex-live-preview /app/watchdog_latex [LATEX FILE NAME w/o extension]\n    ```\n\n## Prerequisite\n\n```bash\n$ sudo pip3 install watchdog\n```\n\n## Install\n1. Clone this project.\n\n    ```bash\n    git clone https://github.com/mildronize/latex-live-preview.git /tmp/latex-live-preview\n    ```\n\n1. copy `bin/watchdog_latex` and `bin/topdf` into your latex project:\n\n    ```bash\n    $ cp /tmp/latex-live-preview/bin/{watchdog_latex, topdf} /path/to/your/project\n    ```\n\n## Usage\n\n- Run `./watchdog_latex [LATEX FILE NAME w/o extension]`\n- Save `.tex` or `.bib` when file is changed, the program will compile\n  latex to pdf\n- If `.pdf` is exist, run `evince [LATE FILE NAME].pdf\u0026` into background\n- Enjoy! your writing with latex when you save, the pdf viewer will be\n  reload automatically\n\n## Example usage\n\nIf I have `report.tex` , `ref.bib`, and `report.tex` import bib from\n`ref.bib`.\n\n- `./watchdog_latex report`\n- Open pdf `evince report.pdf\u0026`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Flatex-live-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmildronize%2Flatex-live-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Flatex-live-preview/lists"}