./textproc/mandoc, Convert man pages from mdoc, man, eqn and tbl to txt, html, ps, or pdf

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.14.4nb2, Package name: mandoc-1.14.4nb2, Maintainer: schwarze

The mandoc manual page parser and formatter package contains:
* the man(1) program to display manual pages
* the apropos(1) program to search for manual pages
* semantic search, regular expressions, and logical operators
* the makewhatis(8) program to build manual page databases
* the catman(8) program for bulk formatting of many pages
* the man.cgi(8) program to serve manual pages on the web
* complete validating parsers for the mdoc(7) and man(7) languages
* slightly incomplete parsers for the tbl(7) and eqn(7) languages
* support for some selected roff(7) requests that occur in manuals
* complete ASCII, UTF-8, and HTML text output formatters
* simple PostScript and PDF output formatters
* translators from the mdoc(7) to the man(7) and markdown languages
* output formatters producing indented mdoc(7) and man(7) parse trees

To format manuals for console display, it can be used as a smaller
and faster drop-in replacement for nroff -mandoc. Some rare manuals
using lots of uncommon low-level roff requests may not work with
mandoc but require a full roff implementation.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 089bb02a8ec107059b6cff11e4b4fc7da0b9d379
RMD160: 5e3702e49a70a270184132bf08f891eb12100ea2
Filesize: 612.528 KB

Version history: (Expand)


CVS history: (Expand)


   2018-10-11 14:19:05 by Leonardo Taccari | Files touched by this commit (1) | Package updated
Log message:
mandoc: Add -D_OPENBSD_SOURCE to CFLAGS on NetBSD

Uses both strtonum(3) and reallocarray(3).

Bump PKGREVISION
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2018-08-17 12:16:55 by Jonathan Perkin | Files touched by this commit (1)
Log message:
mandoc: Fix MANDIR.
   2018-08-17 11:21:02 by Thomas Klausner | Files touched by this commit (1)
Log message:
mandoc: improve DESCR, from Ingo
   2018-08-16 15:55:35 by Thomas Klausner | Files touched by this commit (1)
Log message:
mandoc: incorporate some comments from Ingo

autodetection should work well enough, remove two manual overrides
improve COMMENT
   2018-08-15 06:09:18 by Thomas Klausner | Files touched by this commit (1)
Log message:
mandoc: remove two unnecessary configure overrides

From maintainer Ingo Schwarze.
   2018-08-14 11:21:53 by Thomas Klausner | Files touched by this commit (9) | Package removed
Log message:
mandoc: update to 1.14.4.

Changes in version 1.14.4, released on August 8, 2018

    --- MAJOR NEW FEATURES ---
 * In ASCII output, render mathematical symbols and greek letters
   as transliterations conveying the characters' meanings rather
   than trying to imitate their shape.  Consequently, such characters
   can now be used in portable manual pages.  All the same, please
   limit their use to contexts where they really matter, for example
   when showing complicated mathematical formulae.
 * First steps towards better support for small screens in HTML
   output (responsive design): avoid most style= attributes, in
   particular all hard-coded indentations and column widths, and
   provide a better mandoc.css style sheet with a @media query,
   using em units throughout, and avoiding redundancy in selectors.
 * Better HTML output with some more fitting HTML elements, eliminating
   needless class= attributes, and avoiding various HTML syntax errors
   (element nesting, URL-fragment syntax, duplicate id= attributes).
    --- MINOR NEW FEATURES ---
 * When a man(1) argument contains a slash, imply -l like in man-db.
 * Use TIOCGWINSZ to reduce the default -Owidth and -Oindent during
   interactive use on terminals narrower than 79 columns.
 * Generated PostScript files are now more than 50% smaller.
 * Terminal rendering of eqn(7) is improved in several respects.
 * Simplified and nicer output from the mdoc(7) .Lk macro, formatting
   all links in-line, even long ones.
 * roff(7) \n+ and \n- numerical register auto-increment and -decrement
 * roff(7) .nr optional third argument (auto-increment step size)
 * Autodetect in ./configure whether the compiler can use -W and -static,
   allowing to build on Solaris 10 and 11 without any configure.local.
    --- RELIABILITY BUGFIXES ---
 * Only activate UTF-8 output when the user really selected UTF-8,
   not some other multibyte character encoding.
 * Prevent excessive .ll arguments from generating infinite output.
 * Fix out of bounds accesses to parse buffers that could happen when
   using renamed or user defined macros after roff(7) conditionals.
 * Avoid an assertion failure in certain .Bl -column lists.
 * Avoid a NULL pointer access on deroff() failure after '.SS ""'.
 * Fix a segfault that could be triggered by two invalid .Dt macros.
 * Fix two syntax errors in generated PDF files.
 * Properly state the page size in generated PostScript files.
 * Close a memory leak caused by missing gzclose(3).
 * Fix misformatting of man(7) documents lacking .SH macros
   in PostScript and PDF output.
 * And many minor bugfixes.
    --- THANKS TO ---
 * Marc Espie (OpenBSD) for implementing the size reduction of
   PostScript files, one additional patch for code simplification,
   and two bug reports.
 * Theo Buehler (OpenBSD) for a bugfix patch,
   and Theo de Raadt (OpenBSD) for checking it.
 * John Gardner for more than a dozen suggestions regarding HTML output.
 * Mike Williams for teaching me how to use %%DocumentMedia and
   setpagedevice in PostScript files.
 * Werner Lemberg (groff) for feedback on mdoc(7) language changes.
 * Colin Watson (man-db) for feedback on man-db semantics.
 * Jason McIntyre (OpenBSD) for lots of feedback and suggestions
   on diagnostic messages and on the documentation.
 * Thomas Klausner (NetBSD) for suggesting two new style messages
   and one new feature, for two bug reports, and for release testing.
 * Leah Neukirchen (Void Linux) for suggesting a new style message,
   five bug reports, and release testing.
 * Anthony Bentley (OpenBSD) for reporting multiple bugs and missing
   features.
 * Paul Irofti (OpenBSD) and Nate Bargmann for suggesting new features.
 * Michael Stapelberg (Debian) for bug reports and release testing.
 * Christian Weisgerber, Jonathan Gray, Stuart Henderson,
   Ted Unangst (OpenBSD), Takeshi Nakayama (NetBSD),
   Anton Lazarov, Jakub Klinkovsky, Jan Stary, Jesper Wallin,
   Will Backmam, and Wolfgang Mueller for bug reports.
 * Sevan Janiyan (NetBSD) for additions to lib.in.
 * George Brown for suggesting code simplifications.
 * David Coppa, Igor Sobrado (OpenBSD), and Alexander Kuleshov
   for documentation improvements.
 * Laura Morales and Raf Czlonka for questions resulting in better
   documentation.
 * Yuri Pankov (illumos) for release testing.
   2018-04-05 11:20:52 by Thomas Klausner | Files touched by this commit (7) | Package updated
Log message:
mandoc: pull in some upstream fixes/improvements.

* warn about '--' in man page and suggest '\(em' instead
* fix handling of Dq/Do/Dc when converting mdoc to man

Bump PKGREVISION.