Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1atiKS-0000Ul-Op for pgsql-docs@arkaria.postgresql.org; Fri, 22 Apr 2016 21:09:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1atiKS-0007Xh-B6 for pgsql-docs@arkaria.postgresql.org; Fri, 22 Apr 2016 21:09:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1atT9c-0002oo-IX for pgsql-docs@postgresql.org; Fri, 22 Apr 2016 04:57:20 +0000 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1atT9Z-0007wA-4L for pgsql-docs@postgresql.org; Fri, 22 Apr 2016 04:57:19 +0000 Received: by mail-oi0-x22a.google.com with SMTP id p188so121957733oih.2 for ; Thu, 21 Apr 2016 21:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=yIowM462yflybZ9em2IVkvNbPWmGRj6xdkDiJxipOZw=; b=mATzGsXhNOWT/0nfl4lw+RAwOnpawtRaIQi//fGAmrqP0KHUZ3qVcnvCxfFNNCzuPd jCL444GB/nb7TqLn7bljpBdu8g/O1TnnJYmE3GFoJDJ55JG4h820SR1quwklRpRPyc8t Rj0B5KYQkoAbAaPE+UOwDAeYhKMwhbSplkxoF0IFNKFLRR+S4COZM50ogw78UavYc26q /AFUb0cjaUB0SqSpF9MXt+HNup9ie9L6xqw6Ha3XeqECOZRX7meE4J4aooggoOPb/qrp TMJ4mRh4lKZyfrrpWd9q1g5WDEVmVwW74GYt0AE8oBElAML2Y8GlO6NIyAuRB7xDOSo8 b4xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yIowM462yflybZ9em2IVkvNbPWmGRj6xdkDiJxipOZw=; b=PvEBECik6pXxbioC7pxnVTWR98U3UMMWrFCHMIlnfWuYFBD15JrTwNhuj6hwA9oAnm U2OSSqNt9n7T9uYsSxazaz5WKJLPg2IRxcQiKf677cOKnP7UXcoAaBp6jHNZGbME2sa0 BOmwE9HKGcNe6OvXnRXqTA2pmhtIwrEk0v+m1T/l/3fHv+1B0c+2DcvOvzPazwLjPoBm 3PIxnUChV22lzMXONDhWTd5+K97n6is5d6iH+D0Y47tEqu6aDhnJwEous9qCBVHxKfzn PbAildAGDZo2U2c5uaNz+lvRBaH0ABcxOkv2fWLcp6K3x1u00B7FpNVWX4fNVFpqkIkB +YtA== X-Gm-Message-State: AOPr4FUzxv5e5pf2kFAFBTBEZw1ygOPe2dXzo31CJ72ZtXy0jmLWqti4E9+a4rJBc6bLaOkABikZk3wXvgpCcQ== X-Received: by 10.157.3.47 with SMTP id 44mr8355431otv.191.1461301034940; Thu, 21 Apr 2016 21:57:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.204.129 with HTTP; Thu, 21 Apr 2016 21:56:35 -0700 (PDT) From: Idan Kamara Date: Thu, 21 Apr 2016 21:56:35 -0700 Message-ID: Subject: Adding a custom tag to sgml files To: pgsql-docs@postgresql.org Content-Type: multipart/alternative; boundary=94eb2c0477fe18fcd005310ba9a1 X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org --94eb2c0477fe18fcd005310ba9a1 Content-Type: text/plain; charset=UTF-8 How would I go about adding a custom tag to the docs, and then control what the html processor outputs for it? E.g. Suppose I wrap some text in one of the sgml files with a , and then want to have that translate to a , in the html output. I realize this is more of a DocBook question and not specific to the pg docs, but hoping something familiar with the underlying tools (which I've spent the better part of today trying to learn, with limited success) has the answer. Thanks. --94eb2c0477fe18fcd005310ba9a1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
How would I go about adding a custom tag to the docs, and = then control what the html processor outputs for it?

E.g= . Suppose I wrap some text in one of the sgml files with a <mytag class= =3D"foo" anotherattr=3D"bar">, </mytag> and th= en want to have that translate to a <span class=3D"foo" anothe= rattr=3D"bar">, </span> in the html output.
I realize this is more of a DocBook question and not specific = to the pg docs, but hoping something familiar with the underlying tools (wh= ich I've spent the better part of today trying to learn, with limited s= uccess) has the answer. Thanks.
--94eb2c0477fe18fcd005310ba9a1--