groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Macros and Spaces


From: Jeremy Cowgar
Subject: [Groff] Macros and Spaces
Date: Fri, 01 Aug 2003 16:39:36 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

I am curious, how can I create a macro that does not introduce a space? For instance, here is a small snipplet.

.de verseId
.nr bibleVerse \\$1
.ps -3
\\fB\\v'-0.10v'\\$1\\v'0.10v'\\h'-0.1m'\\fR
.ps +3
..

Hello, this is a verse,
.verseId 2
This is verse two.

The problem is that between the 2 and the word "This" is a space, and it does get broken at bad places, such as at the end of a line, so the verse id is on the end of the line and the verse starts on the next.

I tried adding a \~ to the end of \\fR with no luck.

I also have a few other senarios that would be simplified if I could solve this problem.

Thanks,

Jeremy


reply via email to

[Prev in Thread] Current Thread [Next in Thread]