1
0

ms2html 856 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .TH MS2HTML 1
  2. .SH NAME
  3. ms2html, html2ms \- convert between troff's ms macros and html
  4. .SH SYNOPSIS
  5. .B ms2html < input > output
  6. .br
  7. .B html2ms < input > output
  8. .SH DESCRIPTION
  9. .I Ms2html
  10. converts the
  11. .IR ms (6)
  12. source on standard input into HTML and prints it to
  13. standard output.
  14. If the source contains
  15. .IR tbl (1)
  16. or
  17. .IR eqn
  18. input, you must first pipe the text through those
  19. preprocessors.
  20. Postscript images, equations, and tables will be
  21. converted to gif files.
  22. If the document has a
  23. .B .TL
  24. entry, its contents will be used as the title; otherwise
  25. .I ms2html
  26. will look for a
  27. .B ._T
  28. macro, unknown to
  29. .IR ms (6),
  30. and take its value.
  31. .SH SOURCE
  32. .B /sys/src/cmd/ms2html.c
  33. .br
  34. .B /sys/src/cmd/html2ms.c
  35. .SH BUGS
  36. .PP
  37. Ms2html doesn't understand a number of troff
  38. commands. It does handle macros and defined
  39. strings.
  40. .PP
  41. Html2ms doesn't understand html tables.