groff
[Top][All Lists]
Advanced

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

Re: [Groff] line break question


From: Joerg van den Hoff
Subject: Re: [Groff] line break question
Date: Wed, 14 Mar 2007 21:19:14 +0100
User-agent: Mutt/1.5.7i

On Wed, Mar 14, 2007 at 08:15:10PM +0100, Werner LEMBERG wrote:
> 
> > I noticed that groff might format something like
> > 
> > 
> > ".... some_text(more_text) ...."
> > 
> > 
> > in such a way that it comes out as
> > 
> > ".... some_text("
> > "more_text) ...."
> 
> Example code, please.  This shouldn't happen, of course.

well, I'll try:
I can only track down this to the step where the `refer' ms-macros
are inserted (i.e. the `refer' output for my original document). 
the relevant modified excerpt from the latter is:

.\"------------------------------------------------------------------
.nr PS 12
.nr VS \n(PS+2
.SH
References
.ds REFERENCES
.]<
.\"stewarteechenxhadwayjleetystewart2006
.ds [F Stewart\~2006
.]-
.ds [A Stewart, EE, Chen, X, Hadway, J, Lee, TY
.ds [D 2006
.ds [J Radiology
.ds [K PAPER
.ds [L Stewart2006
.ds [N 239(3)
.ds [P 740-50
.nr [P 1
.ds [T Correlation between hepatic tumor blood flow and glucose utilization in 
a rabbit liver tumor model
.nr [T 0
.nr [A 0
.][ 1 journal-article
.]>
.lf 1750 ././master.tr
.\"------------------------------------------------------------------
(and I'm using 1.19.3.)

when formatting this with

groff -ms 

I get the postscript file as per the (hopefully not stripped) attachment tt.ps.
when formatting the above piece with 1.19.2 on a different machine I got a 
different ps-output (tt2.ps).

so, I suspect the problem is in the  ms-definitions for the macro(s) `][' (and 
others?).

hope you can reproduce the problem, otherwise please tell me what else you need.

thanks,

joerg

Attachment: tt.ps
Description: PostScript document

Attachment: tt2.ps
Description: PostScript document


reply via email to

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