[Tickets #2555] NEW: let enscript handle tex scripts (mime_drivers enchancement)

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Sep 5 01:10:28 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2555
-----------------------------------------------------------------------
 Ticket             | 2555
 Created By         | chutz at gg3.net
 Summary            | let enscript handle tex scripts (mime_drivers enchancement)
 Queue              | Horde Base
 Version            | HEAD
 State              | New
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


chutz at gg3.net (2005-09-05 01:10) wrote:

Enscript can handle tex files, so maybe mime_drivers.php.dist could be
updated to reflect that:

-    'x-extension/vb', 'x-extension/vba', 'text/x-emacs-lisp');
+    'x-extension/vb', 'x-extension/vba', 'text/x-emacs-lisp', 'text/x-tex'
);


However, in order for the above to work properly, mime.mapping.php should be
patched as well, by moving the 'tex' entry above the entry for 'cls', which
has the same mime-type:

--- lib/Horde/MIME/mime.mapping.php.bak 2005-09-05 17:09:12.000000000 +0900
+++ lib/Horde/MIME/mime.mapping.php     2005-09-05 17:09:25.000000000 +0900
@@ -72,2 +72,3 @@
     'class'         => 'application/x-java',
+    'tex'           => 'text/x-tex',
     'cls'           => 'text/x-tex',
@@ -388,3 +389,2 @@
     'tcl'           => 'text/x-tcl',
-    'tex'           => 'text/x-tex',
     'texi'          => 'text/x-texinfo',





More information about the bugs mailing list