Re: Some really unimportant bits

[email protected] (Frank Küster)
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
Thomas Esser <[email protected]> wrote:

>> - the cont-en link is no longer created - why?
>
> While it is true teTeX sets up a format named cont-en by default, you are
> not supposed to run it without command line parameters. To get the sizes
> of some memory arrays right, you have to specify -progname=context. Next,
> you also have to specify -efmt=cont-en (otherwise context.efmt will be
> used). So, people should use texexec to use a context format, since this
> offers all the bells and whistles...

O.k., thank you.

>> no manpage for dvipdft
>> no manpage for ebb
>
> Both are part of dvipdfm. No manpage, sorry.

I have attached two fast written attempts.

>> no manpage for fdf2tan
>> no manpage for texfind
>> no manpage for makempy
>> no manpage for mptopdf
>> no manpage for texfont
>
> Wrappers for context modules... I have never seen manpages for those. But,
> I am sure that Hans has documentation for those in pdf.

I'm working on this - thanks for pointing me to Tobias Burnus -, and
have also contacted Hans.

>> no manpage for xdvi-xaw.bin
>
> That's just the name of the xdvi binary (xdvi itself is just a wrapper
> script to call it).

Ah, I should have read the output I generated. Of course. 

>> In Debian, we have Manpages for 
>> 
>> $ ls new-manpages
>> mkocp.1  mkofm.1  ofm2opl.1  opl2ofm.1  otp2ocp.1  outocp.1  ovf2ovp.1  ovp2ovf.1  ttf2afm.1
>
> Can you send those over, please?

Also attached. I haven't written or checked them, and they may be
outdated.

We also have a small C program, texdoctk-warn, that can be used to
display messages under X, without relying on xmessage or similar
stuff. xmessage is in an separate, optional package in Debian, not in
the x-base packages. The teTeX packages don't strictly depend on perl-tk
in Debian, but only recommend it, and we use texdoctk-warn to warn a
user who starts texdoctk if perl-tk is not installed, and if there's no
controlling terminal (i.e. he started texdoctk from the menus). I guess
we're going to rename it, because the same applies for texfind, but in
case you're interested, I also attach the manpage. The patch for
texdoctk is going to be approximately the following:

@@ -9,10 +7,30 @@
 # disclaimer.
 ###############################################################################
 use strict;
-use Tk;
+use File::Basename;
 use Getopt::Long;
 Getopt::Long::config('bundling');
 
+BEGIN {
+    eval { require Tk; import Tk; };
+    if ($@) {
+       my $progname = basename($0);
+       my $message;
+       if ($@ =~ /^Can\'t locate Tk\.pm/) {
+           $message = "$progname: you must have the perl-tk package installed\nto use this script\n";
+       } else {
+           $message = "$progname: problem loading the Tk module:\n  $@\nHave you installed the perl-tk pack
age?\n";
+       }
+
+       if (! -t STDOUT and exists $ENV{DISPLAY})
+       {
+           exec("texdoctk-warn", $message);
+       } else {
+           die $message;
+       }
+    }
+}
+
 my $IsWin32 = ($^O =~ /MSWin32/i);
 
 #if ($IsWin32) {


Regards, Frank

-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie

p
dvipdft.1 (text/plain, 971 B)
.TH "dvipdft" "1" "May 2004" "teTeX" "teTeX" 
.PP 
.SH "NAME" 
dvipdft \- create thumbnail images for use with dvipdfm
.PP 
.SH "SYNOPSIS" 
.PP 
\fBdvipdft\fP  [ \fI DVIPDFM-OPTIONS\fP \&.\&.\&.  ] \fI filename.dvi\fP
.PP 
.SH "DESCRIPTION" 
.PP 
\fBdvipdft\fP creates thumbnail pictures of the pages in your file
and subsequently runs dvipdfm to create a PDF file with these
thumbnails. 
.PP
.SH "OPTIONS" 
.HP
All options are simply handed on to dvipdfm
.HP
.SH "SEE ALSO" 
.IP 
\fBdvipdfm\fP(1)
.PP 
.SH "BUGS" 
.PP 
None known\&.
.PP 
.SH "AUTHOR" 
.PP 
\fBdvipdft\fP was written by Mark A. Wicks and Thomas Esser.
.PP 
This manual page was written by Frank Küster
<frank@kuesterei\&.ch>, for
the Debian GNU/Linux system\&.  It may be used by other distributions
without contacting the author\&.  Any mistakes or omissions in the
manual page are my fault; inquiries about or corrections to this
manual page should be directed to me (and not to the primary author)\&.
ebb.1 (text/plain, 1.1 KB)
.TH "ebb" "1" "May 2004" "teTeX" "teTeX" 
.PP 
.SH "NAME" 
ebb \- extract a bounding box from JPEG, PNG, and PDF files
.PP 
.SH "SYNOPSIS" 
.PP 
\fBebb\fP  [ \fI -v\fP | \fI-b\fP  ] \fI graphic_file\fP
.PP 
.SH "DESCRIPTION" 
.PP 
\fBebb\fP extracts the bounding box from JPEG, PNG, and PDF files
(with lower- or uppercase extensions) and writes it into a file with
the extension \fB.bb\fP, together with some header information. These
files can then be used by \fBdvipdfm\fP or other programs.
.PP
.SH "OPTIONS" 
.HP
\fB\-v\fR : be verbose
.HP
\fB\-b\fR : Write .bb file in binary mode
.HP
.SH "BUGS" 
.PP 
I cannot find a difference between binary and standard .bb files\&.
.PP 
.SH "AUTHOR" 
.PP 
\fBebb\fP was written by Mark A. Wicks.
.PP 
This manual page was written by Frank Küster
<frank@kuesterei\&.ch>, for
the Debian GNU/Linux system\&.  It may be used by other distributions
without contacting the author\&.  Any mistakes or omissions in the
manual page are my fault; inquiries about or corrections to this
manual page should be directed to me (and not to the primary author)\&.
mkocp.1 (application/octet-stream, 1.6 KB) - not displayed
mkofm.1 (application/octet-stream, 807 B) - not displayed
ofm2opl.1 (application/octet-stream, 2.6 KB) - not displayed
opl2ofm.1 (application/octet-stream, 2.2 KB) - not displayed
otp2ocp.1 (application/octet-stream, 1.3 KB) - not displayed
outocp.1 (application/octet-stream, 1.4 KB) - not displayed
ovf2ovp.1 (application/octet-stream, 2.7 KB) - not displayed
ovp2ovf.1 (application/octet-stream, 2.4 KB) - not displayed
ttf2afm.1 (application/octet-stream, 1.9 KB) - not displayed
texdoctk-warn.1 (text/plain, 904 B)
.TH "texdoctk-warn" "1" "April 2004" "teTeX" "teTeX" 
.PP 
.SH "NAME" 
texdoctk-warn \- warn if a needed file is missing.
.PP 
.SH "SYNOPSIS" 
.PP 
\fBtexdoctk-warn\fP "message"
.PP 
.SH "DESCRIPTION" 
.PP 
\fBtexdoctk-warn\fP takes its single argument and displays it in an X
window, using only libxaw and the basic Xlibs. You don't even need to
rely on xmessage from the xbase-clients package to be installed.

.PP 
.SH "BUGS" 
.PP 
None known\&.
.PP 
.SH "AUTHOR" 
.PP 
Stefan Ulrich <[email protected]> and Hilmar Preusse <[email protected]>\&.
.PP 
This manual page was written by Frank Küster
<frank@kuesterei\&.ch>, for
the Debian GNU/Linux system\&.  It may be used by other distributions
without contacting the author\&.  Any mistakes or omissions in the
manual page are my fault; inquiries about or corrections to this
manual page should be directed to me (and not to the primary author)\&.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.