From owner-freebsd-doc Thu Jun 29 4:55:18 2000 Delivered-To: freebsd-doc@freebsd.org Received: from raditex.se (gandalf.raditex.se [192.5.36.18]) by hub.freebsd.org (Postfix) with ESMTP id 4290E37BB1A for ; Thu, 29 Jun 2000 04:55:09 -0700 (PDT) (envelope-from kaj@raditex.se) Received: (from kaj@localhost) by raditex.se (8.9.3/8.9.3) id NAA00920; Thu, 29 Jun 2000 13:54:59 +0200 (CEST) (envelope-from kaj@raditex.se) X-Authentication-Warning: frodo.sickla.raditex.se: kaj set sender to kaj@raditex.se using -f To: nobreak@hongik.com Cc: doc@FreeBSD.ORG Subject: Re: How can I write '@' character in DocBook entity? References: <3959D980.444591D4@hongik.com> <84lmzqox8c.fsf@frodo.sickla.raditex.se> <395ACE77.BB456E1D@hongik.com> From: Rasmus Kaj Cc: Rasmus Kaj Organization: Raditex AB - http://Raditex.se/ X-Face: M9cR~WYav<"fu%MaslX0`43PAYY?uIsM8[#E(0\Xuy9rj>4gE\h3jm.7DD?]R8*^7T\o&vT U@[53Dwkuup4[0@gw#~kyu>`unH?kVj9CJa02(h>Ki\+i=%rn%sDf^KC.!?IHkKjMAbkd\jgmphp^' d|Q;OeXEAhq?ybGqOs1CHb6TJT42'C`Krnk61//AOfXtNjj/t'`5>Vw0QX!dKfOL$.f+S"LIuwR<;I Z0Qnnx(F^F]o@*V%TUtEV'1Z[TkOl^FFV9Z~A[b19%}uP*,huCU Date: 29 Jun 2000 13:54:59 +0200 In-Reply-To: Seung-young Kim's message of "Thu, 29 Jun 2000 13:20:07 +0900" Message-ID: <84itusk8h8.fsf@frodo.sickla.raditex.se> Lines: 34 User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/20.4 (Emerald) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "SK" == Seung-young Kim writes: SK> Thank you for your answer. SK> I found a entity ``cdata'', is it correct uses? SK> ]]> I don't know. When I include files (source examples, etc), I run them trough "sed -e 's/&/\&/g' -e 's//\>/g'" (or sometimes a more advanced script which recognices some keywords etc (e.g. 's#//.*#&# to mark up C++ comments)) Also, I usually create entities for them, like and then use it like this: &src.sample; (the ENTITY part must, as far as I can see, be part of the DOCTYPE declaration of the document, like this: ]> There might be a simpler way, but this is the way I do it ... -- Rasmus Kaj -------------------- rasmus@kaj.se - http://Raditex.se/~kaj/ \ If I look confused it's because I'm thinking. -Samuel Goldwyn \------------------------------------------------- http://Raditex.se/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message