New maintainer. Install old docs. Some minor fixes.

* debian/control:
  - New maintainer, set to the Debian XML/SGML Group with myself
    as uploader. (Closes: #474126).
  - Standards bumped to 3.7.3, no changes needed.
  - Split long Suggests, Replaces, Depends and Build-Depends in
    leading whitespace separared lines.
* bin/linuxdoc.in:
  - "Local Vars" section added for emacs.
* debian/{changelog,control}:
  - Clean trailing whitespace.
* debian/rules:
  - Do not ignore make clean errors if a makefile is present.
* lib/dist/linuxdoc-tools/groff/{tr-,}mapping:
  - Do not create a TOC from here, we are already doing
    that from fmt_txt.pl. Updated comments to be consistent
    with this.
  - Removed trailing whitespace.
* Makefile.in:
  - Make sure CVS stuff is not installed
* debian/copyright, docs/{CHANGES,CONTRIBUTORS}.old-v1:
  - Update Copyright notice and make sure old CHANGES and
    CONTRIBUTORS files are included.
* man/sgmlpre.1: Typo fixed.
* debian/linuxdoc-tools.doc-base: Section fixed.
parent b9569a7e
Everything is freely distributable, no warranties - your mileage may vary.
See sgmls-1.1/LICENSE for sgmlsasp translator license.
See iso-entities/COPYING for iso-entities license.
See entity-map/COPYING for entity-map license.
See entity-map/COPYING for entity-map license.
Unless conflicting with other licenses, changes by Agustin Martin
Domingo are free software: you can redistribute and/or modify them
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. Otherwise they honour previous
license.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Everything not having explicit additional conditions can be freely
used, modified, and redistributed, under the usual fair use clauses:
* No warranty. Use at your own risk.
* Do not pretend to have written what you did not (Preserve credits
and Copyright notices of the different elements if present.)
You need jade or openjade to use this software.
......@@ -56,7 +56,7 @@ endif
@echo "Compiling RTF conversion tools (in rtf-fix/)..."
( cd rtf-fix ; \
$(MAKE) CFLAGS="$(OPTIMIZE)" || exit -1 )
@echo "making man pages in genman ..."
@echo "making man pages in genman ..."
if [ ! -d genman ]; then mkdir genman ; fi
for ii in man/* ; do \
bn=`basename $$ii`; \
......@@ -96,9 +96,10 @@ endif
@echo "Installing library and support files in $(pkgdatadir)..."
if [ ! -d $(pkgdatadir) ]; then mkdir -p $(pkgdatadir); fi
chmod 755 $(pkgdatadir)
cp -r lib/* $(pkgdatadir)
# cp -r lib/* $(pkgdatadir)
( cd lib && tar --exclude='CVS' -cpf - . ) | ( cd $(pkgdatadir) && tar -xpf - )
cp VERSION $(pkgdatadir)
@echo "Installing man pages in $(mandir1) ..."
@echo "Installing man pages in $(mandir1) ..."
if [ ! -d $(mandir1) ]; then mkdir -p $(mandir1) ; fi
-chmod 755 $(mandir1)
for ii in genman/sgml2* genman/sgmlcheck.1 \
......@@ -130,7 +131,8 @@ endif
DATADIR=$(datadir) bash Makedoc.sh)
if [ ! -d $(LINUXDOCDOC) ]; then mkdir -p $(LINUXDOCDOC); fi
chmod 755 $(LINUXDOCDOC)
cp -r doc/* $(LINUXDOCDOC)
# cp -r doc/* $(LINUXDOCDOC)
( cd doc && tar --exclude='CVS' -cpf - . ) | ( cd $(LINUXDOCDOC) && tar -xpf - )
rm -f $(LINUXDOCDOC)/Makedoc.sh
find $(LINUXDOCDOC) -type d -print | xargs chmod 755
find $(LINUXDOCDOC) -type f -print | xargs chmod 644
......
......@@ -45,3 +45,6 @@ for my $curfile (@FileList)
exit 0;
# Local Variables:
# mode: perl
# End:
This diff is collapsed.
Source: linuxdoc-tools
Section: text
Priority: optional
Maintainer: Taketoshi Sano <[email protected]>
Standards-Version: 3.5.6
Build-Depends: debhelper (>=4 ), sp|opensp, texinfo, groff (>= 1.15.3.1), flex, gawk|mawk, perl, texlive-base-bin, texlive-latex-recommended, texlive-fonts-recommended
Maintainer: Debian XML/SGML Group <[email protected]>
Uploaders: Agustin Martin Domingo <[email protected]>
Standards-Version: 3.7.3
Build-Depends: debhelper (>=4 ), perl, flex, gawk|mawk, sp|opensp, texinfo, groff (>= 1.15.3.1),
texlive-base-bin, texlive-latex-recommended, texlive-fonts-recommended
Package: linuxdoc-tools
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, sp|opensp, sgml-data, gawk|mawk
Suggests: texlive-latex-base|tetex-base (>= 0.9.990406), texlive-base-bin|tetex-bin, texinfo, info-browser, texlive-latex-recommended|tetex-extra, groff, linuxdoc-tools-text, linuxdoc-tools-latex, linuxdoc-tools-info
Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends},
sp|opensp, sgml-data, gawk|mawk
Suggests: texinfo, info-browser, groff,
texlive-latex-base|tetex-base (>= 0.9.990406),
texlive-base-bin|tetex-bin,
texlive-latex-recommended|tetex-extra,
linuxdoc-tools-text, linuxdoc-tools-latex, linuxdoc-tools-info
Provides: linuxdoc-sgml
Conflicts: linuxdoc-sgml, sgml-tools (<= 1.0.9-90)
Replaces: linuxdoc-sgml, sgml-tools, linuxdoc-tools-text (<< 0.9.20), linuxdoc-tools-info (<< 0.9.20), linuxdoc-tools-latex (<< 0.9.20)
Replaces: linuxdoc-sgml, sgml-tools,
linuxdoc-tools-text (<< 0.9.20),
linuxdoc-tools-info (<< 0.9.20),
linuxdoc-tools-latex (<< 0.9.20)
Description: convert LinuxDoc SGML source into other formats
LinuxDoc sgml is a highly configurable text format for writing
documentation, something like html only it's simpler and can be
......@@ -38,11 +48,14 @@ Description: Text output facility of LinuxDoc-Tools
Package: linuxdoc-tools-latex
Architecture: all
Depends: linuxdoc-tools, texlive-latex-base|tetex-base, texlive-base-bin|tetex-bin, texlive-latex-recommended|tetex-extra
Depends: linuxdoc-tools,
texlive-latex-base|tetex-base,
texlive-base-bin|tetex-bin,
texlive-latex-recommended|tetex-extra
Conflicts: linuxdoc-tools (<< 0.9.20)
Description: LaTeX/PS/PDF output facility of LinuxDoc-Tools
LinuxDoc-Tools is a SGML converter for the LinuxDoc DTD only.
This package is to provide the required dependency for
This package is to provide the required dependency for
LaTeX/PS/PDF conversion facility of LinuxDoc-Tools.
See the description of linuxdoc-tools package for more detail.
......
-*- coding: utf-8 -*-
This is `linuxdoc-tools', a series of tools to implement the Linux
Documentation Project HOWTO and book styles in SGML.
The current maintainer of linuxdoc-tools is Taketoshi Sano <[email protected]>,
and the source archive can be downloaded from:
http://www.debian.org/~sano/linuxdoc-tools/
linuxdoc-tools package is currently maintained by Agustin Martin Domingo
<[email protected]> within the Debian XML/SGML Group
It was previously maintained by Taketoshi Sano <[email protected]>.
---------------------------------------------------------------------
linuxdoc-tools is derived from linuxdoc-SGML, originally written by
Matt Welsh and later maintained by Cees de Groot. Linuxdoc-SGML is
based on James Clark's sgmls parser, and the QWERTZ DTD by Tom
Gordon. Magnus Alvestad provided the current HTML support. For
the rest of linuxdoc-SGML,
Copyright (C) 1994-1996 Matt Welsh <[email protected]>
Copyright (C) 1996-1998 Cees de Groot <[email protected]>
Original Linuxdoc-SGML itself does not have any limitations.
Everything not having explicit additional conditions can be freely
used, modified, and redistributed, under the usual fair use clauses:
* No warranty. Use at your own risk.
* Do not pretend to have written what you did not.
Since then, lots of smaller and bigger changes resulted in a rename
to SGML-Tools (and then to SGMLtools, the hyphen caused confusion)
to indicate that it wasn't just for Linux anymore. See files
CHANGES.old-v1 and CONTRIBUTORS.old-v1 for changelog and list of
contributors to old linuxdoc-sgml and sgmltools-v1.
When sgml-tools dropped support for the linuxdoc DTD, Taketoshi Sano
<[email protected]> forked the code to linuxdoc-tools. See README file.
Changes after the fork
Copyright (C) 1999-2002 Taketoshi Sano <[email protected]>
Copyright (C) 2000 Juan Jose Amor
Copyright (C) 2007-2008 Agustin Martin Domingo <[email protected]>
For the packaging:
Copyright (C) 1995-1998 Sven Rudolph <[email protected]>
Copyright (C) 1999-2002 Taketoshi Sano <[email protected]>
Copyright (C) 2006-2008 Agustin Martin Domingo <[email protected]>
Unless conflicting with other licenses, changes by Agustin Martin
Domingo are free software: you can redistribute and/or modify them
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. Otherwise they honour previous
license.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
In Debian systems you can find a copy under /usr/share/common-licenses.
--
See below for more specific Copyright notices for
Linuxdoc-Tools itself does not have any limitations, and it can be
freely used, modified, and redistributed.
sgmls-1.1/LICENSE for sgmlsasp translator license.
iso-entities/COPYING for iso-entities license.
entity-map/COPYING for entity-map license.
-----------------------------------------------------------------------
This is dummy package to provide the required dependencies
for some specific facility of `linuxdoc-tools', a series of
for some specific facility of `linuxdoc-tools', a series of
tools to convert LinuxDoc DTD SGML source files.
The current maintainer of linuxdoc-tools is Taketoshi Sano <[email protected]>,
and the source archive can be downloaded from:
http://www.debian.org/~sano/linuxdoc-tools/
The current maintainer of linuxdoc-tools is Agustin Martin Domingo
<[email protected]>, within the Debian XML/SGML Group
LinuxDoc-Tools itself does not have any limitations, and it can be
freely used, modified, and redistributed.
This dummy package was created by Taketoshi Sano <[email protected]>
Copyright (C) 1999-2002 Taketoshi Sano <[email protected]>
Original linuxdoc-SGML itself does not have any limitations, and
it can be freely used, modified, and redistributed.
Please refer the documentation of LinuxDoc-Tools for more detail.
......
......@@ -6,7 +6,7 @@ Abstract: This document is a user's guide to the Linuxdoc-Tools formatting
formats. You can create plain text output (ASCII and ISO-8859-1), DVI,
PostScript, HTML, GNU info, LyX, and RTF output from a single document
source file. This guide describes Linuxdoc-Tools version 0.1.
Section: Apps/Text
Section: Text
Format: postscript
Files: /usr/share/doc/linuxdoc-tools/guide.ps.gz
......
......@@ -2,4 +2,6 @@ doc/example
doc/html
doc/rtf
doc/guide*
doc/CHANGES.old-v1
doc/CONTRIBUTORS.old-v1
README
......@@ -43,7 +43,7 @@ build-stamp:
PERL=/usr/bin/perl \
OPTIMIZE="-g -O2"
# --- Rewrite to use sgmlswhich wrapper
# --- Rewrite to use sgmlswhich wrapper
sed -e "s:/usr/bin/o\?nsgmls:/usr/share/linuxdoc-tools/sgmlswhich:" \
-e "s:/usr/bin/[gm]awk:/usr/share/linuxdoc-tools/awkwhich:" \
......@@ -71,7 +71,7 @@ clean:
rm -f debian/$(package).copyright
rm -f linuxdoc.new LinuxDocTools.pm.new doc/linuxdoc-sgml.info
-$(MAKE) distclean
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
......
This diff is collapsed.
$Id: CONTRIBUTORS.old-v1,v 1.2 2008-04-22 11:49:42 agmartin Exp $
Everybody who appears in the CHANGELOG file will appear here as well. Probably
superfluous explanation of contents:
XXX = Name <Email>
http:HomePage
where ``XXX'' will be used on the CVS change log messages.
Maintainer:
CdG = Cees A. de Groot <[email protected]>
http://pobox.com/~cg
People doing the actual work in alphabetical order:
AB = Andries Brouwer <[email protected]>
AS = Arun Sharma <[email protected]>
AS2 = Andre Schoorl <[email protected]>
BL = Bernd 'Bing' Leibing <[email protected]>
DG = Daniele Giacomini <[email protected]>
DL = Dave Love <[email protected]>
DP = Dave Platt <[email protected]>
DS = Davide G. M. Salvetti <[email protected]>
ESR = Eric S. Raymond <[email protected]>
FJM = Francisco J. Montilla <[email protected]>
FB = Florin Boariu <[email protected]>
FP = Fabrizio Polacco <[email protected]>
FP2 = Frank Pavageau <[email protected]>
(previously <[email protected]>).
HN = Hartmut Niemann <[email protected]>
HT = Henry S. Thompson <[email protected]>
IWM = Ian W Moor <[email protected]>
JAM = Jose Abilio Oliveira Matos <[email protected]>
JE = Jan Echternach <[email protected]>
JE2 = Jeremy Elson <[email protected]>
KT = Karsten Tinnefeld <[email protected]>
KdB = Kees de Bruin <[email protected]>
KML = Ken MacLeod <[email protected]>
KO = Kazuyuki Okamoto <[email protected]>
LM = Lee Marzke <[email protected]>
LM2 = Laurent Martelli <[email protected]>
MB = Marco Budde <[email protected]>
MB2 = Marc Baudoin <[email protected]>
MG = Michael Gerdts <[email protected]>
MHP = Marc Huguet Puig (Perceval) <[email protected]>
MP = Mitchell Perilstein <[email protected]>
NJ = Niels Kristian Bech Jensen <[email protected]>
RM = Rune Mathisen <[email protected]>
SM = Simon Marlow <[email protected]>
SM2 = Samuel Mikes <[email protected]>
SR = Sven Rudolph <[email protected]>
TM = Tommy Marcus McGuire <[email protected]>
TO = Tetsu ONO <[email protected]>
TS = Taketoshi Sano <[email protected]>
UW = Ulrich Windl <[email protected]>
......@@ -6,7 +6,7 @@
% Based on qwertz replacement file by Tom Gordon
% linuxdoc mods by mdw
% Groff dependencies are few. To port to another roff:
% Groff dependencies are few. To port to another roff:
% 1. Check and modify, if necessary, font changes. (e.g. In psroff the
% same fonts have other names.)
% 2. Check the code for including Encapsulated PostScript, generated
......@@ -19,13 +19,13 @@
% Hacked by mdw
".nr PI 3n\n"
".ds CF \\\\n\%\n"
".ds CF \\\\n\%\n"
".ds CH \\&\n"
".ds dR $\n" % dollar, to avoid EQN conflicts
% Start with no TOC
".ds printtoc\n"
% Footnote style
".nr FF 1\n"
......@@ -54,16 +54,16 @@
".nr HM 0i\n"
".nr FM 0i\n"
% Turn off right-margin filling
% Turn off right-margin filling
".na\n"
% h is 1 if first paragraph after heading
".nr h 0\n"
".nr h 0\n"
% initialize heading level
".nr il 1\n"
".nr il 1\n"
% Number registers for list
......@@ -71,20 +71,20 @@
".nr ll 0\n" % list level, stores current level
".nr el 0\n" % current enumeration level
% Not all list levels are enumerations, as
% Not all list levels are enumerations, as
% itemizations can be embedded within enumerations
% and vice versa
% type of list level is in \n(t\n(ll, where
% 0 : itemize, 1 : enumerate, 2: description
% enumerator for an enumeration level is in
% \n(e\n(el -- i.e. \n(e1=2 means current item of
% enumeration level 1 is 2
% context-sensitive paragraph macro
% Bug: There's some problem using this to re-start paragraphs after the
% Bug: There's some problem using this to re-start paragraphs after the
% </verb> and </code>, so after verb and code I insert .LP. That's fine
% except that is loses indentation when using verb or code inside of a list.
......@@ -98,21 +98,21 @@
% for this enumeration level
".if \\\\n(t\\\\n(ll=1 \\{.IP \\\\n+(e\\\\n(el.\\}\n"
% if first par element of descrip, do nothing
".\\}\n"
".\\}\n"
".el .sp \n" % subsequent par element of item
".\\}\n"
".el \\{\\\n" % not within list
".ie \\\\nh=1 \\{\\\n" % first par after heading
".LP\n"
".ie \\\\nh=1 \\{\\\n" % first par after heading
".LP\n"
".nr h 0\n" % reset h flag
".\\}\n"
".\\}\n"
".el .LP \n" % Changed from .PP, mdw
".\\}\n"
".nh\n"
"..\n"
"..\n"
% for each level, a number register is created
% to store its type and current item number, where
% -1=bullet of an itemized list.
......@@ -144,32 +144,30 @@
% set initial level of headings, in register il
<article> + ".nr il 0" +
</article> + ".if '\\*[printtoc]'true' .PX\n"
</article> + ".if '\\*[printtoc]'true' .PX\n"
<report> + ".nr il 1" +
</report> + ".bp\n"
".rm LH\n.rm RH\n"
".TC" +
".rm LH\n.rm RH\n" +
<book> + ".nr il 1" +
</book> + ".bp\n"
".rm LH\n.rm RH\n"
".TC" +
".rm LH\n.rm RH\n" +
<notes>
<notes>
</notes>
<manpage> + ".nr il -1" +
</manpage>
</manpage>
% Hacked up titlepag stuff to look more reasonable. Titles and author
% names are now stored in strings, printed by the end of </titlepag>.
% Wake up! This uses groff-like long string names. You must use groff
% Wake up! This uses groff-like long string names. You must use groff
% to format this.
<titlepag> + ".ds mdwtitle\n"
".ds mdwsubtitle\n"
".ds mdwdate\n"
".ds mdwdate\n"
".de printabstract\n"
"..\n" +
</titlepag> + "\\*[mdwtitle]\n"
......@@ -181,10 +179,10 @@
"\\*[mdwdate]\n"
".br\n"
".printabstract\n"
".br\n"
".br\n"
%<title> + ".TL" +
%</title>
%</title>
<title> + ".ds mdwtitle "
</title> +
......@@ -194,13 +192,13 @@
% ".SM" +
%</subtitle> + ".LG" +
<subtitle> + ".ds mdwsubtitle "
<subtitle> + ".ds mdwsubtitle "
</subtitle> +
<date> + ".ds mdwdate "
<date> + ".ds mdwdate "
</date> +
<abstract> + ".de printabstract\n"
<abstract> + ".de printabstract\n"
".LP\n"
</abstract> + ".." +
......@@ -215,10 +213,10 @@
<name> + ".br" +
</name>
<and>
<and>
</and>
<thanks> "\\**\n"
<thanks> "\\**\n"
".FS" +
</thanks> + ".FE" +
......@@ -229,11 +227,11 @@
<newline> + ".br"
</newline>
<label>
</label>
<label>
</label>
<header>
</header>
<header>
</header>
<lhead> + ".EH '"
</lhead> "'''" +
......@@ -256,25 +254,19 @@
".af H1 A\n" +
</appendix>
% limitation: no list of figures or tables. A table of contents
% is always generated for books and reports. Thus these next three tags
% are no-ops
% For now, no table-of-contents in ASCII output. (Uncomment this if
% desired).
%<toc> + ".ds printtoc true"
%</toc>
% limitation: no list of figures or tables.
% A table of contents is generated at the <toc> location if present.
<toc>
</toc>
<lof>
<lof>
</lof>
<lot>
<lot>
</lot>
<chapt> + ".bp\n"
<chapt> + ".bp\n"
".NH \\n(il " +
</chapt>
......@@ -288,7 +280,7 @@
</sect2>
<sect3> + ".NH 4+\\n(il" +
</sect3>
</sect3>
<sect4> + ".NH 5+\\n(il" +
</sect4>
......@@ -297,10 +289,10 @@
</heading> + "\\*h\n"
".XS \\n%\n"
"\\*(SN \\*h\n"
".XE\n"
".XE\n"
".nr h 1\n" % set heading flag to true
<p> + ".Pp" +
<p> + ".Pp" +
</p>
<itemize> + ".nr ll +1\n" % increment list level
......@@ -315,9 +307,9 @@
".nr e\\n(el 0 1\n" % initialize enumerator
".af e\\n(el \\*(f\\n(el\n" % style of enumerator
".if \\n(ll>1 .RS\n" +
</enum> + ".br\n"
</enum> + ".br\n"
".nr el -1\n" % decrement enumeration level
".nr ll -1\n" % decrement list level
".nr ll -1\n" % decrement list level
".if \\n(ll>0 .RE\n" +
<descrip> + ".nr ll +1\n" % increment list level
......@@ -331,19 +323,19 @@
% If bi=1 then the paragraph is the first one of the item.
<item> + ".nr bi 1\n.Pp" +
</item>
</item>
<tag> + ".IP \"\\fB"
</tag> "\\fR\"\n"
".nr bi 1" +
<cite> + ".\[\n[ID]\n.\]" +
</cite>
</cite>
<ncite> + ".\[\n[ID]\n.\]\n([NOTE])"
</ncite>
<footnote> " (-- "
<footnote> " (-- "
</footnote> "--)" +
<sq> "\\*Q"
......@@ -354,20 +346,20 @@
</lq> + ".nr LL \\n(LL+\\n(PI\n"
".RE" +
<em> "\\fI"
</em> "\\fP"
<em> "\\fI"
</em> "\\fP"
<bf> "\\fB"
</bf> "\\fR"
<bf> "\\fB"
</bf> "\\fR"
<it> "\\fI"
</it> "\\fR"
<it> "\\fI"
</it> "\\fR"
<sf> "\\fR"
</sf> "\\fR"
<sf> "\\fR"
</sf> "\\fR"
<sl> "\\fI"
</sl> "\\fR"
<sl> "\\fI"
</sl> "\\fR"
% Changed by mdw
<tt> "\\fC"
......@@ -395,10 +387,10 @@
<pageref> "??"
</pageref>
<x>
<x>
</x>
<mc>
<mc>
</mc>
<biblio> + ".\[\n"
......@@ -424,7 +416,7 @@
% ".Pp" + % continue previous paragraph (changed mdw)
".LP"
% tscreen added by mdw
% tscreen added by mdw
<tscreen> + ".br\n"
".po 0.75i\n"
".ll 6.0i\n"
......@@ -488,8 +480,8 @@
% mathematics -- this nroff version needs work.
<f>
</f>
<f>
</f>
<dm> + ".DS L" +
</dm> + ".DE" +
......@@ -497,8 +489,8 @@
<eq> + ".DS L" +
</eq> + ".DE" +
<fr>
</fr>
<fr>
</fr>
<nu> "{"
</nu> "} over "
......@@ -506,7 +498,7 @@
<de> "{"
</de> "}"