From owner-freebsd-ports-bugs@freebsd.org Fri Aug 21 09:33:44 2020 Return-Path: Delivered-To: freebsd-ports-bugs@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 ADC053B8992 for ; Fri, 21 Aug 2020 09:33:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BXxCr4C9Nz4gJl for ; Fri, 21 Aug 2020 09:33:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8E5D63B7FEB; Fri, 21 Aug 2020 09:33:44 +0000 (UTC) Delivered-To: ports-bugs@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 8E2563B7FEA for ; Fri, 21 Aug 2020 09:33:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BXxCr39Bfz3RQ1 for ; Fri, 21 Aug 2020 09:33:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5017C232B9 for ; Fri, 21 Aug 2020 09:33:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 07L9XiZ8027730 for ; Fri, 21 Aug 2020 09:33:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07L9XiTp027729 for ports-bugs@FreeBSD.org; Fri, 21 Aug 2020 09:33:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 248796] www/mathjax3 new port Date: Fri, 21 Aug 2020 09:33:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marko.cupac@mimar.rs X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2020 09:33:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248796 --- Comment #2 from Marko Cupa=C4=87 --- (In reply to Li-Wen Hsu from comment #1) I'm not sure that is a good idea from user's point of view. There's quite lengthy page about upgrading v2 to v3: http://docs.mathjax.org/en/latest/upgrading/v2.html TL;DR: "MathJax v3 is a complete rewrite of MathJax from the ground up (see What=E2=80=99s New in MathJax v3.0), and so its internal structure is quite= different from that of version 2. That means MathJax v3 is not a drop-in replacement = for MathJax v2, and upgrading to version 3 takes some adjustment to your web pages." In my case, It was quite easy to create new apache vhost (mathjax3.example.= org instead of mathjax.example.org) which points to now document root (/usr/local/www/MathJax3/es5 instead of /usr/local/www/MathJax), and to poi= nt my websites to new script url (https://mathjax3.example.org/tex-mml-chtml.js instead of https://mathjax.example.org/MathJax.js?config=3DTeX-AMS-MML_CHTM= L). But some unsuspecting users will probably end up with broken mathjax on ther websites after pkg upgrade if we just give them v3 instead of v2. Perhaps we could make the switch further down the road when people get the chance to test new port and get familiar with it. --=20 You are receiving this mail because: You are the assignee for the bug.=