Skip to content

Commit

Permalink
Handle underbars
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed Jul 24, 2022
1 parent 6063e9a commit fa24d74
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion data/en/4.0.dict
Original file line number Diff line number Diff line change
Expand Up @@ -13289,6 +13289,7 @@ RIGHT-WALL: RW- or ({@Xca-} & [[Xc-]]);
<post-quote>:
QUc- & {<wo-wall> or <wi-wall> or CP+};

% underbar used like a quote-mark, e.g. for _bold text_
« 《 【 『 「 „ “ ''.x ’’.x :
QUd-;
» 》 】 』 」 ” ''.y ’’.y :
Expand All @@ -13299,7 +13300,8 @@ RIGHT-WALL: RW- or ({@Xca-} & [[Xc-]]);

% [[ZZZ-]]: link to "random" quotation marks that show up "for no reason".
% Cannot use a blanket W+ here to pick up all W connectors, because ... ??
""": QUd- or <post-quote> or [[ZZZ-]];
% Underbar is for _bold text_.
""" "_": QUd- or <post-quote> or [[ZZZ-]];

% Using backtic.x and backtic.y in the above definitions multiplies the
% number of linkages by 2^(number of backtics). So it is treated as a
Expand Down
3 changes: 2 additions & 1 deletion data/en/4.0.dict.m4
Original file line number Diff line number Diff line change
Expand Up @@ -10875,7 +10875,8 @@ RIGHT-WALL: RW- or ({@Xca-} & [[Xc-]]);

% [[ZZZ-]]: link to "random" quotation marks that show up "for no reason".
% Cannot use a blanket W+ here to pick up all W connectors, because ... ??
""": QUd- or <post-quote> or [[ZZZ-]];
% Underbar used like a quote-mark, e.g. for _bold text_
""" "_": QUd- or <post-quote> or [[ZZZ-]];

% Using backtic.x and backtic.y in the above definitions multiplies the
% number of linkages by 2^(number of backtics). So it is treated as a
Expand Down
2 changes: 2 additions & 0 deletions data/en/corpus-fixes.batch
Original file line number Diff line number Diff line change
Expand Up @@ -4321,6 +4321,8 @@ Sweat stood on his brow, fury was bright in his one good eye.
¿this is a question?
¡this is an exclamation!

Underbars are used for _bold text_.

% Crazy UTF8 dashes
we are dealing with androcentric—that is to say, male-dominated—concepts
we are dealing with androcentric--that is to say, male-dominated--concepts
Expand Down

0 comments on commit fa24d74

Please sign in to comment.