From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9852 invoked by alias); 21 Sep 2012 15:38:03 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30694 Received: (qmail 3305 invoked from network); 21 Sep 2012 15:38:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Fri, 21 Sep 2012 16:37:39 +0100 From: Peter Stephenson To: zsh-workers Subject: Re: Translating my Character Index into yodl-format Message-ID: <20120921163739.14a44fe1@pwslap01u.europe.root.pri> In-Reply-To: <1347735261.2344.270.camel@zareason> References: <1347735261.2344.270.camel@zareason> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.101.10.18] X-Scanned-By: MailControl 9446.0 (www.mailcontrol.com) on 10.71.0.135 On Sat, 15 Sep 2012 11:54:21 -0700 Jesse Weinstein wrote: > I'm trying to translate my Character Index > ( http://zshwiki.org/home/docs/charindex ) into yodl format so it can be > included with (and easily link to) the main zsh documentation. But I'm > running into difficulties figuring out what yodl tags to use. I've > looked at the yodl manual here: http://yodl.sourceforge.net/yodl.html > and the yodl source of the zsh docs, here: > http://zsh.git.sourceforge.net/git/gitweb.cgi?p=zsh/zsh;a=tree;f=Doc;hb=HEAD > > I've figured out how to add a node to the docs (although I may have done > it wrong). > > My beginning of an effort is below, in the file Doc/Zsh/kbdidx.yo > > texinode(Keyboard Index)()(User Contributions)(Top) > ifnztexi(sect(Keyboard Index)) > > subsect(A) > startitem() > item(tt(-A))( Thing ) > enditem() > subsect(B) > startlist() > list(tt(abc)) > list(tt(de)) > endlist() I don't see anything obviously wrong with what you've got. Yodl isn't all that flexible without a lot of customisation, and you're doing the right sort of thing. I suspect most of us do very little other than copy and modify what's there already. pws Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog