tri.log 991 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. REDUCE 3.4, 15-Jul-91 ...
  2. 1: % TeX-REDUCE-Interface 0.50
  3. % set GREEK asserted
  4. % set LOWERCASE asserted
  5. % \tolerance 10
  6. % \hsize=150mm
  7. (TRI)
  8. % load tri;
  9. global '(textest!*);
  10. symbolic procedure texexa(code);
  11. begin
  12. prin2 "\TRIexa{"; prin2 textest!*;
  13. if !*TeXindent then prin2 "}{TeXindent}{" else
  14. if !*TeXbreak then prin2 "}{TeXBreak}{" else
  15. if !*TeX then prin2 "TeX" else prin2 "}{---}{";
  16. if !*TeXbreak then prin2 tolerance!* else prin2 "---";
  17. prin2 "}{"; prin2 code; prin2 "}"; terpri()
  18. end;
  19. TEXEXA
  20. algebraic procedure exa(expression,code);
  21. begin symbolic texexa code; return expression end;
  22. EXA
  23. % ----------------------------------------------------------------------
  24. % Examples from the Integrator Test File
  25. % ----------------------------------------------------------------------
  26. symbolic(textest!*:="Integration");
  27. "Integration"
  28. texsetbreak(120,1000);
  29. % \tolerance 1000
  30. % \hsize=120mm
  31. on texindent;
  32. off echo;
  33. Quitting