This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]