mirror of https://github.com/tLDP/LDP
releasing 0.5
This commit is contained in:
parent
4f3fcbabf2
commit
9775031448
|
@ -10,7 +10,7 @@
|
|||
Thanks to Jaime Irving Davila Lotorre for patch.
|
||||
<jadavila@uniandes.edu.co>
|
||||
|
||||
CVS Adds minimal indexing support.
|
||||
2002-06-26 0.5 Adds minimal indexing support.
|
||||
|
||||
Switch -v and -V, -v is now version, -V verbose.
|
||||
Ordinarily, changing options is a no-no, but I have
|
||||
|
@ -19,3 +19,5 @@ CVS Adds minimal indexing support.
|
|||
When table formats are set to a literal, and another
|
||||
literal is inside the column, delete the one inside.
|
||||
|
||||
Fixed a bug that caused output to never be written
|
||||
to STDOUT.
|
||||
|
|
|
@ -24,9 +24,9 @@ well.
|
|||
texi2db has full support for macros, aliases, and custom highlighting with
|
||||
@defenclosure commands.
|
||||
|
||||
This software is still in development and has many bugs. Please feel free to
|
||||
send bug reports to <david@lupercalia.net>, but odds are I already know about
|
||||
it because of its stage of development.
|
||||
This software has been in active use for some time and has proven reliable.
|
||||
However, it is still in development and probably has bugs. Please feel free to
|
||||
send bug reports to <david@lupercalia.net>.
|
||||
|
||||
David Merrill
|
||||
|
||||
|
@ -36,6 +36,5 @@ The following structures are not supported, at least not yet.
|
|||
@dircategory
|
||||
@direntry
|
||||
@end direntry
|
||||
|
||||
All of the indexing commands.
|
||||
@menu and friends are ignored for now, but I'm planning to support them later.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
=head1 NAME
|
||||
|
||||
B<texi2db> - utility to convert Texinfo documents into DocBook XML.
|
||||
B<texi2db> - convert Texinfo documents into DocBook XML.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
|
@ -56,7 +56,7 @@ http://www.tldp.org for updates and more information.
|
|||
|
||||
=head1 AUTHOR
|
||||
|
||||
This man page was written by David C. Merrill <david@lupercalia.net>.
|
||||
This man page was written by David Merrill <david@lupercalia.net>.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document under
|
||||
the terms of the GNU Free Documentation License, Version 1.1 or any later
|
||||
|
|
|
@ -6,7 +6,7 @@ use File::Basename;
|
|||
use FileHandle;
|
||||
use HTML::Entities;
|
||||
|
||||
$VERSION = "0.4.2-cvs";
|
||||
$VERSION = "0.5";
|
||||
|
||||
$errors = 0;
|
||||
$error = 0;
|
||||
|
@ -640,7 +640,10 @@ if ($outputtype eq 'HTML') {
|
|||
|
||||
if ($outputfile) {
|
||||
&message("output will go to $outputfile") if ($verbose);
|
||||
open($outfh, "> $outputfile");
|
||||
$outfh = new FileHandle;
|
||||
open($outfh, "> $outputfile") or die "Cannot write to $outputfile ($!)\n";
|
||||
} else {
|
||||
$outfh = STDOUT;
|
||||
}
|
||||
|
||||
while (<DATA>) {
|
||||
|
@ -652,7 +655,7 @@ while (<DATA>) {
|
|||
&processfile ("$requestedfile");
|
||||
|
||||
&writefile;
|
||||
close($outfh) if ($outputfile);
|
||||
close($outfh);
|
||||
close($logfh) if ($logfile);
|
||||
|
||||
sub processfile {
|
||||
|
@ -2369,13 +2372,14 @@ sub version {
|
|||
print "Converts a Texinfo file into DocBook XML.\n";
|
||||
print "\n";
|
||||
print "This is free software; see the source for copying conditions. There is no\n";
|
||||
print "warranty; not even for merchantability or fitness for a particular purpose.\n";
|
||||
print "warranty; not even for merchantability or fitness for a particular purpose.\n\n";
|
||||
}
|
||||
|
||||
sub usage {
|
||||
&version;
|
||||
print "\n";
|
||||
print "Usage: texi2db [OPTIONS]... [FILE]\n";
|
||||
print "\n";
|
||||
print "Options:\n";
|
||||
print "-i, --include HTML|INFO|TEX\n";
|
||||
print " include the specified text.\n";
|
||||
print "-f, --file FILE read from file rather than STDIN.\n";
|
||||
|
|
Loading…
Reference in New Issue