From: sigurd@12move.de (Karl Pflästerer)
Subject: Re: Gnus-FAQ: xml to texi with Scheme prog
Date: Mon, 21 Mar 2005 23:32:37 +0100 [thread overview]
Message-ID: <uk6o0d4xy.fsf@hamster.pflaesterer.de> (raw)
In-Reply-To: <v97jk0kfpf.fsf@marauder.physik.uni-ulm.de>
On 21 Mrz 2005, reinersteib+gmane@imap.cc wrote:
> (insert "@ignore\n arch-" "tag: "
> "64dc5692-edb4-4848-a965-7aa0181acbb8"
> "\n@end ignore")
>
> ... to `main' in `xml2texi.scm'?
You could simply rewrite the rule for the article.
At the moment it is:
(article . ,(lambda (tag . sects)
(cons (boilerplate up1) sects)))
it could be:
(article . ,(lambda (tag . sects)
(list (boilerplate up1) sects
(format "\
~%@c @bye~%\
@ignore~%\
arch-\
tag: 64dc5692-edb4-4848-a965-7aa0181acbb8~%\
@end ignore~%"))))
Clearly what is written as format ... should be defined as variable and
simply included there.
Like e.g.
(define +this-is-the-end-my-friend+
(format "\
@c @bye~%\
@ignore~%\
arch-\
tag: 64dc5692-edb4-4848-a965-7aa0181acbb8~%\
@end ignore"))
(article . ,(lambda (tag . sects)
(list (boilerplate up1) sects
+this-is-the-end-my-friend+)))
Or something similar.
KP
next prev parent reply other threads:[~2005-03-21 22:32 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-09 19:41 Karl Pflästerer
2005-03-15 18:16 ` Reiner Steib
2005-03-15 19:22 ` Karl Pflästerer
2005-03-20 19:55 ` Reiner Steib
2005-03-20 21:55 ` Miles Bader
2005-03-21 18:37 ` Reiner Steib
2005-03-21 22:32 ` Karl Pflästerer [this message]
2005-03-21 22:47 ` Miles Bader
2005-03-22 9:45 ` Reiner Steib
2005-03-23 0:44 ` Miles Bader
2005-03-21 22:11 ` Karl Pflästerer
2005-03-21 22:04 ` Karl Pflästerer
2005-03-22 16:46 ` Reiner Steib
2005-03-23 8:30 ` Miles Bader
2005-03-23 8:56 ` Reiner Steib
2005-03-23 9:48 ` Miles Bader
2005-03-23 14:53 ` Reiner Steib
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uk6o0d4xy.fsf@hamster.pflaesterer.de \
--to=sigurd@12move.de \
--cc=khp@pflaesterer.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).