aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example.style.css
Commit message (Collapse)AuthorAgeFilesLines
* trim trailing white space, no code change;Ingo Schwarze2015-02-101-4/+4
| | | | from Svyatoslav Mishyn <juef at openmailboxd dot org>, Crux Linux
* correctly align document header and footer;Ingo Schwarze2014-12-101-4/+7
| | | | suggested by kristaps@
* Specify the spacer in the overridable CSS.Kristaps Dzonsons2014-09-271-1/+2
|
* HTML5-isation: remove more alignments.Kristaps Dzonsons2014-09-271-4/+4
|
* Revert previous, as requested by kristaps@.Ingo Schwarze2014-08-141-2/+2
| | | | | | | | | | | | | The .Bf block can contain subblocks, so it has to render as an element that can contain flow content. But <em> cannot contain flow content, only phrasing content. Rendering .Em and .Bf differently would by unfortunate, and closing out .Bf before subblocks and re-opening it afterwards would merely complicate both the C code of the program and the generated HTML code. Besides, converting .Em to semantic HTML markup would require some content to be put into <em> and some into <i>, but we cannot automatically distinguish which is which, so strictly speaking, we can't use semantic HTML here but have to fall back to physical markup. Wonders of HTML...
* Use <em> for .Em and .Bf -emphasis.Ingo Schwarze2014-08-131-2/+2
| | | | | | | | | | | | | | | | | The vast majority of .Em in real-world manuals is stress emphasis, for which <em> is the correct markup. Admittedly, there are some instances of .Em usage for alternate quality, for which <i> would be a better match. Most of these are technical terms that neither allow semantic markup nor are keywords - for the latter, .Sy would be preferable. A typical example is that the shell breaks input into .Em words . Alternate voice or mood, which would also require <i>, is almost absent from manuals. We cannot satisfy both stress emphasis and alternate quality, so pick the one that fits more often and looks less wrong when off. Patch from Guy Harris <guy at alum dot mit dot edu>. ok joerg@ bentley@
* Further tweaks for output consistency.Kristaps Dzonsons2011-12-151-3/+3
|
* Some presentation polish in man.cgi:Kristaps Dzonsons2011-12-151-140/+104
| | | | | | | | | | | | - include search bar above result page (I relent: it's annoying to follow three links then press back three times to get a search page); - make man.cgi.css into man-cgi.css so Apache isn't confused by two handlers (css, cgi); - finally consolidate example.style.css to be under the div.mandoc css selector; - put catman pages under div.catman; - put search bar under div#mancgi; - reflect this properly in the bundled CSS files.
* Add the -Ofragment option to -T[]x]html. This accomodates for embeddingKristaps Dzonsons2011-10-051-3/+5
| | | | | manual output in existing HTML or XHTML documents, e.g., when invoking mandoc from an SSI or CGI.
* Make sure that `Ql' literalises its arguments in -T[x]html. Found whenKristaps Dzonsons2011-08-261-2/+2
| | | | doing manpages.bsd.lv stuff.
* Align `-offset indent' and `D1' by forcing BLOCKQUOTE to have a 5exKristaps Dzonsons2011-08-181-2/+2
| | | | | | | | | margin. This is dubious: the HTML4 spec specifically says that BLOCKQUOTE shouldn't be abused for indentation, which is exactly what we do. However, `D1' needs indentation and it's the only way to force text browsers to do so. Alternatives? Also remove the unused HALFINDENT defines while here.
* Have `Li' be correctly monospaced in -T[x]html. Also make sure thatKristaps Dzonsons2011-08-181-2/+2
| | | | | `Li' prints as a CODE tag and the style-sheet has the `lit' class apply to multiple tag types.
* Update example.style.css to be a bit more readable by default.Kristaps Dzonsons2011-04-111-19/+13
|
* EQN blocks are now printed in all modes. This is simply a printing ofKristaps Dzonsons2011-02-091-1/+5
| | | | the concatenated string (in -T[x]html, it gets a SPAN, too).
* Give tables an HTML class.Kristaps Dzonsons2011-01-051-4/+12
|
* Apparently the U tag is deprecated, so use a SPAN instead (blah). BumpKristaps Dzonsons2010-12-241-2/+2
| | | | version date for release.
* Drastically fix -T[x]html's handling of font-escape mode changes (i.e.,Kristaps Dzonsons2010-12-241-5/+4
| | | | | | | | | | | | | | | 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. ThisKristaps Dzonsons2010-12-221-3/+3
| | | | | | | 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.
* Fix list-type being clobbered by margins. Last default styles in place.Kristaps Dzonsons2010-12-201-3/+4
| | | | | Added `Sx' to be default-italic (as in OpenBSD's cvsweb). Added `diag' formatting, which had been lost.
* More use default tags, this time I and U. Also fix a stack overflowKristaps Dzonsons2010-12-201-12/+17
| | | | segfault in the last commit.
* Give header and footer table cells default widths (using WIDTH and ALIGNKristaps Dzonsons2010-12-201-10/+10
| | | | | | | | | 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.
* Tweak default styles.Kristaps Dzonsons2010-12-171-4/+4
|
* Add a "list" top-level tag, too.Kristaps Dzonsons2010-12-171-2/+3
|
* Make literal `Bd' use a PRE in -Thtml. Make `Bd' output in general useKristaps Dzonsons2010-12-171-1/+5
| | | | only a single DIV or PRE. Tag all displays with display class.
* Banished -man -Thtml header and footer to example.style.css as well.Kristaps Dzonsons2010-12-171-2/+2
|
* Have synopsis_pre() in -Thtml emit P or BR, not DIVs.Kristaps Dzonsons2010-12-171-3/+10
| | | | Banish header and footer TABLE styling to example.style.css.
* Make SYNOPSIS `Nm' use a TABLE in -T[x]html mode. Also fix `Nd' usingKristaps Dzonsons2010-12-171-4/+8
| | | | desc-body instead of desc as its CSS key.
* Significantly clean up Sh, Ss, SH, and SS handling in -Thtml. Now aKristaps Dzonsons2010-12-171-9/+5
| | | | | | top-level DIV is used with only an H1 or H2 as the section header. This makes manuals much more readable in lynx, less complicated, and relegates left-margin widths to example.style.css.
* Some default styles for lists. Needs more testing, but seems safeKristaps Dzonsons2010-12-161-9/+9
| | | | enough.
* Add some more bits to CSS example.Kristaps Dzonsons2010-12-151-2/+6
|
* Clarifying styles.Kristaps Dzonsons2010-12-151-22/+21
|
* Clarify purpose of "lit".Kristaps Dzonsons2010-12-151-3/+7
| | | | Make `Dl' and `D1' both use BLOCKQUOTE instead of DIVs.
* Remove stupid outer DIV tag in favour of regular BODY and HTML that canKristaps Dzonsons2010-12-151-5/+6
| | | | | | | | 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.
* Added list-type style tips.Kristaps Dzonsons2010-12-151-1/+42
|
* `Ad' is supposed to underline. Found whilst trolling through manuals.Kristaps Dzonsons2010-07-261-2/+2
|
* Fixed %T: it now correctly underlines, instead of quoting (noted by Jason ↵Kristaps Dzonsons2010-04-081-2/+2
| | | | McIntyre and posted on Ingo Schwarze' mandoc-todo list).
* More clarification in manuals. Added per-OUTPUT section in mandoc.1.Kristaps Dzonsons2009-11-161-0/+2
|
* \f escapes appear to work properly for -Thtml -man. Needs more testing.Kristaps Dzonsons2009-11-151-0/+1
|
* Removed superfluous monospace note in example.style.css (they're all monospace).Kristaps Dzonsons2009-11-121-2/+2
|
* Protected example.style.css from cascading styles.Kristaps Dzonsons2009-11-111-26/+26
|
* (Fix again for default `Bf Li' font.)Kristaps Dzonsons2009-11-041-1/+1
|
* Full `%U' support.Kristaps Dzonsons2009-10-261-0/+1
| | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from).
* Consolidated some -man -Tascii functions.Kristaps Dzonsons2009-10-081-0/+3
| | | | Added many -man -Thtml functions (almost complete).
* Example style-sheet reflecting modified section/subsection style tags.Kristaps Dzonsons2009-10-041-4/+2
| | | | Added ATTR_ID and so forth to attrs.
* Added the -oincludes=FMT option.Kristaps Dzonsons2009-10-031-0/+1
| | | | | 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).
* -Tascii correctly prints `%T' in `Rs' with quotes.Kristaps Dzonsons2009-09-241-0/+13
| | | | | -Thtml behaves like -Tascii for printing. Printing of `Rs' elements cross-checked with new groff.
* Proper handling of `Rs' blocks in -Thtml.Kristaps Dzonsons2009-09-241-0/+1
|
* Fix in -Tascii where `Lb' causes line-break in any section (should only ↵Kristaps Dzonsons2009-09-241-8/+9
| | | | | | | happen in LIBRARY). `Fn' first parameter is broken apart into ftype and fname in -Thtml (for correct style application). Fixed \0 special character.
* Sync'd example style-sheet to be more like OpenBSD's default (KISS).Kristaps Dzonsons2009-09-241-6/+7
| | | | -Thtml and -Tascii now have equivalent functionality.
* Added Bf, Pf, etc. to -Thtml.Kristaps Dzonsons2009-09-241-1/+5
| | | | Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.