medley icon indicating copy to clipboard operation
medley copied to clipboard

Problems with conversion of all TEDIT files to PDF

Open masinter opened this issue 3 years ago • 2 comments

I'm collecting problem reports in one issue, running (HCFILES) from MEDLEY-UTILS.

  • [ ] Loading image object definitions uses LOAD on WHEREIS for the image object function. However, these aren't the entry point and loading one file doesn't load enough. So far I've done FILESLOAD on IMTOOLS TMAX SKETCH
  • [ ] Font not found SIGMA 20 Postscript. This font is necessary to print lispusers/EQUATIONEXAMPLES.TEDIT
  • [ ] There is an undefined function CREATEPCNODE called by TEDIT.BUILD.PCTB1. At some point in Envos repo where this was defined in the file LISPCORE/library/PCTREE. There might already be an issue on this.
  • [ ] HCFILES has a hack where it ignores files in the dinfo directory because those aren't really TEdit but some variant defined in doctools.
  • [ ] What to do about other .tedit files in other repositories? (Loops, Notecards mainly)

masinter avatar May 31 '22 17:05 masinter

With the exception of the two files noted above, I've recreated the PDF files for all medley repo TEDIT files on google drive at https://drive.google.com/drive/u/0/folders/1dYPlooXlQSBva9fiDB_XxHH0bDz8F5CU

you should also see 220531-ALL-MEDLEY-PDFS.PDF which is the concatenation of all of the results as one big PDF file (3.7 MB only)

I'm not sure what to do next -- convert from loadup scripts to makefiles?

masinter avatar May 31 '22 22:05 masinter

Should move HCFILES to the Test repo and fit it in as an automated test of TEdit.

masinter avatar Aug 04 '22 02:08 masinter

big overlap with #838 ("Getting available docs") continue with that issue

masinter avatar Aug 19 '22 21:08 masinter

On the LOAD/WHEREIS for imageobjecgt getfns, I noticed that it wouldn’t help in cases where the getfn of the image object was on a subsidiary file whose loading didn’t bring in everything that was needed. This could be fixed piecemeal, by moving getfns to the top-level file of an app (like SKETCH). Or to have something other than typical WHEREIS that figures out what super-file needs to be loaded to get everything that an image object needs. E.g. a calculation that says that if a getfn is on file X, and X is in a FILESLOAD on file Y, then assert that the whereis database says that the getfn is on both X and Y, and the image-object fall back will then know to load both of them.

On May 31, 2022, at 10:48 AM, Larry Masinter @.***> wrote:

I'm collecting problem reports in one issue, running "HCFILES" on file internal/MEDLEY-UTILS

Loading image object definitions uses LOAD on WHEREIS for the image object function. However, these aren't the entry point and loading one file doesn't load enough. So far I've done FILESLOAD on IMTOOLS TMAX SKETCH Font not found SIGMA 20 Postscript. This font is necessary to print lispusers/EQUATIONEXAMPLES.TEDIT There is an undefined function CREATEPCNODE called by TEDIT.BUILD.PCTB1. At some point in Envos repo where this was defined in the file LISPCORE/library/PCTREE. There might already be an issue on this. — Reply to this email directly, view it on GitHub https://github.com/Interlisp/medley/issues/784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSTUJNZHC5QIZ65ISJ3RI3VMZGFRANCNFSM5XOK7VIA. You are receiving this because you are subscribed to this thread.

rmkaplan avatar Oct 11 '22 09:10 rmkaplan