[Top][All Lists]

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

[bug #20444] inconsistent number of spaces after a period

From: Karl Berry
Subject: [bug #20444] inconsistent number of spaces after a period
Date: Fri, 18 Feb 2011 16:53:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101123 SeaMonkey/2.0.11

Update of bug #20444 (project texinfo):

             Open/Closed:                    Open => Closed                 
             Assigned to:                    None => pertusus               


Follow-up Comment #2:

According to recent discussions with Patrice, the reimplementation of makeinfo
will support inserting end-of-sentence spaces everywhere, not just at the end
of the lines.  So closing this.

Here are some notes from Patrice about it, for posterity:

[The implementation] is in Texinfo/Convert/Paragraph.pm.  It is basically an
object that
is fed with text and returns it split as should be, keeping an internal
state to know what should be done next.  And there are callbacks
to be able to give all the information needed (like 'following is not
an end of sentence' or following is an end of sentence' or 'now we are
in something that keeps spaces and ignores end of lines' as is for @w...),
to cover @: @ @. @* @w and so on.  Also indentation is handled in that

The API is also implemented in Texinfo/Convert/Line.pm for the
formatting of lines, and Texinfo/Convert/UnFilled.pm for text in
preformatted environments.

Those classes, in fact, have nothing Texinfo specific, although their API
was of course done in order to be able to process Texinfo...

If you want to see the association of @-commands with those callbacks
you'll have to have a look at Texinfo/Convert/Plaintext.pm.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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