<div dir="ltr">On Sat, Sep 22, 2018 at 12:54 AM Paul Theodoropoulos <<a href="mailto:paul@anastrophe.com">paul@anastrophe.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
On 9/21/2018 1:07 AM, Sanjeev Gupta wrote:<blockquote type="cite"><div dir="ltr"><div>My concern is that the space between "25" and "kg" should
be non-breaking. Else, readability suffers badly. How do you
do this in asciidoc?</div>
</div>
</blockquote>
<br>
By non-breaking....I assume you mean some way to ensure that the
value doesn't get separated from the unit on a line-break during
conversion? I<br>
hadn't even thought of that.<br></div></blockquote><div><br></div><div>Yes, having a sentence ...<br></div><div><br></div><div>The change in the value of the residual, after 2 hours or 35 iterations, should not exceed 23</div><div>ppm is a requirement of various standards, among which are NIST 543:62 and FIPS <br></div><div>180 published in 2017.<br></div><div><br></div><div>... is slightly confusing wih the line breaks as above.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
A quick search yielded this -
<a class="m_-981260800542300187moz-txt-link-freetext" href="https://www.methods.co.nz/asciidoc/faq.html#_how_can_i_include_non_breaking_space_characters" target="_blank">https://www.methods.co.nz/asciidoc/faq.html#_how_can_i_include_non_breaking_space_characters</a><br>
<br>
<blockquote>Use the non-breaking space character entity reference <code> </code>
(see
the next question). You could also use the predefined <code>{nbsp}</code>
attribute reference.</blockquote>
</div></blockquote><div>The problem them is that although the HTML (and PDF) document would be great, the text file would be unreadable.This destroys the reason to use asciidoc.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
But then - would that imply that the non-breaking space would have
to be inserted at nearly all value/unit entries, since we can't know
for sure<br>
where asciidoc may wind up doing a line break? I guess it could be
case-by-case, if a test conversion has it happen, insert one there.<br>
</div></blockquote><div><br></div><div>
... but you do not know how wide my terminal is when I display the text ...<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature">-- <br>Sanjeev Gupta<br>+65 98551208 <a href="http://www.linkedin.com/in/ghane" target="_blank">http://www.linkedin.com/in/ghane</a></div></div><br>
<br></div></div></div>