[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Problem with MM spacing with macro immediately after a headi
From: |
Mike Bianchi |
Subject: |
Re: [Groff] Problem with MM spacing with macro immediately after a heading (H) |
Date: |
Wed, 23 Dec 2015 10:33:17 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Damian,
I find that
\# works well outside of tables.
.\# works well inside tables _AFTER_ the initial specification.
>From man 7 groff ...
\# Everything up to and including the next newline is ignored.
This is interpreted in copy mode. This is like \" except that
the terminating newline is ignored as well.
Witness ...
.H 1 "Here Is An Example"
\# Adding text here avoids the problem, but this is not always feasible.
.DS 0
This should be only one line under the heading.
This is not so unless you uncomment the '.rm' above.
.DE
What is the real fix please?
.TS
center;
r r
l l.
.\# Table comment
right right
left left
.TE
\# Finish of example
Mike
On Wed, Dec 23, 2015 at 07:03:41PM +1100, Damian McGuckin wrote:
>
> Around August 2014, there was a discussion started by Blake McBride
>
> Problem with MM spacing
>
> I looks like Werner fixed something but I cannot exactly figure out what
> it was from that discussion.
>
> The problem I have could be related but it is subtly different.
>
> Let me know if I should really append to that thread.
>
> I am using the latest 1.22.3. I did not have this problem previously when
> I was using a much older version of groff, the one which comes with RedHat
> 6, or CentOS 6. But it is the first time I am using this new version with
> some old files.
>
> If I have something like
>
> .H 2 "A Heading"
> Some words of wisdom and ramblings ...
>
> everything just rocks.
>
> However, if I have
>
> .H 2 "A Heading"
> .TS
> .\" some table of something
> .....
> .TE
> or
> .H 2 "Another Heading"
> .DS 0
> .\" some display which needs to be done literally
> .....
> .DE
>
> then the spacing gets messed up. Mind you, typing
>
> .rm address@hidden
>
> at the start of the document fixes it quick smart, but that is not a real
> fix. And heaven only knows what that really does to other things.
>
> While I think a table or a display without some leading explanatory text
> is pretty poor style, and something I normally avoid, I use this document
> structure for staff CVs.
>
> This simple example highlights the problem. Any hints as to a fix is
> welcome.
>
> .\" Start of Example
> .S 12 14
> .\" .rm address@hidden
> .ds HF 3 3 3 2 2 2 2
> .ds HP 12 12 12 12 12 12 12
> .H 1 "Here Is An Example"
> .\" Adding text here avoids the problem, but this is not always feasible.
> .DS 0
> This should be only one line under the heading.
> This is not so unless you uncomment the '.rm' above.
> .DE
> What is the real fix please?
> .\" Finish of example
>
> Regards - Damian
>
> Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
> Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
> Views & opinions here are mine and not those of any past or present employer
>
--
Mike Bianchi
Foveal Systems
973 822-2085
address@hidden
http://www.AutoAuditorium.com
http://www.FovealMounts.com
- [Groff] Licence question regarding an-ext, Carsten Kunze, 2015/12/17
- Re: [Groff] Licence question regarding an-ext, Werner LEMBERG, 2015/12/17
- Re: [Groff] Licence question regarding an-ext, Carsten Kunze, 2015/12/17
- Re: [Groff] Licence question regarding an-ext, Werner LEMBERG, 2015/12/17
- Re: [Groff] Licence question regarding an-ext, Ingo Schwarze, 2015/12/17
- Re: [Groff] Licence question regarding an-ext, Werner LEMBERG, 2015/12/17
- Re: [Groff] Licence question regarding an-ext, Keith Marshall, 2015/12/17
- [Groff] Problem with MM spacing with macro immediately after a heading (H), Damian McGuckin, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H),
Mike Bianchi <=
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Carsten Kunze, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Damian McGuckin, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Mike Bianchi, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Damian McGuckin, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Werner LEMBERG, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Carsten Kunze, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Damian McGuckin, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Carsten Kunze, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Werner LEMBERG, 2015/12/23
- Re: [Groff] Problem with MM spacing with macro immediately after a heading (H), Carsten Kunze, 2015/12/23