Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t387ttTb021430 for ; Wed, 8 Apr 2015 09:55:56 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx107) with ESMTPS (Nemesis) id 0MNvc7-1Yn9Mk3Oqx-007Ske for ; Wed, 08 Apr 2015 09:55:50 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t387puTB021835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Apr 2015 09:51:56 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t38400Dd011735; Wed, 8 Apr 2015 09:51:56 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12026095 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 8 Apr 2015 09:51:56 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t387pt5Y031190 for ; Wed, 8 Apr 2015 09:51:55 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal01.urz.uni-heidelberg.de [129.206.100.97]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t387ptHD021820 for ; Wed, 8 Apr 2015 09:51:55 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by ix.urz.uni-heidelberg.de (Postfix) with ESMTPS id 6ECA6224A804 for ; Wed, 8 Apr 2015 09:51:55 +0200 (CEST) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t387poxV021787 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 8 Apr 2015 09:51:53 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Yfkm5-0001jR-2U for LATEX-L@URZ.UNI-HEIDELBERG.DE; Wed, 08 Apr 2015 09:51:49 +0200 Received: from p5b390b63.dip0.t-ipconnect.de ([91.57.11.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Apr 2015 09:51:49 +0200 Received: from news3 by p5b390b63.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Apr 2015 09:51:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 65 References: <1mh1yskm8yyj2.dlg@nililand.de> <55244A88.7070501@latex-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b390b63.dip0.t-ipconnect.de User-Agent: 40tude_Dialog/2.0.15.41de X-Spam-Level: X-Spam-Flag: No X-Envelope-From: X-Spam-Status: No, hits=-3.30 required=6 tests=AWL,BAYES_00,L_P0F_UNKN,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS, URIBL_RHS_AHBL Message-ID: Date: Wed, 8 Apr 2015 09:51:18 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: Re: Corrupted NFSS table when fonts are selected in the preamble To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:XNutkiA6HY4=:eUzl+f2tgKeWNh9AiFlVCsNWfR ALy+6EUs/9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QGl0AE4V9+uKnLq3esqdYQrgjQIA jjAG61DTbMEOW2CdeJMEwNJxVFvbsXd7h+VU+h6FNYU0nnEUjvZ7mm0HhszYz23BHt/+jNkrV v2fdkx05SoKK9r7KWCvutczT8ahrNGjDKRZyu1griY6Fg1WzHx5FvmSYjY75lvwfT3aHaDoXK 2vDjRy8SDy3WqL6kB1Mm2iXuBmiEWDSISaB+B5WK34OArcjkpMWjzecqdEqv6z60v3LWDf7gg TjnawMIbrtXEFhomQqPh5jQE2phWrySg9lN58ol+qv6GPQs1QEOXQvhVc2bMqSYYkbiZR2C6j zG4iQHjWs//pfjqqoSuMcBmhySQ3TnwddhEbgUihvESAR1TcLfRwU4IubEKdVa1jZ/vLAKO06 H/9tZG5m8g47q4LeRAjZGKuo8wq4pe25g4jqbOcEqDxwmeFUy0 X-UI-Loop:V01:y1CmCzJ1r0M=:rqDEXm32FtX3albtWK8NgHnHl/o8knOLTWpinmEhfxE= X-UI-Out-Filterresults: notjunk:1; X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7698 Am Tue, 7 Apr 2015 23:22:16 +0200 schrieb Frank Mittelbach: > Am 07.04.2015 um 16:01 schrieb Ulrike Fischer: >> I run into a problem with T5-encoding and a font family which >> doesn't support this encoding. >> >> I did sent a question on tex.SX: >> >> http://tex.stackexchange.com/questions/237188/corrupted-nfss-tables > > I answered it there Yes, I saw it. Thanks. >> >> In my opinion the fd-file for the "fallback" font is loaded to late >> in \wrong@fontshape. > > > the problem is really that preamble is still setup time so "fallback > font may not be the final one etc etc Yes, I thought that this is the reasoning why \process@table is called a \begin{document}. >> I found a workaround but I'm in no way sure >> that it hasn't some unwanted side-effects. > > I don't think it would have but it is executed unnecessarily often as > attempting to load anything only makes sense if the family got changed. > Not sure if this should get changed In my opinion it should. The core ingredients are an "exotic" fontencoding (T5, LGR, ....)(e.g. through a language with such an encoding) and a font family which has no own fd-files for this encoding. Then you can be bitten quite easily with the bug as the aux-file with the \selectlanguage is read *before* \process@table (compile twice): \documentclass{article} \usepackage{newpxtext} \usepackage[vietnam]{babel} \begin{document} blub \end{document} And if one google a bit for "corrupted NFSS" one can find quite a number of questions with "cyrillic", "vietnames", "greek". > without a lot more analysis as this > code has basically stayed untouched for a really really long time but > after spending a good deal of time tonight on it I can't see anything > wrong with it -- currently running the LaTeX regression test suite > against it but I'm not sure how much of exotic NFSS cases this really tests I don't see what harm it can do to load an fd-file apart from a tiny loss of speed and memory. Probably it would be okay too to load it directly in the \DeclareFontSubstituation command in t5enc.def. -- Ulrike Fischer http://www.troubleshooting-tex.de/