Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Re: Re: Publicon problems converting sample document to LaTeX

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50352] Re: [mg50338] Re: Re: Publicon problems converting sample document to LaTeX
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 29 Aug 2004 03:53:59 -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> <cghfrv$jeo$1@smc.vnet.net> <200408261051.GAA16395@smc.vnet.net> <cgmmug$uh$1@smc.vnet.net> <200408280837.EAA19032@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

That's VERY helpful.  And it points out several deviciencies in the 
first non-beta release of Publicon:

  - inadequate documentation

  - no Palettes command on the File menu

  - applying a style sheet from the Format command does NOT open
    the corresponding palette.

So in 1.0, and without hacking, we would seem to be left with knowing 
ahead of time the ultimate destination of a Publicon-created notebook 
intended for export -- to LaTeX, etc. -- and jumping through the hoop of 
first creating a New notebook of that kind (to bring up the appropriate 
palette), then opening (or creating) the actual Publicon notebook we are 
interested in exporting eventually.

This design (?) does not seem too clearly thought out!

Steve Luttrell wrote:
> 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
>>
> 
> 
> 
> 

-- 
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: Animate
  • Next by Date: Re: Re: FindMinimum and the minimum-radius circle
  • Previous by thread: Re: Re: Publicon problems converting sample document to LaTeX
  • Next by thread: Re: Re: Technical Publishing Made Easy with New Wolfram Publicon Software