all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Question on pretty printing
@ 2004-04-26 10:21 Holger Schulz
  0 siblings, 0 replies; only message in thread
From: Holger Schulz @ 2004-04-26 10:21 UTC (permalink / raw)


Using xemacs on a Linux machine a tried to use pretty print method to
create a postscript file of OCaml source code (I've installed the tuareg
mode).

A colleague set up the following function

---cut---
(defun my-pretty-ps ()
(interactive)
(let ((f (buffer-name)))
  (ps-print-buffer-with-faces (concat f ".ps"))))
---cut---

That works to produce a pretty printed .ps file but we have the
following problems

1. The header of the postscript page includes the path of the file. We
want to get rid of that.

2. The .ps file contains to pages, but the second to totally empty. The
header on the first says 1/1.

3. The file seems to contain corrupted PostScript code. We can produce a
pdf file from it with ps2pdf but not with the Acrobat distiller on my
MacOS X machine. The distiller produces a PDF but i containts complete
rubbish.

Versions: 

XEmacs 21.4 (patch 1) "Copyleft" [Lucid] (i386-debian-linux) of Tue May
22 2001 on eeyore

Acrobat Distiller 6.0.1

I don't know how to determine the version of ps2pdf

hs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-26 10:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-26 10:21 Question on pretty printing Holger Schulz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.