Re: Do we care for manpage links in elements?</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=freebsd-doc@freebsd.org&q=from:%22Warren+Block%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Warren Block</span></span></a></span> <span class="date"><a href="/search?l=freebsd-doc@freebsd.org&q=date:20130226" rel="nofollow">Tue, 26 Feb 2013 09:45:45 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre style="margin: 0em;"> On Tue, 26 Feb 2013, Giorgos Keramidas wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> On 2013-02-26 09:45, Tom Rhodes <trho...@freebsd.org> wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> On Tue, 26 Feb 2013 14:44:15 +0100 Giorgos Keramidas <keram...@freebsd.org> wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> On 2013-02-26 13:49, Giorgos Keramidas <keram...@freebsd.org> wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> Hi everyone, I just noticed that in all the places where a chapter <title> includes a &an.xxx.section; entity the rendering in HTML output sucks a bit. Note how there are two separate links in the 'Using rc(8) Under FreeBSD' title in the following screenshot:</pre><pre> <a rel="nofollow" href="http://people.freebsd.org/~keramida/rc8-title-link.png">http://people.freebsd.org/~keramida/rc8-title-link.png</a> </pre></blockquote><pre style="margin: 0em;"> This sort of diff fixes the title-link rendering: <a rel="nofollow" href="http://bitbucket.org/keramida/doc-work/commits/d44757193d819f1c950f0236801a37ef77d4711a">http://bitbucket.org/keramida/doc-work/commits/d44757193d819f1c950f0236801a37ef77d4711a</a> But this is admittedly a "hack", and the optimal solution would be to conditionally render &man.foo.N; differently in <title> elements. </pre></blockquote><pre style="margin: 0em;"> Change the title "Using Run Control (RC)" </pre></blockquote><pre style="margin: 0em;"> This is not the only case where <title> embeds a &man.xxx.N; link, so I think we need a more general plan for all of them :-) </pre></blockquote><pre style="margin: 0em;"> </pre><tt>Agreed. If valid markup produces broken output, it's the toolchain's </tt><tt>fault and should be fixed. </tt><pre style="margin: 0em;"> </pre><tt>Should man page or other entities be used in titles? Sure. Using a </tt><tt>different term in the title than in the text only makes things less </tt><tt>consistent for the reader. </tt><pre style="margin: 0em;"> _______________________________________________ freebsd-doc@freebsd.org mailing list <a rel="nofollow" href="http://lists.freebsd.org/mailman/listinfo/freebsd-doc">http://lists.freebsd.org/mailman/listinfo/freebsd-doc</a> To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org" </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg00036.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd2.html#00037">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail2.html#00037">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg00038.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg00032.html">Do we care for manpage links in <title> elements?</a></span> <span class="sender italic">Giorgos Keramidas</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg00033.html">Re: Do we care for manpage links in <title> e...</a></span> <span class="sender italic">Giorgos Keramidas</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg00035.html">Re: Do we care for manpage links in <title&g...</a></span> <span class="sender italic">Tom Rhodes</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg00036.html">Re: Do we care for manpage links in <tit...</a></span> <span class="sender italic">Giorgos Keramidas</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: Do we care for manpage links in <...</span> <span class="sender italic">Warren Block</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg00038.html">Re: Do we care for manpage links i...</a></span> <span class="sender italic">Giorgos Keramidas</span></li> </ul></li> </ul></li> </ul></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg00034.html">Re: Do we care for manpage links in <title> e...</a></span> <span class="sender italic">Benjamin Kaduk</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: Do we care for manpage links in <title> elements?"> <input type="hidden" name="msgid" value="alpine.BSF.2.00.1302261041560.46495@wonkity.com"> <input type="hidden" name="relpath" value="freebsd-doc@freebsd.org/msg00037.html"> <input type="submit" value=" Warren Block "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="freebsd-doc@freebsd.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search freebsd-doc"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/freebsd-doc@freebsd.org/">freebsd-doc - all messages</a></li> <li class="icons-about"><a href="/freebsd-doc@freebsd.org/info.html">freebsd-doc - about the list</a></li> <li class="icons-expand"><a href="/search?l=freebsd-doc@freebsd.org&q=subject:%22Re%5C%3A+Do+we+care+for+manpage+links+in+%3Ctitle%3E+elements%5C%3F%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg00036.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg00038.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">alpine.BSF.2.00.1302261041560.46495@wonkity.com</li> </ul> </div> </body> </html>