=================================================================== RCS file: /cvs/mandoc/Attic/index.sgml,v retrieving revision 1.79 retrieving revision 1.143 diff -u -p -r1.79 -r1.143 --- mandoc/Attic/index.sgml 2010/06/07 12:20:07 1.79 +++ mandoc/Attic/index.sgml 2011/10/05 21:43:11 1.143 @@ -2,383 +2,349 @@ - mdocml | mdoc macro compiler - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- mdocml – mdoc macro compiler -
- -
-

- DESCRIPTION -

+

+ mdocml – mdoc macro compiler, current version @VERSION@ (@VDATE@) +

+

+ Sources: current, + cvsweb + (archives) + | + Binaries: windows 32-bit, windows 64-bit, mac os x + (archives) +

+

+ Description +

+

+ mdocml is a suite of tools compiling mdoc, the roff macro + package of choice for BSD manual pages, and man, the predominant historical package for + UNIX manuals. The mission of mdocml is to deprecate groff, the GNU troff implementation, for displaying mdoc + pages whilst providing token support for man. +

+

+ Why? groff amounts to over 5 MB of source code, most of which is C++ and all of which is GPL. It runs slowly, produces + uncertain output, and varies in operation from system to system. mdocml strives to fix this (respectively small, C, ISC-licensed, fast and regular). +

+

+ mdocml consists of the libmandoc validating compiler and mandoc, which interfaces with the compiler library to format output for UNIX terminals (with + support for wide-character locales), XHTML, HTML, PostScript, and PDF. + It also includes preconv, for recoding multibyte manuals; + demandoc, for emitting only text parts of manuals; + and mandocdb, for indexing manuals. + It is a BSD.lv project. +

+

+ Disambiguation: mdocml is often referred to by its installed binary, mandoc. +

+

+ Sources +

+

+ mdocml is in plain-old ANSI C and should build and run on any modern system. + To build and install into /usr/local/, just run make install. + Be aware: if you have an existing groff installation, this may overwrite its preconv binary. + The mandocdb utility is not yet linked to the build; please contact + us if you plan to use it. +

+

+ Binaries +

+

+ Binary archives consist of pre-compiled binaries, manuals, and other necessary files. + Universal (Mac OS X) binaries are compiled for the PCC, i386, and x86_64 architectures. + Windows binaries are compiled with MingW for the 32-bit (i686) and + 64-bit (x86_64) architectures. +

+

+ Downstream +

+

+ Several systems come bundled with mdocml utilities. + If your system does not appear below, the maintainers have not contacted me and it should not be considered + official. + Please contact us if you plan on maintaining a downstream version! +

+ + + + + + + + + + + + + + + + + + + + + +
DragonFly BSD + usr.bin/mandoc +
FreeBSD + ports/textproc/mdocml +
NetBSD + src/external/bsd/mdocml +
OpenBSD + src/usr.bin/mandoc +
+

+ Documentation +

+

+ These manuals are generated automatically and refer to the current release. + They are the authoritative documentation for the mdocml system. +

-

- mdocml is a suite of tools compiling -mdoc, the roff macro package - of choice for BSD manual pages, and -man, the predominant historical package for UNIX - manuals. The mission of mdocml is to deprecate groff, the GNU roff implementation, for - displaying -mdoc pages whilst providing token support for -man. -

- -

- Why? groff amounts to over 5 MB of source code, most of which is C++ and all of which is GPL. It runs - slowly, produces uncertain output, and varies in operation from system to system. mdocml strives to fix - this (respectively small, C, ISC-licensed, fast and regular). -

- -

- The core of mdocml is composed of the libmdoc, libman, and libroff validating compiler libraries. All - are simple, fast libraries operating on memory buffers, so they may be used for a variety of front-ends - (terminal-based, CGI and so on). The front-end is mandoc, which formats - manuals for display. -

- -

- The mdocml suite is a BSD.lv - Project member. -

-
-

- SOURCES -

- -

- Sources correctly build and install on DragonFly BSD, FreeBSD, OpenBSD, NetBSD, GNU/Linux, and many - other operating systems, tested variously on i386, AMD64, alpha, and others. The most current version - is @VERSION@, dated @VDATE@. A full ChangeLog (txt) is written with each release. -

- -

- Current -

- - - - - - - - - - - - - - -
Source archive - /snapshots/mdocml.tar.gz - (md5) -
Online source - cvsweb -
- -

- Downstream -

- - - - - - - - - - - - - - - - - - - - - - -
DragonFly BSD - usr.bin/mandoc -
FreeBSD - ports/textproc/mdocml -
NetBSD - src/external/bsd/mdocml -
OpenBSD - src/usr.bin/mandoc -
- -

- Historical -

- - - - - - - - - - -
Source archive - /snapshots/ -
-
-

- DOCUMENTATION -

- -

- These manuals are generated automatically and refer to the current snapshot. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
man(3) (text)man macro compiler library
man(7) (text)man language reference
mandoc(1) (text)format and display UNIX manuals
mandoc_char(7) (text)mandoc special characters
mdoc(3) (text)mdoc macro compiler library
mdoc(7) (text)mdoc language reference
roff(3) (text)roff macro compiler library
roff(7) (text)roff-mandoc language reference
- -

- See Writing UNIX Manual Pages for a general - introduction to manpages and mdoc. -

-

- CONTACT -

- -

- For all issues related to mdocml, contact Kristaps Dzonsons, kris...@bsd.lv. -

- -

- You may also subscribe to several mailing lists (these require subscription, which is moderated). An - archive is not yet available on-line, although you may request one once subscribed. -

- - - - - - - - - - - - - - - - - - -
- disc...@mdocml.bsd.lv - high-level discussions and version announcements
- tec...@mdocml.bsd.lv - low-level discussions
- sou...@mdocml.bsd.lv - source commit messages
-
-

- NEWS -

-
-

- 07-06-2010: - version 1.10.1 -

-

- This primarily focusses on the Bl and It macros described in mdoc. Multi-line column support is now fully compatible with - groff, as are implicit list entries for columns. Removed manuals.7 in favour of http://manpages.bsd.lv. The way we - handle the SYNOPSIS section (see the SYNOPSIS documentation in MANUAL STRUCTURE) has also - been considerably simplified compared to groff's method. Lastly, the -Owidth=width output option has been added to -Tascii (see mandoc). -

-
-
-

- 29-05-2010: - version 1.10.0 -

-

- Release consisting of the results from the m2k10 hackathon and up-merge from OpenBSD. - This requires a significant note of thanks to Ingo Schwarze (OpenBSD) and Joerg - Sonnenberger (NetBSD) for their hard work, and again to Joerg for hosting m2k10. - Highlights (mostly cribbed from Ingo's m2k10 report) follow in no particular order: -

-
    -
  • a libroff preprocessor in front of libmdoc and libman stripping out - roff instructions;
  • -
  • end-of-sentence (EOS) detection in free-form and macro lines;
  • -
  • correct handling of tab-separated columnar lists in -mdoc;
  • -
  • improved main calling routines to optionally use mmap() for better - performance;
  • -
  • cleaned up exiting when invoked as -Tlint or over - multiple files with -fign-errors;
  • -
  • error and warning message handling re-written to be unified for libroff, libmdoc, and libman;
  • -
  • handling of badly-nested explicit-scoped macros;
  • -
  • improved free-form text parsing in libman and libmdoc;
  • -
  • significant GNU troff compatibility improvements in -Tascii, largely in terms of spacing;
  • -
  • a regression framework for making sure the many fragilities of GNU troff - aren't trampled in subsequent work;
  • -
  • support for -Tascii breaking at hyphens - encountered in free-form text;
  • -
  • and many more minor fixes and improvements (no really, consult cvsweb and see - for yourself!).
  • -
-
-
-

- 13-05-2010: - version 1.9.25 -

-

- Fixed handling of \*(Ba escape. Backed out -fno-ign-chars (pointless complexity). Fixed erroneous - breaking of literal lines. Fixed SYNOPSIS breaking lines before non-initial - macros. Changed default section ordering. Most importantly, the framework for - end-of-sentence double-spacing is in place, now implemented for the - end-of-sentence, end-of-line rule. This is a stable roll-back point - before the mandoc hackathon in Rostock! -

-
-
-

- 09-05-2010: - version 1.9.24 -

-

- Rolled back break-at-hyphen. -DUGLY is now the - default (no feature splits!). Free-form text is not de-chunked any more: lines - are passed whole-sale into the front-end, including whitespace. Added mailing - lists. Lastly, mdocml is the focus of two Google Summer of Code - projects this year: mandoc -Tps - (NetBSD) and BSD-licensed - Text-Processing Tools (FreeBSD). -

-
- -
-

- 07-04-2010: - version 1.9.23 -

-

- mdocml has been linked to the OpenBSD build. This - version incorporates many small changes, mostly from patches by OpenBSD, - allowing crufty manuals to slip by with warnings instead of erroring-out. Some - subtle semantic issues, such as punctuation scope, have also been fixed. - Lastly, some issues with -Thtml have been fixed, which - prompted an update to the online manual pages style - layout. -

-
-

- See cvsweb for - historical notes. -

-
-
- Copyright © 2008–2010 Kristaps Dzonsons, $Date: 2010/06/07 12:20:07 $ -
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
mandoc(1) + format and display UNIX manuals + (text | + xhtml | + pdf | + ps) +
demandoc(1) + emit only text of UNIX manuals + (text | + xhtml | + pdf | + ps) +
preconv(1) + recode multibyte UNIX manuals + (text | + xhtml | + pdf | + ps) +
mandoc(3) + mandoc macro compiler library + (text | + xhtml | + pdf | + ps) +
man(7) + man language reference + (text | + xhtml | + pdf | + ps) +
eqn(7) + eqn-mandoc language reference + (text | + xhtml | + pdf | + ps) +
mandoc_char(7) + mandoc special characters + (text | + xhtml | + pdf | + ps) +
mdoc(7) + mdoc language reference + (text | + xhtml | + pdf | + ps) +
roff(7) + roff-mandoc language reference + (text | + xhtml | + pdf | + ps) +
tbl(7) + tbl-mandoc language reference + (text | + xhtml | + pdf | + ps) +
mandocdb(8) + index UNIX manuals + (text | + xhtml | + pdf | + ps) +
+

+ Contact +

+

+ Use the mailing lists for bug-reports, patches, questions, etc. Please check the + TODO for known issues + before posting. All lists are subscription-only: send a blank e-mail to the listed address to subscribe. Beyond that, + contact Kristaps at kris...@bsd.lv. +

+ + + + + + + + + + + + + + + + + +
+ disc...@mdocml.bsd.lv + + bug-reports, general questions, and announcements + (archive) +
+ tec...@mdocml.bsd.lv + + patches and system discussions + (archive) +
+ sou...@mdocml.bsd.lv + + source commit messages + (archive) +
+

+ News +

+

+ xx-xx-2011: version 1.11.8 +

+

+ This version features a new, work-in-progress mandoc output mode: -Tman. This mode + allows a system maintainer to distribute man media for older systems that may not natively + support mdoc, such as old Solaris systems. + The -Ofragment option was added to mandoc's -Thtml and -Txhtml modes. +

+

+ The mdoc and man manuals have been made considerably more readable by + adding MACRO OVERVIEW sections, by moving the gory details of the LANGUAGE SYNTAX to the roff manual, and by moving the very technical MACRO SYNTAX sections down to the bottom of + the page. +

+

+ Furthermore, for tbl, the -Tascii mode horizontal spacing of tables was rewritten + completely. It is now compatible with groff, both + with and without frames and rulers. Nesting of indented blocks is now supported in man, and + several bugs were fixed regarding indentation and alignment. The page headers in mdoc are now + nicer for very long titles. +

+

+ 02-09-2011: version 1.11.7 +

+

+ Added demandoc utility for stripping away macros and escapes. This replaces the + historical deroff utility. Also improved the mdoc and man manuals. +

+

+ 16-08-2011: version 1.11.6 +

+

+ Handling of tr macro in roff implemented. This makes Perl documentation much more + readable. Hyphenation is also now enabled in man format documents. Many other general + improvements have been implemented. Furthermore, a 64-bit Windows binary is now available at mdocml-win64.zip and a Mac OS X universal binary is available at mdocml-macosx.zip. +

+

+ 24-07-2011: version 1.11.5 +

+

+ Significant eqn improvements. mdocml can now parse arbitrary eqn input + (although few GNU extensions are accepted, nor is mixing low-level roff with eqn). See the eqn + manual for details. For the time being, equations are rendered as simple in-line text. The equation parser satisfies + the language specified in the Second + Edition User's Guide. +

+

+ This is also the first release featuring a distributed Windows binary, available at /binaries/mdocml-win32.zip. +

+

+ See cvsweb for + historical notes. +

+

+ + Copyright © 2008–2011 + Kristaps Dzonsons, + $Date: 2011/10/05 21:43:11 $ + +