EditLectern(1)

NAME
EditLectern - Edit attributes of document in Lectern format

SYNTAX
EditLectern

DESCRIPTION
EditLectern provides a graphical (point-and-click) user interface for editing the attributes of a Lectern-format document, which you initially create from PostScript or image files using BuildLectern(1). EditLectern uses BuildLectern to get the real work done, so if you're happier with a command line interface you should stick with BuildLectern. EditLectern always appends the BuildLectern commands it executes to the file $HOME/EditLectern.log; in deferred mode (controlled by a pair of radio buttons at the top of the window), the actual BuildLectern calls are suppressed.

EditLectern is designed to be used concurrently with Lectern(1) -- when you open a document with EditLectern, the same document is automatically opened in Lectern. That way you can read through the document and determine the attributes to add via EditLectern, such as the locations of page 1, the contents page, the index page, and the document title and author. EditLectern starts Lectern automatically if it isn't already running.

The EditLectern window is split vertically into three areas: a menu bar, a dialog (which is blank when no file is open), and a typescript.

The menu bar contains a File menu and the radio buttons controlling immediate/deferred mode. The File menu contains Open..., Save, Save As..., Close, Quit, and About items. Save and Save As... invoke BuildLectern with the current settings unless deferred mode is enabled. The BuildLectern command and its output are displayed in the typescript at the bottom of the EditLectern window.

Once a file is open, the following dialog elements become visible:

    *   A numeric box to specify the image number (starting with one) of the table of contents. Leave it set to zero if there is no table of contents.
    *   A pair of numeric boxes to specify the correspondence between image numbers and page numbers: normally, you specify the image number of page 1, but in the case of a document starting at a page number higher than 1 (e.g., an issue of a journal), you can specify image number 1 (or higher) and the corresponding page number.
    *   A pair of radio buttons (labeled Page and Image) and a numeric box, to specify the page or image number of the index. Leave it set to page 0 if there is no index.
    *   A scrolling list labeled Attribute, a pair of typeins labeled Key and Value, and a pair of buttons labeled Delete and Set, to specify attributes (author, title, and date are recommended for all documents). To set an attribute, type values into the Key and Value fields, and press Set. To display an existing attribute, select it in the scrolling list. To modify it, edit the Value field and press Set. To delete it, press Delete.

Like other applications built with FormsVBT, EditLectern allows you to pick any of four different text-editing "models": emacs, ivy, mac, and xterm. You set the model via the environment variable TextPortModel, which should be set to either emacs, ivy, mac, or xterm. If it is not set, the default model is emacs. See VBTkit Reference Manual for details about each text-editing model.

SEE ALSO
BuildLectern(1), Lectern(1)

FILES
$HOME/EditLectern.log

AUTHOR
Paul McJones

COPYRIGHT

Copyright 1994 Digital Equipment Corporation.
Distributed only by permission.
    Last modified on Wed Jul 19 14:59:38 PDT 1995 by mcjones
         modified on Fri Feb 17 17:47:07 PST 1995 by birrell
         modified on Sun Jan  1 08:54:01 PST 1995 by glassman