From owner-freebsd-questions@freebsd.org Thu Apr 22 09:30:03 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 978735E7515 for ; Thu, 22 Apr 2021 09:30:03 +0000 (UTC) (envelope-from Norman.Gray@glasgow.ac.uk) Received: from hillend.cent.gla.ac.uk (hillend.cent.gla.ac.uk [130.209.16.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQsZy5FN0z3NVf for ; Thu, 22 Apr 2021 09:30:02 +0000 (UTC) (envelope-from Norman.Gray@glasgow.ac.uk) Received: from cas08.campus.gla.ac.uk ([130.209.14.165]) by hillend.cent.gla.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1lZVeq-0002sN-5D; Thu, 22 Apr 2021 10:30:00 +0100 Received: from CMS09-02.campus.gla.ac.uk (172.20.14.170) by cas08.campus.gla.ac.uk (130.209.14.165) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 22 Apr 2021 10:29:59 +0100 Received: from CAS08.campus.gla.ac.uk (130.209.14.165) by cms09-02.campus.gla.ac.uk (172.20.14.170) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 22 Apr 2021 10:29:59 +0100 Received: from GBR01-CWL-obe.outbound.protection.outlook.com (104.47.20.51) by CAS08.campus.gla.ac.uk (130.209.14.165) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 22 Apr 2021 10:29:59 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OASGj6YL8XaZ2lWp34Qx5pPxp1EUUOBAF7x7ajavdcFjzGXpMF+ok4eRmPuhK1//iQ/2YuC8XMu6o/sMw9UdF7WkNazCIK33cWH1yzeESNJBN4neL7BzQqfsE4sxeBRe034bs0o/fUOoJ6EUtQWD6uDFPXpdDAty8oN6+AeQxogHyQ4QyhXBNQTwBsQQE/oKNtIEO8sF5EEjk0BfbqsD81ZcH+ncUPAsGpFkS3e6EMUBNjhoblbw7Z6KM+zH8AISUKGasV9+WkwBRng/m8TtdPXpUTVCviCpfEs9zxeuZNqRB15PVcJFv1YnZyU+51b89WHuokEVCS0LCBgLFHdvDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=behajTzkLchE4+ShtpDrxmypqDd/WT9PlYsKefvVjPM=; b=MJz9NMkdxOx85/zhQS7cCySmB3kKtJpZofKYqmNDtEf4peybIj196J/uUYVfXbGDaCvXjaVshkXawqPSMhHrT1vvx54rvDlTGCWkzNrTqed5te4+tSJxV0IRRmie1s32vjqomhqlE3KJx71RZ2d+IRWvJEYGB6NfI473R6f0YUrc4dlXUwWw2O2hr/E0I/2x78E77g4szJlWOxmc0tITreUEFZ8EMFejN4D3ebqa+zYKALAesUuchXd5fSXxsDnZsbfK7B596N3q4M0MB6u0Vg5fhSkkhf6V/71F+e3166lXaX5dcdOX1vC3EzdIGS8I6qqWLAypbdJVAlmyKLhPJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=glasgow.ac.uk; dmarc=pass action=none header.from=glasgow.ac.uk; dkim=pass header.d=glasgow.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gla.onmicrosoft.com; s=selector2-gla-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=behajTzkLchE4+ShtpDrxmypqDd/WT9PlYsKefvVjPM=; b=LVuhlF/x8Ky/EFdDMy9E1FsyrDDypxSct12GsxLvILLd8PD9/JcQ+TNFOhzSk7+l1/cYwOUg13MZFDrMgt7pSWg0Hf30TWCf0la+b+QjT/RgMCkgz3NjOp50Dy/uRqDfO+YhpSMxjUb6DhxAWN7MPjiARWbSZou3+UM0TR3Y8OQ= Received: from LO4P265MB3615.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:1be::11) by LO3P265MB1834.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:b1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.24; Thu, 22 Apr 2021 09:29:59 +0000 Received: from LO4P265MB3615.GBRP265.PROD.OUTLOOK.COM ([fe80::ad7d:82cc:a1c2:e2a5]) by LO4P265MB3615.GBRP265.PROD.OUTLOOK.COM ([fe80::ad7d:82cc:a1c2:e2a5%6]) with mapi id 15.20.4020.027; Thu, 22 Apr 2021 09:29:59 +0000 From: Norman Gray To: Antonio Olivares CC: FreeBSD Questions Subject: Re: script problem Date: Thu, 22 Apr 2021 10:29:57 +0100 X-Mailer: MailMate (1.14r5769) Message-ID: <023D2B0D-3272-45B6-BA07-81C8E082BB5B@glasgow.ac.uk> In-Reply-To: References: <2144122E-56DF-4391-91CD-75F2F2B6AA25@glasgow.ac.uk> Content-Type: text/plain; format=flowed X-Originating-IP: [2001:8b0:df5:af53:bd84:f2c9:36e0:6bde] X-ClientProxiedBy: LO4P123CA0241.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::12) To LO4P265MB3615.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:1be::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.10] (2001:8b0:df5:af53:bd84:f2c9:36e0:6bde) by LO4P123CA0241.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19 via Frontend Transport; Thu, 22 Apr 2021 09:29:58 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 74f02a48-d7d5-41b7-2def-08d9057132b0 X-MS-TrafficTypeDiagnostic: LO3P265MB1834: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ov4O1g5O/VGrSHITz3aV2RNRmPSvQVxsV/EzTD76HxIFOzrcUQY1CVHfMRZTnntOuy2rtWXnwW5wYXMV5LQ62seuMT9Q2KBrXFcRdj/Vfk1awBTALw1TsCSUOIChk9mfSHUlOkwVDkiUQYx/JguCz5lGspQ6LXXw0qXJlmsmcRWdPpqi1E0BDDY+NR4n2EYE3qAFV3/uMwtB+HHvMOVKdlKCFPXcBnqh6jKOEabTjTTqBJ+82OZS4/DFocPOVeqXXJP6oagnzqy5WrkuaJHOdJ+wrsIIsfMLrksR2/an9zmE3jD3+xOtVl15DDhAM9qoSITYdAOrmVigY4yneIktoikfjV4IqEK8bYAr0PXZAZnj7yLJvFuwyjM7CuKDI7M+CyIO1VNxNxKMhJcBVC2l+q61WkkNMM8yo42kLgEG6QPo4Iuhp9cTCqXEmleTYlGgRJA3uXZenFkSo24GAsLi3zcAOH5cbbQVeBlq/eVbqiow7+8rrP1ld8p8sBshWxHPdks80Ix9urLNOoMQDIjC5qIsDgBIUwN90YLCfl3UTrc4EJNbtgdJVlXpCBb3ujl/rlcyBA2nkLs4EmfGoNf2uXwIebrpezRZnuuqQITccHqI961ZeJBGvDg1SmbGeGKyUxO8nzgZX4dZetR36KyVAud+1gLqr0JdLzZPC1eGpAlKkRPzEH3K41QHEsbFgYGo7ayhyvGIUgdr9FOIOVxJ6Pe3PXJZvW/AuMGfGxSL8GE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LO4P265MB3615.GBRP265.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(396003)(136003)(39860400002)(66476007)(66946007)(186003)(316002)(7116003)(786003)(83380400001)(8936002)(2906002)(16526019)(3480700007)(44832011)(53546011)(66556008)(478600001)(33656002)(6916009)(36756003)(2616005)(4326008)(6486002)(86362001)(5660300002)(8676002)(19627235002)(966005)(38100700002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?EnPr6ZxSO0e5Hdflfa4mUr1Pw29v84TaIvjjzWSGQ2/qhm1reBYIp6zD2nrk?= =?us-ascii?Q?hKd+bIqXcrse2EThU/8BojRNJxUQcJX8i7+XNMpcmQGInkWgaAgq31IQ1yKC?= =?us-ascii?Q?cQVyRbsgs4yYvjH2w6/nMWBO90Dmzzvapo0P2LRayW/i/O1o7AiM7xU86K8C?= =?us-ascii?Q?6/9jpVamiRL4Ljb8ZWXvbQBei5CBSusicT5+8bfo4b8zizg4Boos2a6KV/XS?= =?us-ascii?Q?4SwiESgI/I18O0JrU3nrtciX5ul66tb5GvQ+IpZVqjI9KvnxOFfUEgiSnef6?= =?us-ascii?Q?LBtQCja4usxPG1Bta/D+3R9kJQW9qL4odTKmtLBoKPsffx5Tutx82Hkv65kd?= =?us-ascii?Q?bmufhcuipjp1cskIXfQCPeAyHzv9xTTleNJDOVGaRv6plv+cOliMDsVcHHNl?= =?us-ascii?Q?TtFEVXiW02guVCpnPhGrP9WPbM88c8BYARwVZugW9OMP9y60Fo0fSDbk2nv1?= =?us-ascii?Q?nhJlvYRx7Hwr4K9w8VIV5Yuv6ZBBCvIK9ywMsETPQQceE1XGXPQ4tIZwFjcj?= =?us-ascii?Q?YjAeXU1y5/dGyzz6pfWc3qdgVBf3FBSEPWc/GQpHFKrgj9k2O/I2Q43Yh6mk?= =?us-ascii?Q?95VAsVUK+0oUZlsLYcZS4jvkhh7Bvb8xwESL+dYtsYOIaA1fissCdJc1m15w?= =?us-ascii?Q?q9RfCef3xXvCnpQYwe2VRHmtrpSnHaNgcjPIkEfit1m3zc4ZGcwzykZCp+qs?= =?us-ascii?Q?qBaEnGgfLnm3ikkJW5kOKs0cO/c/2Q0KaI2WeO3T9/GSYLmaV6oyZo8SEXy3?= =?us-ascii?Q?jzIzMSvAu8z+u6xJFF5xYmapRrxyhXqoBKteeSFiCv+4pDfXs/bbv3QOr4kQ?= =?us-ascii?Q?GaX3QMFUJ0XFLRBNr2wczHy0s/zzVdLlOYzfjYNTe0XcIj/70br/JzpaJaom?= =?us-ascii?Q?+6PRNRxuKweDqFcYgx9NEMnTv39oDVh22x2DTQXVUsnlhwUNx2A2789oEpT9?= =?us-ascii?Q?uBMy6D+usFM8SPxGAHh2+3wyTuc18uLR4JHEyEMnKpJZqS6s12pppJfIzAG9?= =?us-ascii?Q?DngrU8bBvN6n6DrGLltkzXz54bC9X8ReRaxxKaZW19Bh/PUX9JDvy28zpVsk?= =?us-ascii?Q?vqh+gDAGQhkKlaefGiqlb8cGc3p648YkCos2DCNne8LV5IBNaoXhLmlC26Nk?= =?us-ascii?Q?kYoTmbc/PBNDvBDsAb3yCh5LznNwap1PqecdHdVw9/6A4xVQ2BSSO1MbFyYe?= =?us-ascii?Q?L2Jya9xAfFRApqJ7v6bf4hzGMmTZKUmdyG5aMXpwlaSGNO6jjqyYYc/UxGfj?= =?us-ascii?Q?ZbVtv3Jh6V4R0Voa4GusAQ6r+muBLcjAx8p3ElBLBFL3ZqYNxIDWIRpXJZx/?= =?us-ascii?Q?W+Rb28ObC4hxCChPR+pCSc39bOP4PZFC+Rt/JoMZD7RAA9rQO81fA0GwhKfn?= =?us-ascii?Q?VRXKIc20PWpLehVYaouYHBZNE89T?= X-MS-Exchange-CrossTenant-Network-Message-Id: 74f02a48-d7d5-41b7-2def-08d9057132b0 X-MS-Exchange-CrossTenant-AuthSource: LO4P265MB3615.GBRP265.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 09:29:59.0621 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6e725c29-763a-4f50-81f2-2e254f0133c8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RVNiyK4L9ZXMDBSeDjFNpPVh2/mB9gMIjQyFwE23rFzQzpxexu8aiG/OW2M7ATWpVpvF9Uu4hwS43oRQGskqnE+P1SpWu0v5BDuVH+N1P34= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO3P265MB1834 X-OriginatorOrg: glasgow.ac.uk X-Rspamd-Queue-Id: 4FQsZy5FN0z3NVf X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gla.onmicrosoft.com header.s=selector2-gla-onmicrosoft-com header.b=LVuhlF/x; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=none; spf=none (mx1.freebsd.org: domain of Norman.Gray@glasgow.ac.uk has no SPF policy when checking 130.209.16.102) smtp.mailfrom=Norman.Gray@glasgow.ac.uk X-Spamd-Result: default: False [-5.00 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gla.onmicrosoft.com:s=selector2-gla-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[130.209.16.102:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[glasgow.ac.uk]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[130.209.16.102:from]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gla.onmicrosoft.com:+]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:786, ipnet:130.209.0.0/16, country:GB]; RCVD_COUNT_SEVEN(0.00)[8]; MAILMAN_DEST(0.00)[freebsd-questions]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] 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: Thu, 22 Apr 2021 09:30:03 -0000 Antonio, hello. On 22 Apr 2021, at 0:56, Antonio Olivares wrote: > 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; I think that, in this case, you'd be better with export TEX=latex for f in fig*.mp; do mpost $f; done That is, only process the fig*.mp files, and skip the torus.mp file, which appears to be the only one which uses the m3D macros. (setting TEX is for the benefit of mpost, as it specifies the language used for the btex...etex calls within the .mp files.) If, after that, I do latex calc3book then I have to ignore the error message about the missing torus.0 (you could probably comment this call out in the sources), and I get an error about a missing \bf command I can add \let\bf\relax to the top of calc3book.tex (after the \documentclass line), and comment out the includegraphics{torus.0} from calcbook-chapter4.tex latex calc3book bibtex calc3book latex calc3book.tex makeindex -s myindex.ist -o calc3book.ind calc3book.idx makeindex calc3book.nlo -s nomencl.ist -o calc3book.nls latex calc3book.tex dvips -j0 -t letter -Pps -G0 -z calc3book.dvi -o ps2pdf14 -dALLOWPSTRANSPARENCY -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dPDFSETTINGS=/printer calc3book.ps ...then produces a PDF (which appears to be a decent-looking book, by the way). So the version problem you discovered is that the current TeXLive mpost is too new for the m3D macros, and the current version of scrbook is too new for the document (which uses obsolete \bf). I think it would be useful for you to report both problems to the book's author, as well as (apparent) success in using TeXLive 2021 to process the book. Good luck! Norman -- Norman Gray : https://nxg.me.uk SUPA School of Physics and Astronomy, University of Glasgow, UK