This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] <emphasis> in <code>; syntax highlighting


Michael Smith <smith@xml-doc.org> wrote on Fri, 13 Feb 2004 18:39:40
+0900:

> Instead of <emphasis>, why not just use another, nested <code> or
> a <literal>? e.g., <code>foo <code role="prgkey">bar</code></code>

Cool, you are absolutely right, I had not thought of that. <code> does
indeed nest and is allowed inside <programlisting> too. Thus, it
solves both of my immediate needs in an elegant way. This is what I'll
do.

>> Is there a reason why <emphasis> is not allowed inside <code> (or,
>> %gen.char.class is not part of %cptr.char.mix;, or whatever)?
>> ...
>> Likewise, it would make a lot of sense to allow <emphasis> inside
>> other %cptr.char.mix; clients such as <userinput> and
>> <computeroutput>.

These observations still hold nevertheless, but their importance to me
personally has dropped substantially...

Thanks,
Justus

-- 
Justus H. Piater, Ph.D.         http://www.montefiore.ulg.ac.be/~piater/
Institut Montefiore, B28        Phone: +32-4-366-2279
Université de Liège, Belgium    Fax:   +32-4-366-2620


To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]