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.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 12191 invoked from network); 15 Jan 2021 13:47:06 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 15 Jan 2021 13:47:06 -0000 Received: from mail-io1-f46.google.com ([209.85.166.46]) by 1ess; Fri Jan 15 08:14:52 -0500 2021 Received: by mail-io1-f46.google.com with SMTP id d9so17977596iob.6 for <9front@9front.org>; Fri, 15 Jan 2021 05:14:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=o7hIq6C0jyHOPIcNux89EvdgAs6Y1fQHZNQZOMz8om0=; b=pqFb55zQUA1Ls1jynkgzuznrWcG8PAKT+mGeQghKc2qG8OOd4ZddAYhop7eC5xxm3e 0wqye39UdFWNiNcIx1OBEwZOQTVUcKgrXx6w1LDZn14d5S+GYEEUPyHVBmRpWZFihBc7 3KIIoVGm59QTqqD+DnE7P5WdRlmY3JWBw/Pi0dnP/PGydtqmhcw3QTw61oFvRtTRAnUa iXaSaysdzSMBZjaXtthgzE5FB80lYwK/8UTcxGf+zKRyysuKMb4X0BE8SHLxohs0XR5s hamBoALouYSlwJ8VMTIpwg7nFfdY6FaZPq/XLM4h1epRag1kbX5ABpUkxnWjMtvr3u+C yfxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=o7hIq6C0jyHOPIcNux89EvdgAs6Y1fQHZNQZOMz8om0=; b=a2+49JNdK+xLtLpfvi4Ku9Fil7lSdXwos19/dXbY7RweydIJt9IfO0VhdTEU1OvmpD FxpSAwPx+NQc/Om4LWrAjT5im0w03cw7Ve6rP2tYfi+TmI0V4U/Y9ChLvrJ3P9jPYTb1 zLMXQoJABcNqAGu028mv1UWse0P0rKJPKpeLCyqasPb8HAKh1ptIuaf7XwFQQXHwiEOZ 1itXWc964Gc+KLP2PP/h4u5Zh0AWULredufOu/WJXtbM0RV+THLCefEdlflBvl2qUqGf 46XBewJRmgTzhBWlsfOwnmYZBR0lafpTlhsbX20UkujKcWGzwvZUHvdjY4w9AdcTGWmY MMNw== X-Gm-Message-State: AOAM530TRrqIFa7MGvJsj2SAKXTwiWsRbXTUSmC0kuFbkVf3V2z1Bizh JKXKx+gsFd4HS5yGOF9Xqbnu7pkYK+iHEjP1IfPSlkNLhB8= X-Google-Smtp-Source: ABdhPJwvuWhWi3ZAPuo9J7j/MheL+ROAcYWGm8KNuxH6K3Ar4diV6qX5MZnLrka5BQaVBDXidLPKq/eBWRbjJmuRSHo= X-Received: by 2002:a92:2c07:: with SMTP id t7mr10728868ile.102.1610716483251; Fri, 15 Jan 2021 05:14:43 -0800 (PST) MIME-Version: 1.0 From: Ethan Long Date: Sat, 16 Jan 2021 00:14:32 +1100 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: shared service TOR over WEB2.0 session shader hosting Subject: [9front] troff & eqn sqrt{} output as pdf Reply-To: 9front@9front.org Precedence: bulk Hello, unfortunately when using equations in troff there is one bug/erratic behaviour that I cannot fix, so I was wondering if anyone here would be able to help. Basically when using the sqrt function in eqn, everything appears to work okay and well if you're outputting as ps and viewing in page on 9front. However, when one uses ps2pdf or views this postscript elsewhere (ps2pdf on 9front and linux both do this), the horizontal line that typically covers the whole square root is detached from the radical that starts the root. Try this example: eqn file | troff -ms | dpost | page eqn file | troff -ms | dpost | ps2pdf | page .EQ sqrt {g} = pi .EN It doesn't matter how long the root is, you will notice that if you simply run dpost and pipe into page all is fine, but if you use ps2pdf, the top of the root is offset by a large gap. Does anyone have any ways of fixing this or working around this? If it's a ghostscript bug then it's been there a long while.