summaryrefslogtreecommitdiffstats
path: root/eqn_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-23 00:30:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-23 00:30:38 +0000
commitf16a70626e3c042321c73d4629e54507618019f1 (patch)
treea48645b2b6fbe05840f1b5c3c70c9832b33fb46c /eqn_html.c
parent2a063cdabb3cc1368a3f4f8d6145a57db81c577e (diff)
downloadmandoc-f16a70626e3c042321c73d4629e54507618019f1.tar.gz
Simplify font handling:
1. Inherit the font attribute from the parent box, such that iteration is no longer required to find the current font. 2. For well-known function name tokens, do not insert an EQN_LISTONE box into the AST; simply set the font attribute of the text box itself that contains the name. Also improve word splitting of unquoted strings in default font mode: 3. Split between numbers and punctuation because both will soon get different HTML markup. 4. Do not split between letters. With the newly ubiquitious font attributes, all formatters will be able to figure out what to do without putting each letter into a separate box.
Diffstat (limited to 'eqn_html.c')
0 files changed, 0 insertions, 0 deletions