From 65ff43aa04cfda84d96bfa46d2badf19b80e3dc6 Mon Sep 17 00:00:00 2001 From: mbertucci47 <61854785+mbertucci47@users.noreply.github.com> Date: Tue, 6 Aug 2024 01:36:55 -0600 Subject: [PATCH] add fmtcount compat (#489) --- _data/tagging-status.yml | 7 ++-- .../testfiles/fmtcount/fmtcount-01.tex | 34 +++++++++++++++++++ 2 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 tagging-status/testfiles/fmtcount/fmtcount-01.tex diff --git a/_data/tagging-status.yml b/_data/tagging-status.yml index 5a87fcf1..e73acc93 100644 --- a/_data/tagging-status.yml +++ b/_data/tagging-status.yml @@ -3522,13 +3522,12 @@ - name: fmtcount type: package - status: unknown + status: compatible included-in: [tlc3, arxiv001] priority: 2 issues: - tests: false - tasks: needs tests - updated: 2024-07-14 + tests: true + updated: 2024-08-05 - name: fnbreak type: package diff --git a/tagging-status/testfiles/fmtcount/fmtcount-01.tex b/tagging-status/testfiles/fmtcount/fmtcount-01.tex new file mode 100644 index 00000000..3d11190f --- /dev/null +++ b/tagging-status/testfiles/fmtcount/fmtcount-01.tex @@ -0,0 +1,34 @@ +\DocumentMetadata + { + lang=en-US, + pdfversion=2.0, + pdfstandard=ua-2, + testphase={phase-III,math,title,table,firstaid}, + } +\documentclass{report} + +\usepackage[ngerman]{babel,fmtcount} + +\setcounter{chapter}{3} +\setcounter{section}{1} +\setcounter{footnote}{7} + +\newcounter{test} \setcounter{test}{29} + +\begin{document} + +\Ordinalstring{chapter}[n] Kapitel \ordinalstring{section}[m] +Abschnitt, \ordinalstring{footnote}[f] Fußnote. + +\Ordinalstring{section} section in \ordinal{chapter} +chapter has \numberstring{subsection} subsections. + \par \selectlanguage{ngerman}% +\Ordinalstring{section} Abschnitt im \ordinal{chapter}[n] +Kapitel hat \numberstring{subsection}[m] Unterabschnitte. + +\padzeroes[4] +\decimal{test} \binary{test} \octal{test} \hexadecimal{test} \par +Unpadded: \padzeroes[0] +\decimal{test} \binary{test} \octal{test} \hexadecimal{test} + +\end{document} \ No newline at end of file