texlive[75002] Master/texmf-dist: asmeconf (22apr25)

commits+karl at tug.org commits+karl at tug.org
Tue Apr 22 22:31:47 CEST 2025


Revision: 75002
          https://tug.org/svn/texlive?view=revision&revision=75002
Author:   karl
Date:     2025-04-22 22:31:47 +0200 (Tue, 22 Apr 2025)
Log Message:
-----------
asmeconf (22apr25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/asmeconf/README.md
    trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
    trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
    trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmeconf/README.md	2025-04-22 20:31:37 UTC (rev 75001)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/README.md	2025-04-22 20:31:47 UTC (rev 75002)
@@ -1,7 +1,7 @@
  
   #asmeconf: A latex template for ASME conference papers#
  
-  Version 1.42 dated 2025/04/17.
+  Version 1.43 dated 2025/04/21.
 
   ####Overview####
   This class provides a LaTeX template for ASME Conference papers formatted according to
@@ -80,6 +80,10 @@
  
  ####Change log####
 
+ v1.43 (2025/04/21)
+ - Change loading order for sf greek glyphs
+ - Other minor changes
+
  v1.42 (2025/04/17)
  - Rework the \[nofontspec\] class option, including font scaling and internal switches
  - Add \[loadscripts\] option for non-Latin scripts under \LuaLaTeX, to speed compilation. Simplify other font loading and add user-level \\if switches

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex	2025-04-22 20:31:37 UTC (rev 75001)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex	2025-04-22 20:31:47 UTC (rev 75002)
@@ -4,7 +4,7 @@
 %%  This file is asmeconf-template.tex, a LaTeX template to format ASME Conference papers according to
 %%  the requirements on ASME's conference web pages, and including hypertext support for the pdf.
 %%
-%%  This file is version 1.42 dated 2025/04/17
+%%  This file is version 1.43 dated 2025/04/21
 %%  
 %%  As of version 1.11, this template defaults to ASME's newer conference guidelines first posted July 2019.
 %% 			Those guidelines changed the author block formatting to be inline. 
@@ -628,7 +628,7 @@
 
 Fonts similar to Times/Helvetica are used when Greek, Vietnamese, or selected cyrillic-alphabet languages are called as options under {\upshape\hologo{pdfLaTeX}}. Using {\upshape\hologo{LuaLaTeX}}, which loads the fontspec package, many additional scripts are available; see the supplemental notes for such usage~\cite{lienhard2021}. Possibilities include Arabic, Bengali, Chinese, Devanagari (e.g., for Hindi), Hangul (for Korean), Kana (for Japanese), and Tamil. \textit{These options require an up-to-date \LaTeX\ installation.}
 
-The \texttt{asmeconf} class defines several switches that can be used to call languages only when certain class options have been called, as \verb|\if...\fi|: \verb|\ifScriptsLoaded|, \verb|\ifFontspecLoaded|, \verb|\ifPDFtex|, and \verb|\ifJapaneseLoaded|.
+The \texttt{asmeconf} class defines several switches that can be used to call languages only when certain class options have been called, as \verb|\if...\fi|: \verb|\ifScriptsLoaded|, \verb|\ifFontspecLoaded|, \verb|\ifpdftex|, and \verb|\ifJapaneseLoaded|.
 
 The bibliography style, \texttt{asmeconf.bst}, is designed in English and aimed at \hologo{BibTeX}.  
 
@@ -664,7 +664,7 @@
 \typeout{If you have trouble with the language passages in non-Latin scripts, your file may not be saved in utf-8 format, or your LaTeX format may be old, or you may not have the assumed font installed. You can delete those lines to resolve the issue.}
 
 %% Examples of abstracts in other languages. The first three are intended for pdflatex, not lualatex.
-\ifPDFtex
+\ifpdftex
     \begin{selectlanguage}{greek}%
         \begin{abstract*}
         Αυτή είναι η περίληψη του άρθρου. Χρησιμοποιούμε την ελληνική γλώσσα. Περιγράφεται το πρόβλημα, οι μέθοδοι και τα αποτελέσματα. Περιλαμβάνονται επίσης αναφορές.

Modified: trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls	2025-04-22 20:31:37 UTC (rev 75001)
+++ trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls	2025-04-22 20:31:47 UTC (rev 75002)
@@ -5,8 +5,8 @@
 %%  ASME conference requirements as represented on ASME's conference web pages in 2025.
 %%
 %%  This file's version and date:
-	\def\versionno{1.42}
-	\def\versiondate{2025/04/17\space}
+	\def\versionno{1.43}
+	\def\versiondate{2025/04/21\space}
 %%
 %%  Author: John H. Lienhard, V
 %%          Department of Mechanical Engineering
@@ -71,11 +71,11 @@
 
 \RequirePackage{etoolbox}% using \patchcmd in section, nocasechange, & lineno code and \pretocmd in appendix code
 
-\newif\ifac at pdftex
-\newif\ifPDFtex % user macro
+\newif\ifpdftex % redeclaration by other packages will be ignored
+\newif\ifPDFtex % deprecated user macro
 \ExplSyntaxOn
 	\str_const:Nn \ClassName {asmeconf}
-	\sys_if_engine_pdftex:T { \ac at pdftextrue \PDFtextrue }
+	\sys_if_engine_pdftex:T { \pdftextrue \PDFtextrue }
 	\prop_put:Nnn \g_msg_module_type_prop { \ClassName } { Class }
 \ExplSyntaxOff
 
@@ -169,7 +169,7 @@
 			\gdef\ac at Tfive{T5}
 		}{
     		\str_if_eq:nnTF {greek} {#1} {
-    			\ifac at pdftex
+    			\ifpdftex
     				\msg_error:nn { \ClassName } { nogreekmain }
     			\else
     				\ac at greektrue
@@ -316,7 +316,7 @@
 \newif\ifFontspecLoaded % so user can test in .tex file; CamelCased 2025/04/12
 \newif\ifScriptsLoaded  % so user can test in .tex file
 
-\ifac at pdftex
+\ifpdftex
 	\ifasmeconf at nofontspec
 		\ClassWarningNoLine{\ClassName}{The [nofontspec] option requires LuaLaTeX. It will be ignored under pdfLaTeX}%
 	\fi
@@ -346,7 +346,7 @@
 
 
 %% dropped class option [largesc] and made it the default (pdftex only). 2025/03/16
-\ifac at pdftex
+\ifpdftex
 	\PassOptionsToPackage{largesc=true}{newtxtext}% largesc is a boolean key in newtxtext
 \fi
 
@@ -543,7 +543,7 @@
 
 \RequirePackage{mathtools}% loads and extends amsmath
 
-\ifac at pdftex
+\ifpdftex
 	% must load before babel
 	\RequirePackage[\ac at TtwoA, \ac at Tfive,\ac at LGR,T1]{fontenc}
 	% T2A - Cyrillic (w/o babel warning); LGR - Greek; T5 - Vietnamese; put T1 last 2022/03/10
@@ -551,7 +551,7 @@
 
 \RequirePackage[]{babel} 
 
-\ifac at pdftex
+\ifpdftex
     \RequirePackage[helvratio=.91]{newtxtext}% rescaled 22/03/10
     \RequirePackage[varqu,varl,scale=1.03]{inconsolata}% sans typewriter font % rescaled to 1.05 22/03/10; rescaled to 1.03 2025/03/09
     \RequirePackage[]{newtxmath}
@@ -640,6 +640,10 @@
         	Scale=MatchUppercase,
 			version=sans,
 		]
+		\DeclareSymbolFont{lsmgreek}{TU}{lsm}{m}{n}
+        \SetSymbolFont{lsmgreek}{normal}{TU}{lsm}{m}{n}
+        \SetSymbolFont{lsmgreek}{bold}{TU}{lsm}{b}{n}
+%
         \setmathfont{STIXTwoMath-Regular}[% In TeX Live. Substitution for bigger integrals (similar to newtxmath)
 	       	Extension = .otf,
             Scale=MatchUppercase,
@@ -676,7 +680,11 @@
         	Scale=MatchUppercase,
 			version=sans,
 			FakeBold=4,
-		]     
+		] 
+		\DeclareSymbolFont{fsmgreek}{TU}{fsm}{m}{n}
+        \SetSymbolFont{fsmgreek}{normal}{TU}{fsm}{m}{n}
+        \SetSymbolFont{fsmgreek}{bold}{TU}{fsm}{b}{n}
+%    
         \setmathfont{STIXTwoMath-Regular}[% In TeX Live. Subst. bigger integrals (similar to newtxmath) + cal,scr,frak
 	       	Extension = .otf,
             Scale=MatchUppercase,
@@ -1127,9 +1135,7 @@
     \DeclareMathVersion{sansbold}
     \SetSymbolFont{letters}{sansbold}{OML}{ntxsfmi}{b}{it}
     \SetSymbolFont{lettersA}{sansbold}{U}{ntxsfmia}{b}{it}
-    \IfFormatAtLeastTF{2016/01/05}{%
-    	\SetSymbolFont{symbols}{sansbold}{LMS}{ntxsy}{b}{n}
-    	}{\relax}
+    \SetSymbolFont{symbols}{sansbold}{LMS}{ntxsy}{b}{n}
     \SetSymbolFont{largesymbols}{sansbold}{LMX}{ntxexx}{b}{n}%  added 25 Jan 2021
     \SetSymbolFont{largesymbolsTXA}{sansbold}{U}{ntxexa}{b}{n}% added 25 Jan 2021
     \SetSymbolFont{operators}{sansbold}{OT1}{\sfdefault}{\bfdefault}{n}% fixed encoding 2025/04/07
@@ -1139,9 +1145,7 @@
     \DeclareMathVersion{sans}
     \SetSymbolFont{letters}{sans}{OML}{ntxsfmi}{m}{it}
     \SetSymbolFont{lettersA}{sans}{U}{ntxsfmia}{m}{it}
-    \IfFormatAtLeastTF{2016/01/05}{%
-    	\SetSymbolFont{symbols}{sans}{LMS}{ntxsy}{m}{n}
-    	}{\relax}
+    \SetSymbolFont{symbols}{sans}{LMS}{ntxsy}{m}{n}
     \SetSymbolFont{largesymbols}{sans}{LMX}{ntxexx}{m}{n}
     \SetSymbolFont{largesymbolsTXA}{sans}{U}{ntxexa}{m}{n}
     \SetSymbolFont{operators}{sans}{OT1}{\sfdefault}{\rmdefault}{n}% fixed encoding 2025/04/07
@@ -1302,7 +1306,7 @@
 
 %%%%%%%%%%  Hyperref  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\ifac at pdftex
+\ifpdftex
     %%% to assist with unicode glyph mapping, following M. Sharpe's recommendation in the newtx documentation. 
     %%% as of 2025/04/17, both are still necessary for \DocumentMetadata{pdfstandard=A-3u}.
     \InputIfFileExists{glyphtounicode-cmr.tex}{}{} 	%% additional mappings
@@ -2016,14 +2020,8 @@
 \ifac at fontspec
     \IfFontExistsTF{LeteSansMath-Bold}
     {
-        \DeclareSymbolFont{lsmgreek}{TU}{lsm}{m}{n}
-        \SetSymbolFont{lsmgreek}{normal}{TU}{lsm}{m}{n}
-        \SetSymbolFont{lsmgreek}{bold}{TU}{lsm}{b}{n}
         \def\ac at sansgreek{\symlsmgreek}
     }{
-        \DeclareSymbolFont{fsmgreek}{TU}{fsm}{m}{n}
-        \SetSymbolFont{fsmgreek}{normal}{TU}{fsm}{m}{n}
-        \SetSymbolFont{fsmgreek}{bold}{TU}{fsm}{b}{n}
         \def\ac at sansgreek{\symfsmgreek}
     }
     % uppercase greek
@@ -2158,8 +2156,8 @@
     \DeclareSymbolFont{lettersAB}{U}{ntxsfmia}{m}{it}
     \SetSymbolFont{lettersAB}{normal}{U}{ntxsfmia}{m}{it}
     \SetSymbolFont{lettersAB}{bold}{U}{ntxsfmia}{b}{it}
+    \SetSymbolFont{lettersAB}{sans}{U}{ntxsfmia}{b}{it}% added 2025/04/18
     \SetSymbolFont{lettersAB}{sansbold}{U}{ntxsfmia}{b}{it}% added 2021/01/25, to get this bold in captions, etc.
-    \DeclareFontSubstitution{U}{ntxsfmia}{m}{it}
     
     \DeclareMathSymbol{\sfGamma}{\mathalpha}{lettersAB}{0}% adjust to avoid overwriting newtxmath commands, 2021/01/25
     \DeclareMathSymbol{\sfDelta}{\mathalpha}{lettersAB}{1}
@@ -2241,7 +2239,7 @@
 
 %%%%%%%%%%%%%%%%%%  Times-like fonts for specific languages  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\ifac at pdftex
+\ifpdftex
 		% Under lualatex, babel has problems with the following approach, which assumes that fontspec has not been loaded.
         % Recommend not to choose the [nofontspec] option.
         % These font options (vietnamese, greek, cyrillic) require LaTeX distributions 2020/02/02 or later.



More information about the tex-live-commits mailing list.