aboutsummaryrefslogtreecommitdiff
path: root/g.tmac
AgeCommit message (Collapse)Author
2021-06-24Change name to muJohn Ankarström
It turns out that Heirloom troff includes an (m)g macro set for groff compatibility. I liked the name mg, because of the association with milligram, but mu is pretty good too. (And mu is the symbol for the SI micro prefix, which is even smaller than milli!)
2021-06-24Ensure final unfilled line is included before final page footerJohn Ankarström
2021-06-24Fix ./' interpreted as control characters in footnotesJohn Ankarström
Heirloom troff would interpet '(info.groff)... as a request line.
2021-06-24Use floating-point division to set c point size, if availableJohn Ankarström
2021-06-24Ensure footer on last pageJohn Ankarström
2021-06-24Automatically enable extensions for Heirloom troffJohn Ankarström
2021-06-24Use Heirloom troffJohn Ankarström
Mg is now tested with both GNU and Heirloom troff.
2021-06-23Use ft/.f instead of fam/.famJohn Ankarström
This fixes a compatibility issue with Heirloom troff.
2021-06-23Set q's ti to 18pJohn Ankarström
2021-06-22Remove @ds, @nrJohn Ankarström
There are no longer any registers or strings to set default values for.
2021-06-22Change %i, %e to #i, #eJohn Ankarström
2021-06-22Remove all configuration registers (mt, mb, tt, tb)John Ankarström
2021-06-21Implement selectable date formats for dJohn Ankarström
2021-06-21Fix formattingJohn Ankarström
2021-06-21Change macro/register naming schemeJohn Ankarström
2021-06-21Have w request just a tiny bit more spaceJohn Ankarström
2021-06-21Have w not request too much spaceJohn Ankarström
2021-06-20Improve wJohn Ankarström
It's still not 100% reliable. But neither is ne, really, in my experience...
2021-06-20Add w (want space) macroJohn Ankarström
It takes, as its arguments, a specification describing the amount of space desired. .w s p requests space for a subheading and a paragraphs line. .w s pp requests space for a subheading and TWO paragraph lines.
2021-06-20Have d not print anything if given \&John Ankarström
2021-06-20Restore environment after footnote entryJohn Ankarström
2021-06-20Support custom vertical spacing in footnotesJohn Ankarström
2021-06-20Fix footer positionJohn Ankarström
Sometimes, it would be placed too low.
2021-06-20Fix control character in second argument to cJohn Ankarström
2021-06-20Add first-line indentation to footnotesJohn Ankarström
2021-06-20Rename _ft, _ht, _nt to _tf, _th, _tnJohn Ankarström
2021-06-20Use smaller interword spacing in cJohn Ankarström
2021-06-20Remove n macro (use d instead)John Ankarström
When limiting yourself to one-letter macros, you need to be clever.
2021-06-20Fix overflowed word after footnote sectionJohn Ankarström
2021-06-20Have c copy relative font size instead of absolute from lJohn Ankarström
This is done by calculating the difference between the l environment's font size and that of the 0 environment.
2021-06-20Resume environment after page breakJohn Ankarström
2021-06-20Add tt, tb strings (top, bottom margin text)John Ankarström
Also, enable no-space mode after header.
2021-06-19Add ne request to h and s macrosJohn Ankarström
2021-06-19Fix control character in third argument to qJohn Ankarström
2021-06-19Fix control character in first argument to cJohn Ankarström
2021-06-19Fix control character in third argument to inline macrosJohn Ankarström
2021-06-19Have c copy font family and point size from l environmentJohn Ankarström
2021-06-19Fix page break bug in _ftJohn Ankarström
Sometimes, the first word after a page break would be displayed in the wrong place. This fixes that.
2021-06-19Change heading, footnote formattingJohn Ankarström
2021-06-19Add consistent amount of space after date/name/titleJohn Ankarström
2021-06-19Add _m (margin) environmentJohn Ankarström
This fixes a bug where the page number and footnotes were affected by the last active environment.
2021-06-19Fix bug in _e macroJohn Ankarström
2021-06-19Fix ( macro eating lineJohn Ankarström
2021-06-19Add footnotesJohn Ankarström
2021-06-18Arrange macros alphabeticallyJohn Ankarström
This relieves the programmer of the burden of having to decide where new macros should be placed.
2021-06-18Change formattingJohn Ankarström
2021-06-18Use zero-clause BSD licenseJohn Ankarström
2021-06-18Support block quotationsJohn Ankarström
2021-06-18Organize and document source codeJohn Ankarström
2021-06-18g.tmac: Add c (code) macro, rework marginsJohn Ankarström