Re: Changing section header autogenerated by 'refer'?

2020-11-14 Thread Johann Höchtl
On 11.11.20 23:00, Damian McGuckin wrote: On Wed, 11 Nov 2020, Dorai Sitaram via wrote: Is there a way to change the text used for the section header inserted by 'refer' before the accumulated references?  By default, it is "References".  Hopefully it isn't hardcoded. With '-mm', it is

Re: Observations using utmac

2020-11-06 Thread Johann Höchtl
On 05.11.20 21:51, Pierre-Jean Fichet wrote: Hello Johann, Johann Höchtl wrote: Johann Höchtl wrote: There's no technical reason. And I guess it's a valuable feature request I see. I guess the logic is more or less in place as the Sx-macros to their job nicely? Yes it is. One easy trick

Re: Observations using utmac

2020-11-05 Thread Johann Höchtl
On 03.11.20 12:59, Pierre-Jean Fichet wrote: Hello Johann, Johann Höchtl wrote: Is there any technical reason implied by troff why Sx - macros work, as you already described, by building a forward index whereas the TOC doesn't and therefore has to go to the end, as any other toc in single

Re: Observations using utmac

2020-11-05 Thread Johann Höchtl
On 04.11.20 19:55, Pierre-Jean Fichet wrote: Hello Johann, hello troffers, General: The toc is interlinked but clicking on a xref-item doesn't bring me to the item. It's now fixed and works with both neatpdf and neatpost: https://github.com/pjfichet/utmac/ Thank you for the effort, I

Re: Observations using utmac

2020-11-02 Thread Johann Höchtl
On 29.10.20 21:04, Pierre-Jean Fichet wrote: Hello Johann, Johann Höchtl wrote: I used the wonderful utmac-macro set on an arbitrary text which is in the PD. I admit it was more like playing to discover the possibilities of troff and utmac. I made some observations I would like to show

Re: Learning troff - where to start?

2020-10-27 Thread Johann Höchtl
On 14.10.20 18:41, Peter Schaffter wrote: On Wed, Oct 14, 2020, Johann Höchtl wrote: Groff is certainly feature-rich, stable and polished with great documentation. But I also value l8n, being able to input utf8-characters directly into the source or easily switch fonts. Not to mention PAO

Re: Learning troff - where to start?

2020-10-22 Thread Johann Höchtl
however at the start and I do not thing a postscript re-arrangement of pages is used. Op wo 21 okt. 2020 om 21:47 schreef Johann Höchtl : On 19.10.20 14:14, Johann Höchtl wrote: On 15.10.20 16:37, Pierre-Jean Fichet wrote: To fetch for ideas on how to do this or that, maybe can I also point

Re: Learning troff - where to start?

2020-10-21 Thread Johann Höchtl
On 19.10.20 14:14, Johann Höchtl wrote: On 15.10.20 16:37, Pierre-Jean Fichet wrote: To fetch for ideas on how to do this or that, maybe can I also point to my macros, as they'll work with neatroff too, and implement a lot of things: https://github.com/pjfichet/utmac/ I installed utmac

Re: UTP Revisited: scoping the project

2020-10-20 Thread Johann Höchtl
On 20.10.20 16:05, Larry McVoy wrote: On Tue, Oct 20, 2020 at 09:33:02AM -0400, Larry Kollar wrote: Marc Chantreux wrote: hello, - Update Chapter 3 to cover Vim (including gvim) please don't! what's nice about reading UTP is to discover the elegance and simplicity of it all ??? i'm a

Re: Learning troff - where to start?

2020-10-19 Thread Johann Höchtl
On 15.10.20 16:37, Pierre-Jean Fichet wrote: To fetch for ideas on how to do this or that, maybe can I also point to my macros, as they'll work with neatroff too, and implement a lot of things: https://github.com/pjfichet/utmac/ I installed utmac by downloading it and copying all .tmac -

Re: Learning troff - where to start?

2020-10-14 Thread Johann Höchtl
On 14.10.20 18:41, Peter Schaffter wrote: Also not sure what you mean by "easily switch fonts." Since '.ft " is as easy as it gets, I assume you mean something else. I have been imprecise. By switching fonts I actually meant making fonts available to groff, which requires fontforge to

Re: Learning troff - where to start?

2020-10-14 Thread Johann Höchtl
Dear Peter, while I first thought a follow-up question would warrant a separate thread, now as you mention mom, I feel comfortable not to wander astray. Of course I discovered mom and wow it looks feature-rich and very polished. I wonder how big of an effort it would be to make it "portable".

Learning troff - where to start?

2020-10-13 Thread Johann Höchtl
Hi, I am just a casual dabbler who is somehow fascinated by text processing I am using neatroff - It seems to be the most actively developed and has some nice modern features like paragraph-at-once formatting and utf8 support out of the box. Having said that, it seems that all troff

Re: [Groff] groff index generation (for mom)

2013-09-03 Thread Johann Höchtl
On 2013-09-03 21:45, Peter Schaffter wrote: On Sun, Sep 01, 2013, Johann Höchtl wrote: And mom-specific: * Does MOM have a macro for page break (or is .bp save?) Use NEWPAGE. There are a few conditions that mitigate against using .bp safely all the time. The Documentation for mom is superb

[Groff] groff index generation (for mom)

2013-09-01 Thread Johann Höchtl
Dear Groffers, under https://github.com/the42/makeindex you will find a TeX-independed makeindex, announced here and now updated to upstream: http://lists.gnu.org/archive/html/groff/2012-09/msg00065.html Using Denis Wilsons wonderful indexing support for markup,

Re: [Groff] groff index generation (for mom)

2013-09-01 Thread Johann Höchtl
On 2013-09-01 20:31, Johann Höchtl wrote: Dear Groffers, The solution works, https://github.com/the42/makeindex/blob/master/troff/mom/mom-pdf.mom.pdf?raw=true Forgot to mention, I am using stock groff as of (K)ubuntu 13.04 GNU groff version 1.22.1 which comes with mom bundled and I built

Re: [Groff] What does 'groff foo' do?

2012-12-02 Thread Johann Höchtl
On 12/02/2012 07:40 PM, Clarke Echols wrote: In a recent email the syntax: groff foo ... was used. It's called Here string or here document and used extensively in Bash / Perl / Python / Ruby programming. With 'here doc' You can disguise entire websites in a single perl file or a

Re: [Groff] New release of -markup

2012-10-08 Thread Johann Höchtl
On 10/05/2012 03:08 PM, Denis M. Wilson wrote: On Fri, 05 Oct 2012 13:10:48 +0200 Johann Höchtl johann.hoec...@gmail.com wrote: The reason I did it my way is to save ordinary users the pain of working out sizes for themselves. Given the paper, pointsize and font family to be used, what

Re: [Groff] New release of -markup

2012-10-05 Thread Johann Höchtl
On Thu, 4 Oct 2012 12:23:17 -0400 James K. Lowden jklow...@schemamania.org wrote: http://www.oxytropis.plus.com/groff/ Is there a way to specifify different paper sizes but A4 and A5? If not, I suggest adding at least letter and legal (I am not US, but afaik those formats are widely used

Re: [Groff] Indexing these days with groff

2012-09-16 Thread Johann Höchtl
On 09/13/2012 10:54 PM, Denis M. Wilson wrote: When designing my index package I found the trickiest part was the style file. In case it is useful I attach it and the indexing macros (which would have to be tailored for what package you use). Wow, that was very good. Unfortunately I am not

[Groff] Build groff from CVS - afmtodit not found

2012-09-16 Thread Johann Höchtl
I downloaded as of now (2012-09-16, 15:30 UTC) current tarball of groff. After installing g++, texinfo and bison, .configure meant I am ready to go. But the build fails with Warning: line 78: Failed to create groff font 'U-AB' by running afmtodit . . . more of those . . make[2]: *** [DESC]

Re: [Groff] Build groff from CVS - afmtodit not found

2012-09-16 Thread Johann Höchtl
, this is Kubuntu. After replacing, groff builds without issues.. Thank you! I am still working on a more robust solution which will stop the make failing if the required fonts are not found. Cheers Deri -- Dr. Johann Höchtl http://www.facebook.com/myprivate42 https://plus.google.com

Re: [Groff] Indexing these days with groff

2012-09-13 Thread Johann Höchtl
On 09/09/2012 10:01 PM, (Ted Harding) wrote: I go with Denis on using makeindex! The standard troff tools for indexing and bibliography are too limited and inflexible for serious use, and are very difficult to modify, let alone to extend. As promised, my report on using indexing with groff

Re: [Groff] Indexing these days with groff

2012-09-13 Thread Johann Höchtl
On 09/13/2012 06:56 PM, Werner LEMBERG wrote: BTW: The patch to mkind.c of makeindex V2.15 is generic and should permanently be in anyway to make makeindex buildable without the whole TeX source tree, if KPATHSEA is not required. I'll inform the current maintainer, maybe he will consider the

[Groff] Indexing these days with groff

2012-09-09 Thread Johann Höchtl
Fellow groffers, what is the prefered method of creating indexes with groff these days? Mainly I am only aware of Tools for Printing Indexes http://cm.bell-labs.com/cm/cs/cstr/128.ps.gz, CSTR #128, J. L. Bentley and B. W. Kernighan http://troff.org/whoswho.html#bwk, Bell Labs, October 1986.