[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Superfluous spaces around {{>partial}}
From: |
Greg Chicares |
Subject: |
[lmi] Superfluous spaces around {{>partial}} |
Date: |
Fri, 31 Aug 2018 12:11:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
With the following experimental patch to emphasize spacing:
---------8<--------8<--------8<--------8<--------8<--------8<--------8<-------
diff --git a/ill_reg_footer.mst b/ill_reg_footer.mst
index f4d0dceb..39de8e2d 100644
--- a/ill_reg_footer.mst
+++ b/ill_reg_footer.mst
@@ -28,12 +28,12 @@
<tr>
<td>Date Prepared: {{date_prepared}}</td>
<td align="center">{{page_number}}</td>
- <td align="right">{{InsCoName}}</td>
+ <td align="right">|{{InsCoName}}|</td>
</tr>
<tr>
<td>System Version: {{LmiVersion}}</td>
<td> </td>
- <td align="right">{{>imprimatur}}</td>
+ <td align="right">|{{>imprimatur}}|</td>
</tr>
</table>
--------->8-------->8-------->8-------->8-------->8-------->8-------->8-------
...on a 'sample2naic' illustration, the right-hand side of the footer
looks like this:
| {ImprimaturPresale} |
|{InsCoName}|
with superfluous spaces surrounding the {{>partial}}. Can that unwanted
space be suppressed?
Even if this particular example may not matter much, I anticipate that
the extra space might look worse in other cases not yet discovered.
I could fix it in this particular case by defining a variable like
{{TheContextualImprimatur}} and assigning it in C++ rather than in an
MST template, but I'm wondering whether there's a general solution.
I thought the extra spaces might come from whitespace in 'imprimatur.mst',
but reducing the body of that template to a single 270-character line
with no whitespace doesn't affect the output.
- [lmi] Superfluous spaces around {{>partial}},
Greg Chicares <=