git.iko.soy/typeable/pandoc
on master help sign in
Moved ASCIIMathML.js, headers, and ui into templates.

Adjusted templates/Makefile and fillTemplates.pl as needed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1106 788f1e2b-df1e-0410-8736-df70ead52e1b

commitb2fa8c7dd2a4ed11413caa20af66ee9987f84e16 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 29 Nov 2007, 02:03 (19 years ago) parent2b52241
19 files changed+7−7
ASCIIMathML.js → templates/ASCIIMathML.js templates/Makefile+3−3 templates/fillTemplates.pl+4−4 headers/ConTeXtHeader → templates/headers/ConTeXtHeader headers/DocbookHeader → templates/headers/DocbookHeader headers/LaTeXHeader → templates/headers/LaTeXHeader headers/RTFHeader → templates/headers/RTFHeader headers/S5Header → templates/headers/S5Header ui/default/blank.gif → templates/ui/default/blank.gif ui/default/bodybg.gif → templates/ui/default/bodybg.gif ui/default/framing.css → templates/ui/default/framing.css ui/default/iepngfix.htc → templates/ui/default/iepngfix.htc ui/default/opera.css → templates/ui/default/opera.css ui/default/outline.css → templates/ui/default/outline.css ui/default/pretty.css → templates/ui/default/pretty.css ui/default/print.css → templates/ui/default/print.css ui/default/s5-core.css → templates/ui/default/s5-core.css ui/default/slides.css → templates/ui/default/slides.css ui/default/slides.js → templates/ui/default/slides.js
ASCIIMathML.js → templates/ASCIIMathML.jsrenamed

The content is the same.

templates/Makefile+3−3
@@ -6,13 +6,13 @@ TARGETS := Text/Pandoc/ASCIIMathML.hs \
66
77all: $(TARGETS)
88
9−Text/Pandoc/ASCIIMathML.hs: ASCIIMathML.hs $(PROCESSOR) $(VPATH)/ASCIIMathML.js
9+Text/Pandoc/ASCIIMathML.hs: ASCIIMathML.hs $(PROCESSOR) ASCIIMathML.js
1010 perl $(PROCESSOR) $@ $(VPATH)
1111
12−Text/Pandoc/Writers/S5.hs: S5.hs $(PROCESSOR) $(VPATH)/ui/default/*
12+Text/Pandoc/Writers/S5.hs: S5.hs $(PROCESSOR) ui/default/*
1313 perl $(PROCESSOR) $@ $(VPATH)
1414
15−Text/Pandoc/Writers/DefaultHeaders.hs: DefaultHeaders.hs $(PROCESSOR) $(VPATH)/headers/*
15+Text/Pandoc/Writers/DefaultHeaders.hs: DefaultHeaders.hs $(PROCESSOR) headers/*
1616 perl $(PROCESSOR) $@ $(VPATH)
1717
1818.PHONY: clean
templates/fillTemplates.pl+4−4
@@ -41,7 +41,7 @@ my %processor = (
4141 opera.css outline.css print.css);
4242
4343 foreach my $file (@files) {
44− my $replacement = escape_for_haskell(slurp "ui/default/$file");
44+ my $replacement = escape_for_haskell(slurp "templates/ui/default/$file");
4545 my $escapedfile = $file;
4646 $escapedfile =~ s/\./\\./g;
4747 $template =~ s/\@$escapedfile\@/$replacement/;
@@ -55,7 +55,7 @@ my %processor = (
5555 proc => sub {
5656 my ($template) = @_;
5757
58− my $script = escape_for_haskell(slurp "ASCIIMathML.js");
58+ my $script = escape_for_haskell(slurp "templates/ASCIIMathML.js");
5959 my $acknowledgements =
6060 " ASCIIMathML.js - copyright Peter Jipsen,".
6161 " released under the GPL\\nSee ".
@@ -72,9 +72,9 @@ my %processor = (
7272 proc => sub {
7373 my ($template) = @_;
7474
75− my (@headers) = split(/\s/,`ls headers`);
75+ my (@headers) = split(/\s/,`ls templates/headers`);
7676 foreach my $header (@headers) {
77− my ($replacement) = escape_for_haskell(slurp "headers/$header");
77+ my ($replacement) = escape_for_haskell(slurp "templates/headers/$header");
7878 $template =~ s/\@$header\@/$replacement/;
7979 }
8080
headers/ConTeXtHeader → templates/headers/ConTeXtHeaderrenamed

The content is the same.

headers/DocbookHeader → templates/headers/DocbookHeaderrenamed

The content is the same.

headers/LaTeXHeader → templates/headers/LaTeXHeaderrenamed

The content is the same.

headers/RTFHeader → templates/headers/RTFHeaderrenamed

The content is the same.

headers/S5Header → templates/headers/S5Headerrenamed

The content is the same.

ui/default/blank.gif → templates/ui/default/blank.gifrenamed

Binary file not shown.

ui/default/bodybg.gif → templates/ui/default/bodybg.gifrenamed

Binary file not shown.

ui/default/framing.css → templates/ui/default/framing.cssrenamed

The content is the same.

ui/default/iepngfix.htc → templates/ui/default/iepngfix.htcrenamed

The content is the same.

ui/default/opera.css → templates/ui/default/opera.cssrenamed

The content is the same.

ui/default/outline.css → templates/ui/default/outline.cssrenamed

The content is the same.

ui/default/pretty.css → templates/ui/default/pretty.cssrenamed

The content is the same.

ui/default/print.css → templates/ui/default/print.cssrenamed

The content is the same.

ui/default/s5-core.css → templates/ui/default/s5-core.cssrenamed

The content is the same.

ui/default/slides.css → templates/ui/default/slides.cssrenamed

The content is the same.

ui/default/slides.js → templates/ui/default/slides.jsrenamed

The content is the same.