[Info-vax] runoff .RNH fun and games.
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Mon Dec 23 07:25:52 EST 2013
In article <CM6dnf4oyLM8qSrPnZ2dnUVZ_rGdnZ2d at mchsi.com>, "John E. Malmberg" <wb8tyw at qsl.network> writes:
>On 12/22/2013 12:24 PM, VAXman- @SendSpamHere.ORG wrote:
>> In article <v9qdne_DO9BChCrPnZ2dnUVZ_s-dnZ2d at mchsi.com>, "John E. Malmberg" <wb8tyw at qsl.network> writes:
>>> On 12/20/2013 10:31 PM, George Cornelius wrote:
>>>> John E. Malmberg wrote:
>>>>> I am trying to use runoff to generate a .hlp file from a .RNH file.
>>>>>
>>>>> I already found the issue that the source filename needs to be in upper
>>>>> case.
>>>>>
>>>>> The issue that I am finding is that each line of output from runoff has
>>>>> <CR><LF> at the end followed by a blank line with <CR><LF> on it.
>>>>
>>>> That is not what it is doing - at least if you selected
>>>> single-spaced lines.
>>>
>>> The default is single-space lines and I have specifically selected
>>> single space lines.
>>>
>>> I still get double spaced lines in all cases.
>>>
>>>>> I can reproduce this from VAX/VMS 7.3 to IA64/VMS 8.4.
>>>
>>
>> Hmm... file LATIN.RNH is:
>
>> Where are these the double space lines?
>
>I do not get them with your LATIN.RNH.
>
>> What RUNOFF .FLAGS have you specified as enabled? Have you specified
>> .SPACING in your .RNH files???
>
>EAGLE> type vms_gawk.hlp
>1 GAWK
>
> GAWK is GNU awk, the Free Software Foundation's implementation of
>
> the awk programming language. awk is an interpretive language which
>
> can handle many data-reformatting jobs with just a few lines of code.
>
> It has powerful string manipulation and pattern matching capabilities
>
> built in. This version is compatible with POSIX 1003.2 awk.
>
>EAGLE> type vms_gawk.rnh
>..SP 1
>..P 0
>..AP
--^^^
Here...
>..LM 1
>..RM 70
>..NO FLAGS UNDERLINE
>..I-1
>1 GAWK
> GAWK is GNU awk, the Free Software Foundation's implementation of
_^^
...and here is the problem.
> the awk programming language. awk is an interpretive language which
> can handle many data-reformatting jobs with just a few lines of code.
> It has powerful string manipulation and pattern matching capabilities
> built in. This version is compatible with POSIX 1003.2 awk.
>----
>
>I pulled the start (Except for adding the .SP1 from the MMK_HELP.RNH
>file, and it also renders in double space.
>
>I see nothing in the runoff documentation that the .P0 or .AP changes
>the line spacing to double.
>
>Regards,
>-John
>
If you want to keep autoparagraph, start the text, without spacing, on the
left.
I'd just remove the .AUTOPARAGRAPH. When you leave the leading space, you
are telling RUNOFF that you are starting a new paragraph.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
Well I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list