$ grep external-directory-source xsl/*.xsl
xsl/pretext-epub.xsl: <xsl:value-of select="$external-directory-source"/>
xsl/publisher-variables.xsl:<xsl:variable name="external-directory-source">
xsl/publisher-variables.xsl: <xsl:value-of select="$external-directory-source"/>
<xsl:variable name="external-directory-source">
<xsl:variable name="raw-input" select="$publication/source/directories/@external"/>There is a default a hard-coding a little later in publisher-variables.xsl
The versions of these two variables without the "-source" suffix are the ones in
use.
--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-dev/4d807a67-ed8a-41f7-9383-fe25ff61ee26n%40googlegroups.com.
I haven't encountered those variables, but I also haven't looked closely at the XSL for slides.
If you mean that these are variables to be passed to xsltproc during build, I haven't used them.
--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-dev/c51539fc-ed0c-4c64-98f9-18834221f926n%40googlegroups.com.
Do you mean as opposed to using <directories external="assets"...>, or doing nothing at all?
I'm not sure xsltproc is copying the <directories> into the <img> tags in HTML, so where your images are might not match where the slides.html file thinks they are.
I will need to test to see if I can use something other than "external" and get the devscript to handle it correctly.
--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-dev/8d539db0-3613-4379-804a-99eb788b705bn%40googlegroups.com.
Ok, if I use the modified devscript, and a folder named "assets", with external="assets" in the directories element, the assets folder gets copied to a folder named external, which is what the HTML expects to find.
So I think this is ok.
OK, I am not following much of this discussion. And it has been a huge
distraction. Reading carefully the comments and the code, such as the 14 lines
of comments preceding the definition of the variable in question, and the four
other similar definitions immediately following, might have answered the question.