head	1.6;
access;
symbols
	tcllib-1-13:1.6
	tcllib-1-12:1.6
	tklib-0-5:1.6
	tcllib-1-11-1:1.6
	tcllib-1-11:1.6;
locks; strict;
comment	@# @;


1.6
date	2008.05.16.06.09.37;	author andreas_kupries;	state Exp;
branches;
next	1.5;

1.5
date	2008.04.28.04.21.58;	author andreas_kupries;	state Exp;
branches;
next	1.4;

1.4
date	2008.04.27.16.09.28;	author andreas_kupries;	state Exp;
branches;
next	1.3;

1.3
date	2008.04.22.06.07.51;	author andreas_kupries;	state Exp;
branches;
next	1.2;

1.2
date	2008.04.14.01.12.25;	author andreas_kupries;	state Exp;
branches;
next	1.1;

1.1
date	2008.04.01.06.06.40;	author andreas_kupries;	state Exp;
branches;
next	;


desc
@@


1.6
log
@
	* checker.tcl: Reworked the (sub)section handling, enabled the
	* doctools_lang_cmdref.man: documentation writer to label
	  (sub)sections with logical names and use these in references.
	  Automatic logical names are improved, taking the current section
	  into account, making for a better ambiguity check. References
	  are now better as well.  Backends are given unique physical
	  (sub)section ids. Added a new formatting command
	  'sectref-external' for references to (sub)sections outside of
	  the current document, to disable checking, and documented it.

	* docidx_plugin_apiref.man: Fixed the external section references
	* doctoc_plugin_apiref.man: in the manpages to prevent false warnings.
	* doctools_plugin_apiref.man:

	* mpformats/c.msg: Message catalogs extended with new warning
	* mpformats/de.msg: 'missingsect' for apparently dangling
	* mpformats/en.msg: (sub)section references.
	* mpformats/fr.msg:

	* mpformats/fmt.html: Updated the backends for the changes in the
	* mpformats/fmt.latex: frontend/backend API, and updated testsuite
	* mpformats/fmt.nroff: results.
	* mpformats/fmt.text:
	* mpformats/fmt.tmml:
	* mpformats/fmt.wiki:
	* mpformats/_common.tcl:
	* tests/latex/00:
	* tests/latex/01:
	* tests/latex/02:
	* tests/latex/03:
	* tests/latex/04:
	* tests/latex/05:
	* tests/latex/06:
	* tests/latex/07:
	* tests/latex/08:
	* tests/tmml/00:
	* tests/tmml/01:
	* tests/tmml/02:
	* tests/tmml/03:
	* tests/tmml/04:
	* tests/tmml/05:
	* tests/tmml/06:
	* tests/tmml/07:
	* tests/tmml/08:
	* tests/html/00:
	* tests/html/01:
	* tests/html/02:
	* tests/html/03:
	* tests/html/04:
	* tests/html/05:
	* tests/html/06:
	* tests/html/07:
	* tests/html/08:

	* mpformats/_nroff.tcl: Modified the nroff backend to convert
	* tests/nroff/03: (sub)section titles into uppercase in the
	  output. Updated testsuite results.
@
text
@<html><head>
<title>TEST - </title>
<style type="text/css"><!--
    HTML {
	background: 	#FFFFFF;
	color: 		black;
    }
    BODY {
	background: 	#FFFFFF;
	color:	 	black;
    }
    DIV.doctools {
	margin-left:	10%;
	margin-right:	10%;
    }
    DIV.doctools H1,DIV.doctools H2 {
	margin-left:	-5%;
    }
    H1, H2, H3, H4 {
	margin-top: 	1em;
	font-family:	sans-serif;
	font-size:	large;
	color:		#005A9C;
	background: 	transparent;
	text-align:		left;
    }
    H1.title {
	text-align: center;
    }
    UL,OL {
	margin-right: 0em;
	margin-top: 3pt;
	margin-bottom: 3pt;
    }
    UL LI {
	list-style: disc;
    }
    OL LI {
	list-style: decimal;
    }
    DT {
	padding-top: 	1ex;
    }
    UL.toc,UL.toc UL, UL.toc UL UL {
	font:		normal 12pt/14pt sans-serif;
	list-style:	none;
    }
    LI.section, LI.subsection {
	list-style: 	none;
	margin-left: 	0em;
	text-indent:	0em;
	padding: 	0em;
    }
    PRE {
	display: 	block;
	font-family:	monospace;
	white-space:	pre;
	margin:		0%;
	padding-top:	0.5ex;
	padding-bottom:	0.5ex;
	padding-left:	1ex;
	padding-right:	1ex;
	width:		100%;
    }
    PRE.example {
	color: 		black;
	background: 	#f5dcb3;
	border:		1px solid black;
    }
    UL.requirements LI, UL.syntax LI {
	list-style: 	none;
	margin-left: 	0em;
	text-indent:	0em;
	padding:	0em;
    }
    DIV.synopsis {
	color: 		black;
	background: 	#80ffff;
	border:		1px solid black;
	font-family:	serif;
	margin-top: 	1em;
	margin-bottom: 	1em;
    }
    UL.syntax {
	margin-top: 	1em;
	border-top:	1px solid black;
    }
    UL.requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; .COPYRIGHT.
   -->
<! -- CVS: @@ID@@ TEST.z
   -->
<body><div class="doctools">
<h1 class="title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="section1" class="section"><h2><a name="section1">Description</a></h2>
<p>BEGINNE HIER</p>
<pre class="example">
	 Example Block  More Lines
</pre>
<pre class="example">
Inlined Example \
Next Line
</pre>
<p>FERTIG</p>
</div>
<div id="copyright" class="section"><h2><a name="copyright">Copyright</a></h2>
<p>Copyright &copy; .COPYRIGHT.</p>
</div>
</div></body></html>
@


1.5
log
@
	* mpformats/fmt.html: Gave title h1 tag a class. Put a div around
	* tests/html/*: the content of the synopsis section. Removed the
	  div around examples. Their pre tag has a class, that is enough.
	  Added default CSS styling to the code. Its definitions are
	  derived from the CSS Joe English <jenglish@@users.sourceforge.net>
	  uses for the HTML generated by his TMML converter. Nice and
	  simple. Thank you.
@
text
@d102 1
a102 1
<div id="name" class="section"><h2><a name="name">NAME</a></h2>
d105 1
a105 1
<div id="table_of_contents" class="section"><h2><a name="table_of_contents">TABLE OF CONTENTS</a></h2>
d107 3
a109 3
<li class="section"><a href="#table_of_contents">TABLE OF CONTENTS</a></li>
<li class="section"><a href="#description">DESCRIPTION</a></li>
<li class="section"><a href="#copyright">COPYRIGHT</a></li>
d112 1
a112 1
<div id="description" class="section"><h2><a name="description">DESCRIPTION</a></h2>
d123 1
a123 1
<div id="copyright" class="section"><h2><a name="copyright">COPYRIGHT</a></h2>
@


1.4
log
@
	* mpformats/fmt.html: Changed example formatting, removed the nested
	* tests/html/*: table structure. Changed toc and synopsis
	  formatting to be more sematical, using classed unordered lists.
	  Added classes to the list formatting. Removed hardwired
	  linebreaks between last list element and end of list. Replaced
	  linebreaks in list items with proper paragraph formatting. Fixed
	  initialization error causing spurious para_close at the
	  beginning. Added foundation for an internal style-sheet. No
	  definitions yet however.
@
text
@d4 88
d101 1
a101 1
<h1>TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
d114 1
a114 1
<div class="example"><pre class="example">
d116 2
a117 2
</pre></div>
<div class="example"><pre class="example">
d120 1
a120 1
</pre></div>
@


1.3
log
@
	* mpformats/fmt.html: Modified to put sections and subsections
	* mpformats/_html.tcl: into divisions a CSS can lock onto. Changed
	* tests/html/*: to properly close paragraphs, sections, and sub-
	  sections. Changed to remove empty paragraphs, and empty lines.
	  Put the whole body into a division. Put text marked up as
	  optional into a span. Put section references into a span. Put
	  examples into a division. Some general cleanup of the internals.
@
text
@d3 2
d12 1
a12 1
<body><div id="doctools">
a13 1
</p>
d15 1
a15 2
<p> TEST - 
</p>
d18 5
a22 4
<p>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#table_of_contents">TABLE OF CONTENTS</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#description">DESCRIPTION</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#copyright">COPYRIGHT</a><br>
</p>
d25 2
a26 4
<p>
BEGINNE HIER
</p>
<div class="example"><table><tr><td bgcolor="black">&nbsp;</td><td><pre class="sample">
d28 2
a29 2
</pre></td></tr></table></div>
<div class="example"><table><tr><td bgcolor="black">&nbsp;</td><td><pre class="sample">
d32 2
a33 3
</pre></td></tr></table></div><p>
FERTIG
</p>
d36 1
a36 3
<p>
Copyright &copy; .COPYRIGHT.<br>
</p>
@


1.2
log
@
	* tests/html/00: Replaced $ I d $ placeholder with @@ID@@. See
	* tests/html/01: doctools.test.
	* tests/html/02:
	* tests/html/03:

	* tests/man/04: Replaced placeholder text with actual input to
	* tests/man/05: run through the formatting backends.
	* tests/man/06:

	* tests/html/04: Made results current. The handling of
	* tests/html/05: backslashes is known to be wrong, noted
	* tests/html/06: other ugliness.

	* tests/nroff/04: Made results current, fixed some formatting
	* tests/nroff/05: problems, see below.
	* tests/nroff/06:

	* mpformats/fmt.nroff (fmt_arg_def, fmt_opt_def): Added newlines
	  to output for proper formatting of elements in argument and
	  option lists.

	* doctools.test: Fix handling of $ I d $ placeholder used in input
	  files and expected results. Extended to handle errors, to catch
	  problems other than differences between expected and actual
	  results. Ignore CVS subdirectory and handle missing files for
	  expected results.
@
text
@d2 1
a2 1
<title>TEST -  </title>
d10 8
a17 7

<body>
<h1> TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
</p><h2><a name="name">NAME</a></h2>
<p>
</p><p> TEST - 
<h2><a name="table_of_contents">TABLE OF CONTENTS</a></h2>
d21 3
a23 1
</p><h2><a name="description">DESCRIPTION</a></h2>
d26 2
a27 1
</p><table><tr><td bgcolor=black>&nbsp;</td><td><pre class='sample'>
d29 2
a30 4
</pre></td></tr></table><p>
</p><p>
<p>
</p><table><tr><td bgcolor=black>&nbsp;</td><td><pre class='sample'>
d33 1
a33 1
</pre></td></tr></table><p>
d35 3
a37 1
</p><h2><a name="copyright">COPYRIGHT</a></h2>
d40 3
a42 2
</p></body></html>

@


1.1
log
@
	* doctools.test: Added tests to invoke the backends on a series of
	  input files and check the results against expectations.
	* tests/man/00: First set of input files, and expected output for
	* tests/man/01: the html and nroff backends.
	* tests/man/02:
	* tests/man/03:
	* tests/man/04:
	* tests/man/05:
	* tests/man/06:
	* tests/html/00:
	* tests/html/01:
	* tests/html/02:
	* tests/html/03:
	* tests/html/04:
	* tests/html/05:
	* tests/html/06:
	* tests/nroff/00:
	* tests/nroff/01:
	* tests/nroff/02:
	* tests/nroff/03:
	* tests/nroff/04:
	* tests/nroff/05:
	* tests/nroff/06:
@
text
@d1 37
@

