Re: [docbook-apps] removing elements and attrs from </span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=docbook-apps@lists.oasis-open.org&q=from:%22Mike+Maxwell%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Mike Maxwell</span></span></a></span> <span class="date"><a href="/search?l=docbook-apps@lists.oasis-open.org&q=date:20101111" rel="nofollow">Thu, 11 Nov 2010 07:24:37 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre style="margin: 0em;"> On 11/11/2010 1:44 AM, Cramer, David W (David) wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> Interesting idea about removing xml:id from titles. Try the following: ...</pre><pre> That seems to work...not sure if it's the best/easiest way. </pre></blockquote><pre style="margin: 0em;"> Yes, that gets rid of the xml:id attr in titles. Thanks! </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> I think to remove remark you just add the following inside your<include>: <define name="db.remark"> <notAllowed/> </define> </pre></blockquote><pre style="margin: 0em;"> </pre><tt>Sorry, I wasn't clear; I *only* want to remove <remark> from inside </tt><tt><title>, whereas the above removes it everywhere. The problem is that </tt><tt>there is something about the <title> defn in DB5 that prevents any </tt><tt>changes to its content elements. Even the ff. minimalist defn triggers </tt><tt>the "interleave" error msg: </tt><pre style="margin: 0em;"> <define name="db.title"> <element name="title"> <text/> </element> </define> </pre><tt>BTW, the reason I want to make these two changes has to do with our </tt><tt>processing to produce a PDF (what you call a "toolchain", I think). Our </tt><tt>output method doesn't allow xrefs to titles (which is the only use we're </tt><tt>making of xml:id). And it appears that the LaTeX macro I cribbed for </tt><tt>outputting <remark>s with a colored background (to make them easy to </tt><tt>see) goes into an infinite loop when the <remark> (or the LaTeX </tt><tt>\comment{} command that this gets translated into) is inside a title </tt><tt>(\title{}). Maybe I'll go back and try to figure out why the LaTeX </tt><tt>macro does that, instead of prohibiting <remark>s inside <title>s... </tt><pre style="margin: 0em;"> -- Mike Maxwell --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg15163.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd3.html#15176">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#15176">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg15177.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="msg14657.html">[docbook-apps] footnotes in tables (docbook 4.5 an...</a></span> <span class="sender italic">Giuseppe Bonelli</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg14662.html">Re: [docbook-apps] footnotes in tables (docbo...</a></span> <span class="sender italic">Bob Stayton</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg14663.html">[docbook-apps] elements inside <remark...</a></span> <span class="sender italic">maxwell</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg14688.html">Re: [docbook-apps] elements inside &l...</a></span> <span class="sender italic">Bob Stayton</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg15162.html">[docbook-apps] removing elements ...</a></span> <span class="sender italic">Mike Maxwell</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg15163.html">RE: [docbook-apps] removing ...</a></span> <span class="sender italic">Cramer, David W (David)</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [docbook-apps] remov...</span> <span class="sender italic">Mike Maxwell</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg15177.html">RE: [docbook-apps] r...</a></span> <span class="sender italic">Cramer, David W (David)</span></li> </ul> </ul> </ul> </ul> </ul> </ul> </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: [docbook-apps] removing elements and attrs from <title>"> <input type="hidden" name="msgid" value="4CDC0520.2060206@umiacs.umd.edu"> <input type="hidden" name="relpath" value="docbook-apps@lists.oasis-open.org/msg15176.html"> <input type="submit" value=" Mike Maxwell "> </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="docbook-apps@lists.oasis-open.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search docbook-apps"> <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="/docbook-apps@lists.oasis-open.org/">docbook-apps - all messages</a></li> <li class="icons-about"><a href="/docbook-apps@lists.oasis-open.org/info.html">docbook-apps - about the list</a></li> <li class="icons-expand"><a href="/search?l=docbook-apps@lists.oasis-open.org&q=subject:%22Re%5C%3A+%5C%5Bdocbook%5C-apps%5C%5D+removing+elements+and+attrs+from+%3Ctitle%3E%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg15163.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg15177.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">4CDC0520.2060206@umiacs.umd.edu</li> </ul> </div> </body> </html>