From 70986f3a04de4bff9c5f925a300cbc153db22163 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 22 Aug 2010 17:52:33 -0400 Subject: markup samples, add v1 markup for Democratizing Innovation, Eric von Hippel --- .../samples/_sisu/skin/doc/skin_di_von_hippel.rb | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 data/v1/samples/_sisu/skin/doc/skin_di_von_hippel.rb (limited to 'data/v1/samples/_sisu/skin/doc') diff --git a/data/v1/samples/_sisu/skin/doc/skin_di_von_hippel.rb b/data/v1/samples/_sisu/skin/doc/skin_di_von_hippel.rb new file mode 100644 index 0000000..3448e58 --- /dev/null +++ b/data/v1/samples/_sisu/skin/doc/skin_di_von_hippel.rb @@ -0,0 +1,78 @@ +# coding: utf-8 +=begin + * Name: SiSU - Simple information Structuring Universe - Structured information, Serialized Units + * Author: Ralph Amissah + * http://www.jus.uio.no/sisu + * http://www.jus.uio.no/sisu/SiSU/download + * Description: Skin prepared for Democratizing Innovation, Eric von Hippel + * License: Same as SiSU see http://www.jus.uio.no/sisu + * Notes: Site default appearance variables set in defaults.rb + Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb +=end +module SiSU_Viz + require SiSU_lib + '/defaults' + class Skin + #def path_root # the only parameter that cannot be changed here + # './sisu/' + #end + #def rel + # '../' + #end + def url_home + 'http://web.mit.edu/evhippel/www/' + #'http://web.mit.edu/evhippel/www/democ1.htm' + end + def url_txt # text to go with url usually stripped url + 'web.mit.edu/evhippel/www/' + end + def color_band1 + '"#ffffff"' + end + def txt_hp + 'web.mit.edu/evhippel/www/' + end + def txt_home + 'Eric von Hippel' + end + def icon_home_button + 'di_evh.png' + end + def icon_home_banner + icon_home_button + end + def banner_home_button + %{
#{png_home}
\n} + end + def banner_home_and_index_buttons + %{
#{png_home}
 This text sub- 
 Table of Contents 
#{table_close}
 #{table_close}} + end + def banner_band + %{
#{png_home}#{table_close}} + end + def credits_splash + %{
+The original pdf is available online at
web.mit.edu/evhippel/www/
+
+available at
Amazon.com and
+Barnes & Noble
+This book is Copyright Eric von Hippel © 2005
+Under a Creative Commons License, License: Attribution-Noncommercial-No Derivative Works (CC-BY-NC-ND) 2.0 +http://creativecommons.org/licenses/by-nc-nd/2.0/
} + end + end + class TeX + def header_center + "\\chead{\\href{#{@vz.url_home}}{web.mit.edu/evhippel/www/}}" + end + def home_url + "\\href{#{@vz.url_home}}{web.mit.edu/evhippel/www/}" + end + def home + "\\href{#{@vz.url_home}}{Eric von Hippel}" + end + def owner_chapter + "Document owner details" + end + end +end +__END__ -- cgit v1.2.3