summaryrefslogtreecommitdiffstats
path: root/example.style.css
Commit message (Collapse)AuthorAgeFilesLines
* trim trailing white space, no code change;Ingo Schwarze2015-02-101-3/+3
| | | | from Svyatoslav Mishyn <juef at openmailboxd dot org>, Crux Linux
* correctly align document header and footer;Ingo Schwarze2014-12-101-3/+6
| | | | suggested by kristaps@
* Specify the spacer in the overridable CSS.Kristaps Dzonsons2014-09-271-0/+1
|
* HTML5-isation: remove more alignments.Kristaps Dzonsons2014-09-271-3/+3
|
* Revert previous, as requested by kristaps@.Ingo Schwarze2014-08-141-1/+1
| | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | 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-2/+2
|
* Some presentation polish in man.cgi:Kristaps Dzonsons2011-12-151-139/+103
| | | | | | | | | | | | - 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-2/+4
| | | | | 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-1/+1
| | | | doing manpages.bsd.lv stuff.
* Align `-offset indent' and `D1' by forcing BLOCKQUOTE to have a 5exKristaps Dzonsons2011-08-181-1/+1
| | | | | | | | | 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-1/+1
| | | | | `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-18/+12
|
* EQN blocks are now printed in all modes. This is simply a printing ofKristaps Dzonsons2011-02-091-0/+4
| | | | the concatenated string (in -T[x]html, it gets a SPAN, too).
* Give tables an HTML class.Kristaps Dzonsons2011-01-051-3/+11
|
* Apparently the U tag is deprecated, so use a SPAN instead (blah). BumpKristaps Dzonsons2010-12-241-1/+1
| | | | version date for release.
* Drastically fix -T[x]html's handling of font-escape mode changes (i.e.,Kristaps Dzonsons2010-12-241-4/+3
| | | | | | | | | | | | | | | 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-2/+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.
* Fix list-type being clobbered by margins. Last default styles in place.Kristaps Dzonsons2010-12-201-2/+3
| | | | | 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-11/+16
| | | | segfault in the last commit.
* Give header and footer table cells default widths (using WIDTH and ALIGNKristaps Dzonsons2010-12-201-9/+9
| | | | | | | | | 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-3/+3
|
* Add a "list" top-level tag, too.Kristaps Dzonsons2010-12-171-1/+2
|
* Make literal `Bd' use a PRE in -Thtml. Make `Bd' output in general useKristaps Dzonsons2010-12-171-0/+4
| | | | 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-1/+1
|
* Have synopsis_pre() in -Thtml emit P or BR, not DIVs.Kristaps Dzonsons2010-12-171-2/+9
| | | | 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-3/+7
| | | | 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-8/+4
| | | | | | 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-8/+8
| | | | enough.
* Add some more bits to CSS example.Kristaps Dzonsons2010-12-151-1/+5
|
* Clarifying styles.Kristaps Dzonsons2010-12-151-21/+20
|
* Clarify purpose of "lit".Kristaps Dzonsons2010-12-151-2/+6
| | | | 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-4/+5
| | | | | | | | 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-0/+41
|
* `Ad' is supposed to underline. Found whilst trolling through manuals.Kristaps Dzonsons2010-07-261-1/+1
|
* Fixed %T: it now correctly underlines, instead of quoting (noted by Jason ↵Kristaps Dzonsons2010-04-081-1/+1
| | | | 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.