debian-xml-sgml/linuxdoc-tools.git
11 months agoUpdate changelod for upload to sid. master debian/0.9.69-2
Agustin Martin Domingo [Fri, 10 May 2013 09:47:32 +0000 (11:47 +0200)]
Update changelod for upload to sid.

12 months agodebian/control: Bump Standards-Version. No changes required.
Agustin Martin Domingo [Mon, 15 Apr 2013 10:55:16 +0000 (12:55 +0200)]
debian/control: Bump Standards-Version. No changes required.

12 months agoRelease 0.9.69-1 to experimental. debian/0.9.69-1
Agustin Martin Domingo [Thu, 11 Apr 2013 14:13:12 +0000 (16:13 +0200)]
Release 0.9.69-1 to experimental.

12 months agoMark package as 3.0 (quilt) format.
Agustin Martin Domingo [Mon, 8 Apr 2013 17:30:12 +0000 (19:30 +0200)]
Mark package as 3.0 (quilt) format.

12 months agodebian/control: Fix DocBook capitalization.
Agustin Martin Domingo [Mon, 8 Apr 2013 17:27:52 +0000 (19:27 +0200)]
debian/control: Fix DocBook capitalization.

12 months agodebian/control: Drop ancient tetex dependencies.
Agustin Martin Domingo [Mon, 8 Apr 2013 17:25:33 +0000 (19:25 +0200)]
debian/control: Drop ancient tetex dependencies.

12 months agodebian/control: Change some Conflicts to Breaks.
Agustin Martin Domingo [Mon, 8 Apr 2013 17:22:55 +0000 (19:22 +0200)]
debian/control: Change some Conflicts to Breaks.

12 months agodebian/control: Use canonical values for Vcs-* stuff.
Agustin Martin Domingo [Mon, 8 Apr 2013 17:21:14 +0000 (19:21 +0200)]
debian/control: Use canonical values for Vcs-* stuff.

12 months agoStart for new upstream version, no longer packaged as Debian native.
Agustin Martin Domingo [Mon, 8 Apr 2013 17:19:18 +0000 (19:19 +0200)]
Start for new upstream version, no longer packaged as Debian native.

debian/linuxdoc-tools.docs: Adapt for new names.

12 months agoMerge tag 'upstream/0.9.69'
Agustin Martin Domingo [Mon, 8 Apr 2013 17:17:21 +0000 (19:17 +0200)]
Merge tag 'upstream/0.9.69'

Upstream version 0.9.69

12 months agoImported Upstream version 0.9.69 upstream upstream/0.9.69
Agustin Martin Domingo [Mon, 8 Apr 2013 17:17:18 +0000 (19:17 +0200)]
Imported Upstream version 0.9.69

12 months agoModify copyright creation stuff to have a better common copyright bundle.
Agustin Martin Domingo [Mon, 8 Apr 2013 15:49:34 +0000 (17:49 +0200)]
Modify copyright creation stuff to have a better common copyright bundle.

12 months agoMakefile.maint: First cut to create a tarball.
Agustin Martin Domingo [Fri, 22 Feb 2013 16:33:09 +0000 (17:33 +0100)]
Makefile.maint: First cut to create a tarball.

12 months agoman/{linuxdoc,sgml2latex,sgmlcheck}.1: Fix hyphen-used-as-minus-sign. Thanks lintian.
Agustin Martin Domingo [Fri, 22 Feb 2013 16:05:12 +0000 (17:05 +0100)]
man/{linuxdoc,sgml2latex,sgmlcheck}.1: Fix hyphen-used-as-minus-sign. Thanks lintian.

12 months agoSeparate old changelog entries and prepare empty changelog file for Debian non-native.
Agustin Martin Domingo [Fri, 22 Feb 2013 15:38:28 +0000 (16:38 +0100)]
Separate old changelog entries and prepare empty changelog file for Debian non-native.

13 months agoMakefile.in, copyright: Add a common copyright file, refreshed from Makefile.maint...
Agustin Martin Domingo [Fri, 22 Feb 2013 15:25:05 +0000 (16:25 +0100)]
Makefile.in, copyright: Add a common copyright file, refreshed from Makefile.maint on demand.

13 months agoVERSION: Bump version number to 0.9.69.
Agustin Martin Domingo [Fri, 22 Feb 2013 14:59:37 +0000 (15:59 +0100)]
VERSION: Bump version number to 0.9.69.

13 months agoFix compilation with new flex (#700958).
Martin Milata [Fri, 22 Feb 2013 14:55:48 +0000 (15:55 +0100)]
Fix compilation with new flex (#700958).

Due to a type change [1], linuxdoc-tools won't compile with flex-2.5.36
and newer (Debian currently ships 2.5.35).

This patch works around this problem.

[1] http://flex.git.sourceforge.net/git/gitweb.cgi?p=flex/flex;a=commitdiff;h=9ba3187a537d6a58d345f2874d06087fd4050399

13 months agoMerge tag 'upstream/0.9.68' to make package non-native. Re-adding debian/subdir for...
Agustin Martin Domingo [Fri, 22 Feb 2013 14:47:58 +0000 (15:47 +0100)]
Merge tag 'upstream/0.9.68' to make package non-native. Re-adding debian/subdir for master branch.

Contents should be similar to bad7b4fe477e08b5896cbfb6158eb2e49be6b42b
before making package non-native.

13 months agoImported Upstream version 0.9.68 upstream/0.9.68
Agustin Martin Domingo [Fri, 22 Feb 2013 14:47:58 +0000 (15:47 +0100)]
Imported Upstream version 0.9.68

13 months agoRemove debian/ subdir to prepare non-native package with pristine upstream tarball.
Agustin Martin Domingo [Fri, 22 Feb 2013 14:46:37 +0000 (15:46 +0100)]
Remove debian/ subdir to prepare non-native package with pristine upstream tarball.

22 months agodebian/rules: Get hardened CPPFLAGS and pass them to make. debian/0.9.68
Agustin Martin Domingo [Wed, 30 May 2012 14:12:52 +0000 (16:12 +0200)]
debian/rules: Get hardened CPPFLAGS and pass them to make.

22 months agortf-fix/Makefile: Use CPPFLAGS and LDFLAGS.
Agustin Martin Domingo [Wed, 30 May 2012 14:09:29 +0000 (16:09 +0200)]
rtf-fix/Makefile: Use CPPFLAGS and LDFLAGS.

22 months agodebian/control: Bump Standards-Version. No changes required.
Agustin Martin Domingo [Tue, 29 May 2012 13:15:05 +0000 (15:15 +0200)]
debian/control: Bump Standards-Version. No changes required.

22 months agoAdapt Ubuntu changes in 0.9.67ubuntu1 for a Debian release.
Agustin Martin Domingo [Tue, 29 May 2012 13:13:15 +0000 (15:13 +0200)]
Adapt Ubuntu changes in 0.9.67ubuntu1 for a Debian release.

22 months agoMake linuxdoc-tools* Multi-Arch: foreign, so that they can satisfy cross-build-depend...
Colin Watson [Sat, 31 Mar 2012 08:13:32 +0000 (09:13 +0100)]
Make linuxdoc-tools* Multi-Arch: foreign, so that they can satisfy cross-build-dependencies.

Patch by Colin Watson imported from Ubuntu

2 years agoRelease 0.9.67. debian/0.9.67
Agustin Martin Domingo [Mon, 10 Oct 2011 13:31:39 +0000 (15:31 +0200)]
Release 0.9.67.

2 years agoEnable ls-R update triggers when installed under dpkg control. Normal update otherwise.
Agustin Martin Domingo [Mon, 10 Oct 2011 11:20:31 +0000 (13:20 +0200)]
Enable ls-R update triggers when installed under dpkg control. Normal update otherwise.

For info about why we do not currently use dh_installtex and use instead
this hack, see

  #600013: tex-common:
  dpkg-reconfigure doesn't work on packages calling update-texmf-config

If maintainer script is run under dpkg control call update-texmf-config,
which will enable appropriate triggers. Otherwise (e.g. on reconfigure)
rebuild ls-R directly.

2 years agofmt_txt.pl: Put txt output in a single large page. 99999 lines should be enough....
Agustin Martin Domingo [Fri, 7 Oct 2011 10:14:08 +0000 (12:14 +0200)]
fmt_txt.pl: Put txt output in a single large page. 99999 lines should be enough. (#3180)

There were unpredictable gaps between some environments in txt output.
This looks like a page-break related problem, seems that with previous
code groff is breaking pages in a supposedly continuous text output,
and things are joined in a page-break.

We make sure that groff thinks page is a really large single page, so
the above does not happen. Implemented method was explaind in Groff
mailing list by Anton Shepelev.

First, we set a really large page length and instead of explicitly
resetting pagelength at the end if the file, just use an end-of-input
trap to set the real page-length in the end.

References:

http://lists.gnu.org/archive/html/groff/2011-02/msg00020.html
http://www.groff-wiki.info/EmittingOnePage

2 years agodebian/rules: get CFLAGS and LDFLAGS from dpkg-buildflags. Pass them to make.
Agustin Martin Domingo [Thu, 6 Oct 2011 18:02:01 +0000 (20:02 +0200)]
debian/rules: get CFLAGS and LDFLAGS from dpkg-buildflags. Pass them to make.

2 years agoMakefile.in: Pass CFLAGS and LDFLAGS instead of only OPTIMIZE.
Agustin Martin Domingo [Thu, 6 Oct 2011 17:59:22 +0000 (19:59 +0200)]
Makefile.in: Pass CFLAGS and LDFLAGS instead of only OPTIMIZE.

2 years agoFix 'function definition has qualified void return type' gcc warnings.
Agustin Martin Domingo [Thu, 6 Oct 2011 10:59:08 +0000 (12:59 +0200)]
Fix 'function definition has qualified void return type' gcc warnings.

Some functions used 'volatile void'. Since void already specifies a
return type of nothingness, doesn't make much sense to be considered
"volatile".

This was accepted by gcc, but considered an error by other compilers.
gcc now warns about this.

Note that this deals with "volatile void", not "volatile void *".

2 years agodebian/rules: Fix lintian debian-rules-missing-recommended-target build-{arch,indep}.
Agustin Martin Domingo [Wed, 28 Sep 2011 09:40:10 +0000 (11:40 +0200)]
debian/rules: Fix lintian debian-rules-missing-recommended-target build-{arch,indep}.

2 years agodebian/control: Bump Standards-Version to 3.9.2. No changes required.
Agustin Martin Domingo [Wed, 8 Jun 2011 16:20:06 +0000 (18:20 +0200)]
debian/control: Bump Standards-Version to 3.9.2. No changes required.

2 years agodebian/control: Deal with lintian empty-binary-package.
Agustin Martin Domingo [Wed, 8 Jun 2011 16:12:53 +0000 (18:12 +0200)]
debian/control: Deal with lintian empty-binary-package.

Add "dependency package" string to linuxdoc-tools-* long
descriptions to deal with lintian empty-binary-package

4 years agofmt_info.pl: bashslash non-alphanumeric characters in origin full name. debian/0.9.66
Agustin Martin Domingo [Sat, 7 Nov 2009 19:29:58 +0000 (20:29 +0100)]
fmt_info.pl: bashslash non-alphanumeric characters in origin full name.

  Make sure non-alphanumeric characters are backslashed
  when playing with original full filename. Thanks
  Michael Klein for report and fix (Closes: #554845).

4 years agoRaise debhelper compat level to 7
Agustin Martin Domingo [Tue, 16 Jun 2009 13:13:04 +0000 (15:13 +0200)]
Raise debhelper compat level to 7

4 years agoPrepare 0.9.65 debian/0.9.65
Agustin Martin Domingo [Mon, 15 Jun 2009 12:26:06 +0000 (14:26 +0200)]
Prepare 0.9.65

4 years agoinfo: Better support for multiline author entries.
Agustin Martin Domingo [Mon, 11 May 2009 23:56:37 +0000 (01:56 +0200)]
info: Better support for multiline author entries.

4 years agofmt_info.pl: Better use $global->{file}. Fix replacement size.
Agustin Martin Domingo [Mon, 11 May 2009 23:53:00 +0000 (01:53 +0200)]
fmt_info.pl: Better use $global->{file}. Fix replacement size.

We better use $global->{file} to be displayed in the resulting file.
That is the file that was actually processed, even if the original
string did not contain a sgml suffix.

We also try to make files before and after final changes match in size.
Seems that otherwise we sometimes get mesages about corrupt references.

4 years agoinfo: Add minimal support for tr variant.
Agustin Martin Domingo [Mon, 11 May 2009 22:20:37 +0000 (00:20 +0200)]
info: Add minimal support for tr variant.

4 years agoRewrite sgml2{info,latex,txt} parsers to allow different program locations.
Agustin Martin Domingo [Mon, 4 May 2009 20:35:15 +0000 (22:35 +0200)]
Rewrite sgml2{info,latex,txt} parsers to allow different program locations.

4 years agoReorganized examples dir. Added minimal example for the tr variant.
Agustin Martin Domingo [Mon, 13 Apr 2009 23:11:33 +0000 (01:11 +0200)]
Reorganized examples dir. Added minimal example for the tr variant.

4 years agolatex2e: Always pass 'breaklinks=true' to hyperref.
Agustin Martin Domingo [Mon, 4 May 2009 19:42:43 +0000 (21:42 +0200)]
latex2e: Always pass 'breaklinks=true' to hyperref.

hyperref default is 'breaklinks=true' for pdflatex and
'breaklinks=false' for latex. Make sure the same option
is used in both places for consistency.

4 years agoMerge tr mapping file in main one for latex2e backend.
Agustin Martin Domingo [Sun, 3 May 2009 23:17:55 +0000 (01:17 +0200)]
Merge tr mapping file in main one for latex2e backend.

 * latex2e/{mapping,tr-mapping}
   - Include tr-mapping functionality into mapping.
   - Remove no longer needed latex2e/tr-mapping.
 * perl5lib/LinuxDocTools.pm:
   - Do not use tr-mapping for latex2e backend.
   - Set $global{'dtd'} to current DTD.
 * fmt_latex2e.pl: Replace @LINUXDOC_DTD@ by actual DTD.
 * Update Copyright notices.

4 years agoImprove Copyright notices.
Agustin Martin Domingo [Mon, 4 May 2009 07:41:16 +0000 (09:41 +0200)]
Improve Copyright notices.

4 years agoinfo mapping: Force an empty line before @example and list environments.
Agustin Martin Domingo [Sun, 3 May 2009 22:03:15 +0000 (00:03 +0200)]
info mapping:  Force an empty line before @example and list environments.

4 years agoInfoUtils.pm: Use @subsubheading for depth 5.
Agustin Martin Domingo [Wed, 29 Apr 2009 23:51:00 +0000 (01:51 +0200)]
InfoUtils.pm: Use @subsubheading for depth 5.

4 years agofmt_info.pl: Remove leading tabs in abstract (really in preamble)
Agustin Martin Domingo [Wed, 29 Apr 2009 18:22:20 +0000 (20:22 +0200)]
fmt_info.pl: Remove leading tabs in abstract (really in preamble)

4 years agoInfoUtils.pm: Make menu building more robust. Handle depth 5. Minor changes for clarity.
Agustin Martin Domingo [Mon, 27 Apr 2009 23:16:56 +0000 (01:16 +0200)]
InfoUtils.pm: Make menu building more robust. Handle depth 5. Minor changes for clarity.

* Simplify menu info gathering and make it more robust.
* Handle depth 5. I still do not like how the result look.
* Send debugging info to STDERR.
* New 'orig' field.
* Minor changes for clarity.

4 years agofmt_info.pl: No need of '\input texinfo' in resulting info file.
Agustin Martin Domingo [Mon, 27 Apr 2009 19:18:03 +0000 (21:18 +0200)]
fmt_info.pl: No need of '\input texinfo' in resulting info file.

4 years agofmt_info.pl: do not anchor input file name substitution.
Agustin Martin Domingo [Mon, 27 Apr 2009 19:11:23 +0000 (21:11 +0200)]
fmt_info.pl: do not anchor input file name substitution.

4 years agoRemove info-postASP.awk. Use instead new InfoUtils.pm written from scratch.
Agustin Martin Domingo [Sun, 26 Apr 2009 23:44:46 +0000 (01:44 +0200)]
Remove info-postASP.awk. Use instead new InfoUtils.pm written from scratch.

5 years agoUse input file name in initial comment of resulting info file.
Agustin Martin Domingo [Wed, 15 Apr 2009 22:22:10 +0000 (00:22 +0200)]
Use input file name in initial comment of resulting info file.

For info backend, we better put original input file name in
resulting info, instead of obscure temp file name, so we
have in header comment something like

  This is file.info, produced by makeinfo version x.yy from
  info file generated after file.sgml by means of linuxdoc-tools.

instead of

  This is file.info, produced by makeinfo version x.yy from
  /tmp/linuxdoc-tools.Adm1iK88Ek/sgmltmp.file.2.texi.

5 years agofmt_latex2e.pl: cosmetic changes
Agustin Martin Domingo [Tue, 14 Apr 2009 23:12:06 +0000 (01:12 +0200)]
fmt_latex2e.pl: cosmetic changes

5 years agofmt_latex2e.pl::postASP: Rearrange post processing of TeX file.
Agustin Martin Domingo [Mon, 13 Apr 2009 22:26:17 +0000 (00:26 +0200)]
fmt_latex2e.pl::postASP: Rearrange post processing of TeX file.

* Where applies, check for matches only in linuxdoc-tools provided
  preamble. In that preamble, do not retry matches where a different
  incompatible one succeeded. Only '\nameurl' test seems to go
  outside that preamble.
* Cosmetic changes.

5 years agofmt_latex2e.pl: Make all filehandles indirect and uppercase.
Agustin Martin Domingo [Mon, 13 Apr 2009 21:30:38 +0000 (23:30 +0200)]
fmt_latex2e.pl: Make all filehandles indirect and uppercase.

5 years agoRetab 2-space some pending stuff. Fix missing semicolon. Cosmetic changes.
Agustin Martin Domingo [Mon, 13 Apr 2009 21:07:21 +0000 (23:07 +0200)]
Retab 2-space some pending stuff. Fix missing semicolon. Cosmetic changes.

5 years agoMake linuxdoctr-sgml.sty mostly a wrapper to linuxdoc-sgml.sty
Agustin Martin Domingo [Mon, 13 Apr 2009 20:16:13 +0000 (22:16 +0200)]
Make linuxdoctr-sgml.sty mostly a wrapper to linuxdoc-sgml.sty

* Instead of duplicating code, we make linuxdoctr-sgml.sty a
  wrapper to linuxdoc-sgml.sty, with only the tr relevant
  changes added.
* linuxdoc-sgml.sty will run the relevant code if called from
  linuxdoctr-sgml.sty
* Make both use ProvidePackage
* Minor changes

5 years agoRemove some extra not needed .Pp
Agustin Martin Domingo [Sat, 4 Apr 2009 19:51:33 +0000 (21:51 +0200)]
Remove some extra not needed .Pp

* Collapse adjacent .Pp
* Remove .Pp before headers and exdented pars

5 years agolib/fmt/fmt_txt.pl: More debugging info if debug is enabled
Agustin Martin Domingo [Tue, 31 Mar 2009 22:38:31 +0000 (00:38 +0200)]
lib/fmt/fmt_txt.pl: More debugging info if debug is enabled

Show postprocessed groff that will be piped to groff, along
with raw non preprocessed groff.

5 years agoAdd changelog for 0.9.60. Releasing 0.9.60. debian/0.9.60
Agustin Martin Domingo [Tue, 17 Feb 2009 13:23:39 +0000 (14:23 +0100)]
Add changelog for 0.9.60. Releasing 0.9.60.

5 years agoFix lintian debhelper-but-no-misc-depends
Agustin Martin Domingo [Tue, 9 Dec 2008 11:49:04 +0000 (12:49 +0100)]
Fix lintian debhelper-but-no-misc-depends

The source package uses debhelper but it does not use ${misc:Depends} in
the given binary package's debian/control entry. This is required so the
dependencies are set correctly in case the result of a call to any of
the dh_ commands cause the package to depend on another package.

5 years agoinfo-postASP.awk: make sure ref names are sanitized as other node names
Agustin Martin Domingo [Sun, 9 Nov 2008 22:19:20 +0000 (23:19 +0100)]
info-postASP.awk: make sure ref names are sanitized as other node names

5 years agoFix copyright years. Cosmetic changes. Fix variable name in Makefile.in.
Agustin Martin Domingo [Thu, 25 Sep 2008 11:26:59 +0000 (13:26 +0200)]
Fix copyright years. Cosmetic changes. Fix variable name in Makefile.in.

5 years agoFixed most of the warnings present when processing docs with -w enabled.
Agustin Martin Domingo [Wed, 24 Sep 2008 21:11:19 +0000 (23:11 +0200)]
Fixed most of the warnings present when processing docs with -w enabled.

* perl5lib/LinuxDocTools.pm:
  - Value of <HANDLE> construct can be "0"; test with defined() at ../perl5lib/LinuxDocTools.pm line 140.
    + Use defined ($dtd2 = <$TMP>)
  - Subroutine process_options redefined at ../perl5lib/LinuxDocTools.pm line 362.
    + Utils::process_options is always used with fulll name. No need to import it.
  - Use of uninitialized value in concatenation (.) or string at ../perl5lib/LinuxDocTools.pm line 419.
    + /etc/sgml.catalog had bad (unneeded) prefix.
* lib/fmt/fmt_lyx.pl:
  - Use of uninitialized value in numeric eq (==) at /tmp/ldt.OGoYc31777/linuxdoc-tools/fmt/fmt_lyx.pl line 222, ...
    Make sure $inlookchange is initialized.
* lib/fmt/fmt_rtf.pl:
  - Use of uninitialized value in concatenation (.) or string at /tmp/ldt.OGoYc31777/linuxdoc-tools/fmt/fmt_rtf.pl line 53.
    + Better check
* lib/fmt/fmt_txt.pl:
  - "my" variable $number masks earlier declaration in same scope at /tmp/ldt.OGoYc31777/linuxdoc-tools/fmt/fmt_txt.pl line 266.
    + Remove redundant my.

* doc/Makedoc.sh: print next backend to be used.

5 years agoNew perllibdir and texdir configure opts. Do not substitute linuxdoc.in here.
Agustin Martin Domingo [Wed, 24 Sep 2008 09:00:10 +0000 (11:00 +0200)]
New perllibdir and texdir configure opts. Do not substitute linuxdoc.in here.

* New configure options, texdir and perllibdir, so this addresses are set at
  the configuration stage. Modified debian/rules and Makefile.in to use them.
* No longer substitute bin/linuxdoc.in from configure. Variables like
  ${pkgdatadir} were replaced unexpended this way. Better replace from
  Makefile as before, so everything (e.g., things like
  ${datadir}/linuxdoc-tools) is replaced fully expanded, as suggested in the
  'Installation Directory Variables' section of the autoconf manual.
* Other changes in Makefile.in:
  - Explicitly pass perl5libdir to entities Makefile.
  - Pass $(prefix) prefixed with $(DESTDIR) when buildong docs.
* bin/linuxdoc.in: Make sure we always look in @pkgdatadir@ and @perl5libdir@

5 years agodoc/Makedoc.sh: Simplify and reorganize doc creation script.
Agustin Martin Domingo [Fri, 19 Sep 2008 18:32:22 +0000 (20:32 +0200)]
doc/Makedoc.sh: Simplify and reorganize doc creation script.

- Remove useless code about LinuxDocTools.pm modifications.
- Remove most replacements in linuxdoc.in. They were no longer
  needed.
- No need to look for groff, awk and friends. ldt_which will do
  that from linuxdoc.in provided a sane PATH is given.

5 years agoconfigure.in based bin/linuxdoc.in replacements. Use new ldt_which function.
Agustin Martin Domingo [Fri, 19 Sep 2008 17:42:15 +0000 (19:42 +0200)]
configure.in based bin/linuxdoc.in replacements. Use new ldt_which function.

- Use a configure.in based system for replacements in bin/linuxdoc.in.
- bin/linuxdoc.in: New ldt_which function to search for executables in PATH.
- Remove no longer used sgmlswhich and awkwhich functions along with their calls.

5 years agoMake package $(DESTDIR) aware
Agustin Martin Domingo [Sat, 13 Sep 2008 20:40:31 +0000 (22:40 +0200)]
Make package $(DESTDIR) aware

5 years agoSupport 'auxbindir' for installing sgmlpre and rtf2rtf. Set it to /usr/lib/linuxdoc...
Agustin Martin Domingo [Fri, 12 Sep 2008 08:31:31 +0000 (10:31 +0200)]
Support 'auxbindir' for installing sgmlpre and rtf2rtf. Set it to /usr/lib/linuxdoc-tools.

Deal differently with normal programs for general use (linuxdoc, nsgmls)
and programs for internal use like sgmlpre or rtf2rtf, whose installation
dir is now controlled by 'auxbindir'. This is now set to
/usr/lib/linuxdoc-tools instead of /usr/bin and should address #193543.

5 years agoFix mistype in error message. Remove CVS $Id string.
Agustin Martin Domingo [Thu, 11 Sep 2008 14:54:57 +0000 (16:54 +0200)]
Fix mistype in error message. Remove CVS $Id string.

5 years agoFix lintian spelling-error-in-description: latex -> laTeX
Agustin Martin Domingo [Thu, 11 Sep 2008 14:31:34 +0000 (16:31 +0200)]
Fix lintian spelling-error-in-description: latex -> laTeX

5 years agoUpdated git repo info for the new debian-xml-sgml group location.
Agustin Martin Domingo [Thu, 11 Sep 2008 13:04:57 +0000 (15:04 +0200)]
Updated git repo info for the new debian-xml-sgml group location.

5 years agoEnable '-e' flag when building docs
Agustin Martin Domingo [Tue, 9 Sep 2008 09:55:38 +0000 (11:55 +0200)]
Enable '-e' flag when building docs

5 years agoFix chroot doc creation for the new relocated files
Agustin Martin Domingo [Mon, 8 Sep 2008 19:44:18 +0000 (21:44 +0200)]
Fix chroot doc creation for the new relocated files

5 years agoMove contrib/obsoleted/unsupported stuff to new extras/ dir
Agustin Martin Domingo [Sat, 16 Aug 2008 15:39:50 +0000 (17:39 +0200)]
Move contrib/obsoleted/unsupported stuff to new extras/ dir

5 years agoMove perl modules to perl5lib. Allow easier installation under /usr/share/perl5.
Agustin Martin Domingo [Tue, 15 Jul 2008 19:14:53 +0000 (21:14 +0200)]
Move perl modules to perl5lib. Allow easier installation under /usr/share/perl5.

* Reorganize perl modules by putting them under a perl5lib subdir. Improve
  installation so they are installed in the same place as before unless
  otherwise stated, but install under /usr/share/perl5 for Debian. Modify
  Makefile.in to properly deal with the above.
* Fix LinuxDocTools.pm permissions.
* Fix doc/Makedoc.sh to use the above location.
* No need to play with LinuxDocTools.pm in debian/rules. We already try Debian
  sgml-data site first when looking for sgml entities.

5 years agoMove tex stuff in sources to a tex directory. Modify install accordingly.
Agustin Martin Domingo [Tue, 8 Jul 2008 18:55:44 +0000 (20:55 +0200)]
Move tex stuff in sources to a tex directory. Modify install accordingly.

* Improve tex stuff handling
  - Move tex stuff in sources to an explicit tex directory.
  - Makefile.in: Install tex stuff from Makefile where specified by $(texdir).
  - debian/rules: no longer install TeX stuff here. Set tex target
    through $(texdir) in install target.
* Makefile.in, debian/rules: Cosmetic changes.

5 years agoRelocating fmt and mapping files to simpler locations. Simpler symlink handling.
Agustin Martin Domingo [Mon, 7 Jul 2008 17:48:21 +0000 (19:48 +0200)]
Relocating fmt and mapping files to simpler locations. Simpler symlink handling.

* lib/dist/fmt* moved to lib/fmt
* lib/dist/linuxdoc-tools/* moved to lib/mappings
* lib/mappings/{latin1,nippon}/mapping: use explicit symlinks instead
  of setting them from Makefile.in.
* lib/LinuxDocTools.pm: Use new locations if nothing is found in previous
  locations.
* lib/dtd:
  - Add explicit linuxdoc.dtd and linuxdoctr.dtd symlinks
* Makefile.in:
  - No longer set latin1 and nippon mappings symlinks
  - No longer set dtd/linuxdoc{,tr}.dtd symlinks here
  - No longer need to set all those linuxdoc* obsolete symlinks

5 years agoFix 'unsafe echo with backslash' report from checkbashisms debian/0.9.56
Agustin Martin Domingo [Mon, 7 Jul 2008 10:01:54 +0000 (12:01 +0200)]
Fix 'unsafe echo with backslash' report from checkbashisms

We are really fixing a dashism here rather than a bashism,

$ echo "hi\n" will display as

"hi\n"

in bash (sic, with an explicit non-substituted \n unless -e is used) and as

"hi
"

in dash. We just make sure that the second form is always rendered, so there are
no inconsistencies across sh interpreters. (Closes: #489630)

5 years agoUpgraded changelog entries for a new release debian/0.9.55
Agustin Martin Domingo [Tue, 1 Jul 2008 16:56:31 +0000 (18:56 +0200)]
Upgraded changelog entries for a new release

 * Improvements in the info backend:
    - lib/dist/fmt_info.pl:
      + Make sure headers are written in a single line
    - lib/dist/linuxdoc-tools/info/mapping:
      + Use more texinfo elements: @emph, @strong, @sc and @uref
      + Reorganize mapping file.
 * Improvements in the lyx backend:
   - Move lyx header from mapping to fmt_lyx.pl
   - Move tscreen code from mapping to fmt_lyx.pl. Improve support.
   - linuxdoc class is no longer suported by lyx. Use plain article,
     report or book classes instead. Use LyX-Code layout instead of
     no longer suported Verbatim layout.

5 years agoMerge branch 'experimental'
Agustin Martin Domingo [Tue, 1 Jul 2008 16:46:29 +0000 (18:46 +0200)]
Merge branch 'experimental'

5 years agoBump standards version to 3.8.0. No changes required. debian/0.9.51
Agustin Martin Domingo [Thu, 19 Jun 2008 11:46:26 +0000 (13:46 +0200)]
Bump standards version to 3.8.0. No changes required.

5 years agoFix LinuxDocTools.pm wrong parsing of options with standalone 0
Agustin Martin Domingo [Thu, 19 Jun 2008 11:39:10 +0000 (13:39 +0200)]
Fix LinuxDocTools.pm wrong parsing of options with standalone 0

lib/LinuxDocTools.pm->(process_options):

When checking for an explicit backend option, do not shift in the
while condition itself, 0 in options like '-s 0' will otherwise
stop looping (Closes: #486965).

5 years agoMerge branch 'experimental' into info
Agustin Martin Domingo [Sun, 15 Jun 2008 23:50:53 +0000 (01:50 +0200)]
Merge branch 'experimental' into info

5 years agoMerge branch 'lyx' into experimental
Agustin Martin Domingo [Sun, 15 Jun 2008 23:24:56 +0000 (01:24 +0200)]
Merge branch 'lyx' into experimental

5 years agoBetter postASP tscreen support using LyX-Code. More checks in preASP.
Agustin Martin Domingo [Sun, 15 Jun 2008 23:17:29 +0000 (01:17 +0200)]
Better postASP tscreen support using LyX-Code. More checks in preASP.

* Use Lyx-Code more extensively. Do not use begin/end_deeper
* Better postASP support for non verbatim in tscreen.

    We want to support things like

    <tscreen><verb>
    I am a <tt/verbatim/ line
    </verb>
    I am not a <tt/verbatim/ line
    </tscreen>

  Since nsgmls will break lines when look changing commands are found in
  tscreen+non-verbatim, we need to make sure that LyX-Code commands are
  not sent neither during the look change nor in the line after it. No
  problem in verbatim+tscreen, since lines will not be broken.

  We use $inlookchange to signal this, 0 or undefined means no look change,
  1 means in look change and 2 means last line ended a look change.

5 years agoUse article, report or book as textclass. Use LyX-Code. Support chapt.
Agustin Martin Domingo [Sun, 15 Jun 2008 23:16:02 +0000 (01:16 +0200)]
Use article, report or book as textclass. Use LyX-Code. Support chapt.

* No longer use linuxdoc as textclass, modern lyx does not support it.
  Use plain article, report or book instead. Since none of them
  support verbatim layout, use LyX-Code instead. Also add chapt to lyx
  mapping file.
* Move $lyxheader to $lyxout
* Better scoping for $OUTPUT

5 years agoReorganizing lib/dist/fmt_lyx.pl and lib/dist/linuxdoc-tools/lyx/mapping
Agustin Martin Domingo [Sun, 15 Jun 2008 23:15:27 +0000 (01:15 +0200)]
Reorganizing lib/dist/fmt_lyx.pl and lib/dist/linuxdoc-tools/lyx/mapping

* Move lyx header from mapping to fmt_lyx.pl
* Move tscreen code from mapping to fmt_lyx.pl
* fmt_lyx.pl: Move verbatim stuff below
* fmt_lyx.pl: new article|book|report and tscreen sections
* mapping: Cosmetic changes

5 years agoBetter postASP support for non verbatim in tscreen. More checks in preASP.
Agustin Martin Domingo [Sun, 15 Jun 2008 22:40:25 +0000 (00:40 +0200)]
Better postASP support for non verbatim in tscreen. More checks in preASP.

We want to support things like

<tscreen><verb>
I am a <tt/verbatim/ line
</verb>
I am not a <tt/verbatim/ line
</tscreen>

Since nsgmls will break lines when look changing commands are found in
tscreen+non-verbatim, we need to make sure that LyX-Code commands are
not sent neither during the look change nor in the line after it. No
problem in verbatim+tscreen, since lines will not be broken.

We use $inlookchange to signal this, 0 or undefined means no look change,
1 means in look change and 2 means last line ended a look change.

5 years agoBetter tscreen support using LyX-Code.
Agustin Martin Domingo [Fri, 13 Jun 2008 18:51:55 +0000 (20:51 +0200)]
Better tscreen support using LyX-Code.

* Use Lyx-Code more extensively. Do not use begin/end_deeper
* Do not work if there are things like <tt/../ (which should not
  be there) in non-verbatim tscren sections. Have to think a
  bit more about this.

5 years agoReorganizing info mapping file. First cut.
Agustin Martin Domingo [Wed, 11 Jun 2008 20:23:44 +0000 (22:23 +0200)]
Reorganizing info mapping file. First cut.

5 years agoChanges to use more texinfo elements. Some cleanup
Agustin Martin Domingo [Wed, 11 Jun 2008 19:40:50 +0000 (21:40 +0200)]
Changes to use more texinfo elements. Some cleanup

* Use @quotation
* Use @emph, @strong and @sc
* Use @uref
* Added nidx and ncdx, just to be ignored in the info backend

5 years agoUse article, report or book as textclass. Use LyX-Code. Support chapt.
Agustin Martin Domingo [Sun, 8 Jun 2008 22:13:46 +0000 (00:13 +0200)]
Use article, report or book as textclass. Use LyX-Code. Support chapt.

No longer use linuxdoc as textclass, modern lyx does not support it.
Use plain article, report or book instead. Since none of them
support verbatim layout, use LyX-Code instead. Also add chapt to lyx
mapping file.

5 years agoRevert lyx /quote change.
Agustin Martin Domingo [Sun, 8 Jun 2008 20:46:35 +0000 (22:46 +0200)]
Revert lyx /quote change.

5 years agoMove $lyxheader to $lyxout. Use @textclass@. Better scope $OUTPUT
Agustin Martin Domingo [Sun, 8 Jun 2008 20:22:02 +0000 (22:22 +0200)]
Move $lyxheader to $lyxout. Use @textclass@. Better scope $OUTPUT

* Move $lyxheader to $lyxout
* Better scoping for $OUTPUT
* Prepare things for replacing textclass

5 years agoReorganizing lib/dist/fmt_lyx.pl and lib/dist/linuxdoc-tools/lyx/mapping
Agustin Martin Domingo [Sat, 7 Jun 2008 14:41:09 +0000 (16:41 +0200)]
Reorganizing lib/dist/fmt_lyx.pl and lib/dist/linuxdoc-tools/lyx/mapping

* Move lyx header from mapping to fmt_lyx.pl
* Move tscreen code from mapping to fmt_lyx.pl
* fmt_lyx.pl: Move verbatim stuff below
* fmt_lyx.pl: new article|book|report and tscreen sections
* mapping: Cosmetic changes

5 years agoMake sure headers are written in a single line
Agustin Martin Domingo [Tue, 10 Jun 2008 22:33:18 +0000 (00:33 +0200)]
Make sure headers are written in a single line

5 years agoUse mktemp in doc/Makedoc.sh and File::Temp::tempdir in lib/LinuxDocTools.pm. Add... debian/0.9.50
Agustin Martin Domingo [Thu, 5 Jun 2008 12:02:23 +0000 (14:02 +0200)]
Use mktemp in doc/Makedoc.sh and  File::Temp::tempdir in lib/LinuxDocTools.pm. Add Vcs fields.

    * Use mktemp to create doc build temporary dir in doc dir
    * use File::Temp::tempdir in lib/LinuxDocTools.pm
    * Add Vcs fields
    * Bump VERSION