pcjs/modules/shared/templates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2017-08-27 11:25:02 -07:00
..
.gitignore my_modules is simply modules now 2014-11-11 08:19:48 -08:00
common.css Moved sticky/floating machine classes to common.css, which is unique to Node, allowing Jekyll to define its own classes 2017-01-03 15:45:30 -08:00
common.html Added an Modula-2 demo page and a new blog post on the 1984 FantasyLand EGA demo and an EGATEST program written in Modula-2 2017-07-03 22:37:40 -07:00
common.xsl Added an Modula-2 demo page and a new blog post on the 1984 FantasyLand EGA demo and an EGATEST program written in Modula-2 2017-07-03 22:37:40 -07:00
components.css Found a fix for the unwanted blinking caret in Internet Explorer browsers (IE9 through IE11, the last version of IE) 2017-07-21 11:34:25 -07:00
components.xsl Added some more disk configurations 2017-08-27 11:25:02 -07:00
dictionary.txt my_modules is simply modules now 2014-11-11 08:19:48 -08:00
document.css my_modules is simply modules now 2014-11-11 08:19:48 -08:00
document.xsl Updated disk information 2015-12-13 15:29:09 -08:00
entities.dtd my_modules is simply modules now 2014-11-11 08:19:48 -08:00
machine.xsl Allow machine XML files to separate machine "type" from machine "class"; if present, "type" should determine the machine type, and "class" simply becomes the machine's style 2017-01-29 10:13:03 -08:00
manifest.xsl And more PCjs/PCx86 disambiguation 2016-05-18 00:03:07 -07:00
outline.xsl Switching to machine XML files that use a machine 'type' attribute rather than 'class'; 'class' can still be used to specify the machine type if 'type' is omitted, but going forward, it should only be used to specify an alternate CSS class 2017-01-31 22:05:04 -08:00
pdf.html Ported PDF viewer to Jekyll layout 2015-12-09 17:54:06 -08:00
README.md Somehow I failed to add two of the four machines to the release... hmmm. 2017-01-31 16:18:35 -08:00

layout title permalink
page Shared Templates /modules/shared/templates/

Shared Templates

Template folders contain a variety of XML and HTML templates and supporting files, including:

  • DTD files (Document Type Definitions)
  • XSD files (XML schemas -- eventually)
  • XSL files (XML stylesheets)
  • CSS files (stylesheets that the XSL files rely upon)
  • HTML files (HTML fragments used to generate part or all of a web page)

common.html is the HTML template file used by the HTMLOut module to generate a default HTML file ("index.html") for any folder that only has a "README.md", or a "machine.xml", or none of the above.

common.xsl is a collection of XSL templates used by machine.xsl (and deprecated outline.xsl) files.

components.xsl transforms all the elements of a machine XML file into an HTML fragment that includes a series of DIV tags with corresponding id and data-value attributes that allow our JavaScript components to bind themselves to visual elements (eg, virtual screen, virtual keyboard, control panel) on a web page.

machine.xsl is an XML stylesheet that takes things a step further and transforms a machine XML into a stand-alone HTML document, which also includes all necessary compiled scripts (eg, c1p.js, c1p-dbg.js, pcx86.js or pcx86-dbg.js). Most machine XML files explicitly link to this stylesheet, so that simply loading the XML file in your web browser creates a working virtual machine.

manifest.xsl is an XML stylesheet that renders a software manifest XML file into a standalone document; it may even contain a reference to a machine XML file.

document.xsl is a collection of XSL templates used exclusively by outline.xsl, which is a more grandiose version of machine.xsl, designed to support XML-based documentation that could also contain embedded machine XML files. However, I've since moved away from that approach, in favor of simple README.md files that are more flexible and work nicely with GitHub. Also, by rendering them with our own minimalistic Markdown converter, MarkOut, it's also very easy to embed virtual machines in a README.md document.

Since the XML document syntax that outline.xsl supports was never very well documented, I'm tempted to deprecate it and port any XML documents that still rely on it (mostly the older IAS Electronic Computer Project documents) to Markdown files.