~grtcdr/citron

25c8bf9b4403c85a9cfae01150857e43bcae8a55 — grtcdr 2 years ago 37ff9d3
Replace tables from manpages with normal text

This was mainly done so that the manpages could be converted to HTML.

groff treats tables as images, and thus fails to load them, when opened with a browser.
2 files changed, 61 insertions(+), 157 deletions(-)

M doc/citron.1
M doc/citron.1.scd
M doc/citron.1 => doc/citron.1 +34 -117
@@ 5,7 5,7 @@
.nh
.ad l
.\" Begin generated content:
.TH "CITRON" "1" "2022-04-29"
.TH "CITRON" "1" "2022-04-30"
.P
.SH NAME
.P


@@ 183,128 183,45 @@ Default: "Memory"
.RE
.SS DATE SYMBOLS
.P
.TS
allbox;c l
c l
c l
c l
c l
c l
c l
c l
c l.
T{
\fBSymbol\fR
T}	T{
\fBDescription\fR
T}
T{
\fB%w\fR
T}	T{
Short weekday, e.\&g.\& Thu
T}
T{
\fB%W\fR
T}	T{
Long weekday, e.\&g.\& Thursday
T}
T{
\fB%m\fR
T}	T{
Short month, e.\&g.\& Jan
T}
T{
\fB%M\fR
T}	T{
Long month, e.\&g.\& January
T}
T{
\fB%d\fR
T}	T{
Day, e.\&g.\& 28
T}
T{
\fB%HH\fR
T}	T{
Hours
T}
T{
\fB%MM\fR
T}	T{
Minutes
T}
T{
\fB%P\fR
T}	T{
Meridiem.\&
T}
.TE
.sp 1
\fB%P\fR: if this symbol is omitted, railway time is used instead.\&
%d: Day of the month.\&
.P
%w: Short day of the week, e.\&g.\& Jan.\&
.P
%W: Long day of the week, e.\&g.\& Tue.\&
.P
%m: Short month, e.\&g.\& Jan.\&
.P
%M: Long month, e.\&g.\& January.\&
.P
%HH: Hours.\&
.P
%MM: Minutes.\&
.P
%P: Meridiem:
.RS 4
If omitted, railway time is used instead.\&
.P
.RE
.SS BATTERY SYMBOLS
.P
.TS
allbox;c l
c l
c l
c l.
T{
\fBSymbol\fR
T}	T{
\fBDescription\fR
T}
T{
\fB%p\fR
T}	T{
Percentage
T}
T{
\fB%s\fR
T}	T{
Status
T}
T{
\fB%S\fR
T}	T{
Status as a symbol
T}
.TE
.sp 1
\fB%S\fR: '\&!\&'\& for critical, '\&-'\& for low, empty for high and '\&+'\& for charging.\&
%p: Percentage.\&
.P
%s: Status.\&
.P
%S: Status as a symbol:
.P
.RS 4
\&'\&!\&'\& for critical, '\&-'\& for low, empty for high and '\&+'\& for charging.\&
.P
.RE
.SS NETWORK SYMBOLS
.P
The following is a list of symbols understood by the format option of the
network dictionary.\&
.P
.TS
allbox;c l
c l
c l
c l.
T{
\fBSymbol\fR
T}	T{
\fBDescription\fR
T}
T{
\fB%a\fR
T}	T{
Local IP address
T}
T{
\fB%r\fR
T}	T{
Number of received bytes
T}
T{
\fB%t\fR
T}	T{
Number of transmitted bytes
T}
.TE
.sp 1
%a: Local IP address.\&
.P
%r: Number of received bytes.\&
.P
%t: Number of transmitted bytes.\&
.P
.SH AUTHOR
.P
Written and maintained by Aziz Ben Ali <ba.\&tahaaziz@gmail.\&com>.\&

M doc/citron.1.scd => doc/citron.1.scd +27 -40
@@ 132,53 132,40 @@ title:

## DATE SYMBOLS

[- *Symbol*
:[ *Description*
|  *%w*
:  Short weekday, e.g. Thu
|  *%W*
:  Long weekday, e.g. Thursday
|  *%m*
:  Short month, e.g. Jan
|  *%M*
:  Long month, e.g. January
|  *%d*
:  Day, e.g. 28
|  *%HH*
:  Hours
|  *%MM*
:  Minutes
|  *%P*
:  Meridiem.

*%P*: if this symbol is omitted, railway time is used instead.
%d: Day of the month.

%w: Short day of the week, e.g. Jan.

%W: Long day of the week, e.g. Tue.

%m: Short month, e.g. Jan.

%M: Long month, e.g. January.

%HH: Hours.

%MM: Minutes.

%P: Meridiem:
	If omitted, railway time is used instead.

## BATTERY SYMBOLS

[- *Symbol*
:[ *Description*
|  *%p*
:  Percentage
|  *%s*
:  Status
|  *%S*
:  Status as a symbol
%p: Percentage.

%s: Status.

%S: Status as a symbol:

*%S*: '!' for critical, '-' for low, empty for high and '+' for charging.
	'!' for critical, '-' for low, empty for high and '+' for charging.

## NETWORK SYMBOLS

The following is a list of symbols understood by the format option of the
network dictionary.

[- *Symbol*
:[ *Description*
|  *%a*
:  Local IP address
|  *%r*
:  Number of received bytes
|  *%t*
:  Number of transmitted bytes
%a: Local IP address.

%r: Number of received bytes.

%t: Number of transmitted bytes.

# AUTHOR