Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
dtinfoStyle.dtd(file formats)			 dtinfoStyle.dtd(file formats)

NAME
       dtinfoStyle.dtd -- dtinfo style sheet document type definition

DESCRIPTION
       dtinfoStyle.dtd	describes  the	SGML features available	for specifying
       how a document should be	rendered. Style	sheets associate the  elements
       in  a given document hierarchy with on-line or print formatting charac-
       teristics, and are part of the DtInfo Toolkit.

       With dtinfo, you	use a single style sheet to specify both print and on-
       line  rendering of the elements in your DTD.  The print and online fea-
       ture sets match in function, description, and specification, with  just
       four exceptions for print-specific features

   Basic Style Sheet Format
       The  basic style	sheet format first defines autonumbers.	Then, for each
       element (Path) the style	sheet defines its feature set. For information
       see,  "Understanding  Dtinfo Style Sheets" and "Creating	a Style	Sheet"
       in CDE: Information Manager Author's and	Programmer's Guide.

       You can also find an ASCII file	of  the	 dtinfoStyle.dtd  in  /usr/lo-
       cal/dt/infolib/%L/SGML/dtinfoStyle.dtd.

   AutoNumber
       To use system-generated number tokens in	element	formatting, first cre-
       ate an AutoNumber specification for each	token stream. (Note that these
       tokens can only be used with the	Prefix,	Suffix,	Header and Footer fea-
       tures.)

       A simple	example	is:

       <AutoNumber

	       id=chapnum

	       reset="Book Part"

	       counter=chapter>

       A more complex example is:

       <AutoNumber

	       id=fignum

	       type=UCroman

	       initial="I"

	       delta=l

	       counter="FIG TABLE"

	       reset=chap>

       <path>NUMITEM</>

	       <margin top=4pt bottom=4pt>

	       <prefix><auto id=NumList></prefix>

       where:

       type	 The kind of counter values:Arabic, UCalpha, LCalpha, UCroman,
		 LCroman.  The default value is	Arabic.

       id	 The  unique  name  of this token. You can refer to this name,
		 for example, in a Prefix. Required.

       initial	 The initial value for this token, which  must	be  consistent
		 with the Type.	 The default is	1.

       delta	 The  value  by	 which the system increments or	decrements the
		 token.	 The default is	to increment by	1.

       counter	 The element(s)	that cause this	token  to  use	the  Delta  to
		 change	values.	Required.

       reset	 The  element(s) that cause this token to reset	to its initial
		 value.	 Required.

SEE ALSO
       CDE: Information	Manager	Author's and  Programmer's  Guide,  dtinfo(1),
       dtinfogen(1),  dtinfoBook.dtd - dtinfoBookdtd(5), dtinfoTOC.dtd - dtin-
       foTOCdtd(5)

						 dtinfoStyle.dtd(file formats)

NAME | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=dtinfoStyledtd&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help