Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for "^" vertical spanners. Unlike GNU tbl, raise | Kristaps Dzonsons | 2011-01-11 | 1 | -0/+2 | |
| | | | | | | | error-class messages when data is being ignored by specifying it in "^" cells (either as-is or in blocks). Also note again that horizontal spanners aren't really supported... | |||||
* | Clarify what members may be NULL or not in calculating widths. Make | Kristaps Dzonsons | 2011-01-10 | 1 | -10/+13 | |
| | | | | | sure signedness is correct. Verify that layouts MUST exit for data cells. | |||||
* | First, make extra data cells be thrown away. This makes "dp->layout" | Kristaps Dzonsons | 2011-01-10 | 1 | -2/+1 | |
| | | | | | | | | | | | | always hold, which cleans up the table stuff a bit. Second, set a "spans" value per data cell consisting of the number of skipped TBL_CELL_SPAN layout cells. Third, make tbl_term.c understand how to skip over spanned sections when iterating over the header queue. What remains is to calculate the widths of spanned cells. | |||||
* | The numerical column type centres on the *last* decimal point. | Kristaps Dzonsons | 2011-01-08 | 1 | -1/+1 | |
| | ||||||
* | Give the "n" cell type knowledge of its spacing. | Kristaps Dzonsons | 2011-01-08 | 1 | -6/+8 | |
| | ||||||
* | Stuff tbl_calc() into out.c so that it can be shared by all output modes | Kristaps Dzonsons | 2011-01-05 | 1 | -0/+202 | |
| | | | | | | | | | | | | | | | | (isn't now, but will need to be, used by -T[x]html also). Necessitated a lot of churn in getting tbl_calc* code out of tbl_term.c and into out.c, including renaming some structures and so on. The abstraction is in having a pointer to a wrapper function for calculating string widths. The char devices use term_strlen and term_len; the others will probably just use strlen(). While at it, remove some superfluous assertions in the tbl code. This allows all tbl manuals to clear. Lastly, set the right-margin to be the maximum margin for each table span. This allows big, complicated tbl-pages like terminfo to be displayed. They're ugly, but they work. | |||||
* | Remove overstrike `\o'. This isn't the best solution because we really | Kristaps Dzonsons | 2010-08-29 | 1 | -0/+2 | |
| | | | | | should be printing the contents, but for the time being, this is good enough. | |||||
* | Handle nested, recursive mathematical subexpressions. This is | Kristaps Dzonsons | 2010-08-24 | 1 | -0/+20 | |
| | | | | | definitely not general, but it's good enough for pod2man definitions (after I clean up the roff, which will be addressed in later fixes). | |||||
* | Strip out `\k' escape. | Kristaps Dzonsons | 2010-08-24 | 1 | -0/+2 | |
| | ||||||
* | Stripping out of `\w' groff escape. Yet another for pod2man... | Kristaps Dzonsons | 2010-08-24 | 1 | -0/+6 | |
| | ||||||
* | Strip out the `\z' escape. This is the first recursive sequence, | Kristaps Dzonsons | 2010-08-24 | 1 | -1/+10 | |
| | | | | getting mandoc ready to handle pod2man's complex escapes. | |||||
* | Add \v and \h to ignored escapes. These are in the category of \s. | Kristaps Dzonsons | 2010-08-16 | 1 | -7/+10 | |
| | | | | | | Also made sign-less \s-style escapes be ok (this is technically against what's in the groff.7 manual, but seems pretty widespread). Noted by Thomas Jeunet as uglifying the gcc.1 manual. | |||||
* | Added `in' macro support for -man -Tascii. This is not yet supported in | Kristaps Dzonsons | 2010-07-22 | 1 | -0/+1 | |
| | | | | -Thtml (I'm surprised to note that neither is LITERAL mode). | |||||
* | Accept "\s0" (i.e., properly ignore it). Found in the wild (e.g., gfdl.7). | Kristaps Dzonsons | 2010-07-22 | 1 | -0/+3 | |
| | ||||||
* | Accomodate for groff's crappy behaviour wherein an unrecognised | Kristaps Dzonsons | 2010-07-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | 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. | |||||
* | Double-up DECO_RESERVED switch branch for colours. | Kristaps Dzonsons | 2010-07-19 | 1 | -15/+5 | |
| | ||||||
* | Properly discard \m colour escapes. Noted by J.C. Roberts. | Kristaps Dzonsons | 2010-07-18 | 1 | -0/+16 | |
| | ||||||
* | Throw out a2roffdeco() in out.c for a readable version. The prior one | Kristaps Dzonsons | 2010-07-18 | 1 | -179/+90 | |
| | | | | | | | | | | | | | was completely unmaintainable. The new one is both readable and quite similar to mandoc_special(), which in future versions will easily allow throwing-away of unsupported escapes (such as \m). It's also a fair bit smaller. DECO_SIZE has been removed: this crap, like colours, will not be supported. mandoc_special() also has #if 0'd switch branches for ALL groff.7 escapes and some lint fixes. | |||||
* | Remove "pt" from struct roffsu, as CSS (the only reason it was there) is | Kristaps Dzonsons | 2010-06-25 | 1 | -2/+0 | |
| | | | | | 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 | |
| | ||||||
* | Lint fix. | Kristaps Dzonsons | 2010-04-07 | 1 | -2/+1 | |
| | ||||||
* | Add support/ignoring of \f(xy, \f[X...], \F(xy, \FX, \F[X...] roff-style ↵ | Kristaps Dzonsons | 2010-04-07 | 1 | -52/+94 | |
| | | | | font escapes (noted by Frantisek Holop). | |||||
* | Bug in printing of reserved words with form \*[xxx] fixed (found by Joerg ↵ | Kristaps Dzonsons | 2010-04-07 | 1 | -6/+8 | |
| | | | | Sonnenberger). | |||||
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -4/+4 | |
| | | | | architectures. Thanks to Joerg Sonnenberger. | |||||
* | Fixed \c support for all input and output modes (documented in mandoc_char.7). | Kristaps Dzonsons | 2009-11-12 | 1 | -0/+5 | |
| | ||||||
* | a2roffdeco() now supports \s escapes. | Kristaps Dzonsons | 2009-11-08 | 1 | -74/+66 | |
| | ||||||
* | Hooked up -Tascii to a2roffdeco backend. | Kristaps Dzonsons | 2009-11-07 | 1 | -2/+1 | |
| | ||||||
* | Initial abstraction of front-end decoration events (special characters, text ↵ | Kristaps Dzonsons | 2009-11-07 | 1 | -0/+192 | |
| | | | | decorations, etc.). | |||||
* | Linuxisms. | Kristaps Dzonsons | 2009-10-22 | 1 | -0/+4 | |
| | ||||||
* | Fixed maddening mismatch between groff and strftime mismatch of day ("%e"). ↵ | Kristaps Dzonsons | 2009-10-22 | 1 | -0/+45 | |
| | | | | Noted by Ulrich Sporlein. | |||||
* | Had out.h roff-scale converters accept default unit scale (because -mdoc and ↵ | Kristaps Dzonsons | 2009-10-18 | 1 | -19/+12 | |
| | | | | -man differ). | |||||
* | Scaling factor made floating point (as per groff.7) and, e.g., ↵ | Kristaps Dzonsons | 2009-10-09 | 1 | -5/+29 | |
| | | | | gnu/usr.bin/cvs/man/cvs.1. | |||||
* | Additions to -Tman -Thtml: all structural components tested & in place. | Kristaps Dzonsons | 2009-10-07 | 1 | -0/+102 | |
| | | | | Fitted both -Thtml with handling of arbitrary vertical and horizontal scaling units (see groff(7)). Undocumented until fitted into -Tascii (next release). | |||||
* | Removed new-born out.{h,c} (not a good idea). | Kristaps Dzonsons | 2009-09-21 | 1 | -113/+0 | |
| | | | | | Removed if 0 for HTML-mode output (why not). Added option -oxxxx for passing options to output devices. | |||||
* | Tentative addition of front-end utility functions (out.h) (not sure if it's ↵ | Kristaps Dzonsons | 2009-09-21 | 1 | -0/+113 | |
necessary). More -Thtml installments. |