wingo pushed a commit to branch lightning
in repository guile.
commit a369fa1fad9498052427f869007042438294f794
Author: Paolo Bonzini <[email protected]>
Date: Thu Feb 21 17:06:38 2008 +0100
commit source files for separate using/porting manuals
---
doc/p-lightning.texi | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++
doc/u-lightning.texi | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 200 insertions(+)
diff --git a/doc/p-lightning.texi b/doc/p-lightning.texi
new file mode 100644
index 0000000..98a9b63
--- /dev/null
+++ b/doc/p-lightning.texi
@@ -0,0 +1,100 @@
+\input texinfo.tex @c -*- texinfo -*-
+@c %**start of header (This is for running Texinfo on a region.)
+
+@setfilename lightning.info
+
+@set TITLE Using @sc{gnu} @i{lightning}
+@set TOPIC installing and using
+@clear BOTH
+@clear USING
+@set PORTING
+
+@settitle @value{TITLE}
+
+@c ---------------------------------------------------------------------
+@c Common macros
+@c ---------------------------------------------------------------------
+
+@macro bulletize{a}
+@item
+\a\
+@end macro
+
+@macro rem{a}
+@r{@i{\a\}}
+@end macro
+
+@macro gnu{}
+@sc{gnu}
+@end macro
+
+@macro lightning{}
+@gnu{} @i{lightning}
+@end macro
+
+@c ---------------------------------------------------------------------
+@c Macros for Texinfo 3.1/4.0 compatibility
+@c ---------------------------------------------------------------------
+
+@c @hlink (macro), @url and @email are used instead of @uref for Texinfo 3.1
+@c compatibility
+@macro hlink{url, link}
+\link\ (\url\)
+@end macro
+
+@c ifhtml can only be true in Texinfo 4.0, which has uref
+@ifhtml
+@unmacro hlink
+
+@macro hlink{url, link}
+@uref{\url\, \link\}
+@end macro
+
+@macro email{mail}
+@uref{mailto:\mail\, , \mail\}
+@end macro
+
+@macro url{url}
+@uref{\url\}
+@end macro
+@end ifhtml
+
+@c ---------------------------------------------------------------------
+@c References to the other half of the manual
+@c ---------------------------------------------------------------------
+
+@ifset USING
+@macro usingref{node, name}
+@ref{\node\, , \name\}
+@end macro
+@end ifset
+
+@ifclear USING
+@macro usingref{node, name}
+@ref{\node\, , \name\, u-lightning, Using @sc{gnu} @i{lightning}}
+@end macro
+@end ifclear
+
+@ifset PORTING
+@macro portingref{node, name}
+@ref{\node\, , \name\}
+@end macro
+@end ifset
+
+@ifclear PORTING
+@macro portingref{node, name}
+@ref{\node\, , \name\, p-lightning, Porting @sc{gnu} @i{lightning}}
+@end macro
+@end ifclear
+
+@c ---------------------------------------------------------------------
+@c End of macro section
+@c ---------------------------------------------------------------------
+
+@include version.texi
+@include body.texi
+
+@c %**end of header (This is for running Texinfo on a region.)
+
+@c ***********************************************************************
+
diff --git a/doc/u-lightning.texi b/doc/u-lightning.texi
new file mode 100644
index 0000000..0c2481b
--- /dev/null
+++ b/doc/u-lightning.texi
@@ -0,0 +1,100 @@
+\input texinfo.tex @c -*- texinfo -*-
+@c %**start of header (This is for running Texinfo on a region.)
+
+@setfilename lightning.info
+
+@set TITLE Porting @sc{gnu} @i{lightning}
+@set TOPIC Porting
+@clear BOTH
+@set USING
+@clear PORTING
+
+@settitle @value{TITLE}
+
+@c ---------------------------------------------------------------------
+@c Common macros
+@c ---------------------------------------------------------------------
+
+@macro bulletize{a}
+@item
+\a\
+@end macro
+
+@macro rem{a}
+@r{@i{\a\}}
+@end macro
+
+@macro gnu{}
+@sc{gnu}
+@end macro
+
+@macro lightning{}
+@gnu{} @i{lightning}
+@end macro
+
+@c ---------------------------------------------------------------------
+@c Macros for Texinfo 3.1/4.0 compatibility
+@c ---------------------------------------------------------------------
+
+@c @hlink (macro), @url and @email are used instead of @uref for Texinfo 3.1
+@c compatibility
+@macro hlink{url, link}
+\link\ (\url\)
+@end macro
+
+@c ifhtml can only be true in Texinfo 4.0, which has uref
+@ifhtml
+@unmacro hlink
+
+@macro hlink{url, link}
+@uref{\url\, \link\}
+@end macro
+
+@macro email{mail}
+@uref{mailto:\mail\, , \mail\}
+@end macro
+
+@macro url{url}
+@uref{\url\}
+@end macro
+@end ifhtml
+
+@c ---------------------------------------------------------------------
+@c References to the other half of the manual
+@c ---------------------------------------------------------------------
+
+@ifset USING
+@macro usingref{node, name}
+@ref{\node\, , \name\}
+@end macro
+@end ifset
+
+@ifclear USING
+@macro usingref{node, name}
+@ref{\node\, , \name\, u-lightning, Using @sc{gnu} @i{lightning}}
+@end macro
+@end ifclear
+
+@ifset PORTING
+@macro portingref{node, name}
+@ref{\node\, , \name\}
+@end macro
+@end ifset
+
+@ifclear PORTING
+@macro portingref{node, name}
+@ref{\node\, , \name\, p-lightning, Porting @sc{gnu} @i{lightning}}
+@end macro
+@end ifclear
+
+@c ---------------------------------------------------------------------
+@c End of macro section
+@c ---------------------------------------------------------------------
+
+@include version.texi
+@include body.texi
+
+@c %**end of header (This is for running Texinfo on a region.)
+
+@c ***********************************************************************
+