On Saturday, 6 September 2025 12:28:36 BST Dirk Gouders wrote: > I wonder if I can use groff (maybe grap) to also create such a bar chart > or timeline.
Not really too helpful but at least it is a bar chart showing the relative duration of the events. It uses 'busgrap' (http://chuzzlewit.co.uk/ busgrap-20220712.tgz). One day I will have to add start/end numbers for bars, and add support for accepting and displaying date format data rather than just numbers. I used this command:- busgrap events.ms | test-groff -Tpdf -ms -t > events.pdf Cheers Deri
.CD
\fBEvent history\fR
.DE
.sp
.TS
expand,box,tab(:);
lbp-4 | lbp-4 s
cbp+6 | c s
lbp-4 s s
l s s
lbp-4 | lbp-4 | lbp-4
cw(1.9i) | cw(1.9i) | cw(1.9i).
Event:Short Description
\m[red]E1\m[]:Short description of E1
_
Description
T{
Longer description with details.
.br
Sometimes multiple lines.
T}
_
Start:End:Duration
2024-05-31:2024-08-31:3 months
.TE
.TS
expand,box,tab(:);
lbp-4 | lbp-4 s
cbp+6 | c s
lbp-4 s s
l s s
lbp-4 | lbp-4 | lbp-4
cw(1.9i) | cw(1.9i) | cw(1.9i).
Event:Short Description
\m[red]E2\m[]:Short description of E2
_
Description
T{
Longer description with details.
.br
Sometimes multiple lines.
T}
_
Start:End:Duration
2025-08-31:\m[red]not yet finished\m[]:since 2025-08-31
.TE
.TS
expand,box,tab(:);
lbp-4 | lbp-4 s
cbp+6 | c s
lbp-4 s s
l s s
lbp-4 | lbp-4 | lbp-4
cw(1.9i) | cw(1.9i) | cw(1.9i).
Event:Short Description
\m[red]E3\m[]:Short description of E3
_
Description
T{
Longer description with details.
.br
Sometimes multiple lines.
T}
_
Start:End:Duration
2024-08-31:2024-12-31:4 months
.TE
.ce 1
Event Bar Graph
.sp .5
.BGS graph
Frame:16.6c 4.3c
Origin:5c 0c 10.5c 3.5c
Border:.2p
BGcol:grey90
WallColour:grey76
Caption:Events
Keybox:y
BoxFrame:1c .5c 8c 4.3c
BoxHeads:Event Days
Horiz:yes
Series:X Events Timeline
Series:1 Event 1 92 E1 92
Series:2 Event 2 7 E2 7
Series:3 Event 3 122 E3 122
Sync:yes
PDFBookMark:1
.BGE
events.pdf
Description: Adobe PDF document
