[BACK]Return to mandoc_char.7 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mandoc_char.7 between version 1.70 and 1.72

version 1.70, 2018/08/08 14:03:27 version 1.72, 2018/08/08 14:30:48
Line 62  escape sequences to represent national language charac
Line 62  escape sequences to represent national language charac
 names; instead, provide ASCII transcriptions of the names.  names; instead, provide ASCII transcriptions of the names.
 .Ss Dashes and Hyphens  .Ss Dashes and Hyphens
 In typography there are different types of dashes of various width:  In typography there are different types of dashes of various width:
 the hyphen (-),  the hyphen (\(hy),
 the en-dash (\(en),  the en-dash (\(en),
 the em-dash (\(em),  the em-dash (\(em),
 and the mathematical minus sign (\(mi).  and the mathematical minus sign (\(mi).
Line 76  blue-eyed
Line 76  blue-eyed
 lorry-driver  lorry-driver
 .Ed  .Ed
 .Pp  .Pp
 If a word on a text input line contains a hyphen, a formatter may decide  
 to insert an output line break after the hyphen if that helps filling  
 the current output line, but the whole word would overflow the line.  
 If it is important that the word is not broken across lines in this  
 way, a zero-width space  
 .Pq Sq \e&  
 can be inserted before or after the hyphen.  
 While  
 .Xr mandoc 1  
 never breaks the output line after hyphens adjacent to a zero-width  
 space, after any of the other dash- or hyphen-like characters  
 represented by escape sequences, or after hyphens inside words in  
 macro arguments, other software may not respect these rules and may  
 break the line even in such cases.  
 .Pp  
 Some  
 .Xr roff 7  
 implementations contains dictionaries allowing to break the line  
 at syllable boundaries even inside words that contain no hyphens.  
 Such automatic hyphenation is not supported by  
 .Xr mandoc 1 ,  
 which only breaks the line at whitespace, and inside words only  
 after existing hyphens.  
 .Pp  
 The en-dash is used to separate the two elements of a range,  The en-dash is used to separate the two elements of a range,
 or can be used the same way as an em-dash.  or can be used the same way as an em-dash.
 It should be written as  It should be written as
Line 135  But currently, no practically relevant manual page for
Line 111  But currently, no practically relevant manual page for
 requires that subtlety, so in manual pages just write plain  requires that subtlety, so in manual pages just write plain
 .Sq -  .Sq -
 to represent hyphen, minus, and hyphen-minus.  to represent hyphen, minus, and hyphen-minus.
   .Pp
   If a word on a text input line contains a hyphen, a formatter may decide
   to insert an output line break after the hyphen if that helps filling
   the current output line, but the whole word would overflow the line.
   If it is important that the word is not broken across lines in this
   way, a zero-width space
   .Pq Sq \e&
   can be inserted before or after the hyphen.
   While
   .Xr mandoc 1
   never breaks the output line after hyphens adjacent to a zero-width
   space, after any of the other dash- or hyphen-like characters
   represented by escape sequences, or after hyphens inside words in
   macro arguments, other software may not respect these rules and may
   break the line even in such cases.
   .Pp
   Some
   .Xr roff 7
   implementations contains dictionaries allowing to break the line
   at syllable boundaries even inside words that contain no hyphens.
   Such automatic hyphenation is not supported by
   .Xr mandoc 1 ,
   which only breaks the line at whitespace, and inside words only
   after existing hyphens.
 .Ss Spaces  .Ss Spaces
 To separate words in normal text, for indenting and alignment  To separate words in normal text, for indenting and alignment
 in literal context, and when none of the following special cases apply,  in literal context, and when none of the following special cases apply,

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.72

CVSweb