SMPTE / html-pub-template

Other
0 stars 0 forks source link

Template Not Working #12

Open bgschunck opened 1 year ago

bgschunck commented 1 year ago

I have encountered this problem several times. I clone html-pub-template and open doc/main.html in Visual Studio Code. Try to preview but do not get the full preview with boilerplate, etc. Create a workspace and add the html-pub-template folder to the workspace Sometimes I get a pop-up dialog about trusting the authors of the code. I agree. Sometimes this fixes the problem; other times, not. The error is repeatable, but not sure what I have done to fix the problem on the occasions when the problem was resolved and main.html is displayed with the boilerplate, numbered sections, numbered tables, etc. as expected.

bgschunck commented 1 year ago

The problem seems to have been solved. Will re-open this issue if the problem occurs again. When the repository is cloned, it is quite easy to forget to include the submodules. The clone can be repaired with the following commands:

git submodule init
git submodule update
bgschunck commented 1 year ago

I had cloned html-pub-template several times trying to debug the problem with the template not rendered correctly. I went back to each of these experiments and ran the git submodule init/update commands. In each case, this solved the problem.

bgschunck commented 1 year ago

I had cloned html-pub-template several times trying to debug the problem with the template not rendered correctly. Went back to each of these experiments and ran the git submodule init/update commands. In each case, this solved the problem.