-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work under macOS Mojave #14
Comments
Thanks for digging into the issue. Using About rendering LaTeX files, the main issue is the size of the docker image, which would be extremely high. The best solution for now is to use the image to generate a tex file, and compile it using We worked some time ago on a self-hostable compiling service to allow compiling |
Also notice that the port |
Hi all, Given I have a fresh install of macOS Mojave, I have attempted to reproduce the issue, however I am not succeeding in doing so. I have installed the atom editor, the However, I did notice that there is a difference in configuration when the server is launched from the command line or from the Maybe this is related ? In order to make sure, @elmar-hinz , could you please try the following command and tell us if you still encounter the issue of the server not detecting file changes :
If that is the case, then it probably means that the issue comes from not specifying the user and group when launching the container from the |
Okay so after further testing, I have managed to encounter the issue as mentioned by @elmar-hinz . The behaviour of So, from what I can see, it looks like a weird filesystem event issue that may be related to either the docker engine itself or the darwin kernel. Either way, based on a few |
@Coac was it released to a new version? |
Published in |
Saving triggers a reload of the internal browser, but it does not trigger a re-built of the HTML. External browsers show the outdated HTML, too. Not even a restart of the container securely triggers a new built.
November 2018 on macOS Mojave
Digging a little deeper. The Sphinx-Server is working, if I start it from the command line like given in its documentation:
docker run -itd -v "$(pwd)":/web -u $(id -u):$(id -g) -p 8000:8000 --name sphinx-server dldl/sphinx-server
When I edit the files and save them, the change watcher works and rebuilds the HTML. I can follow this in the console of Kitematik. I can call the changed HTML with any Browser.
When I start the Server from within the Atom Editor it does not work any longer. It just does not detect the change. It also comes under the container name: Sphinx-Preview. The only difference I see is in the ports:
The Workaround
This brings me to the workaround to start the container from outside as 'sphinx-preview' like so or just start it from within Kitematik.
The latency between saving and building is about 10 seconds. This is too slow to be really satisfying and yet it is the best setup for authoring I have seen so far. Drive it forward and we will get better docs in the future.
How about a docker container, that renders Sphinx in high quality with a LaTeX setup to PDF?
The text was updated successfully, but these errors were encountered: