aboutsummaryrefslogtreecommitdiff
path: root/demo/Makefile (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-02-04tmac.tbl: invoke tblmac macros after adjusting in and llAli Gholami Rudi1-4/+4
Also replaces tblrow.one with tblrow.cnt.
2022-08-27tmac.keep: do not break when inserting floatsAli Gholami Rudi1-5/+5
2022-08-21tmac.keep: warn if some of the floats cannot be outputAli Gholami Rudi1-1/+5
2022-08-15tmac/tmac.e, tmac/me/footnote.me: fix -me footnotesSekulum Forka2-9/+9
The -me macros used strings called "[" and "]" for footnote formatting, which conflicted with neatroff's use of "[...]" for long string and register names. They've been translated to "{" and "}" respectively.
2022-07-21Makefile: support DESTDIRphoebos1-41/+41
2022-07-11neatroff.ms: many correctionsAndreas Eder1-29/+29
2022-06-03Makefile: use a Github mirror of Plan 9 TroffAli Gholami Rudi1-1/+1
2022-05-28tmac.gr: insert a missing bracket in .grtxtAndreas Lammers1-1/+1
2022-05-06neatstart.ms: improve the EnglishAndreas Eder1-20/+20
2022-05-05neateqn.ms: improve the EnglishAndreas Eder1-24/+24
2022-04-16tmac.tbl: specifying table box colour with tblboxclr string registerAli Gholami Rudi1-1/+4
2022-04-11Makefile: remember $PWD even running under sudophoebos1-3/+4
sudo, doas, and other privilege-elevation tools do not preserve the value of the environment PWD. GNU make does not set $(PWD) itself, but gets the value from the environment. Therefore, when running "sudo make install" with GNU make, $(PWD) evaluates to nothing, which causes problems in the sed call for the install target. Each rule in the Makefile is interpreted by a shell, and new shells must set the PWD environ variable (the working dir is inherited from wherever make was called from). Therefore, we set $(PWD) so that it evaluates to ${PWD}, which will be dereferenced correctly by the shell. However, with this new value of $(PWD), any rules which change directory will have their new directory as PWD, and not the original directory where make was called from. Therefore, for these rules, set a local variable with the evaluation of ${PWD} before changing directory, and then use that variable. This fix is also made to the comp rules which use $(BASE) after changing directory, in case the user has left the default of BASE = $(PWD). These workarounds are done so that this Makefile is portable; it has been tested with both BSD make and GNU make, and it remains POSIX.1-2017 compliant. While both BSD and GNU make do set a special variable with the value of the current working directory - $(.CURDIR) and $(CURDIR), respectively - these are not compatible. The unportable extension we would need to simplify this would be PWD ?= $${PWD} so that PWD is only reset if it's not set already - in our case, only when running under sudo etc. We would also want some immediate-expansion macros. However, those methods are not portable, but this patch is.
2022-04-11Makefile: correct installed fontpath changephoebos1-1/+1
2022-04-10demo.tr: rename from demo1.trAli Gholami Rudi2-3/+3
2022-03-23demo: replace git with httpsAli Gholami Rudi3-3/+3
2022-03-23Makefile: replace git with httpsKonstantin81051-6/+6
2021-12-14demo_fa/Makefile: add -mpost instead of -mpsAli Gholami Rudi1-1/+1
2021-10-06demo1.tr: mention invoking cl, fp, and ps without argumentsAli Gholami Rudi1-3/+6
2021-10-05demo1.tr: describe how to change text indentationAli Gholami Rudi1-0/+12
2021-09-02demo: introduce more requests in demo1.trAli Gholami Rudi1-1/+67
2021-09-02demo: remove test.trAli Gholami Rudi2-3/+1
After adding demo1.tr, there is no need for test.tr
2021-08-31demo: demo1.tr demonstrates basic troff requestsAli Gholami Rudi2-1/+86
2021-07-15tmac/NOTICE: update the licenseTheodore Kaczynski1-1/+1
Plan9 was relicensed to MIT; Changing notice to recognize that.
2021-06-24tmac.fa: use more symbols from CMSY in CMR fontAli Gholami Rudi1-1/+29
2021-05-07tmac: use \s(XY for two-digit argumentsAli Gholami Rudi3-14/+14
Suggested by aksr <aksr@t-com.me>.
2021-05-07neateqn.ms: copy the contents of afm and pfb folders for pxfontsAli Gholami Rudi1-6/+5
2021-04-16neatpost.1: mention -n and -l optionsmtbakerguy1-0/+4
2021-04-16Makefile: install the manual pagesmtbakerguy1-0/+6
2021-04-16neatroff.ms: some fixes in Nomenklature sectionAli Gholami Rudi1-7/+4
2021-03-27tmac.eps: turn no-space mode off when calling .EPSGavin Jaeger-Freeborn1-0/+1
This fixes issues when working with other macros such as ms and men since they enable no-space mode during their traps for headers. The eps file is not given enough space if it is on the first line of a new page.
2021-03-25neatroff.ms: update hyphenation patterns URLAli Gholami Rudi1-1/+1
2021-03-14neatroff.ms: distinguish between brand name and binary namesMeino Cramer2-2/+19
2021-03-07fonts.sh: instruct unzip to extract all files in amsfonts.zipDirk-Wilhelm Peters1-1/+1
2021-03-02demo/neateqn.ms: improve information about installing additional fonts in ↵Meino Cramer1-15/+10
neatroff
2021-02-28tmac.m: fix for misprinted date line in signature via AV macroMeino Cramer1-1/+1
Found and fixed by Andreas Eder.
2021-02-28Improve information about installing missing fonts in neateqn.msMeino Cramer1-4/+50
2021-02-20tmac.m: fix for the issue in the mm macros: two .LI in one doc don't workMeino Cramer1-1/+1
2021-02-12Makefile: change the permission of files in tmac/ recursivelyAli Gholami Rudi1-1/+1
Reported by Meino <tuxic@posteo.de>.
2021-02-12Makefile: fix handling paths containing spaces for installing tmac/*Ali Gholami Rudi1-1/+1
Reported by Meino <tuxic@posteo.de>.
2021-02-12Makefile: fix changing the permission of tmac/*Ali Gholami Rudi1-1/+1
Reported by Meino <tuxic@posteo.de>.
2021-02-09demo/Makefile: handle paths containing spacesAli Gholami Rudi2-23/+23
2021-02-09Makefile: handle paths containing spacesAli Gholami Rudi1-31/+31
2020-12-09tmac.gr: add grtxtAli Gholami Rudi1-0/+11
2020-12-04tmac.s: fix nested .RS/.RE blockAli Gholami Rudi1-31/+32
Reported and tested by Thomas Dupond <thomasdupond@protonmail.com>.
2020-10-04Makefile: fix tmac/me directory permissionsDirk-Wilhelm Peters1-2/+3
2020-10-04Makefile: BASE instead of PREFIXAli Gholami Rudi2-17/+18
2020-10-04Makefile: clone the neat branch of troffAli Gholami Rudi1-1/+1
2020-09-21neatstart.ms: remove references to the old install branchAli Gholami Rudi1-57/+27
2020-09-21Makefile: fix devutf pathAli Gholami Rudi1-2/+2
Fixed by a-vrma in Github.
2020-09-20Makefile: install targetAli Gholami Rudi1-12/+51