texlive[56096] Master/texmf-dist: asmeconf (12aug20)

commits+karl at tug.org commits+karl at tug.org
Wed Aug 12 23:15:23 CEST 2020


Revision: 56096
          http://tug.org/svn/texlive?view=revision&revision=56096
Author:   karl
Date:     2020-08-12 23:15:22 +0200 (Wed, 12 Aug 2020)
Log Message:
-----------
asmeconf (12aug20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
    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

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf

Modified: trunk/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst	2020-08-12 21:15:07 UTC (rev 56095)
+++ trunk/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst	2020-08-12 21:15:22 UTC (rev 56096)
@@ -1362,8 +1362,8 @@
   new.block
   crossref missing$
     {
-      format.bvolume output
       format.number.series output
+      format.number.series output
       new.block
       new.sentence
       format.publisher.address output

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmeconf/README.md	2020-08-12 21:15:07 UTC (rev 56095)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/README.md	2020-08-12 21:15:22 UTC (rev 56096)
@@ -1,7 +1,7 @@
  
   #asmeconf: A template for ASME conference papers#
  
-  Version 1.18 dated 2020/04/14.
+  Version 1.19 dated 2020/08/12.
 
   ####Overview####
   This class provides a template to format ASME Conference papers according to
@@ -23,6 +23,8 @@
           sample-figure-1.pdf, 
           sample-figure-2a.pdf, 
           sample-figure-2b.pdf   -- figures for the example
+          *
+          author-grid-style.pdf  -- example of title page with "oldauthors" option
 
   The .tex and .cls files are commented and should be self-explanatory.
 
@@ -51,7 +53,9 @@
 
 - support balancing of columns on last page
 
+- support PDF/A (archival) standards if desired
 
+
   ####Author####
   
   John H. Lienhard V
@@ -66,6 +70,8 @@
  ---
  
  ####Change log####
+
+ v1.19 (2020/08/12): Add support for PDF/A archival standards (1b, 2b, 2u, 3b, 3u), as the newtx fonts have recently gained complete unicode maps; set pdf to load with single-page display rather than 2-page spread; add example of grid-style author block.
  
  v1.18 (2020/04/14): edit and expand documentation; revise sample .bib file; extensive edits to asmeconf.bst, to better support hyperlinks, to correct eid error, and for better conformance to ASME style (details listed in .bst file); add foreign language example.
  

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	2020-08-12 21:15:07 UTC (rev 56095)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex	2020-08-12 21:15:22 UTC (rev 56096)
@@ -3,11 +3,11 @@
 %%  This file is asmeconf-template.tex, a template to format ASME Conference papers according to
 %%  the requirements on ASME's conference web pages. 
 %%
-%%  This file is version 1.18 dated 2020/04/14
+%%  This file is version 1.19 dated 2020/08/12
 %%  
 %%  As of version 1.11, this template follows ASME's newer conference guidelines first posted July 2019.
 %% 			The new guidelines have changed the requested author block formatting to be inline. 
-%%			(This template supports the old grid format as a package option.)
+%%			(This template continues to support the old grid format as a package option.)
 %%			Nomenclature now follows the abstract.  Abstract is in italics.
 %%
 %%  Author: John H. Lienhard V
@@ -44,7 +44,7 @@
 %%          *    blank line and [lineno] option when you move to your final version.
 %%
 %%          * An option to use the old grid arrangement of author names [oldauthors]. See Appendix B for usage,
-%%          *    because the authors and affiliations must be entered different in this case.
+%%          *    because the authors and affiliations must be entered differently in this case.
 %%
 %%          * An option to allow hyphenation of the typewriter font [hyphenate]
 %%          *    Hyphenation is normally suppressed for typewriter mode because it is often used for code.
@@ -54,6 +54,9 @@
 %%			*	 If a secondary or tertiary language is set, the main language must also be set. 
 %%			*	 The spanish module makes "." active, clashing with some code; \spanishdeactivate{.} stops this.
 %%
+%%			* Options for PDF/A compliance. [pdf-a] will produce PDF/A-3u compliance with sRGB OutputIntent.
+%%			*	 [pdfapart= 1 or 2 or 3] and [pdfaconformance= b or u] allow other levels: 1b, 2b, 2u, and 3b.
+%%
 %%  For details of newtxmath and mathalfa, refer to their documentation (available on CTAN: http://ctan.org).
 %%
 %%  The use of commands defined or modified by the asmeconf class is illustrated below. In particular, 
@@ -86,7 +89,7 @@
 
 %% Class options are described above.
 
-\documentclass[varvw,largesc,upint,mathalfa=cal=euler,hyphenate,balance,lang-second=french,lang=english,colorlinks]{asmeconf} % <=== remove colorlinks before submission to ASME!
+\documentclass[varvw,largesc,upint,mathalfa=cal=euler,hyphenate,balance,lang-second=french,lang=english,colorlinks,pdf-a]{asmeconf} % <=== remove colorlinks before submission to ASME!
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%   Fields to be completed   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -122,14 +125,14 @@
 \title{Place Title Here: Place Subtitle After Colon} % <=== change to YOUR title
  
 
-%%   Put author names into the order you want. Use the same order for affiliations.
-%%   \affil{#} tags the author's affiliation to the address in \SetAffiliation{#}.
-%%   No space between last name and \affil{#}, separate names with commas.
-%%
-%%   \CorrespondingAuthor{email} follows that author's affiliation, no spaces.  
-%%   If multiple corresponding authors, put both email addresses in the same command and place after both authors.
-%%
-%%   \JointFirstAuthor, if applicable, follows the affiliation of the relevant authors, no spaces.
+%   Put author names into the order you want. Use the same order for affiliations.
+%   \affil{#} tags the author's affiliation to the address in \SetAffiliation{#}.
+%   No space between last name and \affil{#}, separate names with commas.
+%
+%   \CorrespondingAuthor{email} follows that author's affiliation, no spaces.  
+%   If multiple corresponding authors, put both email addresses in the same command and place after both authors.
+%
+%   \JointFirstAuthor, if applicable, follows the affiliation of the relevant authors, no spaces.
 
 \SetAuthors{Luis Hern\'andez\affil{1}\JointFirstAuthor , Maria Silva\affil{2}\JointFirstAuthor, Henry Tudor\affil{3},  Catherine~Parr\affil{3}, John H.\ Lienhard V\affil{4}\CorrespondingAuthor{lienhard at mit.edu}}
 
@@ -463,6 +466,12 @@
 
 \subsection{Support for Other Languages}  The package can be adapted to incorporate (or entirely use) languages other than English. See Appendix \ref{appendix:c} for details.
 
+\subsection{Archivability:~PDF/A} Compliance with PDF/A standards can be enabled using the option \texttt{[pdf-a]} 
+when running with \hologo{pdfLaTeX}. The default setting is for PDF/A-3u with sRGB OutputIntent (\texttt{sRGB.icc}). 
+If levels 1b, 2b, 2u, or 3b are preferred, use the options \texttt{[pdfapart=1 or 2 or 3]} and 
+\texttt{[pdfaconformance=b or u]}. Note that accessible conformance~(\texttt{a}) is not currently possible with \LaTeX.
+
+
 %%%%% Conclusions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \section{Conclusion}
@@ -570,12 +579,12 @@
 % Use title case (upper and lower case letters)
 %    (Most of the example names below are not real people, just very common names.)
 
-\SetAuthorBlock{Luis Hern\'{a}ndez\JointFirstAuthor}{Institution or Company Name, City, State} 
-\SetAuthorBlock{Maria Silva\JointFirstAuthor}{Institution or Company Name, City, Province, Canada}
+\SetAuthorBlock{Luis Hern\'{a}ndez\JointFirstAuthor}{Institution or Company Name \\ City, State} 
+\SetAuthorBlock{Maria Silva\JointFirstAuthor}{Institution or Company Name \\ City, Province, Canada}
 
 \SetAuthorBlock{Henry Tudor,  Catherine Parr}{Hampton Court Palace \\ Richmond, England}
-\SetAuthorBlock{Jinsoo Kim}{Institution or Company Name, City, Country}
-\SetAuthorBlock{Yusuf Yilmaz}{Institution or Company Name, City, Country}
+\SetAuthorBlock{Jinsoo Kim}{Institution or Company Name \\ City, Country}
+\SetAuthorBlock{Yusuf Yilmaz}{Institution or Company Name \\ City, Country}
 
 % Can omit second argument of \CorrespondingAuthor if putting email into address
 %   i.e., can just use \CorrespondingAuthor{name}. 
@@ -584,4 +593,3 @@
 \SetAuthorBlock{\CorrespondingAuthor{John H.\ Lienhard V}{lienhard at mit.edu}}{%
 Massachusetts Institute of Technology \\  Cambridge, MA}
 
-

Added: trunk/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf	2020-08-12 21:15:07 UTC (rev 56095)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf	2020-08-12 21:15:22 UTC (rev 56096)

Property changes on: trunk/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls	2020-08-12 21:15:07 UTC (rev 56095)
+++ trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls	2020-08-12 21:15:22 UTC (rev 56096)
@@ -5,9 +5,9 @@
 %%
 %%  Please note that ASME's journals follow specifications different from ASME conference papers.
 %%
-%%  This file is version 1.18 dated 2020/04/14.
-	\def\versionno{1.18}
-	\def\versiondate{2020/04/14\space}
+%%  This file is version 1.19 dated 2020/08/12.
+	\def\versionno{1.19}
+	\def\versiondate{2020/08/12\space}
 %%
 %%  Author: John H. Lienhard V
 %%          Department of Mechanical Engineering
@@ -22,6 +22,7 @@
 %%          4. Use the newtxtext and newtxmath font packages, including relevant features
 %%          5. Provide automatic layout of author names and addresses
 %%          6. Support bold face, sans serif math in headings
+%%			7. Support the archival PDF/A standards 1b, 2b, 2u, 3b, and 3u
 %%
 %%  This class is compatible with either pdfLaTeX or LuaLaTeX. The class uses a number of packages,
 %%  many of which are part of the standard LaTeX distribution, and all of which are in TeXLive and
@@ -33,7 +34,7 @@
 %%  This class is not designed for unicode-math or fontspec, given that the ASME conference style is
 %%  specific with respect to the font selections.
 %%
-%%  Options for the class are configured on lines 79-169. 
+%%  Options for the class are configured on lines 79-210. 
 %%
 %%  The class defines two environments: abstract and nomenclature. The latter has an optional argument to 
 %%  control the space between the entries and the definitions.
@@ -78,6 +79,7 @@
 %%%%%%%%%%%%%% Options for the class %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \RequirePackage{ifthen}
+\RequirePackage{iftex} % check whether pdftex or another engine is used
 \newboolean{DefaultSups}
 \setboolean{DefaultSups}{true}
 \newboolean{Oldauthors}
@@ -86,13 +88,18 @@
 \setboolean{Balance}{false}
 \newboolean{lineno}
 \setboolean{lineno}{false}
+\newboolean{setpdfa}
+\setboolean{setpdfa}{false}
+\newboolean{pdfaone}
+\setboolean{pdfaone}{false}
 
-
 \RequirePackage{kvoptions}
 %\RequirePackage{kvsetkeys} % already loaded by kvoptions
 \SetupKeyvalOptions{
   family=asmeconf,
   prefix=asmeconf@,
+  family=pdfaopt,
+  prefix=pdafopt@,
   setkeys=\kvsetkeys,
 }
 
@@ -137,8 +144,32 @@
       \PassOptionsToPackage{#1}{babel}%
 }
 
-\ProcessKeyvalOptions*
+\ProcessKeyvalOptions{asmeconf}
 
+
+\ifpdftex %% PDF/A compliance has only been configured for pdflatex
+%
+%%% set key [pdfa] to activate pdf/a compliance (default is pdf/A-3u)
+	\define at key{pdfaopt}{pdf-a}[true]{%
+      \setboolean{setpdfa}{#1}%
+      \PassOptionsToPackage{pdfa,pdfapart=3,pdfaconformance=u}{hyperref}%
+}
+%%% to select part 1, 2 or 3 
+	\define at key{pdfaopt}{pdfapart}[3]{%
+      \PassOptionsToPackage{pdfapart=#1}{hyperref}%
+	  \ifthenelse{\equal{#1}{1}}{\setboolean{pdfaone}{true}}{\relax}%
+}
+%% to select conformance b or u.  NB: a is not possible with pdfLaTeX, and u is not possible with 1.
+	\define at key{pdfaopt}{pdfaconformance}[u]{%
+      \PassOptionsToPackage{pdfaconformance=#1}{hyperref}%
+}
+	\ProcessKeyvalOptions{pdfaopt}
+\else
+	\ClassWarningNoLine{asmejour}{PDF/A compliance option requires pdfLaTeX engine}%
+\fi
+
+%%%%%%%%%%%%%%%%%%%
+
 %% option to have colored hyperlinks
 \DeclareOption{colorlinks}{%
 	\PassOptionsToPackage{colorlinks=true}{hyperref}%
@@ -204,9 +235,11 @@
 
 \RequirePackage[T1]{fontenc}
 
-\RequirePackage{iftex} % check whether pdfTeX or a different engine is used
 \ifpdftex
-  \pdfminorversion=7 % This selection is not required.
+	\ifthenelse{\boolean{pdfaone}}{
+		\pdfminorversion=4}{% for pdf/a-1 need version 4, not 7
+  		\pdfminorversion=7  % this selection is not really required.
+	}
   \RequirePackage[utf8]{inputenc} % for backward compatibility with pre-2018 distributions
 \else
   \relax
@@ -343,8 +376,31 @@
     \titleformat{\section}{\mathversion{sansbold}\bfseries\sffamily\raggedright}{\MakeTextUppercase{\appendixname}\ \thesection.}{0.5em}{\MakeTextUppercase}
 }
 
-%%%%%%%%%%%%%  hyperref  %%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%  Hyperref  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+\ifthenelse{\boolean{setpdfa}}{%
+%
+	%%% to assist with unicode glyph mapping, following M. Sharpe's recommendation in newtx documentation.
+	\pdfgentounicode=1  							%% enable CMaps
+	\input glyphtounicode.tex 						%% lists of mappings
+	\InputIfFileExists{glyphtounicode-cmr.tex}{}{} 	%% additional mappings
+	\InputIfFileExists{glyphtounicode-ntx.tex}{}{} 	%% additional mappings
+%
+%%% a fairly generic RGB color profile, aimed at on-screen rendering (not print production)
+\immediate\pdfobj stream attr{/N 3} file{sRGB.icc}
+\pdfcatalog{%
+  /OutputIntents [
+    <<
+      /Type /OutputIntent
+      /S /GTS_PDFA1
+      /DestOutputProfile \the\pdflastobj\space 0 R
+      /OutputConditionIdentifier (sRGB)
+      /Info (sRGB)
+    >>
+  ]
+}%
+}{\relax}
+
 \RequirePackage{hyperxmp} %% to fix transfer of metadata to Acrobat pdf 
 
 \RequirePackage[%
@@ -363,7 +419,7 @@
 	pdftitle={},    % <=== add in .tex file
 	pdfkeywords={}, % <=== add in .tex file
 	pdfnewwindow=true,%
-	pdfpagelayout=TwoPageRight,%
+	pdfpagelayout=SinglePage, %TwoPageRight,% changed this 12/08/2020
 	pdfauthor={},   % <=== add in .tex file
 	pdfdisplaydoctitle=true%
 	]{hyperref}



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