-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(add_figure): accessible alternative text automatically
no longer use html method now that LaTeX allows alt text to be specified. Updates input_accessability.tex to use the latest calls to LaTeX3 for the tagging and a fix to a bug in the November version.
- Loading branch information
1 parent
ba6a480
commit 8553caa
Showing
4 changed files
with
77 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 11 additions & 9 deletions
20
inst/rmarkdown/templates/sa/skeleton/input_accessability.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
% \DeclareDocumentMetadata {lang=en-US} | ||
|
||
% xmp metadata for pdf | ||
% Originally used \usepackage[a-2a]{pdfx} | ||
% \usepackage{hyperxmp} replaced it | ||
% \RequirePackage{pdfmanagement-testphase} replaced it | ||
% \PassOptionsToPackage{enable-debug,check-declarations}{expl3} broke with version 0.9 of tagpdf | ||
% \ExplSyntaxOn no need for these 3 lines because metadata can handle it | ||
% \pdfmanagement_add:nnn{Catalog}{Lang}{(enUS)} enUS is wrong, should be en-US | ||
% \DocumentMetadata{% | ||
% uncompress, %only for debugging!! | ||
% pdfversion=2.0, | ||
% testphase={phase-II, tabular, graphic}% | ||
% % testphase={phase-II,math, tabular, graphic}% TOC Does not work | ||
% % testphase={phase-III,math}% TOC works | ||
% } | ||
% \tagpdfsetup{activate, tabsorder=structure} | ||
% Use the following to fix bug in November 2023 download of LaTeX | ||
% \ExplSyntaxOn | ||
% \cs_generate_variant:Nn\__tag_prop_gput:Nnn{cnx} | ||
% \ExplSyntaxOff |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.