sanjib-sen / WebLaTex

A complete alternative for Overleaf with VSCode + Web + Git Integration + Copilot + Grammar & Spell Checker + Live Collaboration Support. Based on GitHub Codespace and Dev container.
https://github.com/sanjib-sen/weblatex/generate
MIT License
869 stars 258 forks source link

PDF viewer is blank #12

Open MahdiNazemi opened 1 year ago

MahdiNazemi commented 1 year ago

I have been looking for alternatives to Overleaf and found this interesting project.

I used this repository as a template a few times to try it out, but every time I open the compiled PDF of the sample LaTeX file, I get a blank PDF viewer window. The details are as follows.

  1. The sample LaTeX file compiles successfully.
  2. When I click on the PDF, a new tab is opened to authenticate the port. The tab does not show anything after the initial load and remains open.
  3. After a few seconds, a demo.PDF opens in the editor window but does not show the contents of the PDF.

Has anyone experienced this issue and knows how to resolve it?

I am running Firefox 111.0 in macOS Ventura 13.2.1.

fcdimitr commented 1 year ago

I have a similar issue using LaTeX-Workshop via Remote tunnels (even with my server). The extension works fine over SSH but not via tunnels. Perhaps you can post the issue on their project and link it here.

MahdiNazemi commented 1 year ago

@fcdimitr, because there are a few pieces involved, I am not sure if this is a LaTeX-Workshop (LW) issue or not. I can submit an issue if I narrow it down to LW.

I do not have any issues with SSH + WebLaTeX running on a local server either, but I have not tried Remote Tunnels yet.

sanjib-sen commented 1 year ago

@MahdiNazemi Is your issue solved? DId you find a fix?

MahdiNazemi commented 1 year ago

I moved my development to a local server (SSH), which does not suffer from this issue. I'm not sure how if the issue is resolved on GitHub Codespaces.

fcdimitr commented 1 year ago

Out of curiosity, did you try to use remote tunnels instead of SSH with your local server, @MahdiNazemi? On my side, I observed that the issue appears only when using remote tunnels, regardless of where I connect to (Codespaces or local server).

fcdimitr commented 10 months ago

Is there any update on this? I still cannot view PDFs over Remote Tunnels (SSH works fine). Any idea where I should ask for this issue? Thank you!

MahdiNazemi commented 7 months ago

@fcdimitr, I am really sorry for not getting back to you sooner. I went back to using Overleaf as it is the preferred online LaTeX editor for most of my collaborators.