Git Product home page Git Product logo

Comments (4)

williamledoux avatar williamledoux commented on May 13, 2024

adding ".get_tex_root" after getTeXRoot on line 18 of viewPDF.py seems to help.

from latextools.

msiniscalchi avatar msiniscalchi commented on May 13, 2024

You should not nee the --run-viewer option. Is Sumatra in your path?
Also, can you check the output of the console---not the output panel
that the plugin brings up? (It's ctrl+` on Windows, I believe) You
should see a message regarding a DDE request being sent to Sumatra.

Please let me know. Thanks!

On Thu, Aug 4, 2011 at 5:34 PM, williamledoux
[email protected]
wrote:

  • On Windows,
  • Have SumatraPDF 1.7 my default PDF reader,
  • Just downloaded and extracted LaTeXTools (9780bc4),
  • Rebooted ST2 2097
  • Pressed F7 on a .tex file
     *  The viewer was not launched.
  • Add the "--run-viewer" option into the windows texify cmd of the LaTeX.sublime-build file.
     * It works, but I am not sure that's the expected way to do it.

Reply to this email directly or view it on GitHub:
#3

Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661

from latextools.

williamledoux avatar williamledoux commented on May 13, 2024

Hi,
In fact I think I found the bug and fixed it, see in my pull request.
It's my first contrib on github and I failed to make it clear that my pull
request was related to this bug. Sorry.
The error was something like 'module is not callable' on the line and file
where I made a diff.
Le 4 août 2011 23:53, "msiniscalchi" <
[email protected]> a
écrit :

You should not nee the --run-viewer option. Is Sumatra in your path?
Also, can you check the output of the console---not the output panel
that the plugin brings up? (It's ctrl+` on Windows, I believe) You
should see a message regarding a DDE request being sent to Sumatra.

Please let me know. Thanks!

On Thu, Aug 4, 2011 at 5:34 PM, williamledoux
[email protected]
wrote:

  • On Windows,
  • Have SumatraPDF 1.7 my default PDF reader,
  • Just downloaded and extracted LaTeXTools (9780bc4),
  • Rebooted ST2 2097
  • Pressed F7 on a .tex file
    • The viewer was not launched.
  • Add the "--run-viewer" option into the windows texify cmd of the
    LaTeX.sublime-build file.
    • It works, but I am not sure that's the expected way to do it.

Reply to this email directly or view it on GitHub:
#3

Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661

Reply to this email directly or view it on GitHub:
#3 (comment)

from latextools.

msiniscalchi avatar msiniscalchi commented on May 13, 2024

Thanks a lot! As you can see, I just merged your patch. I think I introduced this bug when I merged in support for multi-file documents... Another contributor sent me a nice working set of patches, but I managed to mess up on viewPDF.py. A classic case of PEBCAK :-(

from latextools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.