From 25876ea2d9542ee17a071aa03e91b63513c53632 Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Sat, 26 Jun 1999 13:44:36 +0000 Subject: [PATCH] - Added a cgal.bib file for the URL. - Rewrote the documentation. --- .../doc_tex/support/NumberTypeSupport/CLN.tex | 34 +++++++++---------- .../support/NumberTypeSupport/Makefile | 6 ++-- .../support/NumberTypeSupport/cgal.bib | 9 +++++ .../support/NumberTypeSupport/wrapper.tex | 6 ++-- 4 files changed, 31 insertions(+), 24 deletions(-) create mode 100644 Old_Packages/CLN/doc_tex/support/NumberTypeSupport/cgal.bib diff --git a/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/CLN.tex b/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/CLN.tex index 953bd5c42e3..f99267afcba 100644 --- a/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/CLN.tex +++ b/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/CLN.tex @@ -1,30 +1,28 @@ -% CLN documentation. -% $Revision$ -% $Date$ +\section{Number Types Provided by {\sc Cln}} +\label{CLN} -\begin{ccClass} {CLN} % Should not be a class, but a section ? -\ccSubsection{Number Types Provided by CLN} -\label{cln} -\ccChapterAuthor{Sylvain Pion} +% \ccChapterAuthor{Sylvain Pion} -{\cgal} provides the necessary functions so that the user can directly use -all the ordinary number types provided by the CLN library (Class Library for -Numbers) which is available together with documentation at -http://clisp.cons.org/\~haible/packages-cln.html. % put a \ref{} instead ? +\cgal\ defines the functions needed to use the number types provided by +{\sc Cln}, the Class Library for Numbers~\cite{cln}. +To use {\sc Cln} with \cgal, just~: -To use it with {\cgal}, just add the desired include directive to your code -(see below), and add the compilation options corresponding to CLN (-I..., --L..., -lcln). +\begin{itemize} +\item add the desired compilation options, e.g. + \mbox{\ccc{-I/usr/local/CLN/include -L/usr/local/CLN/lib -lcln}}. +\item include the corresponding {\sc Cln} file but with the prefix +\ccc{CGAL/}. +\end{itemize} \ccInclude{CGAL/cl_integer.h} -The \ccc{cl_I} class: exact (multiprecision) integers. +The class \ccc{cl_I}~: exact multiprecision integers. \ccInclude{CGAL/cl_rational.h} -The \ccc{cl_RA} class: exact rationals. +The class \ccc{cl_RA}~: exact multiprecision rationals. -And similarly for the 10 ordinary number types classes defined by CLN: +And similarly for the 10 ordinary number type classes provided by {\sc Cln}~: \ccc{cl_SF, cl_FF, cl_DF, cl_LF, cl_I, cl_RA, cl_F, cl_R, cl_N, cl_number}. -\end{ccClass} +See the {\sc Cln} documentation for additionnal details. diff --git a/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/Makefile b/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/Makefile index a7d575c4dbc..f1744ceb8a2 100644 --- a/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/Makefile +++ b/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/Makefile @@ -9,11 +9,11 @@ dvi: wrapper.dvi CLN.ps: dvi dvips -o CLN.ps wrapper.dvi -wrapper.dvi: main.tex wrapper.tex +wrapper.dvi: CLN.tex wrapper.tex cgal.bib + latex wrapper.tex + bibtex wrapper latex wrapper.tex latex wrapper.tex - #bibtex wrapper - #latex wrapper.tex clean: rm -f *.aux *.log *.dvi *.ps *.blg *.bbl diff --git a/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/cgal.bib b/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/cgal.bib new file mode 100644 index 00000000000..b308d50f153 --- /dev/null +++ b/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/cgal.bib @@ -0,0 +1,9 @@ +@manual{ cln +,title = {{CLN}, The Class Library for Numbers} +,author = {Haible, B.} +,edition = {1.0.1} +,month = {June} +,year = {1999} +,note = {\path|http://clisp.cons.org/~haible/packages-cln.html|} +,update = "99.06 pion" +} diff --git a/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/wrapper.tex b/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/wrapper.tex index a3c4e651f2d..97818dd9cae 100644 --- a/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/wrapper.tex +++ b/Old_Packages/CLN/doc_tex/support/NumberTypeSupport/wrapper.tex @@ -30,11 +30,11 @@ \ccSetThreeColumns{CGAL_Oriented_side}{}{\hspace*{10cm}} \ccPropagateThreeToTwoColumns -\include{main} +\include{CLN} \bibliographystyle{alpha} -% \bibliography{geom,cgal} -\bibliography{geom} +\bibliography{geom,cgal} +% \bibliography{geom} \end{document}