CVS log for mandoc/Attic/example.style.css

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.56, Thu Nov 5 17:47:51 2015 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.55: +1 -1 lines
FILE REMOVED

Unify the three stylesheets into a single CSS file.
Many thanks to bentley@ for doing this work.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Feb 10 08:05:30 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)

trim trailing white space, no code change;
from Svyatoslav Mishyn <juef at openmailboxd dot org>, Crux Linux

Revision 1.54 / (download) - annotate - [select for diffs], Wed Dec 10 22:19:45 2014 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_2
Changes since 1.53: +7 -4 lines
Diff to previous 1.53 (colored)

correctly align document header and footer;
suggested by kristaps@

Revision 1.53 / (download) - annotate - [select for diffs], Sat Sep 27 11:16:24 2014 UTC (9 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

Specify the spacer in the overridable CSS.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Sep 27 09:20:03 2014 UTC (9 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

HTML5-isation: remove more alignments.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 14 00:31:43 2014 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_4, VERSION_1_12
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Revert previous, as requested by kristaps@.
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...

Revision 1.50 / (download) - annotate - [select for diffs], Wed Aug 13 15:25:22 2014 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Use <em> for .Em and .Bf -emphasis.

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@

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 15 12:18:57 2011 UTC (12 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_13_1, VERSION_1_12_3, VERSION_1_12_2, VERSION_1_12_1
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Further tweaks for output consistency.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 15 12:05:19 2011 UTC (12 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.47: +104 -140 lines
Diff to previous 1.47 (colored)

Some presentation polish in man.cgi:

 - 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.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Oct 5 21:35:17 2011 UTC (12 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_0
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored)

Add the -Ofragment option to -T[]x]html.  This accomodates for embedding
manual output in existing HTML or XHTML documents, e.g., when invoking
mandoc from an SSI or CGI.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Aug 26 09:03:17 2011 UTC (12 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_7
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Make sure that `Ql' literalises its arguments in -T[x]html.  Found when
doing manpages.bsd.lv stuff.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Aug 18 09:16:01 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Align `-offset indent' and `D1' by forcing BLOCKQUOTE to have a 5ex
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.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Aug 18 09:02:22 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Have `Li' be correctly monospaced in -T[x]html.  Also make sure that
`Li' prints as a CODE tag and the style-sheet has the `lit' class apply
to multiple tag types.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 11 22:58:28 2011 UTC (13 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_6, VERSION_1_11_5, VERSION_1_11_4, VERSION_1_11_3, VERSION_1_11_2
Changes since 1.42: +13 -19 lines
Diff to previous 1.42 (colored)

Update example.style.css to be a bit more readable by default.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Feb 9 09:52:47 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_1, VERSION_1_10_10
Changes since 1.41: +5 -1 lines
Diff to previous 1.41 (colored)

EQN blocks are now printed in all modes.  This is simply a printing of
the concatenated string (in -T[x]html, it gets a SPAN, too).

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jan 5 13:00:11 2011 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_9
Changes since 1.40: +12 -4 lines
Diff to previous 1.40 (colored)

Give tables an HTML class.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Dec 24 14:14:00 2010 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_8
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Apparently the U tag is deprecated, so use a SPAN instead (blah).  Bump
version date for release.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Dec 24 00:46:49 2010 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.38: +4 -5 lines
Diff to previous 1.38 (colored)

Drastically fix -T[x]html's handling of font-escape mode changes (i.e.,
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.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Dec 22 11:15:16 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Implement reference-counted version of original union mdoc_data.  This
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.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Dec 20 13:39:24 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.36: +4 -3 lines
Diff to previous 1.36 (colored)

Fix list-type being clobbered by margins.  Last default styles in place.
Added `Sx' to be default-italic (as in OpenBSD's cvsweb).  Added `diag'
formatting, which had been lost.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 20 13:07:55 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.35: +17 -12 lines
Diff to previous 1.35 (colored)

More use default tags, this time I and U.  Also fix a stack overflow
segfault in the last commit.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Dec 20 10:40:11 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.34: +10 -10 lines
Diff to previous 1.34 (colored)

Give header and footer table cells default widths (using WIDTH and ALIGN
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.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Dec 17 13:03:32 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Tweak default styles.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Dec 17 11:01:24 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

Add a "list" top-level tag, too.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Dec 17 10:37:26 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.31: +5 -1 lines
Diff to previous 1.31 (colored)

Make literal `Bd' use a PRE in -Thtml.  Make `Bd' output in general use
only a single DIV or PRE.  Tag all displays with display class.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Dec 17 08:26:42 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Banished -man -Thtml header and footer to example.style.css as well.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Dec 17 08:17:40 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.29: +10 -3 lines
Diff to previous 1.29 (colored)

Have synopsis_pre() in -Thtml emit P or BR, not DIVs.

Banish header and footer TABLE styling to example.style.css.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Dec 17 01:02:00 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.28: +8 -4 lines
Diff to previous 1.28 (colored)

Make SYNOPSIS `Nm' use a TABLE in -T[x]html mode.  Also fix `Nd' using
desc-body instead of desc as its CSS key.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Dec 17 00:18:29 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.27: +5 -9 lines
Diff to previous 1.27 (colored)

Significantly clean up Sh, Ss, SH, and SS handling in -Thtml.  Now a
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.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Dec 16 23:23:34 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.26: +9 -9 lines
Diff to previous 1.26 (colored)

Some default styles for lists.  Needs more testing, but seems safe
enough.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 15 17:21:24 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.25: +6 -2 lines
Diff to previous 1.25 (colored)

Add some more bits to CSS example.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 15 16:22:22 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.24: +21 -22 lines
Diff to previous 1.24 (colored)

Clarifying styles.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 15 16:08:18 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.23: +7 -3 lines
Diff to previous 1.23 (colored)

Clarify purpose of "lit".

Make `Dl' and `D1' both use BLOCKQUOTE instead of DIVs.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Dec 15 15:59:23 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.22: +6 -5 lines
Diff to previous 1.22 (colored)

Remove stupid outer DIV tag in favour of regular BODY and HTML that can
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.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 15 15:32:01 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
Changes since 1.21: +42 -1 lines
Diff to previous 1.21 (colored)

Added list-type style tips.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 26 22:35:59 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_7, VERSION_1_10_6, VERSION_1_10_5
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

`Ad' is supposed to underline.  Found whilst trolling through manuals.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 8 08:17:55 2010 UTC (14 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_25, VERSION_1_9_24, VERSION_1_10_5_PREPDF, VERSION_1_10_4, VERSION_1_10_3, VERSION_1_10_2, VERSION_1_10_1
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Fixed %T: it now correctly underlines, instead of quoting (noted by Jason McIntyre and posted on Ingo Schwarze' mandoc-todo list).

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 16 09:52:47 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_23, VERSION_1_9_22, VERSION_1_9_21, VERSION_1_9_20, VERSION_1_9_19, VERSION_1_9_18, VERSION_1_9_17, VERSION_1_9_16, VERSION_1_9_15-pre2, VERSION_1_9_15-pre1, VERSION_1_9_15, VERSION_1_9_14
Changes since 1.18: +2 -0 lines
Diff to previous 1.18 (colored)

More clarification in manuals.  Added per-OUTPUT section in mandoc.1.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 15 06:45:31 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.17: +1 -0 lines
Diff to previous 1.17 (colored)

\f escapes appear to work properly for -Thtml -man.  Needs more testing.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 12 05:02:56 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Removed superfluous monospace note in example.style.css (they're all monospace).

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 11 20:16:10 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.15: +26 -26 lines
Diff to previous 1.15 (colored)

Protected example.style.css from cascading styles.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 4 08:07:59 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

(Fix again for default `Bf Li' font.)

Revision 1.14 / (download) - annotate - [select for diffs], Mon Oct 26 04:09:45 2009 UTC (14 years, 5 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_13, VERSION_1_9_12, VERSION_1_9_11, VERSION_1_9_10
Changes since 1.13: +1 -0 lines
Diff to previous 1.13 (colored)

Full `%U' support.
`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).

Revision 1.13 / (download) - annotate - [select for diffs], Thu Oct 8 23:00:15 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_9, VERSION_1_9_8, VERSION_1_9_7
Changes since 1.12: +3 -0 lines
Diff to previous 1.12 (colored)

Consolidated some -man -Tascii functions.
Added many -man -Thtml functions (almost complete).

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 4 09:02:40 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.11: +2 -4 lines
Diff to previous 1.11 (colored)

Example style-sheet reflecting modified section/subsection style tags.
Added ATTR_ID and so forth to attrs.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Oct 3 15:26:26 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.10: +1 -0 lines
Diff to previous 1.10 (colored)

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).

Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 24 23:54:43 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_6
Changes since 1.9: +13 -0 lines
Diff to previous 1.9 (colored)

-Tascii correctly prints `%T' in `Rs' with quotes.
-Thtml behaves like -Tascii for printing.
Printing of `Rs' elements cross-checked with new groff.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 24 13:18:37 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.8: +1 -0 lines
Diff to previous 1.8 (colored)

Proper handling of `Rs' blocks in -Thtml.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 24 11:55:28 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.7: +9 -8 lines
Diff to previous 1.7 (colored)

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.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 24 11:05:45 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.6: +7 -6 lines
Diff to previous 1.6 (colored)

Sync'd example style-sheet to be more like OpenBSD's default (KISS).
-Thtml and -Tascii now have equivalent functionality.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 24 09:50:31 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored)

Added Bf, Pf, etc. to -Thtml.
Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 24 09:20:02 2009 UTC (14 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.4: +4 -0 lines
Diff to previous 1.4 (colored)

Many more macros added to -Thtml.
Minor space issues fixed in -Tascii.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 21 23:12:08 2009 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

A few more macros in -Thtml.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 21 13:44:56 2009 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_5
Changes since 1.2: +0 -0 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2, Mon Sep 21 13:06:13 2009 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED

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.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 21 09:32:30 2009 UTC (14 years, 7 months ago) by kristaps
Branch: MAIN

Added example stylesheet.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb