Macros by Category | Revision History |
ACLTX_CLASS_CWEB(VARIABLETOSET[,ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]])
This macros test if the class cweb exists and works. It sets VARIABLETOSET to yes or no If ACTION-IF-FOUND (and ACTION-IF-NOT-FOUND) are set, do the correct action.
The cweb package is used to provide LaTeX support atop Knuth's CWEB literate programming environment. The test LaTeX document requires some additional logic beyond ACLTX_CLASS because the cweb package expects cweave to insert some boilerplate. Both macros for the original CWEB and the compatible offshoot CWEBx are tested here. See http://www.ctan.org/tex-archive/help/Catalogue/entries/cweb-latex.html.
http://autoconf-archive.cryp.to/acltx_class_cweb.m4
Copyright © 2008 Rhys Ulerich <rhys.ulerich@gmail.com>
Copyright © 2008 Boretti Mathieu <boretti@eig.unige.ch>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see <http://www.gnu.org/licenses/>.