Commits

Anonymous committed 255bc68

Placed the HTMLised version of HHGG/ST-STNG on the site.

  • Participants
  • Parent commits b7417b8

Comments (0)

Files changed (3)

 
 DOCS_COMMON_DEPS = template.wml lib/MyNavData.pm
 
-all: make-dirs docbook_targets fortunes-target latemp_targets css_targets sitemap_targets copy_fortunes site-source-install presentations_targets lc_pres_targets art_slogans_targets graham_func_pres_targets mojo_pres
+all: make-dirs docbook_targets fortunes-target latemp_targets css_targets sitemap_targets copy_fortunes site-source-install presentations_targets lc_pres_targets art_slogans_targets graham_func_pres_targets mojo_pres hhgg_convert
 
 include lib/make/gmsl/gmsl
 
 	$(DOCMAKE) --stringparam "docmake.output.format=xhtml" -x $(XHTML_ONE_CHUNK_XSLT_SS) -o $(patsubst $(DOCBOOK4_ALL_IN_ONE_XHTML_DIR)/%/all-in-one.html,$(DOCBOOK4_ALL_IN_ONE_XHTML_DIR)/%,$@) xhtml $<
 	mv $(patsubst %/all-in-one.html,%/index.html,$@) $@
 
-$(SCREENPLAY_XML_TXT_DIR)/hitchhikers-guide-to-star-trek-tng.txt : bin/processors/convert-hitchhiker-guide-to-st-tng-to-screenplay-xml.pl t2/humour/by-others/hitchhiker-guide-to-star-trek-tng.txt
+HHGG_CONVERT_SCRIPT_FN = convert-hitchhiker-guide-to-st-tng-to-screenplay-xml.pl
+HHGG_CONVERT_SCRIPT_SRC = bin/processors/$(HHGG_CONVERT_SCRIPT_FN)
+HHGG_CONVERT_SCRIPT_DEST = $(T2_DEST)/humour/by-others/$(HHGG_CONVERT_SCRIPT_FN).txt
+
+$(HHGG_CONVERT_SCRIPT_DEST): $(HHGG_CONVERT_SCRIPT_SRC)
+	cp -f $< $@
+	
+hhgg_convert: $(HHGG_CONVERT_SCRIPT_DEST)
+
+$(SCREENPLAY_XML_TXT_DIR)/hitchhikers-guide-to-star-trek-tng.txt : $(HHGG_CONVERT_SCRIPT_SRC) t2/humour/by-others/hitchhiker-guide-to-star-trek-tng.txt
 	perl $<
 
 $(T2_DEST)/humour/TOWTF/TOW_Fountainhead_1.txt: $(SCREENPLAY_XML_TXT_DIR)/TOW_Fountainhead_1.txt
 $(T2_DEST)/humour/humanity/ongoing-text.html: $(SCREENPLAY_XML_RENDERED_HTML_DIR)/Humanity-Movie.html
 $(T2_DEST)/humour/Star-Trek/We-the-Living-Dead/ongoing-text.html: $(SCREENPLAY_XML_RENDERED_HTML_DIR)/star-trek--we-the-living-dead.html
 $(T2_DEST)/humour/TOWTF/TOW_Fountainhead_1.html: $(SCREENPLAY_XML_RENDERED_HTML_DIR)/TOW_Fountainhead_1.html
+$(T2_DEST)/humour/by-others/hitchhiker-guide-to-star-trek-tng-htmlised.html: $(SCREENPLAY_XML_RENDERED_HTML_DIR)/hitchhikers-guide-to-star-trek-tng.html
 $(T2_DEST)/humour/TOWTF/TOW_Fountainhead_2.html: $(SCREENPLAY_XML_RENDERED_HTML_DIR)/TOW_Fountainhead_2.html
 $(T2_DEST)/open-source/interviews/adrian-ettlinger.html: $(SCREENPLAY_XML_RENDERED_HTML_DIR)/ae-interview.html
 $(T2_DEST)/open-source/interviews/sussman.html: $(SCREENPLAY_XML_RENDERED_HTML_DIR)/sussman-interview.html

File t2/humour/by-others/hitchhiker-guide-to-star-trek-tng-htmlised.html.wml

+#include '../template.wml'
+
+<latemp_subject "The Hitchhiker's Guide to Star Trek - The Next Generation - As HTML" />
+
+<page_extra_head_elements>
+<link rel="stylesheet" href="$(ROOT)/screenplay.css" type="text/css" media="screen, projection" />
+</page_extra_head_elements>
+
+#include "screenplay-xml/rendered-html/hitchhikers-guide-to-star-trek-tng.html"
+

File t2/humour/by-others/hitchhiker-guide-to-star-trek-tng.html.wml

 <h2 id="note">Note</h2>
 
 <p>
-This is a copy of David T. Lu's and Mickey McCarter's screenplay crossing
-"The Hitchhiker's Guide to the Galaxy" and "Star Trek: The Next Generation", 
-which is mirrored here.
+This is a copy of David T. Lu's and Mickey McCarter's parodical screenplay
+crossing "The Hitchhiker's Guide to the Galaxy" and "Star Trek: The Next
+Generation", which is mirrored here.
 </p>
 
 <h2 id="link-to-text"><a 
 href="hitchhiker-guide-to-star-trek-tng.txt">Link to Text</a></h2>
+
+<p>
+The original, mostly unmodified version of the text, as mirrored from elsewhere.
+</p>
+
+<h2 id="htmlised-ver"><a
+href="hitchhiker-guide-to-star-trek-tng-htmlised.html">HTMLised
+Version</a></h2>
+
+<p>
+An HTML version of the screenplay, as rendered by
+<a href="$(ROOT)/open-source/projects/XML-Grammar/Fiction/">XML-Grammar-Fiction</a>
+after the original text was translated to "Screenplay-Text" using
+<a href="convert-hitchhiker-guide-to-st-tng-to-screenplay-xml.pl.txt">a crude
+Perl-5.10.x+ script</a>.
+</p>