Skip to content

External commands for file eval #24

@viveknallur

Description

@viveknallur

Hi,
First off, thanks for a fabulous plugin. I seem to be unable to pass "pdflatex" as an external command to the file eval trigger. Context: I use the Linux subsystem on windows (so far I've got the best of both worlds in userspace), and while LightTable is running as a Windows binary, my Latex installation is inside WLS. On a typical windows command line, I can run call pdflatex like so:

prompt>bash -c "pdflatex file.tex"

and this works fine. However, with a litexrc like so:

{ "file": { "commands": ["external-command bash -c pdflatex -interaction=nonstopmode %f"] },
  "project": { "filename": "%p",
               "commands": ["external-command bash -c pdflatex -interaction=nonstopmode --synctex=1 %f",
                            "external-command bash -c bibtex %b",
                            "external-command bash -c pdflatex -interaction=nonstopmode --synctex=1 %f"]}}

Pressing ctrl+enter does nothing. Nothing shows up on the console, the status pane says "Connected to PDF Viewer" and in the PDF Viewer pane is a message saying "The system cannot find the path specified"

Perhaps I'm doing something horribly wrong [and I do recognize that running lighttable from within WLS, while compiling a file within WLS would be the sensible thing to do. But I just can't seem to get lighttable working within WLS].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions