summaryrefslogtreecommitdiff
path: root/info/challenges/aro-bend/exercise.013
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/challenges/aro-bend/exercise.013
Initial commit
Diffstat (limited to 'info/challenges/aro-bend/exercise.013')
-rw-r--r--info/challenges/aro-bend/exercise.01343
1 files changed, 43 insertions, 0 deletions
diff --git a/info/challenges/aro-bend/exercise.013 b/info/challenges/aro-bend/exercise.013
new file mode 100644
index 0000000000..762667cc1e
--- /dev/null
+++ b/info/challenges/aro-bend/exercise.013
@@ -0,0 +1,43 @@
+Date: 13 Oct 1993 12:31:56 -0400 (EDT)
+From: Michael Downes <MJD@MATH.AMS.ORG>
+Subject: Around the Bend #13
+To: info-tex@shsu.edu
+X-ListName: TeX-Related Network Discussion List <INFO-TeX@SHSU.edu>
+
+%%%% Three lines of overhead for the self-decoding answer; see below %%%
+\let\+\let\+\a\advance\+\c\catcode\+\d\def\+\f\fam\+\m\mag\f"20\d~{\c\f9
+\a\f1 \ifnum\f>125\f002\d~{\a\f-1 \ifnum\f<1\egroup\fi}\fi~}\c`\^^M="9{~
+
+========================================================================
+*** Exercise 13 (fast):
+
+(a) If \endlinechar does not have category 5 do you still get a \par
+from a blank line?
+
+(b) If \endlinechar=-1 do you still get a \par from a blank line?
+
+========================================================================
+
+Michael Downes =========================================================
+mjd@math.ams.org (Internet) ASCII 32--54,55--126: !"#$%&'()*+,-./0123456
+789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
+
+Self-decoding answer given below. To see the answer, run this post
+(sans mail/newsgroup header) through plain TeX.
+
+\d~{\u\f\m\c\m12 \a\m1\a\f1 \ifnum\f>125\f33 \fi\ifnum\m>125\+~\1\fi~}\+
+\u\uccode\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