Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apparently the U tag is deprecated, so use a SPAN instead (blah). Bump | Kristaps Dzonsons | 2010-12-24 | 1 | -1/+0 |
| | | | | version date for release. | ||||
* | Drastically fix -T[x]html's handling of font-escape mode changes (i.e., | Kristaps Dzonsons | 2010-12-24 | 1 | -26/+24 |
| | | | | | | | | | | | | | | | using \fI or \fP). Now, using these modes will cause a font to be rendered for each word; furthermore, setting mode within a word will do the correct thing. Second, make -man use real font tags (B, I, SMALL) to set its font instead of using font modes and fix up the pre-macro unsetting of the current mode. This fixes how roff.7 wasn't validating (<P> closing out a font mode) and has been checked against gcc.1 (more will come). I considered failure to validate OUR manual to be a show-stopper for the up-coming release. | ||||
* | Implement reference-counted version of original union mdoc_data. This | Kristaps Dzonsons | 2010-12-22 | 1 | -1/+2 |
| | | | | | | | simplifies clean-up and allows for more types without extra hassle. Also made in-line literal types in -T[x]html use CODE instead of SPAN to match how literal blocks use PRE. | ||||
* | More use default tags, this time I and U. Also fix a stack overflow | Kristaps Dzonsons | 2010-12-20 | 1 | -0/+2 |
| | | | | segfault in the last commit. | ||||
* | Give header and footer table cells default widths (using WIDTH and ALIGN | Kristaps Dzonsons | 2010-12-20 | 1 | -14/+14 |
| | | | | | | | | | atttributes) if no style is specified. Give the default-bold elements a B tag instead of a SPAN tag, as this can be overriden in the stylesheet. Prune some unused attributes from html.h. | ||||
* | Make literal `Bd' use a PRE in -Thtml. Make `Bd' output in general use | Kristaps Dzonsons | 2010-12-17 | 1 | -0/+1 |
| | | | | only a single DIV or PRE. Tag all displays with display class. | ||||
* | Have synopsis_pre() in -Thtml emit P or BR, not DIVs. | Kristaps Dzonsons | 2010-12-17 | 1 | -0/+4 |
| | | | | Banish header and footer TABLE styling to example.style.css. | ||||
* | Use a single P tag for paragraph breaks (which can be configured for | Kristaps Dzonsons | 2010-12-15 | 1 | -0/+1 |
| | | | | | | | paragraph breaking in CSS). Use -man's handling of `sp' and `br', which accomodates for scaling widths (-mdoc wasn't). | ||||
* | Remove stupid outer DIV tag in favour of regular BODY and HTML that can | Kristaps Dzonsons | 2010-12-15 | 1 | -0/+1 |
| | | | | | | | | be handled in CSS. Clarified "lit" tag (will be the subject of future clarification). Removed CSS2 note in mandoc.1, which is no longer the case. | ||||
* | In-progress move from -T[x]html using DIVs for its lists to using DL, | Kristaps Dzonsons | 2010-12-15 | 1 | -7/+4 |
| | | | | | OL, and UL. Issue raised by Will Backman, solution proposed by schwarze@. | ||||
* | * need a space before .No even if it starts with a closing delimiter | Ingo Schwarze | 2010-10-01 | 1 | -0/+2 |
| | | | | | | | * slightly simplify .Pf *_IGNDELIM code, and share part of it with .No * do not let opening delimiters fall out of the front of .Ns (from kristaps@) This fixes a few spacing issues in csh(1) and ksh(1). OK kristaps@ | ||||
* | Churny commit to quiet lint. No functional changes. | Kristaps Dzonsons | 2010-09-04 | 1 | -2/+2 |
| | |||||
* | Implement a simple, consistent user interface for error handling. | Ingo Schwarze | 2010-08-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | We now have sufficient practical experience to know what we want, so this is intended to be final: - provide -Wlevel (warning, error or fatal) to select what you care about - provide -Wstop to stop after parsing a file with warnings you care about - provide consistent exit status codes for those warnings you care about - fully document what warnings, errors and fatal errors mean - remove all other cruft from the user interface, less is more: - remove all -f knobs along with the whole -f option - remove the old -Werror because calling warnings "fatal" is silly - always finish parsing each file, unless fatal errors prevent that This commit also includes a couple of related simplifications behind the scenes regarding error handling. Feedback and OK kristaps@; Joerg Sonnenberger (NetBSD) and Sascha Wildner (DragonFly BSD) agree with the general direction. | ||||
* | Make `Sm' start no-spacing after the first output word. Fix in both | Kristaps Dzonsons | 2010-07-26 | 1 | -0/+2 |
| | | | | -T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre. | ||||
* | Add support for `Sm' in -T[x]html -mdoc. | Kristaps Dzonsons | 2010-07-23 | 1 | -1/+5 |
| | |||||
* | Accomodate for groff's crappy behaviour wherein an unrecognised | Kristaps Dzonsons | 2010-07-21 | 1 | -3/+9 |
| | | | | | | | | | | | | | single-character escape (and ONLY this type of escape) will map back into itself: "If a backslash is followed by a character that does not constitute a defined escape sequence the backslash is silently ignored and the character maps to itself." (From groff.7.) Found by Jason McIntyre. | ||||
* | Change chars.in HTML encoding to be a Unicode codepoint (int), which is | Kristaps Dzonsons | 2010-07-16 | 1 | -8/+16 |
| | | | | later formatted in html.c. | ||||
* | correct lots of copyright notices; | Ingo Schwarze | 2010-07-13 | 1 | -1/+1 |
| | | | | ok kristaps@ | ||||
* | Give -T[x]html `Bk -words' capability. | Kristaps Dzonsons | 2010-07-06 | 1 | -4/+18 |
| | |||||
* | Brought function arguments and style in ine with term_word() in term.c | Kristaps Dzonsons | 2010-07-06 | 1 | -7/+7 |
| | | | | to make sharing of TERMP_KEEP easier. | ||||
* | Remove "pt" from struct roffsu, as CSS (the only reason it was there) is | Kristaps Dzonsons | 2010-06-25 | 1 | -5/+5 |
| | | | | | unclear about which units accept floats/integers, which leads me to assume that it handles either and rounds as appropriate. | ||||
* | Churn as I finish email address migration kth.se -> bsd.lv. | Kristaps Dzonsons | 2010-06-19 | 1 | -1/+1 |
| | |||||
* | Add -Owidth=width option to mandoc -Tascii. Asked for by joerg@ about a | Kristaps Dzonsons | 2010-06-07 | 1 | -2/+0 |
| | | | | thousand years ago. Note that this is normalised to >=60. | ||||
* | Modified version of Ingo Schwarze's patch for hyphen-breaking. | Kristaps Dzonsons | 2010-05-25 | 1 | -15/+14 |
| | | | | | | | Breakable hyphens are cued in the back-ends (with ASCII_HYPH) and acted upon in term.c or ignored in html.c. Also cleaned up XML decl printing (no need for extra vars). | ||||
* | Fix to auto-closing of LINK tag in -Txhtml (thanks to Daniel Friesel). | Kristaps Dzonsons | 2010-04-12 | 1 | -1/+1 |
| | |||||
* | Removed pipe from front-end ("typographic") recognition as punctuation ↵ | Kristaps Dzonsons | 2010-04-08 | 1 | -2/+4 |
| | | | | (noted by Ingo Schwarze). | ||||
* | Removed erroneous `{' and `}' as punctuation (see mdoc.samples "General ↵ | Kristaps Dzonsons | 2010-04-03 | 1 | -4/+2 |
| | | | | | | Syntax" for why this mistake was made). Noted by Ingo Schwarze. Lines of text now break at a hyphen, unless the hyphen is the first or second subsequent in a word. Inspired by a Ingo Schwarze's patch. | ||||
* | Fixed printing of XHTML DOCTYPE "html" vs. "HTML". | Kristaps Dzonsons | 2010-02-17 | 1 | -1/+5 |
| | |||||
* | Fix in handling Vt in SYNOPSIS with trailing punctuation. Spotted by Joerg ↵ | Kristaps Dzonsons | 2010-01-30 | 1 | -1/+0 |
| | | | | Sonnenberger. | ||||
* | Mandate html attributes for xhtml. | Kristaps Dzonsons | 2010-01-30 | 1 | -5/+27 |
| | |||||
* | Fixed Makefile for `make lint' dep. on config.h | Kristaps Dzonsons | 2010-01-29 | 1 | -14/+81 |
| | | | | Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't. | ||||
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -5/+4 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1). | Kristaps Dzonsons | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | Abstraction of -Thtml -man font setting (still experimental). | Kristaps Dzonsons | 2009-11-16 | 1 | -15/+36 |
| | |||||
* | \f escapes appear to work properly for -Thtml -man. Needs more testing. | Kristaps Dzonsons | 2009-11-15 | 1 | -1/+5 |
| | |||||
* | Initial check-in of -man -Thtml \f support (needs testing). | Kristaps Dzonsons | 2009-11-14 | 1 | -4/+46 |
| | |||||
* | Removed superfluous HTML_NEWLINE. | Kristaps Dzonsons | 2009-11-14 | 1 | -10/+1 |
| | |||||
* | Fix of fix of -Thtml nospace. | Kristaps Dzonsons | 2009-11-14 | 1 | -3/+3 |
| | |||||
* | Fixed \c handling in -Thtml. | Kristaps Dzonsons | 2009-11-14 | 1 | -5/+9 |
| | |||||
* | Fixed \c support for all input and output modes (documented in mandoc_char.7). | Kristaps Dzonsons | 2009-11-12 | 1 | -0/+3 |
| | |||||
* | Lint fixes in function call. | Kristaps Dzonsons | 2009-11-10 | 1 | -6/+6 |
| | |||||
* | Documented \s and cleaned up \f documentation in mdoc.7, man.7. | Kristaps Dzonsons | 2009-11-09 | 1 | -107/+34 |
| | | | | -Thtml now using a2roffdeco(). | ||||
* | Documented that `\s' and `\f' don't work in HTML mode (and why). | Kristaps Dzonsons | 2009-11-05 | 1 | -15/+13 |
| | | | | Added support for recognising the many forms of `\s' (doesn't yet render). | ||||
* | Added mandoc_a2time() for proper date conversion. | Kristaps Dzonsons | 2009-11-02 | 1 | -1/+2 |
| | | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc. | ||||
* | Lint fix. | Kristaps Dzonsons | 2009-11-01 | 1 | -1/+1 |
| | |||||
* | Using putchar for single-character prints (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-11-01 | 1 | -5/+5 |
| | |||||
* | print_encode() using strcspn instead of looping/putchar() (noted by Joerg ↵ | Kristaps Dzonsons | 2009-11-01 | 1 | -12/+12 |
| | | | | Sonnenberger). | ||||
* | Replaced putchar() loop with fwrite() (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-11-01 | 1 | -7/+3 |
| | |||||
* | Using perror() instead of fprintf for failure from library functions. | Kristaps Dzonsons | 2009-10-31 | 1 | -2/+2 |
| | |||||
* | More lint fixes. | Kristaps Dzonsons | 2009-10-30 | 1 | -1/+0 |
| | | | | Removed err.h from inclusions (less main.c--still in progress). |