ashthespy / Atom-LaTeX

The only LaTeX package you need for typesetting with Atom.
https://atom.io/packages/atom-latex
MIT License
22 stars 9 forks source link

PDF correct, but viewer doesn't show some figures #240

Closed NicolaComand closed 4 years ago

NicolaComand commented 4 years ago

Hi everyone,

I just moved to Atom to exploit the amazing possibilities of this program and the wonders of its packages!

These are the features of my applications: Windows 10 Atom 1.44.0.0 Atom-latex 0.9.1

The compiler works fine, the PDF is generated and if I open it with Acrobat Reader everything is fine. The problem is that the viewer doesn't show some figures.

I just wanna point it out cause maybe others experienced the same issue.

Thanks to everybody in advance! Nicola

Screenshot from acrobat: Acrobat

Screenshot from integrated atom viewer: viewer

ashthespy commented 4 years ago

We use pdfjs to render the pdf - could you check the firefox is able to render your pdf properly?

NicolaComand commented 4 years ago

Firstly, thanks for your answer.

If you meant the browser Mozilla Firefox I just checked: everything is fine but I get a warning that the pdf file might not be shown correctly.

ashthespy commented 4 years ago

Yep, this then sounds like an issue with the pdfjs library - I'd recommend having them take a look via an issue as there isn't much I can do :-)

EDIT: There is one thing though, we enable WebGL - you can turn it off and check if it helps by editing your copy (the view-code button from the package settings tab) of latex.js and flipping that option to false.

NicolaComand commented 4 years ago

No way, I disabled WebGL as you told me, restarted Atom, but the viewer shows the same behavior.

Thanks, I'll give a try sending an issue report to pdfjs library.

Thanks!! :)