OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: Purpose of the moreinfo attribute: is it required?


Mike Broschinsky wrote:

> I am just beginning with DocBook, using Emacs and PSGML to author help documents. I have noticed that for a number of different elements, notably guibutton and guilabel for example, PSGML will automatically insert the moreinfo attribute with a value of "none".
>
> What is the function of the moreinfo attribute?

It is used to specify additional information about purpose of element.

> Is it required?

No. 

> Lastly (and an app related question), if the attribute is not required, is there a way to tell PSGML to not insert it (maybe a better question for gnu.emacs.help, or the PSGML mailing list, but I thought I'd try here too)?

PSGML inserts it automaticaly, because this attribute has default value
in DTD. You can switch-off this behaviour by setting sgml-shorttag to t.
This setting can be invoked from menu SGML -> File Options -> SHORTAG.
Then you can save current settings at the end of file by selecting SGML
-> File Options -> Save options. You can not easily set this option for
all Emacs buffers in .emacs file, because this option is automaticaly
set for each buffer when loading xml-mode.

-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC