Hi all,
I just rebuilt sample-article (I pulled mathbook this morning),
and the GeoGebra applets that rely on some local .ggb file are not
showing correctly. In fact upon running
xsltproc ../../xsl/pretext-html.xsl sample-article.xml
I do get the .html document, but the output is not the one I expect (I attach a screen capture below). The command actually throws results in the warnings below (that I do not understand), and running the command takes quite long (abut a minute).
I'm running Unbuntu 18.04, but the same happens on another machine running Ubuntu 20.04.
Any advise?
Kind regards,
JC
PTX:WARNING: lookup for a "custom" element with @name set to
"plural-animal" has failed, while consulting the customization
file "". Output will contain "[MISSING CUSTOM CONTENT HERE]"
instead
located within: "Customizing Phrases" (title)
PTX:WARNING: lookup for a "custom" element with @name set to
"an-emotional-style" has failed, while consulting the
customization file "". Output will contain "[MISSING CUSTOM
CONTENT HERE]" instead
located within: "Customizing Phrases" (title)
PTX:WARNING: lookup for a "custom" element with @name set to
"color-list" has failed, while consulting the customization file
"". Output will contain "[MISSING CUSTOM CONTENT HERE]" instead
located within: "Customizing Phrases" (title)
PTX:WARNING: lookup for a "custom" element with @name set to
"xref-to-result" has failed, while consulting the customization
file "". Output will contain "[MISSING CUSTOM CONTENT HERE]"
instead
located within: "Customizing Phrases" (title)
PTX:WARNING: lookup for a "custom" element with @name set to
"a-URL" has failed, while consulting the customization file "".
Output will contain "[MISSING CUSTOM CONTENT HERE]" instead
located within: "Customizing Phrases" (title)

I got it,
When testing with CoCalc, everything works. I suggest a mention to this in the documentation. It's pretty weird that, as you point out
"Some things work differently when properly posted online".
Kind regards,
JC
Thanks,
Perhaps mention this in section 15 of sample-article, where the GeoGebra interactive stuff is described.
Back to my original problem (I did not ask explicitly about this, though) : I want to include some GeoGebra material, not passing through GeoGebraTube, so I am doing
<figure>
<caption>GeoGebra: mon fichier <c>.ggb</c></caption>
<interactive xml:id="geogebra-plan-cone" platform="geogebra" width="100%" aspect="1:1">
<slate xml:id="plan-cone" surface="geogebra" source="GeoGebra/Cone-plan-param.ggb" aspect="1:1">
</slate>
</interactive>
</figure>
Of course, I have a GeoGebra directory, at the same level that my
source file, and inside it a Cone-plan-param.ggb file.
I also did
python -m SimpleHTTPServer,
that solved the problem I was having with the knowls, but the
GeoGebra stuff is not working properly.
Thanks again,
JC
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/15f11d40-ce9b-dd20-99b2-7db77d815c7b%40gmail.com.
That works, thanks!
JC
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/CAH7VRoKR7BVS4a75SV8z8_HMvvofhLmn-J0_iWCOhueoB71LZA%40mail.gmail.com.