aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: use my/runxiyu's fork of troff9prxHEADmasterRunxi Yu2024-07-301-1/+1
|
* tmac.tbl: invoke tblmac macros after adjusting in and llAli Gholami Rudi2023-02-041-4/+4
| | | | Also replaces tblrow.one with tblrow.cnt.
* tmac.keep: do not break when inserting floatsAli Gholami Rudi2022-08-271-5/+5
|
* tmac.keep: warn if some of the floats cannot be outputAli Gholami Rudi2022-08-211-1/+5
|
* tmac/tmac.e, tmac/me/footnote.me: fix -me footnotesSekulum Forka2022-08-152-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.
* Makefile: support DESTDIRphoebos2022-07-211-41/+41
|
* neatroff.ms: many correctionsAndreas Eder2022-07-111-29/+29
|
* Makefile: use a Github mirror of Plan 9 TroffAli Gholami Rudi2022-06-031-1/+1
|
* tmac.gr: insert a missing bracket in .grtxtAndreas Lammers2022-05-281-1/+1
|
* neatstart.ms: improve the EnglishAndreas Eder2022-05-061-20/+20
|
* neateqn.ms: improve the EnglishAndreas Eder2022-05-051-24/+24
|
* tmac.tbl: specifying table box colour with tblboxclr string registerAli Gholami Rudi2022-04-161-1/+4
|
* Makefile: remember $PWD even running under sudophoebos2022-04-111-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.
* Makefile: correct installed fontpath changephoebos2022-04-111-1/+1
|
* demo.tr: rename from demo1.trAli Gholami Rudi2022-04-102-3/+3
|
* demo: replace git with httpsAli Gholami Rudi2022-03-233-3/+3
|
* Makefile: replace git with httpsKonstantin81052022-03-231-6/+6
|
* demo_fa/Makefile: add -mpost instead of -mpsAli Gholami Rudi2021-12-141-1/+1
|
* demo1.tr: mention invoking cl, fp, and ps without argumentsAli Gholami Rudi2021-10-061-3/+6
|
* demo1.tr: describe how to change text indentationAli Gholami Rudi2021-10-051-0/+12
|
* demo: introduce more requests in demo1.trAli Gholami Rudi2021-09-021-1/+67
|
* demo: remove test.trAli Gholami Rudi2021-09-022-3/+1
| | | | After adding demo1.tr, there is no need for test.tr
* demo: demo1.tr demonstrates basic troff requestsAli Gholami Rudi2021-08-312-1/+86
|
* tmac/NOTICE: update the licenseTheodore Kaczynski2021-07-151-1/+1
| | | | Plan9 was relicensed to MIT; Changing notice to recognize that.
* tmac.fa: use more symbols from CMSY in CMR fontAli Gholami Rudi2021-06-241-1/+29
|
* tmac: use \s(XY for two-digit argumentsAli Gholami Rudi2021-05-073-14/+14
| | | | Suggested by aksr <aksr@t-com.me>.
* neateqn.ms: copy the contents of afm and pfb folders for pxfontsAli Gholami Rudi2021-05-071-6/+5
|
* neatpost.1: mention -n and -l optionsmtbakerguy2021-04-161-0/+4
|
* Makefile: install the manual pagesmtbakerguy2021-04-161-0/+6
|
* neatroff.ms: some fixes in Nomenklature sectionAli Gholami Rudi2021-04-161-7/+4
|
* tmac.eps: turn no-space mode off when calling .EPSGavin Jaeger-Freeborn2021-03-271-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.
* neatroff.ms: update hyphenation patterns URLAli Gholami Rudi2021-03-251-1/+1
|
* neatroff.ms: distinguish between brand name and binary namesMeino Cramer2021-03-142-2/+19
|
* fonts.sh: instruct unzip to extract all files in amsfonts.zipDirk-Wilhelm Peters2021-03-071-1/+1
|
* demo/neateqn.ms: improve information about installing additional fonts in ↵Meino Cramer2021-03-021-15/+10
| | | | neatroff
* tmac.m: fix for misprinted date line in signature via AV macroMeino Cramer2021-02-281-1/+1
| | | | Found and fixed by Andreas Eder.
* Improve information about installing missing fonts in neateqn.msMeino Cramer2021-02-281-4/+50
|
* tmac.m: fix for the issue in the mm macros: two .LI in one doc don't workMeino Cramer2021-02-201-1/+1
|
* Makefile: change the permission of files in tmac/ recursivelyAli Gholami Rudi2021-02-121-1/+1
| | | | Reported by Meino <tuxic@posteo.de>.
* Makefile: fix handling paths containing spaces for installing tmac/*Ali Gholami Rudi2021-02-121-1/+1
| | | | Reported by Meino <tuxic@posteo.de>.
* Makefile: fix changing the permission of tmac/*Ali Gholami Rudi2021-02-121-1/+1
| | | | Reported by Meino <tuxic@posteo.de>.
* demo/Makefile: handle paths containing spacesAli Gholami Rudi2021-02-092-23/+23
|
* Makefile: handle paths containing spacesAli Gholami Rudi2021-02-091-31/+31
|
* tmac.gr: add grtxtAli Gholami Rudi2020-12-091-0/+11
|
* tmac.s: fix nested .RS/.RE blockAli Gholami Rudi2020-12-041-31/+32
| | | | Reported and tested by Thomas Dupond <thomasdupond@protonmail.com>.
* Makefile: fix tmac/me directory permissionsDirk-Wilhelm Peters2020-10-041-2/+3
|
* Makefile: BASE instead of PREFIXAli Gholami Rudi2020-10-042-17/+18
|
* Makefile: clone the neat branch of troffAli Gholami Rudi2020-10-041-1/+1
|
* neatstart.ms: remove references to the old install branchAli Gholami Rudi2020-09-211-57/+27
|
* Makefile: fix devutf pathAli Gholami Rudi2020-09-211-2/+2
| | | | Fixed by a-vrma in Github.