To:   lyx-devel@lists.lyx.org

Date: 7 February 2005

Re:   (1) Lyx use
      (2) Two bugs

Dear Developer(s),

For whatever it's worth, I'm an emeritus professor of mechanical engineering at
the University of Hawaii, and have just completed about five years as Associate
Editor for Acoustic Signal Processing for the Journal of the Acoustical Society
of America (JASA).

I am using LyX v. 1.3.5 with qt on a RedHat 7.3 system having the latest 
upgrades
provided by RedHat.

I've been using LyX since v 1.1?.  I used it last year to write an article for
JASA (published in the July 2004 issue).  It was actually a test run based on
a RevTeX 4 modification for JASA using LaTeX.  I had to write the layout file.
Now I'm preparing an article for the Editor-in-Chief about how to use LyX with
BibTeX for JASA article preparation, including template files.

In the process, I've come across some bugs.

Bug 1: Edit => Reconfigure updates only $HOME/.lyx/textclass.lst.  But it 
doesn't
       update bstFiles.lst, clsFiles.lst, and styFiles.lst unless they are first
       manually removed.

Bug 2: LyX ignores LaTeX ClassOptions placed in a layout file, apparently 
contrary
       to what is implied in Section 5.3.2 of the Customization Guide.

       For example, using the standard LyX files revtex4.cls and revtex4.layout,
       any ClassOptions placed in the layout file don't appear in []'s of the
       \documentclass line of a article tex file.  They do appear if the options
       are entered in the LyX Options field of Layout => Document => Layout.

       Specifially, /usr/local/share/lyx/layouts/revtex4.layout has the
       following lines:

          # Default textclass options. The user may need to modify this.
          ClassOptions
            Other                       "aps,manuscript"
          End

        After creating a new article with "article (RevTeX 4)" in the Document
        class field of Layout => Document => Layout, (nothing in the Options
        field) and exporting it as a LaTeX file, the tex file
        \documentclass line reads:

           \documentclass[english]{revtex4}
    
        The line should read

           \documentclass[english,aps,manuscript]{revtex4}

        but doesn't.

Bug 3:  Trying to use Insert => Lists & TOC => List of Figures results in 
errors.
        According to the RevTeX Home Page dated 3 August 2001 (the latest
        available), \listoffigures is broken, so the bug may be with LaTeX 
        rather than LyX.

Bug 4:  JASA now has new manuscript submission requirements in which the figures
        are submitted separately from the text.  There seems to be no way using
        LyX to omit the figures from the manuscript (while keeping the captions
        in a separate list).

With all three, there are work-arounds.

        With Bug 1, one can manually enter the options into the Options field,
        place them in a template, then use the template file.

        With Bug 2, one can delete all the lst files by hand before calling
        LyX again.

        With Bug 3, one can use Section* "List of Figures", copy the captions
        from the figures, then edit the list a bit.

        With Bug 4, one can submit the manuscript with unwanted figures and then
        submit the figures again separately.
        
But these are messy ways to introduce scientists and engineers to using LyX in
place of what they are using.  All except the dedicated are likely to see LyX
and its advantages as taking too much time, and ignore it.

If I were smart enough, I'd suggest some source code changes.  But I'm not.

Any suggestions before I send what I have to the JASA Editor-in-Chief would
be most welcome.  I'm also willing to send what I have to you, but the above
bugs will limit its usefulness.

John C. Burgess

*****************************************************************************
John C. Burgess               Voice:  808 262 7647
1269 Mokulua Drive           e-mail:  [EMAIL PROTECTED]
Kailua, HI 96734                      [EMAIL PROTECTED]
*****************************************************************************

Reply via email to