diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/texapi/texapi-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/texapi/texapi-doc.tex | 50 |
1 files changed, 8 insertions, 42 deletions
diff --git a/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex b/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex index 32fe3753151..83d0c3e47d7 100644 --- a/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex +++ b/Master/texmf-dist/doc/generic/texapi/texapi-doc.tex @@ -15,9 +15,9 @@ display = outlines \setparameter page: - pagewidth = 32cm - pageheight = 30cm - lines = 45 + width = 32cm + height = 32cm + lines = 46 hsize = 10cm baselineskip = 14pt left = 10cm @@ -52,21 +52,17 @@ \setparameter font: command = \tcodefont - name = ltype + name = lucon size = 9.5pt type = ttf roman = {} - bold = b - italic = o \setparameter font: command = \cscodefont - name = ltype + name = lucon size = 8.5pt type = ttf roman = {} - bold = b - italic = o \def\codefont{% \ifcslist \cscodefont @@ -220,6 +216,7 @@ \fi \let\exampleskip\relax \cslisttrue \codefont + \overfullrule=0pt \typesetexample \vskip\baselineskip \mainfont @@ -261,7 +258,7 @@ \hfill Date: \usevalue document : date \par \vskip\baselineskip \noindent Typeset in Chaparral Pro (Carol Twombly) - and Lucida Sans Typewriter (Charles Bigelow and Kris Holmes) + and Lucida Console\hfil\penalty-10000 (Charles Bigelow and Kris Holmes) with Lua\TeX\ v.\the\luatexversion.\luatexrevision. } @@ -1504,6 +1501,7 @@ to know (in a perfectly expandable way) the loop we're currently in, hence the \comarg\ as a argument to \com\resumefor: it is the loop one wants to start again. Yes, it means you can also process the rest of the material with another loop, the consequences of which I leave it to you to ponder. +Passed arguments, if any, should follow \comarg\ after \com\resumefor. \Example @@ -1843,35 +1841,3 @@ string is a palindrome. \bye - - - - - - - - - - -\sortbooks{}{% - The Broom of the System (1987),% - Infinite Jest (1995),% - Girl with Curious Hair (1989),% - Brief Interviews with Hideous Men (1999),% - Oblivion (2004),% - The Pale King (2011),} - -\newfor\palin{2}#3{% - \passargs{\numexpr(#1+1)}{#2#3}% - }{\palincheck{\numexpr(#1/2)}{}{#2}} -\newfor\palincheck{2}#3{% - \reverse\straightenif{ifnum}{\numexpr(#1-1)>0 } - {\retrievefor{\compare{#3#2}}} - {\passargs{\numexpr(#1-1)}{#3#2}} - }{} -\def\compare#1#2{% - \ifstring{#1}{#2}{TRUE}{FALSE}% - } - - -+\edef\foo{\palin{0}{}{in noctes .. setconni}}+\foo |