Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!umd5!umbc3!dipto From: dipto@umbc3.UMD.EDU (Dipto Chakravarty) Newsgroups: comp.lang.prolog Subject: Re: Prolog to TeX/LaTeX Message-ID: <946@umbc3.UMD.EDU> Date: 17 Apr 88 19:51:28 GMT References: <2412@mandrill.CWRU.Edu> Reply-To: dipto@umbc3.UMD.EDU (Dipto Chakravarty) Organization: University of Maryland, Baltimore County Lines: 32 In article <2412@mandrill.CWRU.Edu> you write: >Is anyone out there aware of any program to convert Prolog code to >TeX-pretty-print format, for printing code in paper or books? > >I have a written a pl2tex myself. My work is a 'C' hack. >In the absence of any other better work, I am ready to share my code. >It may be interfaced with emacs to provide comm like Prolog-To-Tex-region >to do TeXing of code in-line a document. pl2tex uses a ~/.pl2tex startup >file, which you may use to customize the formatting. > >The part of identifying a clause-head, body-goal, last-goal and fact is a >big hack, hence I am not keen on throwing the code on the net. Dear Arun, I will be exceedingly interested to get the pl2tex program. I am a graduate student in CMSC at U. of Md, and have recently started working with Prolog language. All the doc and guidelines that you can provide will be much appreciated. I would also like to have your phone number so that I can reach the pl2tex guru if/when needed. Thanks again. Regards, Dipto P.S: At first, I tried e-mailing this article to arun@mandrill.CWRU.Edu. But apparently, the above path could not get recognized by our mailer. Hope Arun is able to read this posting. :-) -- BITNET : dipto@umbc.BITNET ------\ ARPANET: dipto@umbc3.UMD.EDU -------> In-real-life: Dipto Chakravarty USMAIL : CMSC, UMBC,Md 21228 ------/