work to create nusphere.pdf automagically.

parent ce8f1b23
mwagner@evoq.home.mwagner.org
sasha@mysql.sashanet.com
jcole@tetra.spaceapes.com
......@@ -69,12 +69,17 @@ manual.pdf: manual.texi
touch $@
# Target to produce NuSphere Manual
print-manual.pdf: manual.texi
cat manual.texi | sed -e 's|@image{[^}]*} *||g' > manual-tmp.texi; \
nusphere.pdf: manual.texi
cat manual.texi \
| sed -e 's/@example/@smallexample/g' \
-e 's/@end example/@end smallexample/g' \
-e 's/@c ifnusphere //g' \
-e 's|@image{[^}]*} *||g' \
> manual-tmp.texi; \
pdftex --interaction=nonstopmode '\input manual-tmp.texi'; \
pdftex --interaction=nonstopmode '\pdfcompresslevel=9' \
'\input manual-tmp.texi'; \
mv manual-tmp.pdf $@; \
mv manual-tmp.pdf nusphere.pdf; \
rm -f manual-tmp.* ; \
touch $@
......
......@@ -8,15 +8,24 @@
@c *********************************************************
@c
@c %**start of header
@c there's a better way to do this.. i just don't know it yet
@c sed will remove the "@c ifnusphere " to make this valid
@c ifnusphere @set nusphere 1
@setfilename mysql.info
@c We want the types in the same index
@syncodeindex tp fn
@c Get version info. This file is generated by the Makefile!!
@include include.texi
@ifclear tex-debug
@c This removes the black squares in the right margin
@finalout
@end ifclear
@c Set background for HTML
@set _body_tags BGCOLOR=silver TEXT=#000000 LINK=#101090 VLINK=#7030B0
@c Set some style elements for the manual in HTML form. 'suggested'
......@@ -24,11 +33,29 @@
@c lime, maroon, navy, olive, purple, red, silver, teal, white, and
@c yellow. From Steeve Buehler <ahr@YogElements.com>
@set _extra_head <style> code {color:purple} tt {color:green} samp {color:navy} pre {color:maroon} </style>
@settitle @strong{MySQL} Reference Manual for version @value{mysql_version}.
@c We want single-sided heading format, with chapters on new pages. To
@c get double-sided format change 'on' below to 'odd'
@ifclear nusphere
@setchapternewpage on
@end ifclear
@ifset nusphere
@setchapternewpage odd
@end ifset
@paragraphindent 0
@ifset nusphere
@smallbook
@end ifset
@ifset nusphere
@setcontentsaftertitlepage
@end ifset
@c %**end of header
@ifinfo
......@@ -56,8 +83,17 @@ END-INFO-DIR-ENTRY
@c change this to double if you want formatting for double-sided
@c printing
@headings single
@ifclear nusphere
@everyheading @thispage @| @| @thischapter
@everyfooting @| @| Version: @value{mysql_version} Printed: @today{}
@end ifclear
@ifset nusphere
@oddheading @thischapter @| @| @thispage
@evenheading @thispage @| @| @thischapter
@end ifset
@end iftex
@node Top, Introduction, (dir), (dir)
......@@ -36545,6 +36581,16 @@ ODBC and VisualC++ interface questions.
@strong{MySQL} server.
@end table
@c we don't want the entire change history in the nusphere manual
@ifset nusphere
@node News, Bugs, Credits, Top
@appendix MySQL change history
The MySQL change history can be found in the latest version of the mysql
manual at @url{http://www.mysql.com/documentation/manual/}
@end ifset
@ifclear nusphere
@node News, Bugs, Credits, Top
@appendix MySQL change history
......@@ -40715,6 +40761,7 @@ fields, the @code{BLOB} was garbage on output.
@item
Fixed @code{DISTINCT} with calculated columns.
@end itemize
@end ifclear
@node Bugs, TODO, News, Top
@appendix Known errors and design deficiencies in MySQL
......@@ -40861,7 +40908,7 @@ For platform-specific bugs, see the sections about compiling and porting.
@cindex TODO
@node TODO, Porting, Bugs, Top
@appendix List of things we want to add to MySQL in the future (The TODO)
@appendix MySQL and the future (The TODO)
@menu
* TODO future:: Things that must done in the very near future
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment