MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Publicon problems converting sample document to LaTeX

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50338] Re: Re: Publicon problems converting sample document to LaTeX
  • From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
  • Date: Sat, 28 Aug 2004 04:37:50 -0400 (EDT)
  • References: <cg20f3$od7$1@smc.vnet.net> <cgcicp$eo7$1@smc.vnet.net> <200408241022.GAA06691@smc.vnet.net> <cghfrv$jeo$1@smc.vnet.net> <200408261051.GAA16395@smc.vnet.net> <cgmmug$uh$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

If you create the sample Publicon document using the "S" button on the
LaTeX_Article (rather than the Default) palette then you get a \maketitle
when you Save As LaTeX.

I couldn't find a way of opening the palette directly. I had to do the
following:
    1. File | New | LaTeX Article. This creates a dummy document which you
can discard straight away, and also opens the LaTeX_Article palette.
    2. Now create the sample Publicon document using the "S" button on the
LaTeX_Article palette. This deals with \maketitle correctly.

I have found that to get correct LaTeX behaviour the Publicon document has
to have one of the LaTeX styles and have the correct document structure
(created automatically using the "S" button, as above). The translation that
occurs when you Save As LaTeX is determined by what is in the style sheet. I
have drilled down into the LaTeX_Article style sheet to find the following
interesting entry for the MainmatterGroup style:

  ConversionRules:>{"TeX" -> {"\n\\maketitle",
    NoOutput[ ], ""}, "HTML" -> {"",
    NoOutput[ ], ""}},

So now we know where \maketitle comes from! I presume one can hack the style
sheet (preferably a copy thereof) to control the Save As LaTeX in various
devious ways.

Steve Luttrell

"Murray Eisenberg" <murray at math.umass.edu> wrote in message
news:cgmmug$uh$1 at smc.vnet.net...
> Yes, the procedure below handles the graphics fine.
>
> Note, still, the missing \maketitle in the LaTeX file generated.  Is it
> unreasonable to expect that to be included for a Publicon cell that's of
> Style title?
>
> Steve Luttrell wrote:
>
> > ...I had a bit more
> > success with the graphics because I did a DVI->PS translation before
viewing
> > the results on screen.
> >
> > Here's what I did:
> >
> > 1. Create a DefaultSample.nb document using the "S" button at the
top-left
> > of the Default palette.
> > 2. Save As LaTeX.
> > 3. Use MiKTeX to compile the LaTeX source.
> > 4. Use the YAP to look at the DVI. Graphics do NOT display.
> > 5. Process DVI->PS, and use GSVIEW to look at the PS. Graphics DO
display.
> >
> > Steve Luttrell
> >
> > "Murray Eisenberg" <murray at math.umass.edu> wrote in message
> > news:cghfrv$jeo$1 at smc.vnet.net...
> >
> >>My first attempt at translating a Publicon document into LaTeX and
> >>printing the result .... I tried MiKTeX....
> >>
> >>(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.)
>
> -- 
> 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
>



  • Prev by Date: Re: Integrate UnitStep, Bug?
  • Next by Date: Re: Opposite of ReadList[ ... ,Byte]?
  • Previous by thread: Re: Re: Publicon problems converting sample document to LaTeX
  • Next by thread: Re: Re: Re: Publicon problems converting sample document to LaTeX