]>
git.cameronkatri.com Git - mandoc.git/log
Kristaps Dzonsons [Tue, 20 Oct 2009 05:45:21 +0000 (05:45 +0000)]
More updates to mdoc.7.
Kristaps Dzonsons [Mon, 19 Oct 2009 15:18:30 +0000 (15:18 +0000)]
More fixes to scaling-width multipliers (which, just to make my life difficult, differ not only between -mdoc and -man, but between various invocation, e.g., -offset and -width).
Kristaps Dzonsons [Mon, 19 Oct 2009 11:02:23 +0000 (11:02 +0000)]
Continued work on mdoc.7.
Noted buffer overwrite bug in -Thtml -mdoc (will fix later).
Kristaps Dzonsons [Mon, 19 Oct 2009 10:18:05 +0000 (10:18 +0000)]
Fixed -mdoc -Thtml with -item lists not to default-indent when width isn't specified.
Many more cleanups to mdoc.7 (ongoing completion and documentation of all macros).
Kristaps Dzonsons [Mon, 19 Oct 2009 09:40:23 +0000 (09:40 +0000)]
Fixed `-file' argument to `Bd', which is NOT a type, but instead just an argument.
Kristaps Dzonsons [Mon, 19 Oct 2009 07:44:30 +0000 (07:44 +0000)]
Made man.7 use lots of Sx/Ss to link between macro definitions and references.
Kristaps Dzonsons [Mon, 19 Oct 2009 07:34:43 +0000 (07:34 +0000)]
Beginning of mdoc.7 full-reference in place.
Kristaps Dzonsons [Sun, 18 Oct 2009 19:17:14 +0000 (19:17 +0000)]
Lint fixes.
Kristaps Dzonsons [Sun, 18 Oct 2009 19:03:36 +0000 (19:03 +0000)]
Made sure devices and formats recognise that -man and -mdoc have different syntax for scaling widths: -mdoc assumes no unit means that the value is a string literal while -man instead uses the default vertical/horizontal scale.
Kristaps Dzonsons [Sun, 18 Oct 2009 19:02:10 +0000 (19:02 +0000)]
Had out.h roff-scale converters accept default unit scale (because -mdoc and -man differ).
Kristaps Dzonsons [Sun, 18 Oct 2009 19:01:24 +0000 (19:01 +0000)]
Fix in syntax of scaling widths in mdoc.7.
Kristaps Dzonsons [Sun, 18 Oct 2009 19:00:57 +0000 (19:00 +0000)]
Properly documented scaling widths in man.7.
Kristaps Dzonsons [Sun, 18 Oct 2009 13:58:48 +0000 (13:58 +0000)]
Fixed typo in Makefile.
Added initial scaling-units section in mdoc.7.
Kristaps Dzonsons [Sun, 18 Oct 2009 13:34:16 +0000 (13:34 +0000)]
Arbitrary horizontal and vertical scaling widths now handled by -mdoc -Tascii.
Terminal scaling backend pushed into term.c.
Kristaps Dzonsons [Sun, 18 Oct 2009 13:26:16 +0000 (13:26 +0000)]
Removed restrictions on `sp' (maybe a warning, someday, but for now be simple).
Kristaps Dzonsons [Sun, 18 Oct 2009 11:52:18 +0000 (11:52 +0000)]
Fitted -man -Tascii with scaling units (.5i, etc.).
Kristaps Dzonsons [Sun, 18 Oct 2009 11:36:37 +0000 (11:36 +0000)]
Removed number-check for `sp' in -Tman, as nroff accepts non-numerics as a single vspace.
Kristaps Dzonsons [Sun, 18 Oct 2009 11:14:04 +0000 (11:14 +0000)]
Added horizontal scaling units to -Tman -Tascii.
Kristaps Dzonsons [Sun, 18 Oct 2009 11:13:39 +0000 (11:13 +0000)]
Re-added HTML changelog.
Kristaps Dzonsons [Sat, 17 Oct 2009 04:44:05 +0000 (04:44 +0000)]
Makefile uses multiple deps for some rules (shorter file).
Kristaps Dzonsons [Sat, 17 Oct 2009 04:37:52 +0000 (04:37 +0000)]
Fixed mandoc_char lists to have -column before other arguments.
Kristaps Dzonsons [Thu, 15 Oct 2009 02:56:51 +0000 (02:56 +0000)]
Added warning about specifying list arguments before type (suggested by Joerg Sonnenberg).
Kristaps Dzonsons [Thu, 15 Oct 2009 02:42:53 +0000 (02:42 +0000)]
Fix in mandoc.1 and mandoc_char.7 syntax (submitted Joerg Sonnenberger).
Added note on character format per output type.
Kristaps Dzonsons [Thu, 15 Oct 2009 01:33:12 +0000 (01:33 +0000)]
Added support for `Bd -centered', which appears in newer groffs (not yet implemented in centre-capable front-ends, i.e., -Thtml).
Kristaps Dzonsons [Tue, 13 Oct 2009 10:57:25 +0000 (10:57 +0000)]
Moved output definitions into main.h.
Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
Kristaps Dzonsons [Tue, 13 Oct 2009 10:21:24 +0000 (10:21 +0000)]
Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein).
Kristaps Dzonsons [Sat, 10 Oct 2009 18:43:55 +0000 (18:43 +0000)]
Version: 1.9.8.
Kristaps Dzonsons [Sat, 10 Oct 2009 11:05:23 +0000 (11:05 +0000)]
Fix hang lists in -Tascii -Tmdoc, which seem to have been broken since ~1.8.x.
Noted similarity of HP/TP and -hang/-tag in mandoc.1.
Kristaps Dzonsons [Sat, 10 Oct 2009 10:05:12 +0000 (10:05 +0000)]
`Cd' in -Thtml -mdoc correctly breaks lines.
Kristaps Dzonsons [Fri, 9 Oct 2009 15:10:41 +0000 (15:10 +0000)]
Version up.
Kristaps Dzonsons [Fri, 9 Oct 2009 07:10:37 +0000 (07:10 +0000)]
RS tags implemented for -Tman -Thtml.
Kristaps Dzonsons [Fri, 9 Oct 2009 06:54:11 +0000 (06:54 +0000)]
Scaling factor made floating point (as per groff.7) and, e.g., gnu/usr.bin/cvs/man/cvs.1.
Kristaps Dzonsons [Thu, 8 Oct 2009 23:00:15 +0000 (23:00 +0000)]
Consolidated some -man -Tascii functions.
Added many -man -Thtml functions (almost complete).
Kristaps Dzonsons [Wed, 7 Oct 2009 15:27:11 +0000 (15:27 +0000)]
Fixed side-effect of linting (oops).
Kristaps Dzonsons [Wed, 7 Oct 2009 15:06:03 +0000 (15:06 +0000)]
Lint-ified.
Kristaps Dzonsons [Wed, 7 Oct 2009 15:03:21 +0000 (15:03 +0000)]
Fixed superfluous function declaration (spotted by Ulrich Sporlein).
Kristaps Dzonsons [Wed, 7 Oct 2009 14:52:35 +0000 (14:52 +0000)]
Fix operator overloading (submitted by Ulrich Sporlein, uqs@spoerlein.net).
Kristaps Dzonsons [Wed, 7 Oct 2009 14:50:28 +0000 (14:50 +0000)]
Lint-ified.
Kristaps Dzonsons [Wed, 7 Oct 2009 14:39:00 +0000 (14:39 +0000)]
Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling (better more than less).
Fixed -column widths for -Thtml -mdoc.
Fixed left-hand margin padding for -Thtml -mdoc.
Kristaps Dzonsons [Wed, 7 Oct 2009 14:37:13 +0000 (14:37 +0000)]
Set field widths n -> m.
Kristaps Dzonsons [Wed, 7 Oct 2009 12:35:23 +0000 (12:35 +0000)]
Additions to -Tman -Thtml: all structural components tested & in place.
Fitted both -Thtml with handling of arbitrary vertical and horizontal scaling units (see groff(7)). Undocumented until fitted into -Tascii (next release).
Kristaps Dzonsons [Wed, 7 Oct 2009 12:20:20 +0000 (12:20 +0000)]
`Bd' literals in -Tascii -mdoc were losing the first line's newline. Fixed.
Kristaps Dzonsons [Wed, 7 Oct 2009 12:19:39 +0000 (12:19 +0000)]
Header buffers in -man -Tascii are static.
Kristaps Dzonsons [Sun, 4 Oct 2009 15:24:54 +0000 (15:24 +0000)]
Structural components of -man -Thtml in place (note that HP is the same as IP, as HTML doesn't "do" this construction without fixed page widths).
Kristaps Dzonsons [Sun, 4 Oct 2009 10:24:31 +0000 (10:24 +0000)]
Initial IP implementation in -Thtml -man.
Kristaps Dzonsons [Sun, 4 Oct 2009 09:35:26 +0000 (09:35 +0000)]
SS, SH, PP, P, LP, br, sp tags in -man -Thtml.
Kristaps Dzonsons [Sun, 4 Oct 2009 09:02:40 +0000 (09:02 +0000)]
Example style-sheet reflecting modified section/subsection style tags.
Added ATTR_ID and so forth to attrs.
Kristaps Dzonsons [Sun, 4 Oct 2009 09:00:40 +0000 (09:00 +0000)]
Section/subsection anchor names (<a name=xxx>) replaced with (div id=xxx) (noted by joerg@netbsd.org)
Removed superfluous span tags within section/subsection divs (noted by joerg@netbsd.org).
Kristaps Dzonsons [Sat, 3 Oct 2009 19:57:53 +0000 (19:57 +0000)]
Added initial -man framework for -Thtml.
Kristaps Dzonsons [Sat, 3 Oct 2009 19:02:45 +0000 (19:02 +0000)]
`Fn' does not print empty ftype span.
-Tascii `node' and `meta' args in DECL_ARGS renamed to `n' and `m' to be more coherent with -Thtml.
Kristaps Dzonsons [Sat, 3 Oct 2009 16:37:23 +0000 (16:37 +0000)]
Lintified (noops).
Kristaps Dzonsons [Sat, 3 Oct 2009 16:36:06 +0000 (16:36 +0000)]
Fixed mandoc.1 examples (new -Thtml options).
Fixed manuals to use `In', not `Fd'.
Moved buf* functions into html.c.
Kristaps Dzonsons [Sat, 3 Oct 2009 15:26:26 +0000 (15:26 +0000)]
Added the -oincludes=FMT option.
The `In' handler now decorates with a hyperlink.
If no -oman= or -oincludes= is stipulated, no link is printed (but the text is still style-decorated).
Kristaps Dzonsons [Sat, 3 Oct 2009 15:08:09 +0000 (15:08 +0000)]
Element tag buffer is now part of struct html.
buffmt() can be called in sequence.
Noted BUFSIZ-sized buffer in CAVEATS (attribute length for link formats).
Added -oman=FMT -Thtml option for `Xr' manual links.
Removed -obase=URI -Thtml option (obsolete).
Kristaps Dzonsons [Mon, 28 Sep 2009 22:09:08 +0000 (22:09 +0000)]
Compat fix in mdoc.7 (joerg@netbsd.org).
Kristaps Dzonsons [Sun, 27 Sep 2009 17:11:48 +0000 (17:11 +0000)]
Fix typo in st.in (Alan Bueno, alan.bsd@gmail.com)
Kristaps Dzonsons [Sat, 26 Sep 2009 18:31:36 +0000 (18:31 +0000)]
SYNOPSIS functions in -Thtml text-indent and group paramters (as nroff does).
Kristaps Dzonsons [Sat, 26 Sep 2009 18:02:51 +0000 (18:02 +0000)]
Fixed -Thtml handling of -compact lists.
Fixed -Thtml handling of `Bd' prior vspace and embedded macros.
Kristaps Dzonsons [Sat, 26 Sep 2009 17:35:49 +0000 (17:35 +0000)]
Fixed `Bd' prior vertical space (was ignoring -compact).
Fixed effect of embedding macros in `Bd' (was printing all on each line instead of grouping).
Kristaps Dzonsons [Fri, 25 Sep 2009 14:13:16 +0000 (14:13 +0000)]
Changed stylesheet used for local documents.
Kristaps Dzonsons [Fri, 25 Sep 2009 14:07:51 +0000 (14:07 +0000)]
Temporarily disabled ChangeLog.html (server's hosed and doesn't have xsltproc).
Kristaps Dzonsons [Fri, 25 Sep 2009 13:33:47 +0000 (13:33 +0000)]
Version: 1.9.6.
Kristaps Dzonsons [Fri, 25 Sep 2009 13:00:13 +0000 (13:00 +0000)]
Lint check (noop).
Kristaps Dzonsons [Fri, 25 Sep 2009 12:43:05 +0000 (12:43 +0000)]
Changed -Thtml document header to be 10/80/10 with no wrapping of the middle.
Kristaps Dzonsons [Thu, 24 Sep 2009 23:54:43 +0000 (23:54 +0000)]
-Tascii correctly prints `%T' in `Rs' with quotes.
-Thtml behaves like -Tascii for printing.
Printing of `Rs' elements cross-checked with new groff.
Kristaps Dzonsons [Thu, 24 Sep 2009 15:08:41 +0000 (15:08 +0000)]
Fixed segfault in `Rs' empty block.
Kristaps Dzonsons [Thu, 24 Sep 2009 15:05:56 +0000 (15:05 +0000)]
Lint-fixes (noop).
Kristaps Dzonsons [Thu, 24 Sep 2009 15:01:06 +0000 (15:01 +0000)]
Added EBADCHILD error (bad child of parent context).
`Rs' post-checks that all children are proper bibliographic elements.
`Rs' correctly re-orders its children as per groff's output (including %C).
Kristaps Dzonsons [Thu, 24 Sep 2009 13:18:37 +0000 (13:18 +0000)]
Proper handling of `Rs' blocks in -Thtml.
Kristaps Dzonsons [Thu, 24 Sep 2009 13:03:32 +0000 (13:03 +0000)]
-offset string can now be blank (supplied with 6n as stipulated by mdoc.samples).
Kristaps Dzonsons [Thu, 24 Sep 2009 11:55:28 +0000 (11:55 +0000)]
Fix in -Tascii where `Lb' causes line-break in any section (should only happen in LIBRARY).
`Fn' first parameter is broken apart into ftype and fname in -Thtml (for correct style application).
Fixed \0 special character.
Kristaps Dzonsons [Thu, 24 Sep 2009 11:05:45 +0000 (11:05 +0000)]
Sync'd example style-sheet to be more like OpenBSD's default (KISS).
-Thtml and -Tascii now have equivalent functionality.
Kristaps Dzonsons [Thu, 24 Sep 2009 09:50:31 +0000 (09:50 +0000)]
Added Bf, Pf, etc. to -Thtml.
Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
Kristaps Dzonsons [Thu, 24 Sep 2009 09:20:02 +0000 (09:20 +0000)]
Many more macros added to -Thtml.
Minor space issues fixed in -Tascii.
Kristaps Dzonsons [Wed, 23 Sep 2009 11:53:45 +0000 (11:53 +0000)]
FreeBSD compile fixes (uqs@spoerlein.net).
Kristaps Dzonsons [Wed, 23 Sep 2009 11:02:21 +0000 (11:02 +0000)]
All special characters sync'd with groff, both -Thtml and -Tascii.
Re-added text links to index.sgml (just for show).
Kristaps Dzonsons [Wed, 23 Sep 2009 09:10:52 +0000 (09:10 +0000)]
Sync'd currency symbols with newest groff.
Kristaps Dzonsons [Wed, 23 Sep 2009 09:06:44 +0000 (09:06 +0000)]
Sync'd special letters and ligatures with newest groff.
Kristaps Dzonsons [Wed, 23 Sep 2009 01:04:11 +0000 (01:04 +0000)]
Arrows & brackets sync'd with newest groff.
Kristaps Dzonsons [Wed, 23 Sep 2009 00:03:45 +0000 (00:03 +0000)]
Quotes sync'd with newest groff.
Kristaps Dzonsons [Tue, 22 Sep 2009 23:34:14 +0000 (23:34 +0000)]
Accent marks sync'd with current groff.
Kristaps Dzonsons [Tue, 22 Sep 2009 23:15:58 +0000 (23:15 +0000)]
Many more UTF-8 symbols in place.
Started partitioning chars.in into sections corresponding to mandoc_char.7.
Correctly ordered Greek letters.
Sync'd all mathematical and logical symbols with current groff.
Kristaps Dzonsons [Tue, 22 Sep 2009 16:10:52 +0000 (16:10 +0000)]
Fix segfault in -Thtml column lists.
Added some more UTF-8 chars.
mandoc_char.7 now has all special characters rendered.
Fixed column layout in -Thtml.
Kristaps Dzonsons [Tue, 22 Sep 2009 10:11:57 +0000 (10:11 +0000)]
Fixed some characters.
Initial push of mandoc_char showing the current character rendering (useful for testing, too).
Kristaps Dzonsons [Tue, 22 Sep 2009 10:07:01 +0000 (10:07 +0000)]
Many more characters for HMTL (mostly Greek).
Kristaps Dzonsons [Mon, 21 Sep 2009 23:12:08 +0000 (23:12 +0000)]
A few more macros in -Thtml.
Kristaps Dzonsons [Mon, 21 Sep 2009 16:05:05 +0000 (16:05 +0000)]
Added chars.h to HEADS.
Kristaps Dzonsons [Mon, 21 Sep 2009 16:03:07 +0000 (16:03 +0000)]
Added html.h to headers that should be distributed.
Kristaps Dzonsons [Mon, 21 Sep 2009 15:12:03 +0000 (15:12 +0000)]
Wrong stylesheet in xsl.
Kristaps Dzonsons [Mon, 21 Sep 2009 15:01:33 +0000 (15:01 +0000)]
Version: 1.9.5.
Kristaps Dzonsons [Mon, 21 Sep 2009 14:56:56 +0000 (14:56 +0000)]
Split html.c into html.h, mdoc_html.c, man_html.c.
Kristaps Dzonsons [Mon, 21 Sep 2009 14:40:31 +0000 (14:40 +0000)]
Removed man handling in -Thtml (for now).
Added some UTF chars to chars.in.
Kristaps Dzonsons [Mon, 21 Sep 2009 14:08:13 +0000 (14:08 +0000)]
Fix height of hard-breaks in -Thtml.
Kristaps Dzonsons [Mon, 21 Sep 2009 14:07:07 +0000 (14:07 +0000)]
Consolidation of Pp/sp/br/Lp stuff.
Kristaps Dzonsons [Mon, 21 Sep 2009 13:47:40 +0000 (13:47 +0000)]
Fix in outopts processing.
Kristaps Dzonsons [Mon, 21 Sep 2009 13:44:56 +0000 (13:44 +0000)]
Fixed body/divbody structure of html pages.
Added example style.css (example.style.css).
Enabled using -Thtml to generate manuals in Makefile.
Stopped making text manuals for webpage.
Kristaps Dzonsons [Mon, 21 Sep 2009 13:43:21 +0000 (13:43 +0000)]
getsubopt() is in unistd.h, not stdlib.h (error in xBSD manuals).
Kristaps Dzonsons [Mon, 21 Sep 2009 13:42:01 +0000 (13:42 +0000)]
Lint pass (OpenBSD-alpha). Noops.
Kristaps Dzonsons [Mon, 21 Sep 2009 13:06:13 +0000 (13:06 +0000)]
Removed new-born out.{h,c} (not a good idea).
Removed if 0 for HTML-mode output (why not).
Added option -oxxxx for passing options to output devices.
Kristaps Dzonsons [Mon, 21 Sep 2009 09:32:30 +0000 (09:32 +0000)]
Added example stylesheet.