Re: [PATCH 2/3] cpu/overheads: Don't break just after nn-mm

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

 



On Sat, Nov 04, 2017 at 02:24:22PM +0900, Akira Yokosawa wrote:
> On 2017/11/03 21:40:25 -0700, Paul E. McKenney wrote:
> > On Sat, Nov 04, 2017 at 10:40:40AM +0900, Akira Yokosawa wrote:
> >> >From 96995ec9781970d633f554579465e9f053ec316a Mon Sep 17 00:00:00 2001
> >> From: Akira Yokosawa <akiyks@xxxxxxxxx>
> >> Date: Sat, 4 Nov 2017 07:44:36 +0900
> >> Subject: [PATCH 2/3] cpu/overheads: Don't break just after nn-mm
> >>
> >> Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
> > 
> > You lost me with this one.  Shouldn't there be a non-breaking space
> > between the "350-500" and the "sheets"?  Or is there some magic here
> > that I am missing?
> 
> I intentionally chose normal space because the preceding number is
> 3 digits and "sheets" can't be hyphenated. It can cause large underfil
> in 2c layout.
> In the current Answer, line breaking is done at different places in
> both 1c and 2c layout, so it doesn't matter at the moment.
> 
> Also, non-breaking spaces can be enforced by a script something like
> hypen2endash.sh. The added pattern in Patch #1 does the conversion
> to nbsp. (I use this script for mostly 1c layout.)
> 
> Thoughts?

OK, I am finally seeing the connection between this change and the
change to the sripts.  So, yes, it has no direct effect on LaTeX,
but does have an indirect effect after the scripts have run.  And some
quick-quiz answers do look much better as well!

I applied and pushed all three, thank you

>         Thanks, Akira
> 
> > 
> > 							Thanx, Paul
> > 
> >> ---
> >>  cpu/overheads.tex | 4 ++--
> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/cpu/overheads.tex b/cpu/overheads.tex
> >> index bd4c814..366b071 100644
> >> --- a/cpu/overheads.tex
> >> +++ b/cpu/overheads.tex
> >> @@ -290,8 +290,8 @@ cycles, as shown in the ``Global Comms'' row.
> >>  	How can I possibly get my head around them?
> >>  \QuickQuizAnswer{
> >>  	Get a roll of toilet paper.
> >> -	In the USA, each roll will normally have somewhere around 350-500
> >> -	sheets.
> >> +	In the USA, each roll will normally have somewhere around
> >> +	350-500 sheets.
> >>  	Tear off one sheet to represent a single clock cycle, setting it aside.
> >>  	Now unroll the rest of the roll.
> >>
> >> -- 
> >> 2.7.4
> >>
> >>
> > 
> > 
> 

--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux