From 0b45bc818be30312c4210e8a6597e373f0eb873a Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Thu, 9 Oct 2025 18:31:30 -0400 Subject: [PATCH] More spell-checking. --- rem2pdf/bin/rem2pdf.in | 22 +++++++++++----------- tests/manpage-personal-dict | 37 +++++++++++++++++++++++++++++++++++++ tests/test-rem | 6 ++++++ 3 files changed, 54 insertions(+), 11 deletions(-) diff --git a/rem2pdf/bin/rem2pdf.in b/rem2pdf/bin/rem2pdf.in index d8b6ffe5..64bdf9c2 100644 --- a/rem2pdf/bin/rem2pdf.in +++ b/rem2pdf/bin/rem2pdf.in @@ -441,7 +441,7 @@ The default media size will be marked with an asterisk. =item --width=I, -wI, --height=I, -hI Rather than specifying a named media size, directly specify the width -and height of the output in 1/72ths of an inch. You must specify both +and height of the output in 1/72ndths of an inch. You must specify both width and height for the options to be respected. =item --title-font=I @@ -471,28 +471,28 @@ calendars. The default is Sans. =item --title-size=I -Specify the size of the title font in 1/72ths of an inch. The default +Specify the size of the title font in 1/72ndths of an inch. The default is 14. This size, and indeed all following sizes, may be specified as floating-point numbers. =item --header-size=I -Specify the size of the header font in 1/72ths of an inch. The default is 14. +Specify the size of the header font in 1/72ndths of an inch. The default is 14. =item --daynum-size=I -Specify the size of the day number font in 1/72ths of an inch. The +Specify the size of the day number font in 1/72ndths of an inch. The default is 14. =item --entry-size=I -Specify the size of the calendar entry font in 1/72ths of an inch. +Specify the size of the calendar entry font in 1/72ndths of an inch. The default is 8. =item --border-size=I Specify the size of the blank border between the contents of a calendar -box and the centre of the lines surrounding it, in 1/72ths of an inch. +box and the centre of the lines surrounding it, in 1/72ndths of an inch. The default is 4. =item --line-thickness=I @@ -501,22 +501,22 @@ Specify the thickness of the lines drawn on the calendar. The default is 1. =item --margin-top=I -The size of the margin at the top of the page in 1/72ths of an inch. +The size of the margin at the top of the page in 1/72ndths of an inch. The default is 36. =item --margin-bottom=I -The size of the margin at the bottom of the page in 1/72ths of an inch. +The size of the margin at the bottom of the page in 1/72ndths of an inch. The default is 36. =item --margin-left=I -The size of the margin at the left of the page in 1/72ths of an inch. +The size of the margin at the left of the page in 1/72ndths of an inch. The default is 36. =item --margin-right=I -The size of the margin at the right of the page in 1/72ths of an inch. +The size of the margin at the right of the page in 1/72ndths of an inch. The default is 36. =item --wrap, -y @@ -541,7 +541,7 @@ is rendered. =head1 USAGE -To use B, pipe the output of B with one of the +To use B, pipe the output of B with one of the B<-p>, B<-pp> or B<-ppp> options into B. The PDF output will be sent to standard output. So for example, to print a 12-month calendar for the year 2030, use: diff --git a/tests/manpage-personal-dict b/tests/manpage-personal-dict index e1cdfe90..b5083425 100644 --- a/tests/manpage-personal-dict +++ b/tests/manpage-personal-dict @@ -28,6 +28,8 @@ 591test 59pm 5EDT +5v +72ndths A3 A4 A5 @@ -38,6 +40,7 @@ Aimale Alberani AmigaDOS ApR +Aq Args B'Av B4 @@ -62,9 +65,12 @@ C99 CDE's CFLAGS CHARDEV +CIx +CIy CLOEXEC COLOUR CONTEXTs +CPAN CPP's CalMode CalType @@ -151,6 +157,7 @@ Gurman HANKERSON HEBCAL HH +HTMLCLASS Ha'atzmaut HaShoah Hankerson @@ -182,6 +189,7 @@ InBoxHeight InfDelta IntMax IntMin +Ip JAHRZEITS JSON JSONMode @@ -439,6 +447,7 @@ ansi ansicolor ansitext ap +aq aq1993 arg arg1 @@ -455,11 +464,13 @@ b1 backend backends backslashed +backurl barbarbafoo baseyr behaviour bg c12 +c3 cairo calprefix calsuffix @@ -467,6 +478,7 @@ caltype catcherr ccl centimetres +centre cgi charset chinese @@ -476,12 +488,14 @@ cm2trem cmd cmd1 cmd2 +cn codepoint config const cppcheck cron csh +css da date1 date2 @@ -525,6 +539,7 @@ encodings endian endif envvar +eps estart eval evaltrig @@ -546,12 +561,14 @@ filedir fileinfo findfont finnish +firstquarter firstwkday fixups flagsoff flagson fname fontsize +forwurl fri fset ftshe @@ -574,6 +591,7 @@ hebdate hebday hebmon hebyear +hm hostname html htmlescape @@ -590,6 +608,7 @@ ifdef ifelse ifoo iif +imgbase initgroups inotify inotifywait @@ -615,6 +634,7 @@ kcommand keym kwartier kxmessage +lastquarter latin1 leapyear leapyears @@ -649,6 +669,7 @@ messageBox metacharacters minsfromutc mktime +mmedia mojibake monday mondayfirst @@ -682,12 +703,14 @@ mylang myprolog myreminders myscript +nF nHello nbar nd ndawn ndusk newdate +newmoon nextmonthname nextmonthyear nl @@ -697,9 +720,11 @@ nonconst nonomitted noreminders nostripped +nostyle notesize noto nqueued +nroff num ok oktober @@ -718,10 +743,15 @@ pango passthru patchlevel pathnames +pdf perl perllocal +pn png +pngs popen +pp12 +pp3 ppp pre preprocessor @@ -735,6 +765,7 @@ psshade qid queueing quux +rF rawbody readline realcurrent @@ -801,6 +832,7 @@ sysnotify t1 t2 tThere +tableonly tcl tcllib tdelta @@ -819,6 +851,7 @@ tkpng tkremind tkreminders tkremindrc +tm todo todos tokenizer @@ -855,6 +888,7 @@ trigtimetz trigtz triguntil trigvalid +troff tshed tt ttime @@ -884,6 +918,7 @@ utf utf8 utils uwhatever +v5 varname ve w0 @@ -894,6 +929,7 @@ whoami wkday wkdaynum wkstart +wn www x00 xAB @@ -912,6 +948,7 @@ ysiz1 yy yyyy z0 +zapf ziens zj zn diff --git a/tests/test-rem b/tests/test-rem index 6bb3833a..e8d3db56 100644 --- a/tests/test-rem +++ b/tests/test-rem @@ -681,6 +681,12 @@ if test $? = 0; then cat ../man/*.1 | hunspell -l -n -p manpage-personal-dict >> $OUT 2>&1 cat ../docs/WHATSNEW | hunspell -l -p manpage-personal-dict >> $OUT 2>&1 cat ../README.md | hunspell -l -p manpage-personal-dict >> $OUT 2>&1 + # If we have pod2man, check rem2pdf and rem2html man pages too + pod2man < ../rem2html/rem2html.in > /dev/null 2>&1 + if test $? = 0 ; then + pod2man < ../rem2html/rem2html.in | hunspell -l -n -p manpage-personal-dict >> $OUT 2>&1 + pod2man < ../rem2pdf/bin/rem2pdf.in | hunspell -l -n -p manpage-personal-dict >> $OUT 2>&1 + fi fi echo "" >> $OUT