From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60023 Path: news.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?Q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus-FAQ: xml to texi with Scheme prog Date: Mon, 21 Mar 2005 23:04:10 +0100 Organization: Lemis World Message-ID: References: Reply-To: khp@pflaesterer.de (Karl =?iso-8859-1?Q?Pfl=E4sterer?=) NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1111443334 6526 80.91.229.2 (21 Mar 2005 22:15:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2005 22:15:34 +0000 (UTC) Original-X-From: ding-owner+M8563@lists.math.uh.edu Mon Mar 21 23:15:33 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDVB1-0005Ov-NW for ding-account@gmane.org; Mon, 21 Mar 2005 23:15:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DDV1e-0000MD-00; Mon, 21 Mar 2005 16:05:30 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DDV1W-0000M7-00 for ding@lists.math.uh.edu; Mon, 21 Mar 2005 16:05:22 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DDV1T-000881-3X for ding@lists.math.uh.edu; Mon, 21 Mar 2005 16:05:19 -0600 Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1DDV1R-0008Jc-00 for ; Mon, 21 Mar 2005 23:05:17 +0100 Original-To: ding@gnus.org Original-Path: wintendo.pflaesterer.de!not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 62 Original-NNTP-Posting-Host: b8164.b.pppool.de Original-X-Trace: quimby.gnus.org 1111442717 31967 213.7.129.100 (21 Mar 2005 22:05:17 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 21 Mar 2005 22:05:17 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) Hamster/2.0.6.0 Cancel-Lock: sha1:MKS09szRY91tP0AXkOwPdLbbAG8= X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8563@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: news.gmane.org gmane.emacs.gnus.general:60023 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60023 On 20 Mrz 2005, reinersteib+gmane@imap.cc wrote: > > On Tue, Mar 15 2005, Karl Pflästerer wrote: > [ Scheme program to transform `gnus-faq.xml' to `gnus-faq.texi' ] > > I have installed the files `xml2texi.scm' and `xml2texi.sh' in texi/ > in the v5-10 branch. I did some modifications on `xml2texi.scm' and > `gnus-faq.xml' to improve the printed output. > > Some questions and remarks (not all related to xml2texi): > > - `+section-comments-alist+' should be put into `gnus-faq.xml'. As I wrote in pm I think the best place for that information would be attributes to the section titles. If that would be changed I could change also the Scheme program. > - The "Changes" section should not be present in the texi version. I'll look for that. > - Is there a possibility to add @cindex entries in `gnus-faq.xml'? XML knows some sort of index commands; so if they were present in the XML source they could be included in the generated texi file. Maybe this could be done together with the solution for the +section-comments-alist+'. > - ... is translated to @samp{...}. It would be > nice to have @kbd{T n}, @code{tar xvzf ...}, @file{~/.gnus.el}, etc. I used the same format I found in the texi file. The problem I see here: how should the translating program know when to use e.g. @kbd and when @code since both forms are included with the same tag: `userinput' Maybe we find together a solution. > - Currently texi/gnus-faq.texi has the following arch tag: > > ,---- >| @ignore >| arch-tag: 64dc5692-edb4-4848-a965-7aa0181acbb8 >| @end ignore > `---- > > How to deal with this? Should we add something like... > > (insert "@ignore\n " > "arch-tag: " > "64dc5692-edb4-4848-a965-7aa0181acbb8" > "\n@end ignore") > > ... in `main' in `xml2texi.scm'? I guess this would make sure that it > is not confused with the arch tag of the file `xml2texi.scm'. Miles? > (I will not install the re-created `gnus-faq.texi' before this is > clarified.) > > Bye, Reiner. KP