From 520850ad2768dbc0fe16254b90a52b16bfad1f14 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 7 May 2012 20:39:14 +0200 Subject: [PATCH] (texinfo docbook) support for @acronym * module/texinfo/docbook.scm (*sdocbook->stexi-rules*): Recognize "acronym" as parsing to the @acronym texinfo command. --- module/texinfo/docbook.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/texinfo/docbook.scm b/module/texinfo/docbook.scm index 72779263a..50a7bbc41 100644 --- a/module/texinfo/docbook.scm +++ b/module/texinfo/docbook.scm @@ -1,6 +1,6 @@ ;;;; (texinfo docbook) -- translating sdocbook into stexinfo ;;;; -;;;; Copyright (C) 2009, 2010 Free Software Foundation, Inc. +;;;; Copyright (C) 2009, 2010, 2012 Free Software Foundation, Inc. ;;;; Copyright (C) 2007, 2009 Andy Wingo ;;;; ;;;; This library is free software; you can redistribute it and/or @@ -89,6 +89,8 @@ a number of generic rules for transforming docbook into texinfo." `(item ,@body)))) . ,(lambda (tag . body) `(itemize ,@body))) + (acronym . ,(lambda (tag . body) + `(acronym (% (acronym . ,body))))) (term . ,detag-one) (informalexample . ,detag-one) (section . ,identity)