~ubuntu-branches/ubuntu/lucid/autoconf-archive/lucid

« back to all changes in this revision

Viewing changes to html/ac_latex_class.html

  • Committer: Bazaar Package Importer
  • Author(s): Deng Xiyue
  • Date: 2009-05-12 17:30:18 UTC
  • mfrom: (1.1.9 upstream) (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090512173018-s7y88nfoxpaauztk
Tags: 20090426-1
* New upstream release.
* Update Standard-Version to 3.8.1:
  + List original Debianizer.
  + Point to versioned license file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
 
"http://www.w3.org/TR/html4/strict.dtd">
3
 
<html lang="en">
4
 
 <head>
5
 
  <title>
6
 
   Autoconf Macro: ac_latex_class
7
 
  </title>
8
 
  <link rel="stylesheet" type="text/css" href="autoconf-archive.css">
9
 
 </head>
10
 
 <body>
11
 
  <table summary="web navigation" style="width:100%;">
12
 
   <tbody>
13
 
    <tr>
14
 
     <td style="width:25%;" align="center" valign="top">
15
 
      <a href="http://autoconf-archive.cryp.to/ac_latex_class.m4">Download M4
16
 
      Source</a>
17
 
     </td>
18
 
     <td style="width:25%;" align="center" valign="top">
19
 
      <a href=
20
 
      "http://git.cryp.to/autoconf-archive?a=history;f=ac_latex_class.m4">Macro
21
 
      History</a>
22
 
     </td>
23
 
     <td style="width:25%;" align="center" valign="top">
24
 
      <a href="macros-by-category.html">Category Index</a>
25
 
     </td>
26
 
     <td style="width:25%;" align="center" valign="top">
27
 
      <form method="get" action="http://www.google.com/search">
28
 
       <div>
29
 
        <input name="sitesearch" value="autoconf-archive.cryp.to" type=
30
 
        "hidden"><a href="http://www.google.com/">Search</a>: <input name="q"
31
 
        size="10" maxlength="255" type="text">
32
 
       </div>
33
 
      </form>
34
 
     </td>
35
 
    </tr>
36
 
   </tbody>
37
 
  </table>
38
 
  <hr>
39
 
  <h1>
40
 
   ac_latex_class
41
 
  </h1>
42
 
  <h2>
43
 
   Obsolete Macro
44
 
  </h2>
45
 
  <p class="indent">
46
 
   Replaced by <a href="acltx_class.html">ACLTX_CLASS</a>.
47
 
  </p>
48
 
  <h2>
49
 
   Synopsis
50
 
  </h2>
51
 
  <p class="indent" style="white-space:nowrap;">
52
 
   <code>AC_LATEX_CLASSE(&lt;class1&gt;,&lt;var&gt;)</code>
53
 
  </p>
54
 
  <h2>
55
 
   Description
56
 
  </h2>
57
 
  <div class="indent">
58
 
   <p>
59
 
    Test if class1 exists and set $var to the right value
60
 
   </p>
61
 
   <pre>
62
 
 AC_LATEX_CLASSES([book],book)
63
 
 should set $book="yes"
64
 
 
65
 
 AC_LATEX_CLASSES(allo,book)
66
 
 should set $book="no"
67
 
</pre>
68
 
  </div>
69
 
  <h2>
70
 
   Author
71
 
  </h2>
72
 
  <p class="indent">
73
 
   Boretti Mathieu &lt;boretti@eig.unige.ch&gt;
74
 
  </p>
75
 
  <h2>
76
 
   Last Modified
77
 
  </h2>
78
 
  <p class="indent">
79
 
   2008-04-12
80
 
  </p>
81
 
  <h2>
82
 
   M4 Source Code
83
 
  </h2>
84
 
  <div class="indent">
85
 
   <pre class="m4source">
86
 
AC_DEFUN([AC_LATEX_CLASS],[
87
 
AC_CACHE_CHECK([for class $1],[ac_cv_latex_class_]translit($1,[-],[_]),[
88
 
_AC_LATEX_TEST([
89
 
\begin{document}
90
 
\end{document}
91
 
],[ac_cv_latex_class_]translit($1,[-],[_]),$1)
92
 
])
93
 
$2=$[ac_cv_latex_class_]translit($1,[-],[_]) ; export $2;
94
 
AC_SUBST($2)
95
 
])
96
 
</pre>
97
 
  </div>
98
 
  <h2>
99
 
   License
100
 
  </h2>
101
 
  <div class="indent">
102
 
   <span style="white-space:nowrap;">Copyright &copy; 2008 Boretti Mathieu
103
 
   &lt;boretti@eig.unige.ch&gt;</span>
104
 
   <p>
105
 
    This program is free software; you can redistribute it and/or modify it
106
 
    under the terms of the GNU General Public License as published by the Free
107
 
    Software Foundation; either version 2 of the License, or (at your option)
108
 
    any later version.
109
 
   </p>
110
 
   <p>
111
 
    This program is distributed in the hope that it will be useful, but WITHOUT
112
 
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
113
 
    FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
114
 
    more details.
115
 
   </p>
116
 
   <p>
117
 
    You should have received a copy of the GNU General Public License along
118
 
    with this program. If not, see &lt;<a href=
119
 
    "http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;.
120
 
   </p>
121
 
   <p>
122
 
    As a special exception, the respective Autoconf Macro's copyright owner
123
 
    gives unlimited permission to copy, distribute and modify the configure
124
 
    scripts that are the output of Autoconf when processing the Macro. You need
125
 
    not follow the terms of the GNU General Public License when using or
126
 
    distributing such scripts, even though portions of the text of the Macro
127
 
    appear in them. The GNU General Public License (GPL) does govern all other
128
 
    use of the material that constitutes the Autoconf Macro.
129
 
   </p>
130
 
   <p>
131
 
    This special exception to the GPL applies to versions of the Autoconf Macro
132
 
    released by the Autoconf Macro Archive. When you make and distribute a
133
 
    modified version of the Autoconf Macro, you may extend this special
134
 
    exception to the GPL to apply to your modified version as well.
135
 
   </p>
136
 
  </div>
137
 
 </body>
138
 
</html>