From owner-freebsd-questions@freebsd.org Wed Apr 21 23:56:32 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BFF3A5F5D83 for ; Wed, 21 Apr 2021 23:56:32 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQcsD06pDz4cnC for ; Wed, 21 Apr 2021 23:56:31 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-yb1-xb34.google.com with SMTP id 65so49248576ybc.4 for ; Wed, 21 Apr 2021 16:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L5smmqdfKSQlBmgmlwGps9p+a1Mv35lz8XXEZgR2IW0=; b=KQ76hp/hPkZZOvenOiPpQXBwkPVBusA17edfYXKchLOMO9v7uNfyfC9WIam09BNLOp wk65FfDPhwlarUMNQzExrj2fYvqmOI1I7d4diqeGItvrw5k4/iPhwduh4A3a4AH6+Yfc of0K39XUReopZm9YFZjp4ZbbnEmezDzCYVvWrpcaSFfGXE58FnPg4GG30UyNxHpa0u1I d6LsPZg2Wgp1Wc8EgkHJbvqtTn1RuR/18t7/Wl5YUUYuCuG4+TaU/itMmXzLW+rjICAM lbVn7aj8Q8bwhRCh8xHB2lFGpHYyYY41xuozSKW2X7SAI4I69Lyr22ll4xrNWEr+nPOy HDIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L5smmqdfKSQlBmgmlwGps9p+a1Mv35lz8XXEZgR2IW0=; b=QBbGhwvLW96rYKgm8sk+GwJA50B5r9xoHhlvwJm4VXDDsqZ+8W5YG3fF0uZA9Ocz2p Rx9B97PKgRo61zPxOKXICXHXtF+ol/2mnXcZSp4OImZCCdu3+4nhWn5RTLQ117JQZvoB rmdd5i55cAHYTkuKz5EUb5hvpPA4IgoKIprNLjt81xFrvlGRf+xHJSOQ1Ru8ic8hAttJ wxVM6NLJ4+tNqD4Gx+azKINFyug7OSrHwR1XAfanRNyABKCocg7OQaEYLF8X9pmuNNeM zXe6BGHfOrieVlVjFMs6SO6UZ1ZGzJDvq9PvV1BxjxlUmSekxNQON4xs0JCQB9iqjyBx GA6A== X-Gm-Message-State: AOAM5306v+Rm5WQ6zW1zcBplRvUeHukw1+nPffsHEaobaA8QzaAA7sFa nw+vd+TV5GqGYSph639AYD7jWEv79R75T2E9ttc= X-Google-Smtp-Source: ABdhPJyzwu5FpUbFtgkML5pxPIrAqZxNnxYfEpBdmPkcocQjDs2r4USgZUPDuBf/UG+W/nmDZpCAOFqH4Lhvm2vvA9Y= X-Received: by 2002:a05:6902:4ef:: with SMTP id w15mr720027ybs.264.1619049390622; Wed, 21 Apr 2021 16:56:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6918:928d:b029:21:fa0f:a125 with HTTP; Wed, 21 Apr 2021 16:56:30 -0700 (PDT) In-Reply-To: <2144122E-56DF-4391-91CD-75F2F2B6AA25@glasgow.ac.uk> References: <2144122E-56DF-4391-91CD-75F2F2B6AA25@glasgow.ac.uk> From: Antonio Olivares Date: Wed, 21 Apr 2021 18:56:30 -0500 Message-ID: Subject: Re: script problem To: Norman Gray Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4FQcsD06pDz4cnC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KQ76hp/h; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2607:f8b0:4864:20::b34 as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-3.97 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.97)[-0.969]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::b34:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::b34:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b34:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2021 23:56:32 -0000 On Wednesday, April 21, 2021, Norman Gray wrote: > > Antonio, hello. > > On 21 Apr 2021, at 22:08, Antonio Olivares wrote: > >> I have made changes from #!/bin/bash to #!/bin/sh and added some code >> so that the files m3Dplain.mp and m3Dsty01.mp are skipped from being >> metaposted. These files are not in texlive2021 for some reason or >> another and I do not know how to add them as easily if I were using >> miktex install on the fly option. > > It looks like the m3D package [1], where those files from from, is a little old, and may not be compatible with the current version of mpost. That may be why it's not readily available as part of a current TeXLive. Certainly, when I try (just now) to build this book from the sources, and install m3D locally, the build of torus.mp fails with an error which smells to me strongly of version-skew. > > If I press on, I see that the source depends on a picins.sty package, which appears [2] to be a LaTeX 2.09 package (ie, _very_ old). > > I suspect it would be challenging to build the book from its sources, using a half-way recent release of TeXLive. It doesn't look impossible, but it might well involve some non-trivial hacking of the source, which it might be better to encourage the author to embark on. > > Good luck! > > Norman > > > [1] http://www-math.univ-poitiers.fr/~phan/m3Dplain.html > [2] https://www.ctan.org/pkg/picins > > -- > Norman Gray : https://nxg.me.uk > SUPA School of Physics and Astronomy, University of Glasgow, UK > Dear Sir The book gets created, but the file torus.mp fails to build. The m3D files, I have put the files m3D* on the same directory and the picins.sty. The question is how the metapost files get processed by the script. Something changed because the script did run the metapost files and got their output and them latex'd the source files and it worked in FreeBSD 12 but not in FreeBSD 13. I do not know what causes this? I had to $ for i in *.mp ; TEX=latex mpost "$i": done; Otherwise I get message that many files missing. This part worked before and now it does not. I want to metapost the files except the m3D* files, it worked in previous versions but not new version. Thank you for helping. Best Regards, Antonio