Re: drawing requests following the line

2024-09-05 Thread Peter Schaffter
Deri -- On Thu, Sep 05, 2024, Deri wrote: > Hi Peter, > > There is a way for -Tpdf, I just have not written it yet! When I do, you get > text hi-light, score through, and squiggly line as a bonus, they are all > related. Gropdf to the rescue. -- Peter Schaffter https://www.schaffter.ca

Re: drawing requests following the line

2024-09-05 Thread Peter Schaffter
RSCORE uses \D'l ...', which does not span lines, a limitation mitigated by there being no restriction on the chosen output device. -- Peter Schaffter https://www.schaffter.ca

Re:

2024-08-30 Thread Peter Schaffter
om has macros to facilitate both (plus letter-pair kerning). Not sure about the other macro packages. That said, no matter how you tighten or loosen a line, it must not be noticeable. -- Peter Schaffter https://www.schaffter.ca

Re: Rendering the em dash on the terminal

2024-08-28 Thread Peter Schaffter
On Wed, Aug 28, 2024, Tadziu Hoffmann wrote: > > I suspect conventions might be strongly regionally > dependent. Indeed. My bias is entirely North American. -- Peter Schaffter https://www.schaffter.ca

Re: PDFPIC issues

2024-08-27 Thread Peter Schaffter
scaling, so the only change needed in mom is to the documentation, instructing users to call on pdfinfo(1) for pdf image dimensions and identify(1) for everything else. -- Peter Schaffter https://www.schaffter.ca

Re: Rendering the em dash on the terminal

2024-08-27 Thread Peter Schaffter
pace, q.v. Given the clarity and former prevalence of these conventions, I can't see any reason why documents intended for the terminal shouldn't observe them. -- Peter Schaffter https://www.schaffter.ca

Re: PDFPIC issues

2024-08-22 Thread Peter Schaffter
I can shoehorn Debian's 'experimental' imagemagick/perlmagick into my Ubuntu 22.04 and test. -- Peter Schaffter https://www.schaffter.ca

Re: PDFPIC issues

2024-08-22 Thread Peter Schaffter
which would solve > the problem of some versions of identify returning incorrect data. Makes sense for now. > You say that jpg and jp2 are "almost" correct. What is the issue? The "almost" refers only to the wrong size pdf output. jpg and jp2 are fine. -- Peter Schaffter https://www.schaffter.ca

Re: Error messages I thought we got rid of

2024-08-21 Thread Peter Schaffter
Branden -- On Wed, Aug 21, 2024, G. Branden Robinson wrote: > So please await a full answer, but in the meantime, the warnings > are restored so that it's easier for me to tell when I've fixed > what causes them. Understood. -- Peter Schaffter https://www.schaffter.ca

Error messages I thought we got rid of

2024-08-21 Thread Peter Schaffter
te). I haven't seen these messages for a while, so I was a bit surprised. -- Peter Schaffter https://www.schaffter.ca

Re: vim :hardcopy equivalent

2024-07-22 Thread Peter Schaffter
implemented switching between typewritten and typeset copy of the same document (with the PRINTSTYLE directive), a functionality I find indispensable for generating hard copies of drafts for blue penciling. My way of saying, "Don't be afraid of the t-word." Neatly formatte

Re: Hungarumlauts in built-in fonts

2024-05-11 Thread Peter Schaffter
t; Does this mean the problem doesn't happen for the ps device? Or > have you not tried that? Tested. The problem affects -Tps as well. The best solution is to use the urw fonts, which render fine. Should a ticket be opened on savannah for the built-in fonts? -- Peter Schaffter https://www.schaffter.ca

Re: PDF outline anomaly

2024-04-30 Thread Peter Schaffter
Branden -- Deri sent me privately an amended gropdf that fixes the issue. I missed a couple of commit messages this morning but I believe he has pushed the changes to the repo. -- Peter Schaffter https://www.schaffter.ca

Re: PDF outline anomaly

2024-04-29 Thread Peter Schaffter
'll do another bisect to see where the 'u]' started creeping in, but it > looks to me like there's more than one problem to solve. I rather suspected it might be the tip of an iceberg. -- Peter Schaffter https://www.schaffter.ca

PDF outline anomaly

2024-04-29 Thread Peter Schaffter
the scaling unit and closing delimiter of the \s inline being interpreted as literal text when the text of a heading with \*[COND] is passed to pdfbookmark. -- Peter Schaffter https://www.schaffter.ca

Re: Incorrect list item spacing after pagebreak

2024-04-18 Thread Peter Schaffter
m release. For now, 1. Open the file om.tmac. 2. Look for .MAC ITEM END 3. Add this line immediately underneath .if \\n[#START]+\\n[@TOP]>0 .RESTORE_SPACE -- Peter Schaffter https://www.schaffter.ca

Re: Enumerator spacing in bullet lists with mom

2024-04-16 Thread Peter Schaffter
ng or decreasing the size of the bullets, or, in your case, increasing the gutter between the bullet and the text. -- Peter Schaffter https://www.schaffter.ca

Re: Enumerator spacing in bullet lists with mom

2024-04-16 Thread Peter Schaffter
of advice: As a general rule, it is preferable to insert blank lines (visual spacers) into mom text files by putting a period (dot) at the start of the line, like so .PAPER A4 . .TITLE "Some Title" -- Peter Schaffter https://www.schaffter.ca list-test.pdf Description: Adobe PDF document

Re: the Courier font family and nroff history

2024-03-24 Thread Peter Schaffter
On Sun, Mar 24, 2024, Steve Izma wrote: > Do you remember what the costs of the Linotronic machines would > have been? IIRC, the 202 cost between $40,000 and $60,00 at the end of the eighties. The 300 series ran about $60,000. -- Peter Schaffter https://www.schaffter.ca

Re: the Courier font family and nroff history

2024-03-24 Thread Peter Schaffter
MacIIfx computers. I wouldn't call those Macs cheap or hobby-level, not by a long shot. :) -- Peter Schaffter https://www.schaffter.ca

Re: An extremely lazy proposal

2024-03-22 Thread Peter Schaffter
files with a mapped key in vim(1). The key invokes a script that throws -Kutf8 -e -t -p -R -s -G at groff regardless of which preprocessors are needed, if any. I've never noticed a performance penalty. The -A option might be a good idea. -- Peter Schaffter https://www.schaffter.ca

Re: Why does groff require psutils?

2024-03-17 Thread Peter Schaffter
ing to ps2ps imposes no penalty on the mom documentation, which explicitly instructs users to acquire and install the psutils package if it is not already on their system. -- Peter Schaffter https://www.schaffter.ca

Re: [groff] 28/28: [pdf]: Implement linear bookmark tag search

2024-03-04 Thread Peter Schaffter
patch and send it to me. > If that is done (regardless of who does it), I can also chop out the `ie > d PRINTSTYLE` branches from pdf.tmac shown below. Which would address Doug's concern about PRINTSTYLE (mom specific macro) appearing in pdf.tmac, which should be macroset agnostic. -- P

Re: Font Palatino

2024-03-03 Thread Peter Schaffter
ith Palatino (URW-Palladio) in roman, italic, bold, and bold-italic. Nothing special is required to access the fonts. The single-letter identifier is P, thus .ft PR = Palatino roman .ft PI = Palatino italic etc. -- Peter Schaffter https://www.schaffter.ca

Re: Accent mystery

2024-02-21 Thread Peter Schaffter
> > It looks idiomatic enough to me. You can expect this change in my next > push. Thanks! Deri sent me a patch this morning. I've applied and tested it. Fixes the issue. If you want, I can push the change. -- Peter Schaffter https://www.schaffter.ca

Re: Accent mystery

2024-02-20 Thread Peter Schaffter
atively, I suppose the documentation for -K could simply be amended to read "don't use -k with -K" (though more elegantly worded) instead of "implies -k". -- Peter Schaffter https://www.schaffter.ca

Re: Accent mystery

2024-02-20 Thread Peter Schaffter
Hi, Branden. On Mon, Feb 19, 2024, G. Branden Robinson wrote: > At 2024-02-19T12:39:53-0500, Peter Schaffter wrote: > > Your minimal file renders fine on my system without -Kutf8 *and* I > > recently encountered a file with a single accented character where > > passing -Kutf8

Re: [mom] CAPTION_AFTER _LABEL ignores alignment rules

2024-02-20 Thread Peter Schaffter
s. .LABELS IMG FONT R .PDF_IMAGE myimage.pdf 5c 5c \ LABEL "Label that looks like a caption." The output will have the LABEL text underneath the image, as expected (even though here it serves as a caption) and the image will appear in the List of Figures as "Label that looks like a caption." -- Peter Schaffter https://www.schaffter.ca

Re: RECTO_VERSO uses wrong margins

2024-02-19 Thread Peter Schaffter
d for giving the paper size at the command line, and no need to convert .ps to .pdf. -- Peter Schaffter https://www.schaffter.ca

Re: Accent mystery

2024-02-19 Thread Peter Schaffter
f8 *and* I recently encountered a file with a single accented character where passing -Kutf8 had no effect (I had to introduce the character "silently" in an unused diversion to fix the problem). -- Peter Schaffter https://www.schaffter.ca

Re: [PATCH] tweak a mom diagnostic

2024-02-16 Thread Peter Schaffter
next,a future} push? Let me take care of it. I'm planning to push a couple of changes in the next few days. I'll include it then. -- Peter Schaffter https://www.schaffter.ca

Re: Tears in my eyes, joy in my heart (was: gropdf-ng merge status (was: PDF outline not capturing Cyrillic text))

2024-02-07 Thread Peter Schaffter
oice on the list. -- Peter Schaffter https://www.schaffter.ca

Re: Ornamented Page Borders

2024-02-01 Thread Peter Schaffter
]<=\n[loop] \{\ . TN \" Call remaining tabs with "tab next" to keep on same baseline . nop \*[glyph] .\} .TQ . .\" Left .while (\n[.t]-\n[.v])>\n[.v] \{\ . nop \*[glyph] .\} . .\" Right .rt .sp .RIGHT .while (\n[.t]-\n[.v])>\n[.v] \{\ . nop \*[glyph] .\} . .\" B

Auto-relocated TOC in wrong place in pdf outlines

2024-01-06 Thread Peter Schaffter
or if it's a gropdf bug. -- Peter Schaffter https://www.schaffter.ca .TITLE "PDF outline test .COVER TITLE AUTHOR .AUTHOR "Peter Schaffter .PRINTSTYLE TYPESET .AUTO_RELOCATE_TOC .START .PP 1 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at ante. Mauris eleifend, q

Re: Is there a Groff showcase?

2023-12-16 Thread Peter Schaffter
columns with cutouts for images. However, floating justified text around an image is a whole 'nother ball of wax. -- Peter Schaffter https://www.schaffter.ca

Re: Proposed GNU troff behavior change: require end-of-input macros to exit

2023-12-08 Thread Peter Schaffter
On Fri, Dec 08, 2023, G. Branden Robinson wrote: > I propose that GNU troff stop behaving like AT&T troff in one aspect of > end-of-input macro processing, documented in our Texinfo manual. I'm all for it, for all the reasons given. -- Peter Schaffter https://www.schaffter.ca

Re: Long Heading lines using mom

2023-12-01 Thread Peter Schaffter
to say. If you are using 2.6 or 2.6_a and the problem persists, please send me a file exhibiting the error. Occasionally, when testing mom, I inadvertently set up conditions that give perfect results but which overlook some real world scenarios. Cheers. -- Peter Schaffter https://www.schaffter.ca

Re: [MOM[ unexpected behaviour when using blockquotes with two columns

2023-11-16 Thread Peter Schaffter
w to update, that's all. > 2. In groff_mom there's a link to the local html manual (/usr/share/doc/ > groff-1.23.0/html/mom/toc.html), but most recent version of Groff on Arch > Linux > doesn't include the html pages, at least not where the points to. Branden? Anyone? -- Peter Schaffter https://www.schaffter.ca

Re: [MOM[ unexpected behaviour when using blockquotes with two columns

2023-11-15 Thread Peter Schaffter
arball of the fixed version (2.6_a) from the mom website: https://www.schaffter.ca/mom/mom-05.html#most-recent-release -- Peter Schaffter https://www.schaffter.ca

Re: Long Heading lines using mom

2023-09-11 Thread Peter Schaffter
Heinz-Jürgen -- On Tue, Aug 29, 2023, Peter Schaffter wrote: > On Tue, Aug 29, 2023, Heinz-Jürgen Oertel wrote: > > I'm translating from English to German so I have to overtake more > > ore less the long heading lines from a book. Using mom i can > > split the tex

Re: Leaders

2023-09-05 Thread Peter Schaffter
y > possibly required additional space. See the attached example. The example was enormously helpful. There's light at the end of my TOC multi-line entry tunnel. -- Peter Schaffter https://www.schaffter.ca

Re: Leaders

2023-09-05 Thread Peter Schaffter
got it now. -- Peter Schaffter https://www.schaffter.ca

Re: Leaders

2023-09-03 Thread Peter Schaffter
Branden -- On Sat, Sep 02, 2023, G. Branden Robinson wrote: > > Question 1: > > Is \a only interpreted in copy mode as this would suggest? > > Yes. This has been documented for a long time, but I don't think very > clearly. Precisely why I asked. :) > Until (he boasted) groff 1.23.0. > ... >

Re: Leaders

2023-09-03 Thread Peter Schaffter
quot; is justification for adopting an "it doesn't matter" attitude, at least not in this case. -- Peter Schaffter https://www.schaffter.ca

Leaders

2023-09-02 Thread Peter Schaffter
and some leader. Question 3: Why do the leaders not respect .ta \n[.l]u? -- Peter Schaffter https://www.schaffter.ca

Re: Long Heading lines using mom

2023-08-29 Thread Peter Schaffter
es in mom. For very long titles there's TITLE_SHORT, but nothing equivalent for headings. I'm working on a solution. -- Peter Schaffter https://www.schaffter.ca

Re: Baffling accented glyphs issue

2023-08-26 Thread Peter Schaffter
dd to be discovering this for the first time after decades of preparing documents. Live and learn. -- Peter Schaffter https://www.schaffter.ca

Baffling accented glyphs issue

2023-08-26 Thread Peter Schaffter
s the problem with the initial mangled glyph. Try adding .\"ô or similar to the end of chats_1 and processing it to see what I mean. I'm not sure if this is new behaviour because I can't recall ever creating a document with only one accented glyph. Ideas, anyone? -- Peter Schaff

Re: Footer trap in a A4 PDF

2023-08-25 Thread Peter Schaffter
ler. I use it frequently. -- Peter Schaffter https://www.schaffter.ca

Re: a morsel of groff 1.23.0 status

2023-07-05 Thread Peter Schaffter
; for your tireless work in making groff more featureful, more portable, > better documented, and less buggy. Hear, hear! -- Peter Schaffter https://www.schaffter.ca

Re: a morsel of groff 1.23.0 status

2023-06-26 Thread Peter Schaffter
Quite so. I apologise for my carelessness nonetheless. The last thing we needed was a hitch in the 1.23 release. -- Peter Schaffter https://www.schaffter.ca

Re: buglet in mom 2.5d

2023-06-15 Thread Peter Schaffter
tring. The latter. It affects all the graphical object macros. I've pushed the fix. 'typesetting.mom' should now build without error. -- Peter Schaffter https://www.schaffter.ca

Re: widows vs orphans

2023-06-15 Thread Peter Schaffter
no "past" words preceding it. Cheers. -- Peter Schaffter https://www.schaffter.ca

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-12 Thread Peter Schaffter
On Fri, Jun 09, 2023, G. Branden Robinson wrote: > At 2023-06-09T02:02:48-0400, Peter Schaffter wrote: > > Hmm... It might be a subtle point, but mom already compensates for > > it any time \D't n' is used to set line weight in a macro. > > Ah. Unless you compen

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-08 Thread Peter Schaffter
Not sure how germane this is but I thought I should mention it. -- Peter Schaffter https://www.schaffter.ca

Re: Multi-columns in ms

2023-04-29 Thread Peter Schaffter
ither. > > Also, how do I force a column to break? .bp forces a page break, it > > does not break a column. Mom has .COL_NEXT (quad and break) and .COL_BREAK (force justify ["spread"] and break). -- Peter Schaffter https://www.schaffter.ca

Re: [mom] R_MARGIN ignored

2023-04-27 Thread Peter Schaffter
n, but the fix is simple. Replace the PAGEWIDTH macro in your om.tmac with .MAC PAGEWIDTH END .br .nr #PAGE_WIDTH \\$1 .if !r#L_MARGIN .L_MARGIN \\n[.o] .if !r#R_MARGIN .R_MARGIN 1i .if '\\*[.T]'pdf' \X'papersize=\\n[#PAGE_WIDTH]z,\\n[#PAGE_LENGTH]z'\c .END -- Peter Schaffter https://www.schaffter.ca

tbl numeric overflow

2023-04-25 Thread Peter Schaffter
nt results when processing with tbl, i.e. you are not seeing the error messages. Given that an older version of tbl does not report any errors, it would seem the problem is with tbl in 1.23.0.rc4, however I wouldn't bet the farm on it. -- Peter Schaffter https://www.schaffter.ca

Re: [mom] Extraneous empty line that starts a new page

2023-04-25 Thread Peter Schaffter
is empty (except for the header) and > "Second heading" is pushed back to page 3. Without the .NEWPAGE, > "Second heading" is on page 2 as it should be but too low. I'm unable to reproduce either of these problems with mom 2.5_c. As posted earlier, I suspect updating your version of mom may be all that's required. -- Peter Schaffter https://www.schaffter.ca

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread Peter Schaffter
27;--if I give groff an > input document consisting solely of this: > > .PRINTSTYLE TYPESET > > ...so much of this output may be a red herring It is. > For the time being I propose we back off of '-ww' usage with mom(7). > I'm not sure it is helping illuminate anything. Agreed. > Maybe passing the white-gloved barracks inspection can be an objective > for mom 2.6. ;-) Cheers. -- Peter Schaffter https://www.schaffter.ca

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread Peter Schaffter
If not, you can get it at https://www.schaffter.ca/mom/mom-2.5_c.tar.gz The mom version that ships with 1.22.3 is quite out of date; this may have a bearing on your problem. -- Peter Schaffter https://www.schaffter.ca

Re: [mom] Extraneous empty line that starts a new page

2023-04-24 Thread Peter Schaffter
Sorry for top-quoting Branden's reply _in toto_ but it will make replying easier. On Sun, Apr 23, 2023, G. Branden Robinson wrote: > Hi Frederic, > > At 2023-04-24T01:37:00+0200, Frederic Chartier wrote: > > I've stumbled on another problem with -mom. There is a table at > > the bottom of a page.

Re: [mom] Page header on first page

2023-04-22 Thread Peter Schaffter
t be done ? I don't need or want a document header, if > that matters, so .DOCHEADER OFF. With the docheader turned off, insert the macro .HEADER immediately after .START. -- Peter Schaffter https://www.schaffter.ca

gropdf and pdfpagenumbering

2023-04-18 Thread Peter Schaffter
Deri -- My emails to you are getting bounced so I'm replying to your latest on the list. Fixing the pdf outline pagenumbers is great. Very happy about it. I'll integrate '.pdfpagenumbering' into mom but leave it undocumented until after you commit. Cheers. -- P

Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4

2023-04-05 Thread Peter Schaffter
nline at https://www.schaffter.ca/mom/momdoc/toc.html PDF usage is covered in a separate document, mom-pdf.pdf, which is on your system and available online at the mom website. -- Peter Schaffter https://www.schaffter.ca

Re: .ab oddity

2023-02-04 Thread Peter Schaffter
the -z flag. Formerly, echo -e ".nr foo 1\n.if r foo .ab\n" | groff -z would helpfully spit out "User abort." Now there's no way to know whether groff exited cleanly or aborted unless you add a string after .ab. (A minor annoyance, but I thought I should mention it.) -- Peter Schaffter https://www.schaffter.ca

.ab oddity

2023-02-03 Thread Peter Schaffter
Before I file a bug report, I'm wondering if this is unique to me. echo ".ab" | groff -Tutf8 does not print "User abort". (".ab foo" correctly prints "foo".) My current build is 1.23.0.rc1.3711-25fb. -- Peter Schaffter https://www.schaffter.ca

Re: Margin formatting question for "mom"

2023-01-12 Thread Peter Schaffter
margins before > executing "NEWPAGE"? First, make sure to disable adjusted document leading: .PRINTSTYLE TYPESET .DOC_LEAD_ADJUST off Assuming you have page headers and bottom-of-page pagination enabled: .HEADER_MARGIN .HEADER_GAP .T_MARGIN \n[#HEADER_MARGIN]u+\n[#HEADER_

Re: [MOM] No PDF outline when .DOCHEADER OFF

2023-01-12 Thread Peter Schaffter
if it runs deeper, please post with more details. -- Peter Schaffter https://www.schaffter.ca

Re: Small error in install-font from Peter Schaffter

2022-12-12 Thread Peter Schaffter
me, so I can't at present see any advantage to giving users the option. -- Peter Schaffter https://www.schaffter.ca

Re: Small error in install-font from Peter Schaffter

2022-12-11 Thread Peter Schaffter
On Sun, Dec 11, 2022, Wim Stockman wrote: > I found a small error in the install-font script of Peter Schaffter from > the mom macros > Link: https://www.schaffter.ca/mom/bin/install-font.sh > > The generated internalname is missing a "-" between font family and >

Re: Why isn't the device resolution exposed to the formatter?

2022-11-18 Thread Peter Schaffter
its of lint off the pedestals. -- Peter Schaffter https://www.schaffter.ca

Re: Putting hyperlinks in a PDF document

2022-11-16 Thread Peter Schaffter
mand line. (Thanks, Deri!). The one instance where papersize.tmac needs to be called is when .ps output is desired and the file consists entirely of presentational (bare-metal) macros. IOW, quite rare. -- Peter Schaffter https://www.schaffter.ca --- papersize.tmac 2022-11-16 11:56:45.088890965 -0

Re: Creating macro for inline placement of pdf images

2022-11-14 Thread Peter Schaffter
t; raise amount and width of the graphic. .ds graphic:1 \v'-\n[depth:1]u'\[graphic:1]\h'\n[width:1]u' . .START .PP Lorem ipsum \*[graphic:1] dolor sit amet. . .\" End inline-graphic template I'm attaching a pdf of the template. -- Peter Schaffter https://www.schaffter.ca inline-graphic.pdf Description: Adobe PDF document

Re: How to get page borders?

2022-09-26 Thread Peter Schaffter
er .PP Lorem ipsum... I'm attaching a pdf of a simple, default document with borders added to demonstrate. If your docs have covers, title pages, a table of contents, etc. that need borders, they require further special treatment, which I'm omitting here for the sake of simplicity.

Re: -s flag (soelim) not working?

2022-09-19 Thread Peter Schaffter
invoking preconv before soelim? My confusion grows. If soelim, invoked at the start of the chain, renders the sourced file correctly, it suggests that soelim is performing preconv magic on it. Why, then, doesn't '-s' do the same, regardless of preprocessing order? > Ing

-s flag (soelim) not working?

2022-09-19 Thread Peter Schaffter
lim main | groff -Tutf8 -k and groff -Tutf8 -ks main should produce identical output, however the -s flag is ignored and groff spits out garbage. What's up? -- Peter Schaffter https://www.schaffter.ca

PDF outline not capturing Cyrillic text

2022-09-17 Thread Peter Schaffter
of contents page. At a guess, it looks as if gropdf or pdfmark isn't recognizing Cyrillic characters as valid input for creating pdf bookmarks. I'm at a loss as to how to overcome this. Ideas? -- Peter Schaffter https://www.schaffter.ca

Re: Coffee with Brian Kernighan - Computerphile

2022-08-28 Thread Peter Schaffter
On Sun, Aug 28, 2022, Mike Bianchi wrote: > I often enjoy listening the Brian Kernighan reminisce and foretell. > Witness > Coffee with Brian Kernighan - Computerphile > https://youtu.be/GNyQxXw_oMQ Fantastic interview. Thanks, Mike. -- Peter Schaffter https://www.schaffter.ca

Re: Font path issue

2022-08-21 Thread Peter Schaffter
when it comes to reading 'download' files (decidedly preferable). install-font.sh can take care of planting a 'download' file in site-font/devps that contains the necessary entries, but I think it's a poor idea to rely on third-party software for this. -- Peter Schaffter https://www.schaffter.ca

Re: pdfmom -Tps not working

2022-08-20 Thread Peter Schaffter
On Sat, Aug 20, 2022, Deri wrote: > > On Saturday, 20 August 2022 02:06:10 BST Peter Schaffter wrote: > > Deri -- > > > > 'pdfmom -Tps' seems to be broken. I never use the -Tps option > > so I haven't notice before. When I run > > > &g

pdfmom -Tps not working

2022-08-19 Thread Peter Schaffter
Light which makes BMR come out as BMI and vice versa. I can't recall having futzed around in the file, so I'm assuming this needs to be fixed. -- Peter Schaffter https://www.schaffter.ca test.ps Description: PostScript document

Font path issue

2022-08-19 Thread Peter Schaffter
ries. Is this a bug, or is it something that needs to be documented? I'm running a 1.22.4.7-72b4 build; perhaps it's already been corrected? -- Peter Schaffter https://www.schaffter.ca

Re: Updated install-font.sh

2022-08-17 Thread Peter Schaffter
t; > places, site_font, system font, /usr/lib/ font. I haven't experienced any problem with the duplication. -- Peter Schaffter https://www.schaffter.ca

Updated install-font.sh

2022-08-17 Thread Peter Schaffter
;ll also be amending the long-form font installation instructions in the appendices to the momdocs. -- Peter Schaffter https://www.schaffter.ca

Re: mom problem

2022-08-15 Thread Peter Schaffter
6p > which breaks the line and advances one full linespace plus six points. This is clearly wrong. In the far distant past I changed the behaviour of SPACE to mirror groff's .sp request. I obviously neglected to update the documentation at that time. Thanks. -- Peter Schaffter https://www.schaffter.ca

Re: mom problem

2022-08-15 Thread Peter Schaffter
- Forwarded message from Peter Schaffter - Date: Mon, 15 Aug 2022 12:22:11 -0400 To: Ulrich Lauther From: Peter Schaffter Subject: Re: mom problem Ulrich -- On Mon, Aug 15, 2022, Ulrich Lauther wrote: > I added the modified SPACE macro to my private collection of > macros,

Re: mom problem

2022-08-14 Thread Peter Schaffter
.ns is removed when SPACE is called. It fixes the problem for your sample file, though I'm not sure how robust it is for real-world files. -- Peter Schaffter https://www.schaffter.ca

Re: mom problem

2022-08-13 Thread Peter Schaffter
ich mom is unable to restore vertical spacing after a page transition automatically, which is what RESTORE_SPACE is for. Without a test file, I can't say whether this is genuinely one of them or a bug. See if RESTORE_SPACE helps. If not, I'll need a test file to see exactly where thing

Re: Fixes for several contrib/mom/momdoc files

2022-07-28 Thread Peter Schaffter
Alexis -- Thanks for the doc fixes for mom. I've been meaning to get out the broom and clean them up. This is a great help. -- Peter Schaffter https://www.schaffter.ca

Re: "Writing my PhD using groff"

2022-07-25 Thread Peter Schaffter
My solution was to write a macro set so clearly documented that users would never have to consult the g/troff documentation at all unless they were themselves macro programmers. Crazy, I know, but when I look at the amount of work Branden has put into improving the official docs, I don't reg

Re: warning on mid-input line sentence endings

2022-07-17 Thread Peter Schaffter
ng, zero-width character." -- Peter Schaffter https://www.schaffter.ca

Re: Zero Width Space

2022-06-06 Thread Peter Schaffter
gt; who's ever written a C program knows that the null > character is ASCII NUL, the terminator of string objects, Oops. Didn't think of that. FWIW, I wasn't all that happy with the suggestion anyway. -- Peter Schaffter https://www.schaffter.ca

Re: Zero Width Space

2022-06-06 Thread Peter Schaffter
nting character" is accurate (behaves like a character, has zero width and doesn't print), is easy to conceptualise, and applies to and helps explain all scenarios where \& is used. That said, if we must find a convenient, shorter alternative, "null character" seems

Re: How to use the "mom" '.FT' macro with a period?

2022-04-09 Thread Peter Schaffter
d: .FT I period .FT R \&. .br \& is a zero-width, non-printing character whose most usual use-case is to prevent groff from interpreting a period at the beginning of an input line as a control character. -- Peter Schaffter https://www.schaffter.ca

Re: mom question

2021-12-10 Thread Peter Schaffter
T_FN_OVERFLOW_TRAP_POS . \} .\} .el .if !\\n[#B_MARGIN_SET]=1 .bp .END -- Peter Schaffter https://www.schaffter.ca

Re: MOM heading question

2021-11-26 Thread Peter Schaffter
he roman numeral ARTICLE numbers for you. .HEADING 1 "ARTICLE \n+[foo]" -- Peter Schaffter https://www.schaffter.ca

Re: Should vertical motions be in vees or ems? Where does the baseline go?

2021-11-16 Thread Peter Schaffter
or a 10-point font. I've been meaning to weigh in on the subject with the same observations. Thanks for saving me the trouble. -- Peter Schaffter https://www.schaffter.ca

Re: macro returning a value?

2021-11-16 Thread Peter Schaffter
es the correct result without an extra line. Which it should. The result is identical to Pos1 with \c. Hope this helps. -- Peter Schaffter https://www.schaffter.ca

Re: macro returning a value?

2021-11-15 Thread Peter Schaffter
g a blank line. What's more, removing the space before the opening parens should cause the \R escape to fail with 'troff: :: warning: missing number'. A backtrace points directly to the \R line. I'm mystified. Can you send a small example exhibiting the problem (input and output) along with your groff command line? -- Peter Schaffter https://www.schaffter.ca

  1   2   3   4   5   6   7   >