Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>So, after some discussion I finally think I understood what you were looking for.</p> <h2>html</h2> <pre><code> &lt;div class="header"&gt; &lt;h1&gt;[jashank] / diary&lt;/h1&gt; &lt;p&gt;&lt;small&gt; &lt;!-- &amp;#187;&amp;nbsp;&lt;a href="#xkcd"&gt;xkcd&lt;/a&gt;&amp;nbsp;&amp;nbsp; --&gt; &lt;/small&gt;&lt;/p&gt; &lt;/div&gt; &lt;div class="bodice"&gt; &lt;div id="post"&gt; &lt;p&gt;I've pulled LyX's SVN sources, and compiled them with the CMake build system; all well and good. However, when I attempt to start LyX:&lt;/p&gt; &lt;pre&gt; &lt;strong&gt;jashank@jashank&lt;/strong&gt; &lt;span style="color: #0000ee;"&gt;(pts/33)&lt;/span&gt; &lt;span style="color: #cd0000;"&gt;~/Software/LyX-build&lt;/span&gt; &lt;span style="color: #0000ee;"&gt;[0 jobs]&lt;/span&gt; &lt;u&gt;!3027&lt;/u&gt; 2011-07-03 10:49:15 &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; bin/lyx2.1 zsh: segmentation fault (core dumped) bin/lyx2.1 &lt;/pre&gt; &lt;div style="clear: both;"&gt;&lt;/div&gt; &lt;p&gt; Tracing the coredump doesn't help either; looks to me like the stack was smashed. &lt;/p&gt; &lt;p&gt; Some time later, after an aspell glitch and a few patches to fix neurotic breakage: &lt;/p&gt; &lt;pre&gt; 11:11:07 &amp;lt;nox&amp;gt; wow it built! :) 11:11:28 &amp;lt;jashank&amp;gt; nox: Try running bin/lyx2.1 11:12:02 &amp;lt;nox&amp;gt; segfaults in ucs4le_mbtowc &lt;/pre&gt; &lt;p&gt; In other words, it doesn't appear to be a bitness issue, as it occurs in 32- and 64-bit modes. That doesn't bode well. &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <h2>css</h2> <pre><code>body { font-family: sans-serif; margin: 0; text-align: center; } div.header { text-align: center; } div.bodice { margin: 0; text-align: center; width: 100%; } .bodice p { margin: 0 auto; text-align: justify; width: 50ex; overflow: auto; } div#post pre { text-align: left; width: 100%; padding: 1em; } body { text-align: center; } h1, h2, h3, h4, h5, h6 { text-align: center; } </code></pre> <h2>example</h2> <p>There's a <a href="http://jsfiddle.net/andrelaszlo/VbKDP/5/" rel="nofollow">jsfiddle</a> where you can view this solution in action.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload