From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31734 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Images in ms file output Date: Thu, 10 Nov 2022 15:58:06 -0800 Message-ID: References: <835ce711-8460-482e-9577-09bcadbb63f1n@googlegroups.com> <716B6B65-CB2C-4B69-A13E-762FCD1A03A8@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18250"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBGVAW2NQMGQEYST4IKQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 11 00:58:22 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-vs1-f58.google.com ([209.85.217.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1otHR8-0004YX-1f for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 11 Nov 2022 00:58:22 +0100 Original-Received: by mail-vs1-f58.google.com with SMTP id v188-20020a6761c5000000b003aa40da25bdsf669323vsb.22 for ; Thu, 10 Nov 2022 15:58:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668124701; cv=pass; d=google.com; s=arc-20160816; b=Ti5IXrnefr8SscPX7PUzIMNA6QZvsJENFbsCdb4hA+5x5ySKRz22uKc+sYUHDQtt/N 3bLdTUk/Y/S2+zWr4Vs5RTOCzGDIKN6jetprf1KhpyFFxDcQt4ZeFLU0ypJxUCIuH1F1 XH4czaZ5ZzB4KYQLlehxgOgydRqbrO0y6a8vD5sNBliUIuBj062X+dJDjv2cWthN1MoC D/FaKIc9Ar38kUH1HJdxUeDwr0etDavHrb49OuK8kJSBXsnd0fKlP+oSJ7XwXWCYw+59 sjoRC5aUAaASraGAM1yD62sYffhLvP2SS59fAxbDiwFi4nrHM/PyqxVlEOO3bfB0ndBR qJ8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=eZGSKSupJlUMUexcUPAxDtROdd9JFV8lznVOl1aBWHg=; b=QDSbMXICOeJgsCyPaaUgTf6LCbEC+botMQhL5mrT2hc6NsQDER4exlGWWfix7h6sDI epyVyfsLgXdKb3kh5xJQ74PBKXV5ATqZl4CiWL7Zj79ju0ejHmj+fZJTkcccL4+R1cQ7 atbOH1lbiH0eOVXU5EJhtvwH1dW9LVQhhpuFk2sIOYCZOnJs5wI78JWhaz3IqYD2JWQZ zJNVflZbqUz6gOSq56Fxk1HOc7muypjUQVK/MvNj8eJb1QdTiamz2GOQj3v5X1gcxIzd 13fPHxoyCn1wguMYP0mIgWZu+e4CB1fOLW14Dr7tH7UzMmMNtG+a4y9xpY4JJR6ANppm m8Vg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LK8X1YIZ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::634 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=eZGSKSupJlUMUexcUPAxDtROdd9JFV8lznVOl1aBWHg=; b=r/BUFKXjpPMITbgs7jPYzrqiCORMb5H9XUYLh752Et4VjG5VcgVy3DlnjCqCRpcuuP gymxn9+OUakclVlewC3O4Xs067tq6s+khoT69c2LE1+Si1fZse8D5jNkYEY0+4ENV/8f WfIBWRS6jLcFWM1YuowmbE94K2bqlMhOPUDtWPxZtNoVvDFhTM+pLsqWQzURxntKkLtA oIuMc59iJQRE/ibRaY0kiAf75c+VVJUnzjOaVZfcw31FMyb4OPgx3Gleu/EH5fhY1RlS OhSeLNLZg1kIAe5e45uThjxmd6gP4GQeZEf8C568PNmK/XLdd3qQZIN7Vl6FTC5/8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=eZGSKSupJlUMUexcUPAxDtROdd9JFV8lznVOl1aBWHg=; b=G8qk0YRaVV+XuzEV66fWbm/433y6deSV3kwrUOv54GJ26tP/nspiKbAolGJixBgqPe 7EXfE6xSvAw13rY4lDPT/2VJOXtUxWcc0fUomLL7UGKkjGzId8dK3vFirCZRo8BVwVXS 9DKNO7Tw31jbTP1Kr2rbVAnGdSkqRSgkIlhSAvpbxUmKhCUoTUcWXkJHAwvjktkMQiii nPo7uy8VwPmstO5LVZBjsD/tP00qDK9IX0pEoy8vvaZT9Yj+2VMPO5vzCwzcWsv2pWQB xBExw2yQIchycOvHjIVSs7G8a00SPZ9V9qpE92rZ8rRmo3B+othniuDJm9e990bLSRFw w X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=eZGSKSupJlUMUexcUPAxDtROdd9JFV8lznVOl1aBWHg=; b=Ij9Eh13l/M+86ZCR5ixBNd9QLxm+TvrrmkAljgJEVDTGwYtmAkDyPXBNZuKiVBumYn CgKzf0plBVmIQR30TdQSvGx3ur/GsKE2i7rU8qtkR9UvmCBfRl7ryNxqeDcB18O5D4dS xD/3inook7KetykRJ6uJKycSIxQp9SUks/zAMWcLzzHo5yn9WzgdHR3fG5xOOA+XxmqC IvMl1vcnkD2f4M05s874XvdEUUiGrF9pRp/3VLzD+OCLZ+2nD/QBTl1HaLDH6d8WA5+g 1Esnpv/Eqq6QJdOgQQCQ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf1bFqMroZFIi9jreANhCzMDmtT7FTBPQVZ9Q3pYzLAgWEKH/sLp IKgqUR+jlBdGgCR81fbG4gQ= X-Google-Smtp-Source: AMsMyM5W4BMx5szDWZADvQK9BHKYdwrv7FspEOi+TkTSzdVr0v3vT742ZcpTrcrrmZMJzzigWzco4w== X-Received: by 2002:a67:dd89:0:b0:3aa:66d6:34c7 with SMTP id i9-20020a67dd89000000b003aa66d634c7mr4067506vsk.71.1668124700867; Thu, 10 Nov 2022 15:58:20 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ab0:690c:0:b0:40e:4d00:644 with SMTP id b12-20020ab0690c000000b0040e4d000644ls226442uas.6.-pod-prod-gmail; Thu, 10 Nov 2022 15:58:17 -0800 (PST) X-Received: by 2002:ab0:2612:0:b0:3c7:9fbd:a455 with SMTP id c18-20020ab02612000000b003c79fbda455mr22356824uao.113.1668124697874; Thu, 10 Nov 2022 15:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668124697; cv=none; d=google.com; s=arc-20160816; b=aO2k4Nfq5HJq6X77nITb2zh6EUIrFXLFwuUYAOHhFQJHV84FitwkxRs1LIbVjtlNVD A56i39phf3uTgG7AY8vxizXqQ88tg7BBDMn9L78QkMxJUHTWZGhrBgF0SSZJZRHXlaZq hmpIrGZVdQsvvoBQyqvT7HYhe+iGQjla+CDfXyS/v2C44KmHiJgh4fRaHIJViHyQZtaM KBKBTctC7lrZAnngOruoy8bLTVXglS6KBb9S7+TBqc/E+ChXgYwJyNefxEkx2MMmUeP7 31YNCjbyTv2D1crYZQee7Zt7gBF1wWTgIcG8PkPagy9FHR10eRJuKMVrnCy4/wF8KZbN Gsyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=QIcqi9nTA34vrEraaah6DhrcuAAN/gSurRrGaxw+URw=; b=QuMGupWFU+jIhCZZjJF12EM+2kXI0k4X2X/E2rgZWJTQFI7Qzn+xkj6QbJJDKwTJzw WEXatCfpGb8ve4joIACHTkq13fQJd3ZD92xyXiDk8LjKdfJRXb0dKS+jCf205/xh7aGP Kd4V8p6rK5D6mfMNv5HdlEG1Zyzk+ZbL0dlj9xhUbh4zlIqSfLrjpwjVWJh9NFz/h9RW M5S0yKQT9nhNlcG2L9m1QJaVulBM/vz0lg8ty3Mncu8dO4eaN3Tgn+TM586Mp5uF1+cK /ItG9p7U9M2Xvm5FOHycpPp3CRfIRc3QcalrouIY+lK3JdwiM1yaslkQeDPqiy1lyAwK AEPQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LK8X1YIZ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::634 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com. [2607:f8b0:4864:20::634]) by gmr-mx.google.com with ESMTPS id m22-20020a67f296000000b003a96db77ebbsi31162vsk.0.2022.11.10.15.58.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 15:58:17 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::634 as permitted sender) client-ip=2607:f8b0:4864:20::634; Original-Received: by mail-pl1-x634.google.com with SMTP id c2so2883228plz.11 for ; Thu, 10 Nov 2022 15:58:17 -0800 (PST) X-Received: by 2002:a17:902:e8d4:b0:17f:6845:9be0 with SMTP id v20-20020a170902e8d400b0017f68459be0mr2635184plg.158.1668124696664; Thu, 10 Nov 2022 15:58:16 -0800 (PST) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id e7-20020aa798c7000000b0056b8181861esm246930pfm.19.2022.11.10.15.58.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Nov 2022 15:58:15 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LK8X1YIZ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::634 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31734 Archived-At: The default template already includes $if(has-inline-math)$ .EQ delim @@ .EN $endif$ Note: this is only triggered if your document contains inline equations; it= isn=E2=80=99t needed for display equations. > On Nov 10, 2022, at 3:21 PM, Randolph M. Fritz wrote= : >=20 > Got another problem with the ms here; to make inline equations work with= eqn, eqn needs to be told what the delimiters are. Since '@' is used, I ad= ded the following to the beginning of the output file: > .EQ > delim @@ > .EN > Perhaps it could be inserted before the first inline equation is used, so= that it would only show up when inline equations are used. >=20 > On Wednesday, November 9, 2022 at 3:24:23 PM UTC-8 Randolph M. Fritz wrot= e: > Wow, thanks! > --=20 > Randolph M. Fritz || rmfr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >=20 >=20 > On Wed, Nov 9, 2022 at 11:37 AM John MacFarlane wro= te: > I've already made the change. >=20 > > On Nov 9, 2022, at 4:41 AM, Randolph M. Fritz wrote= : > >=20 > > Hunh. Well, I think that's a good idea. =F0=9F=98=80 A lot better than = writing platform-dependent code, for sure. > >=20 > > Thanks for the response! > >=20 > > On Tuesday, November 8, 2022 at 3:19:43 PM UTC-8 fiddlosopher wrote: > > The manual says=20 > >=20 > > Option -C centers the graphic horizontally, which is the default.=20 > >=20 > > If it=E2=80=99s the default, then I guess we could safely get rid of it= !=20 > >=20 > >=20 > > > On Nov 6, 2022, at 11:30 PM, Randolph M. Fritz wr= ote:=20 > > >=20 > > > Hello pandoc people! Got a question about the ms pandoc writer.=20 > > >=20 > > > Do I grasp correctly that the supported image formats are .ps and .ep= s? Is that documented anywhere?=20 > > >=20 > > > Also, on MacOS (v12.6.1, Monterey) the writer produces a roff macro:= =20 > > > .PSPIC -C "fig1.eps"=20 > > > Unfortunately, the out-of-date version of pspic.tmac included with th= at version of MacOS doesn't support the -C option. If I edit out the -C the= generated roff markup works. Is this a bug? Or have I missed something?=20 > > >=20 > > > Randolph M. Fritz=20 > > >=20 > > > --=20 > > > You received this message because you are subscribed to the Google Gr= oups "pandoc-discuss" group.=20 > > > To unsubscribe from this group and stop receiving emails from it, sen= d an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 > > > To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/835ce711-8460-482e-9577-09bcadbb63f1n%40googlegroups.c= om.=20 > >=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google Grou= ps "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send = an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/df6687a7-01fa-4113-bc00-ae4481c0c26bn%40googlegroups.com= . >=20 > --=20 > You received this message because you are subscribed to a topic in the Go= ogle Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/p= andoc-discuss/PngzMzeOBhg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to pando= c-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/716B6B65-CB2C-4B69-A13E-762FCD1A03A8%40gmail.com. >=20 > --=20 > You received this message because you are subscribed to the Google Groups= "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/ebc07834-e362-49ff-9b92-ad8dad4d2e36n%40googlegroups.com. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/BF09175F-8A21-4ED5-8260-31AE799DC323%40gmail.com.