From f470f6b8f74eeaee0688a98355d488ad8869c821 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 4 Apr 2021 05:30:13 +0100 Subject: we need macros.texi --- doc/geiser.texi | 50 +------------------------------------------------- doc/macros.texi | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 49 deletions(-) create mode 100644 doc/macros.texi diff --git a/doc/geiser.texi b/doc/geiser.texi index 0f6c3aa..74525be 100644 --- a/doc/geiser.texi +++ b/doc/geiser.texi @@ -4,55 +4,7 @@ @settitle Geiser User Manual @c %**end of header -@set VERSION 0.13 -@set VERSION_NICK -@set RELEASE_DATE April 2021 -@set EMACS_VERSION 24.4 -@set GITLAB https://gitlab.com/emacs-geiser/ - -@macro supimpl{NAME,URL,VERS,NM} -@item -@uref{\VERS\, \NAME\} \VERS\ or better, via @uref{@value{GITLAB}\NM\, geiser-\NM\} -@end macro - -@macro altr{LINK, TXT, TLINK, TRAIL} -@ifhtml -@ref{\LINK\,,\TXT\}\TRAIL\ -@end ifhtml -@ifinfo -@pxref{\LINK\,\TXT\}\TRAIL\ -@end ifinfo -@iftex -@ref{\TLINK\}\TRAIL\ -@end iftex -@ifdocbook -@ref{\TLINK\}\TRAIL\ -@end ifdocbook -@end macro - -@macro img{FILE, ALIGN} -@ifhtml -@html - -@end html -@end ifhtml -@ifdocbook -@image{img/\FILE\,,,,.png} -@end ifdocbook -@end macro - -@macro imgc{FILE} -@ifhtml -@html - -@end html -@end ifhtml -@ifdocbook -@image{img/\FILE\,,,,.png} -@end ifdocbook -@end macro - - +@include macros.texi @copying This manual documents Geiser, an Emacs environment to hack in Scheme. diff --git a/doc/macros.texi b/doc/macros.texi new file mode 100644 index 0000000..222ff7c --- /dev/null +++ b/doc/macros.texi @@ -0,0 +1,47 @@ +@set VERSION 0.13 +@set VERSION_NICK +@set RELEASE_DATE April 2021 +@set EMACS_VERSION 24.4 +@set GITLAB https://gitlab.com/emacs-geiser/ + +@macro supimpl{NAME,URL,VERS,NM} +@item +@uref{\VERS\, \NAME\} \VERS\ or better, via @uref{@value{GITLAB}\NM\, geiser-\NM\} +@end macro + +@macro altr{LINK, TXT, TLINK, TRAIL} +@ifhtml +@ref{\LINK\,,\TXT\}\TRAIL\ +@end ifhtml +@ifinfo +@pxref{\LINK\,\TXT\}\TRAIL\ +@end ifinfo +@iftex +@ref{\TLINK\}\TRAIL\ +@end iftex +@ifdocbook +@ref{\TLINK\}\TRAIL\ +@end ifdocbook +@end macro + +@macro img{FILE, ALIGN} +@ifhtml +@html + +@end html +@end ifhtml +@ifdocbook +@image{img/\FILE\,,,,.png} +@end ifdocbook +@end macro + +@macro imgc{FILE} +@ifhtml +@html + +@end html +@end ifhtml +@ifdocbook +@image{img/\FILE\,,,,.png} +@end ifdocbook +@end macro -- cgit v1.2.3