summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-12 21:15:22 +0000
committerKarl Berry <karl@freefriends.org>2020-08-12 21:15:22 +0000
commit6c48c0eddda66705bab3f457ae5edd01ffdeed76 (patch)
treefb55f23d6e903c291c949c5dfac2abd24fc8225c
parentdb812f29f1f876fdf7ff53066e8b8504ca6afbaf (diff)
asmeconf (12aug20)
git-svn-id: svn://tug.org/texlive/trunk@56096 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst2
-rw-r--r--Master/texmf-dist/doc/latex/asmeconf/README.md8
-rw-r--r--Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdfbin425075 -> 537343 bytes
-rw-r--r--Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex42
-rw-r--r--Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdfbin0 -> 246240 bytes
-rw-r--r--Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls76
6 files changed, 99 insertions, 29 deletions
diff --git a/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst b/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
index 1388b084f8b..2882591d68f 100644
--- a/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
+++ b/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
@@ -1362,7 +1362,7 @@ FUNCTION {inbook}
new.block
crossref missing$
{
- format.bvolume output
+ format.number.series output
format.number.series output
new.block
new.sentence
diff --git a/Master/texmf-dist/doc/latex/asmeconf/README.md b/Master/texmf-dist/doc/latex/asmeconf/README.md
index e611fea975a..b6155a016fe 100644
--- a/Master/texmf-dist/doc/latex/asmeconf/README.md
+++ b/Master/texmf-dist/doc/latex/asmeconf/README.md
@@ -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,6 +53,8 @@
- support balancing of columns on last page
+- support PDF/A (archival) standards if desired
+
####Author####
@@ -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.
diff --git a/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf b/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
index 840922971e9..7a53a2857c1 100644
--- a/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
+++ b/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex b/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
index af6ca238473..f9804e00dae 100644
--- a/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
+++ b/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
@@ -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@mit.edu}}
@@ -463,6 +466,12 @@ Hyphenation is normally suppressed for typewriter mode because this font is ofte
\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 @@ La chale ur pénètre, comme la gravité, toutes les substances de l'univers, se
% 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 @@ La chale ur pénètre, comme la gravité, toutes les substances de l'univers, se
\SetAuthorBlock{\CorrespondingAuthor{John H.\ Lienhard V}{lienhard@mit.edu}}{%
Massachusetts Institute of Technology \\ Cambridge, MA}
-
diff --git a/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf b/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf
new file mode 100644
index 00000000000..a6f3ca6d12a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/asmeconf/author-grid-style.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls b/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
index be225271d9c..b1f0ec6b349 100644
--- a/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
+++ b/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
@@ -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,7 +144,31 @@
\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@key{pdfaopt}{pdf-a}[true]{%
+ \setboolean{setpdfa}{#1}%
+ \PassOptionsToPackage{pdfa,pdfapart=3,pdfaconformance=u}{hyperref}%
+}
+%%% to select part 1, 2 or 3
+ \define@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@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}{%
@@ -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,7 +376,30 @@
\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
@@ -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}