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

How to export the documentation of those *.sab files? #15

Open
muyinliu opened this issue May 26, 2016 · 10 comments
Open

How to export the documentation of those *.sab files? #15

muyinliu opened this issue May 26, 2016 · 10 comments

Comments

@muyinliu
Copy link

muyinliu commented May 26, 2016

There are many documents in og2/sys.sct/, how to export/convert them to PDF or just plain text?

Note: I know *.sab(Sage Binary) files can be opened in Concordia and edit.

Load System (a system) Concordia

then use F1-w to switch to Symbolics Concordia. It's base on Zmacs so can use C-x C-f to open those *.sab files.

@muyinliu muyinliu changed the title Is there a way to export the documentation of those *.sab files? How to export the documentation of those *.sab files? May 26, 2016
@disillusionment
Copy link

disillusionment commented Jul 20, 2017

You can use the Hardcopy function from within the Documentation Examiner to output postscript files into a directory on the host.

Set up a printer object (Edit Namespace Object Printer printer_name) with Type LGP2.
Create Namespace Object printer_name
printer namespace

Edit the Genera-vlm host object:
Edit Namespace Object Host Genera-vlm
vlm host namespace

Add the printer you added to Spooled Printers, and then set the Home Directory to a path on the host (GENERA-VLM:/home/user/printer) and then set Spooled Via: to Ascii-file, and the File Name to something like GENERA-VLM:/home/user/printer/hardcopy.ps.

Unfortunately by default it prints pages in reverse. Looking into finding a way to change that.

@muyinliu
Copy link
Author

Thanks. Could you please write down the commands to make it?

@muyinliu
Copy link
Author

Sorry. It's still difficult to understand. A screen capture video would be great.

@disillusionment
Copy link

disillusionment commented Aug 2, 2017

I'll see what I can do. It would help to know where you are encountering difficulty.

@muyinliu
Copy link
Author

I have cups-pdf installed but still don't know how to link OpenGenera to printer PDF, Genera said that could not find printer named PDF, any suggestion?

@disillusionment
Copy link

The method I described only creates a postscript file on the host machine (in the directory /home/user/printer), you would need to use a command such as ps2pdf from ghostscript on that file to get a pdf.

@disillusionment
Copy link

I see you use "genera-host" in your setup. In that case chance any instance of "GENERA-VLM" to "genera-host".

@muyinliu
Copy link
Author

I did it, finally. Thank you. I will make a doc for this.

@muyinliu
Copy link
Author

It's not about cups-pdf at all.

@muyinliu
Copy link
Author

@disillusionment With pdftk <input_file>.pdf cat end-1 output <output_file>.pdf can easily reverse pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants