Publicon problems converting sample document to LaTeX

*To*: mathgroup at smc.vnet.net*Subject*: [mg50289] Publicon problems converting sample document to LaTeX*From*: Murray Eisenberg <murray at math.umass.edu>*Date*: Wed, 25 Aug 2004 03:35:56 -0400 (EDT)*Organization*: Mathematics & Statistics, Univ. of Mass./Amherst*References*: <cg20f3$od7$1@smc.vnet.net> <cgcicp$eo7$1@smc.vnet.net> <200408241022.GAA06691@smc.vnet.net>*Reply-to*: murray at math.umass.edu*Sender*: owner-wri-mathgroup at wolfram.com

My first attempt at translating a Publicon document into LaTeX and printing the result was a bit of a disaster. I tried the supplied file DefaultSample.nb, saving it to LaTeX. First I tried to use Y&Y LaTeX to process this, but it choked on .tfm's it couldn't find. Second I tried MiKTeX. At least LaTeX processed to the end of the document. But: (1) There was no \maketitle in the generated LaTeX, so no title appeared! (2) None of the .ps files (originating from the \includegraphics commands) rendered in the Yap viewer and none printed. (See below for the Yap report.) (3) The wide math display (4) was horribly translated into LaTeX as just an equation environment, whereas some sort of amsmath structure was clearly required in order to keep the long lines from wandering off-screen and off-paper to the right. I suppose this is more than one can ask at present from such a translater -- that here the burden should fall upon the author of the Publicon notebook, but then this might mean considerable manual intervention into the LaTeX markup, and that in turn vitiates some of the purpose of using Publicon to produce TeX. Here's the report I got about the (first?) PostScript special include not being able to be rendered: Error: /typecheck in --image-- Operand stack: --nostringval-- PermitFileReading --nostringval-- PermitFileWriting --nostringval-- (\000) 745 745 8 --nostringval-- --nostringval-- --nostringval-- --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 11 5 %oparray_pop --nostringval-- 12 5 %oparray_pop --nostringval-- --nostringval-- Dictionary stack: --dict:1057/1123(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)-- --dict:95/300(L)-- --dict:81/200(L)-- Current allocation mode is local MiKTeX GPL Ghostscript 8.01: Unrecoverable error, exit code 1 -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305

**References**:**Re: Technical Publishing Made Easy with New Wolfram Publicon Software***From:*"Steve Luttrell" <steve_usenet@_removemefirst_luttrell.org.uk>