6.0.0-beta1
7/29/25

[#2555] let enscript handle tex scripts (mime_drivers enhancement)
Summary let enscript handle tex scripts (mime_drivers enhancement)
Queue Horde Base
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners Horde Developers (at)
Requester chutz (at) gg3 (dot) net
Created 09/05/2005 (7267 days ago)
Due
Updated 09/09/2005 (7263 days ago)
Assigned 09/09/2005 (7263 days ago)
Resolved 09/09/2005 (7263 days ago)
Milestone
Patch No

History
09/09/2005 04:26:00 AM Michael Slusarz Comment #2
State ⇒ Resolved
Reply to this comment
Added the mime-type to 3.0.6 and HEAD.  BTW, there is no need to 
change the order of mime-types in mime.mapping.php.
09/09/2005 04:12:56 AM Michael Slusarz Summary ⇒ let enscript handle tex scripts (mime_drivers enhancement)
State ⇒ Assigned
 
09/05/2005 01:58:52 PM Chuck Hagenbuch Assigned to Horde DevelopersHorde Developers
 
09/05/2005 08:10:27 AM chutz (at) gg3 (dot) net Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ let enscript handle tex scripts (mime_drivers enchancement)
Queue ⇒ Horde Base
Reply to this comment
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',


Saved Queries