PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
268 stars 210 forks source link

Fix static output program-language lookup #2303

Open ascholerChemeketa opened 3 days ago

ascholerChemeketa commented 3 days ago

Found this while debugging https://github.com/PreTeXtBook/pretext/pull/2298

get-programming-language from pretext-common is not available in pretext-runestone-static. So the get-programming-language template call there is not working correctly.

This fix works... but it ugly in that it duplicates templates from pretext-common into pretext-runestone-static. What is the best way to do this right? A new xsl file with the language stuff that gets included from both places?