From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22189 invoked from network); 11 Aug 2022 00:12:49 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 11 Aug 2022 00:12:49 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 1043E406E6; Thu, 11 Aug 2022 10:12:43 +1000 (AEST) Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) by minnie.tuhs.org (Postfix) with ESMTPS id 688D3404ED for ; Thu, 11 Aug 2022 10:12:34 +1000 (AEST) Received: by mail-oo1-f44.google.com with SMTP id c5-20020a4ac305000000b004488c10c2b6so965571ooq.4 for ; Wed, 10 Aug 2022 17:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc; bh=a0P/+7nDPDo3uJyFCM8vvurBONxoUVyFBlxfQQLdw10=; b=YjbXIgVuOObPPXZjMWdTuAK/rS7viq19MmN+yEkWZmeaIEWJr/hKTGYt+PlDO3FRKU KQVIaRPr3WRR7bfwsA/MREboAXE1dsrBe8sKKfZj3YDYlqZ7GjEtoO+i5nhuZIPQjxEH Cd3UTXgWXN88rXFDBUC6TRH3PEnnZ8oWFF+eS6vMQAxGPc25CwVwffQiXh3+/OBI9GTx 32E2OWnimWFemqxK0zjVfqqQbXzOBCZsCdyguXg+Sl2dGD8pKnADVIjFjwLeWL5E8JoJ cpClHrpPbBUxQdIFHr61qzNBmVtVkO4UJFDq3Q7KYmYGoc6K2GzBExvOlINctHuHfGLu n15A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc; bh=a0P/+7nDPDo3uJyFCM8vvurBONxoUVyFBlxfQQLdw10=; b=GlFysSe0+MdA3MWP26oOz8KCkq2oP6V5AVzpn9eXCJcyarpZa20NbIPv4OGqzjkvFn uMkZ/9+AvNmoA3I8gVg8TzgA1WC1y7fauXIpl9oyxKCPhQg9o9rPEeC7cVK4C+qWEZxe t5sDRCnVbiUDUIdQcRs8ebaZjUso1LilQ/a5LQc5pZ/vK90p+MkUcBZJ/DkqEl52yX85 3Hn2x8nyeSyv8MwXimexHylyANIpuFSIbxxYUOa8jpStQYiJDwe7+H1jcNRfZxV/l18w w/IxeZ8RWedRKIeZOp/SDoj+mVn53wo5MS8rKR3s/tnhEYKllp3UCvgDaifFa2YcA6Nm cBcA== X-Gm-Message-State: ACgBeo2AhJNTuQNbj4qGUfHQFQMyLMRNXgdxCdrra02hxw8uaGZPYOBB jHcN0zwnKLD5spZpMdoFqX3/q+z08sdR5q/J64si1hE/TQI6Tg== X-Google-Smtp-Source: AA6agR6ue1zWmcTIpESIiZ5sO4AUPH2cH3vHXRW90mOGpiF2Uex2zfqJttObBfbqTiMztCOWkWwjqMmp1YJ10i5qusM= X-Received: by 2002:a4a:434d:0:b0:441:9b4:ffad with SMTP id l13-20020a4a434d000000b0044109b4ffadmr10309933ooj.31.1660176693250; Wed, 10 Aug 2022 17:11:33 -0700 (PDT) MIME-Version: 1.0 References: <0f770026-f894-45bf-ad99-b7f3eb5af311@home.arpa> <202208101505.27AF5Ko7020961@freefriends.org> <20220810171417.GY21168@mcvoy.com> <202208101737.27AHbupN011923@freefriends.org> <202208101744.27AHiWOT1220324@darkstar.fourwinds.com> <20220810180210.GZ21168@mcvoy.com> <202208101804.27AI4VkB1221117@darkstar.fourwinds.com> <20220810181911.50EEB3EE724@yagi.h-net.msu.edu> <202208101824.27AIOQG81222103@darkstar.fourwinds.com> In-Reply-To: <202208101824.27AIOQG81222103@darkstar.fourwinds.com> From: Dan Cross Date: Wed, 10 Aug 2022 20:10:57 -0400 Message-ID: To: The Unix Heritage Society Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: V57VDAP4H54C5ZMZZCZRY67NI2VNURP2 X-Message-ID-Hash: V57VDAP4H54C5ZMZZCZRY67NI2VNURP2 X-MailFrom: crossd@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: pic List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed, Aug 10, 2022 at 2:24 PM Jon Steinhart wrote: > Dennis Boone writes: > > > Would that happen to be available somewhere, for posterity? > > > > pic2plot, from the plotutils package, will do pic -> various formats, > > including svg. > > Huh. Wasn't aware of that one, but seems to rely on a groff svg driver > which I've never seen. > > What I've done is pic -> groff -> ps2pdf -> pdf2svg -> inkscape. > Inkscape is used just to crop bounding box to the image size so > that there's not a huge amount of whitespace. Google has built an in-house documentation system based on extended markdown, and it was very nice: check your text markdown files into a specially-named subdirectory in the monorepo and point a web browser at an internal service for a nicely rendered web version, available immediately. There was a syntax for including graphviz markup, and something similar for (I think) state diagrams, but support for more general drawing was missing, and I thought pic(1) would be just dandy, if it could be persuaded to generate SVG. I wrote to Brian, who works part-time at Google, and pitched the idea to him, and he extended pic to generate SVG, though it wasn't clear to what sources he was modifying, exactly. Then the pandemic hit, and I ended up leaving Google, so I don't think it went beyond that, but IIRC he said that coercing pic to generate SVG wasn't particularly difficult. - Dan C.