Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing pdf's and ps files from the file browser #993

Closed
rmkaplan opened this issue Oct 12, 2022 · 2 comments
Closed

Seeing pdf's and ps files from the file browser #993

rmkaplan opened this issue Oct 12, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@rmkaplan
Copy link
Contributor

Following along on Larry's import and viewing of the commonlisp hyperspec, I think it would also be convenient to be able to show a postscript or pdf file (or some other hardcopy file format that the operating system knows about) by clicking the "See" button in the file-browser menu.

For example, if a file has a known hardcopy extension (e.g. PS, PDF), then on a mac at least this can be viewed in a separate desktop window by
(ShellCommand "open -a Preview >native version of the filename>)

Is there a generic interface that converts Lisp file names into native host-dependent filenames (including the formatting of version numbers)--I have forgotten.

Can we set up a table of operating-system dependent commands that would generalize this?

This could all be hidden as a separate branch under the function TEDIT-SEE in TEDIT.

@masinter
Copy link
Member

this is much harder. We might be able to use the 'dodo' networking to render Interpress files -- to simulate printing Listings (with PRETTYFILEINDEX lispusers), although if we share a dodo print server we'd need to emulate the piles of leftover printouts and occasional paper jams.

@rmkaplan
Copy link
Contributor Author

rmkaplan commented Oct 13, 2022 via email

@masinter masinter added the enhancement New feature or request label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants