----------------------------------------------------------------------------------
@MSGID: 2:240/77 6841b0da
@REPLY: 294.fidonet_linux@1:138/397 2ca66b59
@CHRS: LATIN-1 2
@TID: hpt/lnx 1.4.0-sta 09-04-05
Hello Grant!
04 Jun 25, Grant Weasner wrote to Maurice Kinal:
GW> In my original post I had chosen 64 columns wide is from the link
GW> below, so my gopher pages could have enough width left over to pretty
GW> some of the text with boxes.
This display/format/layout problem is the reason why markup languages
have been invented. For example css within html or markdown on github
readme.md files.
If you are not looking for a one time conversion then text
processing workflow may be a good idea. You could keep two text files, one
for easy human editing and the output of text processing for the gopher
files.
troff/groff have its own markup language. For example:
.ll 67
sets the line lenght to 67 chars
.sp 2
insert two blank lines.
The groff system can do macros. Some examples and better than mine
explanations can be found here:
https://www.davebucklin.com/play/2018/03/04/gopher-groff.html
For the manpages format there is an existing macro set called
"groff an.tmac" macro package or man macro package. I think it comes with
man usually, because on my outdated system it can be found with "man 7
man". There are macros for relative margin indent and indented paragraph
macros.
Regards
Kai
--- GoldED+/LNX 1.1.4.7
* Origin: Monobox (2:240/77)
SEEN-BY: 50/109 103/705 124/5016 153/757 154/10 30
203/0 221/0 1 6 240/77
SEEN-BY: 240/1120 5411 5413 5824 5832 5853 5890
263/1 280/464 5003 292/854
SEEN-BY: 292/8125 301/1 113 812 310/31 320/219
335/364 341/66 234 396/45
SEEN-BY: 423/120 460/58 463/68 467/888 633/280
712/848 770/1 2432/390
SEEN-BY: 2454/119 5000/111 5020/400 545 715 828
830 846 848 1042 4441 12000
SEEN-BY: 5030/49 1081 1474 1900 5060/900 5061/133
5075/128 5083/444 6078/80
@PATH: 240/77 5832 280/464 301/1 5020/1042 4441