1
0

tmac.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .de HTML
  2. \! \<?xml version="1.0" encoding="utf-8"?\>
  3. \! \<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  4. \! "http://www.w3.org/TR/html4/loose.dtd"\>
  5. .html html <html>
  6. .html head <head>
  7. .html utf <meta http-equiv=Content-Type content="text/html; charset=utf8">
  8. .if !'\\$1'' .html title <title>\\$1</title>
  9. .HEAD
  10. .html head
  11. .html body <body>
  12. ..
  13. .de FSFIRST
  14. .de NOTES xx
  15. ._NOTES
  16. .rm _NOTES
  17. xx
  18. .em NOTES
  19. .da _NOTES
  20. .sp
  21. .B "Notes
  22. .sp
  23. .da
  24. ..
  25. .de FS
  26. .FSFIRST
  27. .rm FSFIRST
  28. .da _NOTES
  29. ..
  30. .de FE
  31. .sp
  32. .da
  33. ..
  34. .nr png -1 1
  35. .de TS
  36. .ds pngbase "\\*[basename]
  37. .if '\\*[pngbase]'' .ds pngbase \\n(.B
  38. .ds pngfile \\*[pngbase]\\n+[png].png
  39. .html - <center><img src="\\*[pngfile]"></center>
  40. .\" The .inputpipe must be the last line of the macro!
  41. .inputpipe .TE troff2png >\\*[pngfile]
  42. ..
  43. .de TE
  44. ..
  45. .de PS
  46. .ds pngbase "\\*[basename]
  47. .if '\\*[pngbase]'' .ds pngbase \\n(.B
  48. .ds pngfile \\*[pngbase]\\n+[png].png
  49. .html - <center><img src="\\*[pngfile]"></center>
  50. .inputpipe .PE troff2png >\\*[pngfile]
  51. ..
  52. .de PE
  53. ..
  54. .de B1
  55. .margin 0
  56. .nr TW 10
  57. .nr TW1 80
  58. .if !'\\$1'' .nr TW \\$1
  59. .if !'\\$2'' .nr TW1 \\$2
  60. .html box \
  61. <center>\
  62. <table width=\\n[TW1]% cellspacing=0 cellpadding=0 border=0>\
  63. <tr height=1>\
  64. <td width=1 bgcolor=#000000 />\
  65. <td width=\\n(TW bgcolor=#000000 />\
  66. <td bgcolor=#000000 />\
  67. <td width=\\n(TW bgcolor=#000000 />\
  68. <td width=1 bgcolor=#000000 />\
  69. </tr>\
  70. <tr height=\\n(TW>\
  71. <td width=1 bgcolor=#000000 />\
  72. <td width=\\n(TW />\
  73. <td />\
  74. <td width=\\n(TW />\
  75. <td width=1 bgcolor=#000000 />\
  76. </tr>
  77. .html box0 <tr>
  78. .html box1 <td width=1 bgcolor=#000000 /><td width=\\n(TW /><td>
  79. ..
  80. .de B2
  81. .html box1 <td width=\\n(TW /><td width=1 bgcolor=#000000 />
  82. .html box0 <tr height=\\n(TW><td width=1 bgcolor=#000000 />\
  83. <td width=\\n(TW /><td /><td width=\\n(TW />\
  84. <td width=1 bgcolor=#000000 />\
  85. </tr>\
  86. <tr height=1>\
  87. <td width=1 bgcolor=#000000 />\
  88. <td width=\\n(TW bgcolor=#000000 />\
  89. <td bgcolor=#000000 />\
  90. <td width=\\n(TW bgcolor=#000000 />\
  91. <td width=1 bgcolor=#000000 />\
  92. </tr>
  93. .html box
  94. .margin 1
  95. ..