groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using pic with -Thtml


From: hbezemer
Subject: using pic with -Thtml
Date: Wed, 29 Nov 2023 07:39:05 +0100
User-agent: s-nail v14.9.24

Dear all,

I'm trying to create a html file with some graphics created by pic.
Maybe I'm missing the obvious but I'm not able to get it to work.
The following command:
echo ".PS\nbox\n.PE" | pic | groff -Thtml -U

results in:
<!-- Creator     : groff version 1.23.0 -->
<!-- CreationDate: Wed Nov 29 06:35:31 2023 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title></title>
</head>
<body>

<hr>
<hr>
</body>
</html>

I like to get some advice on what I can do better.

Kind regards,

Hans



reply via email to

[Prev in Thread] Current Thread [Next in Thread]