Skip to content
Browse files

Added utilities for making blobs

  • Loading branch information...
1 parent 2b51de0 commit 30eb67a064e5072e2478fea136a4b47a4d305eb8 @dpp committed Dec 5, 2010
Showing with 76 additions and 0 deletions.
  1. +7 −0 Makefile
  2. +9 −0 highlightHtmlBlob.sh
  3. +6 −0 publish_blob
  4. +54 −0 wiring.lyx
View
7 Makefile
@@ -8,6 +8,13 @@ html : Simply_Lift.tex Simply_Lift.aux
./highlightHtml.sh
tar cvzf Simply_Lift.html.tgz Simply_Lift/
+htmlblob : Simply_Lift.tex Simply_Lift.aux
+ @echo [Building HTML]
+ latex2html -split 1 -local_icons -no_antialias_text -no_antialias -white Simply_Lift.tex
+ ./highlightHtmlBlob.sh
+ tar cvzf Simply_Lift.html.tgz Simply_Lift/
+
+
htmlpost : Simply_Lift.tex Simply_Lift.aux
@echo [Building HTML]
latex2html -split 4 -local_icons -no_antialias_text -no_antialias -white Simply_Lift.tex
View
9 highlightHtmlBlob.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+mkdir -p Simply_Lift/scripts Simply_Lift/css
+cp highlighter/*.css Simply_Lift/css
+cp highlighter/*.js Simply_Lift/scripts
+
+for fl in Simply_Lift/index.html; do
+ sed -i -e 's:</HEAD>:<script type="text/javascript" src="scripts/shCore.js"></script><script type="text/javascript" src="scripts/shBrushXml.js"></script><script type="text/javascript" src="scripts/shBrushScala.js"></script><link href="css/shCore.css" rel="stylesheet" type="text/css" /><link href="css/shThemeDefault.css" rel="stylesheet" type="text/css" /></HEAD>:' -e 's:</BODY>:<script type="text/javascript">SyntaxHighlighter.all()</script></BODY>:' $fl
+done
View
6 publish_blob
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+rm -rf Simply_Lift
+make clean
+make htmlblob
+tar -cjf - Simply_Lift | ssh simply.liftweb.net "cd simply_lift_blob ; rm -rf Simply_Lift ; tar -xjvf -"
View
54 wiring.lyx
@@ -0,0 +1,54 @@
+#LyX 1.6.7 created this file. For more info see http://www.lyx.org/
+\lyxformat 345
+\begin_document
+\begin_header
+\textclass book
+\use_default_options true
+\language english
+\inputencoding auto
+\font_roman default
+\font_sans default
+\font_typewriter default
+\font_default_family default
+\font_sc false
+\font_osf false
+\font_sf_scale 100
+\font_tt_scale 100
+
+\graphics default
+\paperfontsize default
+\spacing single
+\use_hyperref false
+\papersize default
+\use_geometry false
+\use_amsmath 1
+\use_esint 1
+\cite_engine basic
+\use_bibtopic false
+\paperorientation portrait
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\defskip medskip
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\author ""
+\author ""
+\end_header
+
+\begin_body
+
+\begin_layout Section
+Wiring
+\end_layout
+
+\begin_layout Standard
+
+\end_layout
+
+\end_body
+\end_document

0 comments on commit 30eb67a

Please sign in to comment.
Something went wrong with that request. Please try again.