!mVoPnkwjcgVTqfVntw:matrix.org

Gavin's Groff and Troff

303 Members
Anything Groff or Troff related goes here7 Servers

Load older messages


SenderMessageTime
27 Jan 2023
@sunzu:tchncs.desunzumaybe with .ALD instead09:09:57
@_discord_215763584783745024:t2bot.ioMane I could just make up my own title format by indenting it but I'd rather not if there's a way to do it before .START. 09:10:16
@sunzu:tchncs.desunzuyou could wrie it as a macro perhaps and invoke it with a trap maybe but idk09:11:34
@_discord_215763584783745024:t2bot.ioMane It doesn't work, I assume .ALD is something that needs to go after .START to function. 09:11:51
@sunzu:tchncs.desunzuahh09:12:04
@_discord_215763584783745024:t2bot.ioMane I'll look into it, thanks for the help. 09:12:19
@sunzu:tchncs.desunzumaybe have a look in om.tmac09:12:25
@sunzu:tchncs.desunzuhow it's invoked there09:12:43
@_discord_215763584783745024:t2bot.ioManeimage.png
Download image.png
09:13:32
@_discord_215763584783745024:t2bot.ioMane You mean take this and invoke basic groff to do the same? 09:13:53
@sunzu:tchncs.desunzui meant the title page09:14:02
@sunzu:tchncs.desunzuif there is sth to get down without rewriting it09:14:29
@_discord_215763584783745024:t2bot.ioManeimage.png
Download image.png
09:14:40
@_discord_215763584783745024:t2bot.ioManeRedacted or Malformed Event09:14:52
@_discord_215763584783745024:t2bot.ioMane I'll take a look through the groff documentation and figure out how this works. 09:15:21
@sunzu:tchncs.desunzulet me know if you found a solution09:16:09
@_discord_215763584783745024:t2bot.ioMane Will do. 09:16:16
@_discord_215763584783745024:t2bot.ioMane After pouring over the documentation and attempting .sp, \v, \SP and others I haven't been able to find the solution.
So I just set the .TITLE to and empty string and made my own title page using regular document processing.
Would've been nice to have a way to centre it automatically but alas.
10:57:57
@_discord_215763584783745024:t2bot.ioMane
.START

.L_MARGIN <n1>i

.sp 3i
.PT_SIZE 16
\*[BD]Something\*[PREV]
.PT_SIZE
.BR
.IL <n2>i
\*[IT]
by
.IL <n3>i
Else
\*[PREV]
.IQ

.L_MARGIN 1i
10:59:13
@_discord_215763584783745024:t2bot.ioMane Just replace the <ni> numbers with whatever works for the text you've written. 10:59:35
@_discord_215763584783745024:t2bot.ioMane *
.START

.L_MARGIN <n1>i

.sp 3i
.PT_SIZE 16
\*[BD]Something\*[PREV]
.PT_SIZE
.BR
.IL <n2>i
\*[IT]
by
.IL <n3>i
Else
\*[PREV]
.IQ

.L_MARGIN 1i

.NEWPAGE
10:59:57
@_discord_215763584783745024:t2bot.ioMane I now realise I could have just indented the title text as well, instead of playing with the margins. 11:00:29
@_discord_215763584783745024:t2bot.ioMane When I learn to play with registers I'll probably write a small macro to automatically make centre titles. 11:02:17
@sunzu:tchncs.desunzudoesn't .CENTER work?12:42:24
@_discord_789530906120814633:t2bot.ioalhgebraic joined the room.20:16:29
28 Jan 2023
@_discord_780550926964228136:t2bot.ioDoctorCringe changed their display name from DoctorCringe to DoctorCringe#5475.03:49:02
@_discord_780550926964228136:t2bot.ioDoctorCringe changed their display name from DoctorCringe#5475 to DoctorCringe.03:49:05
@playback2396:matrix.orgplayback2396 joined the room.09:52:51
@_discord_215763584783745024:t2bot.ioMane Man I'm really disappointed in the customizability of groff as a PDF maker. If I want to do basically anything that isn't pretty black text on a white background I have to jump through quite a few hoops, if it's even possible in the first place. 12:32:50
30 Jan 2023
@_discord_1069600349901561898:t2bot.ioHasu joined the room.12:55:41

There are no newer messages yet.


Back to Room List