Zenika-Training / zenika-formation-framework

Tools to build and present our training material
8 stars 25 forks source link

Write mathematical formulas #218

Closed bnouyrigat closed 6 years ago

bnouyrigat commented 6 years ago

Display math equations in your presentation

hgwood commented 6 years ago

What is not working after applying this commit? https://github.com/bnouyrigat/zenika-formation-framework/commit/b04e81f799e25fa887ccecf02850f83e6723823c

bnouyrigat commented 6 years ago

I build a specific Docker image:

$ docker build -t tensorflow-formation:mathjax .

This container doesn't start:

$ docker logs formation-deeplearning-tensorflow 
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module './pdf/generate-pdf-with-chrome'
Warning: Task "displaySlides" not found. Use --force to continue.

Aborted due to warnings.
hgwood commented 6 years ago

I think the problem you are seeing here is unrelated to mathjax. There seems to be an inconsistency in your setup. The module ./pdf/generate-pdf-with-chrome does not appear before framework v3, so it looks like you are running framework v3, but your run.sh seems not to be properly migrated to be compatible with v3. See https://github.com/Zenika/zenika-formation-framework/blob/master/CHANGELOG.md#migrating

bnouyrigat commented 6 years ago

I pick the two commits from the link above and now it's OK. Thx