diff --git a/assignment_template/text.tex b/assignment_template/text.tex index 1951ed7..4db2885 100644 --- a/assignment_template/text.tex +++ b/assignment_template/text.tex @@ -1,9 +1,24 @@ +% memoir is currently incompatible with the LaTeX tagged-PDF code, so we +% load just the PDF management layer (for metadata). When memoir support +% lands upstream, swap this block for the commented-out \DocumentMetadata + +% tagpdf lines below. See https://github.com/latex3/tagging-project/issues/910 +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{lang=en-US,pdfversion=2.0} + +% \DocumentMetadata{ +% pdfversion=2.0, +% pdfstandard=ua-2, +% lang=en-US, +% } + \documentclass[12pt]{memoir} % article-1 and article-2 styles were originally based on kieran healy's % templates \usepackage{mako-mem} \chapterstyle{article-2} +% \usepackage{tagpdf} +% \tagpdfsetup{activate-all} % with article-3 \chapterstyle, change to: \pagestyle{memo} \pagestyle{mako-mem} @@ -28,7 +43,9 @@ \usepackage[breaklinks]{hyperref} \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=Blue, - urlcolor=Blue, unicode=true} + urlcolor=Blue, unicode=true, + pdflang={en-US}, + pdfdisplaydoctitle=true} % add bibliographic stuff % memoir function to take out of the space out of the whitespace lists diff --git a/paper_template/text.tex b/paper_template/text.tex index 7a330d4..c4f1d02 100644 --- a/paper_template/text.tex +++ b/paper_template/text.tex @@ -1,6 +1,21 @@ +% memoir is currently incompatible with the LaTeX tagged-PDF code, so we +% load just the PDF management layer (for metadata). When memoir support +% lands upstream, swap this block for the commented-out \DocumentMetadata + +% tagpdf lines below. See https://github.com/latex3/tagging-project/issues/910 +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{lang=en-US,pdfversion=2.0} + +% \DocumentMetadata{ +% pdfversion=2.0, +% pdfstandard=ua-2, +% lang=en-US, +% } + \documentclass[12pt]{memoir} \usepackage{cdsc-memoir} +% \usepackage{tagpdf} +% \tagpdfsetup{activate-all} % there are two chapter styles: cdsc-article and cdsc-memo % memo assumes that you remove the "\\" and the email address from the % \author field below as well as that you will comment out the @@ -28,7 +43,9 @@ \usepackage[breaklinks]{hyperref} \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=Blue, - urlcolor=Blue, unicode=true} + urlcolor=Blue, unicode=true, + pdflang={en-US}, + pdfdisplaydoctitle=true} % list of footnote symbols for \thanks{} \makeatletter