m4_dnl -*- html -*-
m4_divert(-1) m4_dnl

m4_define([m4_button_color],#d0d0d0)

m4_ezi_button(m5_spaces(6) Main Menu         m5_spaces(6),index.html)
m4_ezi_button(m5_spaces(1) Research Projects m5_spaces(1),research/index.html)
m4_ezi_button(m5_spaces(5) Photo Album       m5_spaces(5),photos/index.html)
m4_ezi_button(m5_spaces(4) Curriculum Vitae  m5_spaces(4),cv.html)
m4_pushdef([m4_button_color],#ffff00)
m4_ezi_button(m5_spaces(0) The Greatest Artists m5_spaces(0),greatest-artists.html)
m4_popdef([m4_button_color])
m4_ezi_button(newline,newline)
m4_ezi_button(m5_spaces(3) Email Address      m5_spaces(3),email.html)
m4_ezi_button(m5_spaces(1) Computer Games     m5_spaces(1),games/index.html)
m4_ezi_button(m5_spaces(6) Web Design         m5_spaces(6),webdesign/index.html)
m4_ezi_button(m5_spaces(1) Java Training Wheels m5_spaces(1),J.T.W/index.html)
m4_ezi_button(m5_spaces(2) The Fly (A Story)  m5_spaces(2),the-fly.html)
m4_ezi_button(newline,newline)
m4_ezi_button(m5_spaces(1) Political Activism m5_spaces(1),activism.html)
m4_ezi_button(m5_spaces(0) Bob Dylan Quotes+  m5_spaces(0),bob-dylan-quotes+.html)
m4_ezi_button(m5_spaces(5) My Life Story      m5_spaces(5),my-life-story.html)
m4_ezi_button(m5_spaces(2) Smoking Cessation  m5_spaces(2),smoking.html)
m4_ezi_button(m5_spaces(5) Other Links        m5_spaces(5),other-links.html)

m4_define([m4_back_to_somewhere_text],Back to Main Menu)
m4_define([m4_back_to_somewhere_href],index.html)

m4_define([m4_bin],m4_home/../nobin)

m4_define([KB],[<span class="red"><b>$1</b></span>])
m4_define([RED],[<span class="red">$1</span>])
m4_define([GRN],[<span class="green">$1</span>])
m4_define([BGRN],[<span class="bgXlightgreen"><b>$1</b></span>])
m4_define([BLU],[<span class="blue">$1</span>])
m4_define([PUR],[<span class="purple">$1</span>])

m4_define([REDB],[m4_error(redb undefined)])
m4_define([GRNB],[m4_error(grnb undefined)])
m4_define([BLUB],[m4_error(blub undefined)])
m4_define([PURB],[m4_error(purb undefined)])
m4_dnl m4_define([REDO],[m4_error(redo undefined)])
m4_define([GRNO],[m4_error(grno undefined)])
m4_define([BLUO],[m4_error(bluo undefined)])
m4_define([REDC],[m4_error(redc undefined)])
m4_define([GRNC],[m4_error(grnc undefined)])
m4_define([BLUC],[m4_error(bluc undefined)])
m4_define([PURC],[m4_error(purc undefined)])

m4_define([TT],[<span class="tt">$*</span>])
m4_define([EM],[<i>$*</i>])
m4_define([BO],<b>$*</b>)
m4_define([COMMA],[$*&#44;])
m4_define([DOTS],TT(...))

m4_define([COMM],<span class='comment'>$*</span>)
m4_define([KEYW],<span class='keyword'>$*</span>)
m4_define([STRI],<span class='string'>$*</span>)
m4_define([PADD],) m4_dnl NOTE: PADD() has the same width as COMM(), KEYW() and STRI()
m4_define([NUMB],<span class='libd-purple'>$*</span>)
m4_define([CLSS],<span class='type'>$*</span>)
m4_define([VARI],<span class='variable-name'>$*</span>)
m4_define([FUNC],<span class='function-name'>$*</span>)
m4_define([SCOM],<span class='d-face-super-comment'>$*</span>)
m4_define([REDD],<span class='doc'>$*</span>)

m4_dnl m4_define([SOP],<code><span class="dlib-green">System.out.print</span>($*)</code>)
m4_dnl m4_define([SOPL],<code><span class="dlib-green">System.out.println</span>($*)</code>)

m4_define([WEBSITE],[<a href="http://$1">$1<img border=0 src="m4_home/external-link2.png"></a>])

m4_define([m4_begin_center],[<center><table><tr><td align=left>m4_changequote(,)])
m4_define([m4_end_center],[m4_changequote([,])</td></tr></table></center>])

m4_dnl m4_define([m4_begin_indent],[<blockquote>m4_changequote(,)])
m4_dnl m4_define([m4_end_indent],[m4_changequote([,])</blockquote>])
m4_define([m4_begin_indent],[<table width="100%"><tr><td width=50></td><td>m4_define([EOL],<br>)m4_changequote(,)])
m4_define([m4_end_indent],[</td></tr></table>m4_changequote([,])])

m4_define([m4_emacs_pretty_print], m4_dnl
[m4_begin_indent m4_dnl
m4_esyscmd(emacs --batch --eval "(setq target \"$1\")" --load /media/www/C1TB/home/dlisp/d-htmlize.el)m4_dnl
m4_esyscmd(cat $1.html)m4_dnl
m4_syscmd(rm -f $1.html)m4_dnl
m4_end_indent])

m4_define([m4_java_pretty_print], m4_dnl
[m4_esyscmd(html-quote.exe $1 | java-pretty-print.exe)]) m4_dnl

m4_dnl (/ 565 10)

m4_define([m4_free_small],<img src="m4_home/free-stuff2.gif" width=53 height=10 alt="Free Stuff">)
m4_define([m4_free_full],<img src="m4_home/free-stuff2.gif" width=79 height=15 alt="Free Stuff">)

m4_define([m4_new],<img src="m4_home/new.png" width=28 height=11 alt="New">)

m4_define([m4_fav_artists],[m4_error(m4 fav_artists undefined)])
m4_define([m4_fav_artists_of_all_time], [m4_error(m4 fav_artists_of_all_time undefined)])

m4_define([m4_under_construction],
<center>
  <img src="m4_home/under-const.gif" width=100 height=87 alt="Under Construction">
  <br>
  <small>This page is under construction.</small>
</center>
)

m4_define([m4_earth],
<center>
  <img src="earth.gif" width=64 height=64 alt="Spinning Earth">
  <br><br>
</center>
)

m4_define([SUP],<sup>$*</sup>)
m4_define([TTH2],<font size="6"><tt>$*</tt></font>)
m4_define([SQ],[&#91;$*&#93;])

m4_define([m4_pending],<i>(pending)</i>)
m4_define([m4_uc],<i>(under construction)</i>)

m4_dnl In the next line, bra and ket needed to quote comma
m4_define([m5_emacs_lines],[over 53,000 lines])
m4_define([m5_emacs_years],over m4_eval(m4_esyscmd(date +"%Y") - 1997) years)

m4_define([m5_age],43)

m4_define([m5_wikipedia_article_count],[over 5,040,833 articles in English])

m4_define([m5_flac_count],655 GB)

m4_define([m5_webpage_count],[over 500 page])

m4_define([m5_phone_number_world],[+64-3 335-0297])

m4_define([m5_phone_number_chch],[335-0297])

m4_define([m5_signature],[
<div align=right>
  <img src="m4_home_neat(signature3.png)" width="113" height="41" alt="signature"><br>
  Davin Pearson,<br>
  Christchurch<br>
  New Zealand,<br>
  15 September 2016.<br>
</div>])

m4_define([m5_emacs_version],TT(emacs-24.3.1-bin-i386.zip))

m4_define([m5_patch_email],[TT(m4_patsubst(m4_patsubst($1,\.,[<!-- example -->&nbsp;&lt;<em>dot</em>&gt;&nbsp;]),@,[<!-- davinpearson -->&nbsp;&lt;<em>at</em>&gt;&nbsp;]))])

m4_divert m4_dnl