Skip to content
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

What exactly to install for latex to work? #49

Closed
xtipacko opened this issue Oct 3, 2017 · 12 comments
Closed

What exactly to install for latex to work? #49

xtipacko opened this issue Oct 3, 2017 · 12 comments

Comments

@xtipacko
Copy link

xtipacko commented Oct 3, 2017

Could you be more specific on what exactly to install for latex to work?
e.g. :
$python extract_scene.py -p example_scenes.py WriteStuff
does run, but shows only black screen

@Toddie40
Copy link

Toddie40 commented Oct 3, 2017

What platform are you on?

@xtipacko
Copy link
Author

xtipacko commented Oct 3, 2017

Windows 7, I've installed MikTex - doesn't work

BTW. DVI-to-SVG converter constantly crashes (not in this case though)....
What platform do you use?

@Toddie40
Copy link

Toddie40 commented Oct 3, 2017

Ffmpeg is working okay too then?
I use Linux so its different for me unfortunately.

@xtipacko
Copy link
Author

xtipacko commented Oct 3, 2017

ffmpeg is working, any other example scene is working... (but not about 95% scenes from old_projects)
I use it on VM, so I think it should not be a big problem to switch system...

@Toddie40
Copy link

Toddie40 commented Oct 3, 2017

Oh right. Grant did say that its got hardly any backwards compatibility so loads of scenes don't work anymore.

@xtipacko
Copy link
Author

xtipacko commented Oct 3, 2017

It mostly crashes due to DVI-to-SVG converter...

@MiracleXYZ
Copy link

I am using Windows 10 & TeX Live 2017, and the DVI-to-SVG converter crashes too...

@ArtificialNotImbecile
Copy link

@xtipacko @MiracleXYZ make sure you have dvisvgm installed on your computer and add it to path(you can check if it works on command line before running the program)
And latex errors can be found at log.txt file(Maybe the latex version you've install do not have required package to generate special tex object, etc).

@MiracleXYZ
Copy link

MiracleXYZ commented Dec 2, 2017

@ArtificialNotImbecile I'm sure that I have svisvgm installed cause it works on command line:

> dvisvgm --version
dvisvgm 2.1.3

And the dvi file is created successfully.

@ArtificialNotImbecile
Copy link

@MiracleXYZ Try all methods mentioned in dvi_to_svg() function(namely, -n -v -o of dvisvgm) .If some methods doesn't work, then check dvisvgm docs for detail.
If nothing wrong about dvisvgm, maybe it's helpful to paste error message here for us to understand your problem better.

@eulertour
Copy link
Collaborator

Closing, since this issue is old and inactive.

@erfansalavati
Copy link

I had the same problem. After hours of investigation I figured out that there was something wrong with the path that the tex file is written.

The problem was solved by changing
MEDIA_DIR = "./media"
to
MEDIA_DIR = ".\media"
in "tex_file_writing.py"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants