mirror of https://github.com/tLDP/LDP
Modified Files:
Linux+IPv6-HOWTO.lyx : minor updates info.txt : add forgotten but available scripts Added Files: generate.sh : local generation script
This commit is contained in:
parent
31bd6eca65
commit
7a38380362
|
@ -52,6 +52,15 @@ Bieringer
|
|||
<revhistory>
|
||||
\layout SGML
|
||||
|
||||
<revision> <revnumber>Release 0.38</revnumber> <date>2003-01-05</date> <authorini
|
||||
tials>PB</authorinitials> <revremark>See
|
||||
\begin_inset LatexCommand \ref[revision history]{revision-history}
|
||||
|
||||
\end_inset
|
||||
|
||||
for more</revremark></revision>
|
||||
\layout SGML
|
||||
|
||||
<revision> <revnumber>Release 0.37</revnumber> <date>2002-12-31</date> <authorini
|
||||
tials>GK</authorinitials> <revremark>See
|
||||
\begin_inset LatexCommand \ref[revision history]{revision-history}
|
||||
|
@ -70,15 +79,6 @@ itials>PB</authorinitials> <revremark>See
|
|||
for more</revremark></revision>
|
||||
\layout SGML
|
||||
|
||||
<revision> <revnumber>Release 0.36</revnumber> <date>2002-12-16</date> <authorini
|
||||
tials>PB</authorinitials> <revremark>See
|
||||
\begin_inset LatexCommand \ref[revision history]{revision-history}
|
||||
|
||||
\end_inset
|
||||
|
||||
for more</revremark></revision>
|
||||
\layout SGML
|
||||
|
||||
</revhistory>
|
||||
\layout Abstract
|
||||
|
||||
|
@ -118,7 +118,7 @@ Copyright, license and others
|
|||
Copyright
|
||||
\layout Standard
|
||||
|
||||
Written and Copyright (C) 2001-2002 by Peter Bieringer
|
||||
Written and Copyright (C) 2001-2003 by Peter Bieringer
|
||||
\layout Subsection
|
||||
|
||||
License
|
||||
|
@ -145,7 +145,7 @@ The Linux IPv6 HOWTO, a guide how to configure and use IPv6 on Linux systems.
|
|||
|
||||
\layout Standard
|
||||
|
||||
Copyright (C) 2001-2002 Peter Bieringer
|
||||
Copyright (C) 2001-2003 Peter Bieringer
|
||||
\newline
|
||||
|
||||
\layout Standard
|
||||
|
@ -293,6 +293,9 @@ Major history
|
|||
\end_inset
|
||||
|
||||
for more)
|
||||
\layout Standard
|
||||
|
||||
2002-11-10: German translation is in progress
|
||||
\layout Subsubsection
|
||||
|
||||
Full history
|
||||
|
@ -2235,6 +2238,18 @@ It's also possible to disable automatically loading of the IPv6 module using
|
|||
\layout Code
|
||||
|
||||
alias net-pf-10 off # disable automatically load of IPv6 module on demand
|
||||
\layout Standard
|
||||
|
||||
Additiona note: in future kernels (newer 2.5 series and above), the module
|
||||
loader mechanism was changed.
|
||||
The new configuration file has to be named /etc/modprobe.conf instead of
|
||||
/etc/modules.conf but there is a translate-script available.
|
||||
For further details see
|
||||
\begin_inset LatexCommand \url[module-init-tool]{http://his.luky.org/ftp/mirrors/linux/kernel/people/rusty/modules/}
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\layout Subsection
|
||||
|
||||
Compile kernel with IPv6 capabilities
|
||||
|
@ -4894,14 +4909,14 @@ More information in the meantime:
|
|||
|
||||
\end_inset
|
||||
|
||||
Kernel settings in /proc-filesystem
|
||||
\layout Standard
|
||||
|
||||
|
||||
\begin_inset LatexCommand \label{proc-filesystem}
|
||||
|
||||
\end_inset
|
||||
|
||||
Kernel settings in /proc-filesystem
|
||||
\layout Standard
|
||||
|
||||
Note: the source of this section is mostly the file
|
||||
\begin_inset Quotes sld
|
||||
\end_inset
|
||||
|
@ -13802,7 +13817,7 @@ traceroute6, whois:
|
|||
|
||||
\layout Subsection
|
||||
|
||||
IPv6 Looking Glass
|
||||
IPv6 Looking Glasses
|
||||
\layout Itemize
|
||||
|
||||
|
||||
|
@ -13846,6 +13861,14 @@ Trainings, Seminars
|
|||
\layout Itemize
|
||||
|
||||
|
||||
\begin_inset LatexCommand \url[IPv6 Training and Workshop]{http://www.aerasec.de/workshops/ipv6.html}
|
||||
|
||||
\end_inset
|
||||
|
||||
, AERAsec, Germany (German language only at this time)
|
||||
\layout Itemize
|
||||
|
||||
|
||||
\begin_inset LatexCommand \url[Migrating to IPv6]{http://www.seminarinformation.com/wconnect/wc.dll?sis~details0~194045}
|
||||
|
||||
\end_inset
|
||||
|
@ -13926,8 +13949,11 @@ Versions x.y.z are work-in-progress and only published as LyX file on CVS.
|
|||
Releases 0.x
|
||||
\layout Description
|
||||
|
||||
0.38 2003-01-05/PB: minor updates
|
||||
\layout Description
|
||||
|
||||
0.37 2002-12-31/GK: 270 new links added (searched in 1232 SearchEngines)
|
||||
in existing and 53 new (sub)sections.
|
||||
in existing and 53 new (sub)sections
|
||||
\layout Description
|
||||
|
||||
0.36.1 2002-12-20/PB: Minor fixes
|
||||
|
@ -14194,6 +14220,12 @@ Martin F.
|
|||
\layout Itemize
|
||||
|
||||
John Ronan <j0n at tssg dot wit dot ie>: For grammar checks.
|
||||
\layout Itemize
|
||||
|
||||
Georg Käfer <gkaefer at gmx dot at>: For detection of no proper PDF creation
|
||||
(fixed now by LDP maintainer Greg Ferguson), input for German books, big
|
||||
list of URLs, checking all URLs, many more suggestions, corrections and
|
||||
contributions
|
||||
\layout Subsection
|
||||
|
||||
Other credits
|
||||
|
@ -14248,11 +14280,6 @@ send mail
|
|||
shell program on tcp_wrapper/hosts.deny
|
||||
\layout Itemize
|
||||
|
||||
Georg Käfer <gkaefer at gmx dot at>: For detection of no proper PDF creation
|
||||
(fixed now by LDP maintainer Greg Ferguson), input for German books, big
|
||||
list of URLs, checking all URLs and some more suggestions and corrections.
|
||||
\layout Itemize
|
||||
|
||||
Frank Dinies <FrankDinies at web dot de>: For a bugfix on IPv6 address explanati
|
||||
on
|
||||
\layout Itemize
|
||||
|
@ -14272,6 +14299,10 @@ Mauro Tortonesi <mauro at deepspace6 dot net>: For some suggestions
|
|||
\layout Itemize
|
||||
|
||||
Tom Goodale <goodale at aei-potsdam dot mpg dot de>: For some suggestions
|
||||
\layout Itemize
|
||||
|
||||
Martin Luemkemann <mluemkem at techfak dot uni-bielefeld dot de>: For a
|
||||
suggestion
|
||||
\layout Section
|
||||
|
||||
The End
|
||||
|
|
|
@ -0,0 +1,174 @@
|
|||
#!/bin/sh
|
||||
|
||||
# 20020117/PB: review
|
||||
# 20020128/PB: change PDF generation to LDP conform one, PS is still not LDP conform
|
||||
|
||||
# $Id$
|
||||
|
||||
file_sgml="Linux+IPv6-HOWTO.sgml"
|
||||
|
||||
file_base="`basename $file_sgml .sgml`"
|
||||
|
||||
file_ps="$file_base.ps"
|
||||
file_pdf="$file_base.pdf"
|
||||
file_txt="$file_base.txt"
|
||||
file_html="$file_base.html"
|
||||
|
||||
file_dsl="/usr/local/share/sgml/ldp.dsl"
|
||||
|
||||
if [ ! -f "$file_dsl" ]; then
|
||||
echo "ERR: Missing DSL file: $file_dsl"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -f $file_sgml ]; then
|
||||
echo "ERR: Missing SGML file, perhaps export DocBook of LyX won't work"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
LDP_PDFPS="yes"
|
||||
|
||||
# run sgmlfix
|
||||
if [ -e ./runsgmlfix.sh ]; then
|
||||
./runsgmlfix.sh
|
||||
else
|
||||
echo "WARN: cannot execute 'runsgmlfix.sh'"
|
||||
fi
|
||||
|
||||
validate_sgml() {
|
||||
echo "INF: Validate SGML code '$file_sgml'"
|
||||
set -x
|
||||
nsgmls -s $file_sgml
|
||||
set +x
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "ERR: Validation results in errors!"
|
||||
return 1
|
||||
else
|
||||
echo "INF: Validation was successfully"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
create_html_multipage() {
|
||||
echo "INF: Create HTML multipages"
|
||||
[ ! -d html ] && mkdir html
|
||||
rm -rf html/*
|
||||
pushd html/
|
||||
jade -t sgml -i html -d "/usr/local/share/sgml/ldp.dsl#html" ../$file_sgml
|
||||
popd
|
||||
}
|
||||
|
||||
create_html_singlepage() {
|
||||
echo "INF: Create HTML singlepage '$file_html'"
|
||||
set -x
|
||||
jade -t sgml -i html -V nochunks -d "/usr/local/share/sgml/ldp.dsl#html" $file_sgml >$file_html
|
||||
set +x
|
||||
local retval=$?
|
||||
if [ $retval -eq 0 ]; then
|
||||
echo "INF: Create HTML singlepage - done"
|
||||
else
|
||||
echo "ERR: Create HTML singlepage - an error occurs!"
|
||||
fi
|
||||
return $retval
|
||||
}
|
||||
|
||||
create_rtf() {
|
||||
echo "INF: Create RTF file '$file_rtf'"
|
||||
set -x
|
||||
jade -t rtf -d /usr/local/share/sgml/ldp.dsl $file_sgml
|
||||
set +x
|
||||
local retval=$?
|
||||
if [ $retval -eq 0 ]; then
|
||||
echo "INF: Create RTF file - done"
|
||||
else
|
||||
echo "ERR: Create RTF file - an error occurs!"
|
||||
fi
|
||||
return $retval
|
||||
}
|
||||
|
||||
create_ps() {
|
||||
echo "INF: Create PS file '$file_ps'"
|
||||
set -x
|
||||
db2ps --dsl /usr/local/share/sgml/ldp.dsl $file_sgml
|
||||
set +x
|
||||
local retval=$?
|
||||
if [ $retval -eq 0 ]; then
|
||||
echo "INF: Create PS file - done"
|
||||
else
|
||||
echo "ERR: Create PS file - an error occurs!"
|
||||
fi
|
||||
return $retval
|
||||
}
|
||||
|
||||
create_pdf() {
|
||||
if [ "$LDP_PDFPS" = "yes" ]; then
|
||||
# Use LDP conform mechanism
|
||||
echo "INF: Create PDF file (LDP conform) '$file_pdf' from HTML file '$file_html'"
|
||||
|
||||
if [ $file_html -ot $file_sgml ]; then
|
||||
echo "ERR: Create PDF file - needed single page HTML file '$file_html' is older than original '$file_sgml'"
|
||||
return 1
|
||||
fi
|
||||
set -x
|
||||
ldp_print $file_html
|
||||
set +x
|
||||
local retval=$?
|
||||
else
|
||||
echo "INF: Create PDF file (NOT LDP conform) '$file_pdf'"
|
||||
set -x
|
||||
db2pdf --dsl /usr/local/share/sgml/ldp.dsl $file_sgml
|
||||
set +x
|
||||
local retval=$?
|
||||
fi
|
||||
if [ $retval -eq 0 ]; then
|
||||
echo "INF: Create PDF file - done"
|
||||
else
|
||||
echo "ERR: Create PDF file - an error occurs!"
|
||||
fi
|
||||
return $retval
|
||||
}
|
||||
|
||||
create_txt() {
|
||||
echo "INF: Create TXT file '$file_txt' from PS file '$file_ps'"
|
||||
[ -f $file_txt ] && rm $file_txt
|
||||
if [ -f $file_ps ]; then
|
||||
echo "INF: Create TXT file '$file_txt'"
|
||||
set -x
|
||||
ps2ascii $file_ps > $file_txt
|
||||
set +x
|
||||
local retval=$?
|
||||
else
|
||||
echo "ERR: Cannot create TXT because of missing PS file"
|
||||
fi
|
||||
if [ $retval -eq 0 ]; then
|
||||
echo "INF: Create TXT file - done"
|
||||
else
|
||||
echo "ERR: Create TXT file - an error occurs!"
|
||||
fi
|
||||
return $retval
|
||||
}
|
||||
|
||||
### Main
|
||||
validate_sgml
|
||||
[ $? -ne 0 ] && exit 1
|
||||
|
||||
create_html_multipage
|
||||
[ $? -ne 0 ] && exit 1
|
||||
|
||||
create_html_singlepage
|
||||
[ $? -ne 0 ] && exit 1
|
||||
|
||||
create_pdf
|
||||
[ $? -ne 0 ] && exit 1
|
||||
|
||||
#create_ps
|
||||
#[ $? -ne 0 ] && exit 1
|
||||
|
||||
#create_txt
|
||||
#[ $? -ne 0 ] && exit 1
|
||||
|
||||
#create_rtf
|
||||
#[ $? -ne 0 ] && exit 1
|
||||
|
||||
exit 0
|
|
@ -10,3 +10,18 @@ Content:
|
|||
|
||||
lyxcodelinewrapper.pl
|
||||
Perl program which wraps too long "code" lines in a LyX file
|
||||
|
||||
sgmllyxtabletagfix.pl
|
||||
Perl program which fixes table tags
|
||||
|
||||
sgmllyxquotefix.pl
|
||||
Perl program which fixes quote tags
|
||||
|
||||
copytohowtodir.sh
|
||||
Shell program which copy SGML file to local howto directory
|
||||
|
||||
runsgmlfix.sh
|
||||
Shell program which runs all the SGML code fix programs
|
||||
|
||||
generate.sh
|
||||
Shell program which run different generation steps (needed for local review)
|
||||
|
|
Loading…
Reference in New Issue