All the new TeX driver tests fail for me with output like this: # -*- compilation -*- 1206. tex.at:162: testing tex simple example ... ../../tests/tex.at:177: pspp -O format=tex simple.sps ../../tests/tex.at:178: test $(wc -L pspp.tex | awk '{print $1}') -le 80 stdout: ../../tests/tex.at:181: $TEX --halt-on-error pspp.tex stdout: This is TeX, Version 3.14159265 (TeX Live 2020/Debian) (preloaded format=tex) (./pspp.tex (/usr/share/texlive/texmf-dist/tex/plain/graphics-pln/graphicx.tex (/usr/share/texlive/texmf-dist/tex/plain/graphics-pln/miniltx.tex) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def) ! Undefined control sequence. l.118 \protected \def\includegraphics{% No pages of output. Transcript written on pspp.log. ../../tests/tex.at:181: exit code was 1, expected 0 1206. tex.at:162: 1206. tex simple example (tex.at:162): FAILED (tex.at:181)
The generated pspp.tex is: %% TeX output of pspp %% Define the horizontal space between table columns \def\psppcolumnspace{1mm} \input graphicx %% Sets the environment for rendering material in table cell %% The parameter is the number of columns in the table \def\cell#1{\normalbaselines\advance\hsize by -#1.0\psppcolumnspace\advance\hsize by \psppcolumnspace\divide\hsize by #1\noindent\raggedright\hskip0pt} %% Render the text centre justified \def\startcentre{\begingroup\leftskip=0pt plus 1fil \rightskip=\leftskip\parfillskip=0pt} \def\stopcentre{\par\endgroup} \long\def\centre#1{\startcentre#1\stopcentre} %% Render the text right justified \def\startright{\begingroup\leftskip=0pt plus 1fil \parfillskip=0pt} \def\stopright{\par\endgroup} \long\def\right#1{\startright#1\stopright} {\parindent=0pt {\bf Reading free-form data from INLINE.}\par \offinterlineskip\halign{\strut% {\vbox{\cell{2}#}}\hskip\psppcolumnspace\hfil&\vrule {\vbox{\cell{2}#}}\cr Variable&\centre{Format}\cr \noalign{\hrule\vskip -\normalbaselineskip}\cr name&A16\cr score&F8.0\cr }% End of \halign } \vskip 3ex {\parindent=0pt {\bf Descriptive Statistics}\par \offinterlineskip\halign{\strut% {\vbox{\cell{6}#}}\hskip\psppcolumnspace\hfil&\vrule {\vbox{\cell{6}#}}\hskip\psppcolumnspace\hfil&\vrule {\vbox{\cell{6}#}}\hskip\psppcolumnspace\hfil&\vrule {\vbox{\cell{6}#}}\hskip\psppcolumnspace\hfil&\vrule {\vbox{\cell{6}#}}\hskip\psppcolumnspace\hfil&\vrule {\vbox{\cell{6}#}}\cr \centre{}&\centre{N}&\centre{Mean}&\centre{Std Dev}&\centre{Minimum}&\centre{Maximum}\cr \noalign{\hrule\vskip -\normalbaselineskip}\cr score&\right{4}&\right{28.10}&\right{20.16}&\right{12.10}&\right{54.10}\cr Valid N (listwise)&\right{4}&&&&\cr Missing N (listwise)&\right{0}&&&&\cr }% End of \halign } \vskip 3ex \bye On Sun, Oct 25, 2020 at 2:31 PM Ben Pfaff <b...@cs.stanford.edu> wrote: > > Is the new TeX output driver meant to help with this? > > On Sun, Oct 25, 2020 at 1:17 PM Ben Pfaff <b...@cs.stanford.edu> wrote: > > > > Sure! I'll work on that now. > > > > On Sun, Oct 25, 2020 at 1:16 PM John Darrington > > <j...@darrington.wattle.id.au> wrote: > > > > > > On Sun, Oct 25, 2020 at 11:29:18AM -0700, Ben Pfaff wrote: > > > > > > I suspect that the tutorial would be more useful if it was not > > > oriented around using the command syntax interactively. I doubt that > > > is a common way to use PSPP. It seems to me that users are more > > > likely > > > to use PSPP either by writing syntax files in an editor and running > > > them noninteractively, or by using the GUI (either writing syntax > > > files there or using the dialog boxes). > > > > > > Would you be OK with it if I modified the tutorial to be oriented > > > around writing syntax files, rather than around writing syntax > > > interactively in the text UI? > > > > > > Go ahead. (I think however some mention of the interactive mode, perhaps > > > with a > > > small example should remain). > > > > > > J'