OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
5.8 KiB

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % %
  3. % Specially prepared for ROCK Linux by Rene Rebe %
  4. % <rene.rebe@rocklinux.org> %
  5. % tex4ht.env / .tex4ht unix %
  6. % %
  7. % Notes: %
  8. % 1. Empty lines might be harmful %
  9. % 2. Tagged script segments <tag>...</tag> are scanned only if %
  10. % their names are specified within -ctag switches of tex4ht.c %
  11. % and t4ht.c. When -c switches are not supplied, a -cdefault %
  12. % is implicitly assumed. %
  13. % 3. Place this file in your work directory and/or root directory %
  14. % and/or in directory `xxx' of your choice. In the latest case, %
  15. % compile tex4ht.c and t4ht.c with `#define ENVFILE xxx', or %
  16. % provide the address of the file to tex4ht and t4ht throught %
  17. % the -e switch %
  18. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  19. %
  20. % * Replace `path', and possibly what follows, with appropriate %
  21. % content %
  22. % * A path may start with: %
  23. % ~ for environment variable HOME %
  24. % ~~ for environment variable TEX4HTTFM %
  25. % * A ! requests recursive search into subdirectories %
  26. % * Multiple t and i entries are allowed %
  27. % * When supported by kpathsea %
  28. % + t entries are ignored %
  29. % + the path before /ht-fonts/ is ignored in i records that don't %
  30. % represent real addresses %
  31. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  32. %
  33. t/D_prefix/share/texmf/fonts/!
  34. %
  35. <default>
  36. i/D_prefix/share/texmf/tex4ht/ht-fonts/iso8859/1/!
  37. i/D_prefix/share/texmf/tex4ht/ht-fonts/alias/!
  38. </default>
  39. % %
  40. <mozhtf>
  41. i/D_prefix/share/texmf/tex4ht/ht-fonts/mozilla/!
  42. i/D_prefix/share/texmf/tex4ht/ht-fonts/unicode/!
  43. i/D_prefix/share/texmf/tex4ht/ht-fonts/iso8859/1/!
  44. i/D_prefix/share/texmf/tex4ht/ht-fonts/alias/!
  45. </mozhtf>
  46. %
  47. <unihtf>
  48. i/D_prefix/share/texmf/tex4ht/ht-fonts/unicode/!
  49. i/D_prefix/share/texmf/tex4ht/ht-fonts/iso8859/1/!
  50. i/D_prefix/share/texmf/tex4ht/ht-fonts/alias/!
  51. </unihtf>
  52. % %
  53. <symhtf>
  54. i/D_prefix/share/texmf/tex4ht/ht-fonts/unicode/!
  55. i/D_prefix/share/texmf/tex4ht/ht-fonts/iso8859/1/!
  56. i/D_prefix/share/texmf/texmf/tex4ht/ht-fonts/alias/!
  57. </symhtf>
  58. %
  59. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  60. % dvi-to-gif %
  61. % dvips options %
  62. % magnification: -x mag (e.g., -x 1200) %
  63. % page size: -T x,y (e.g., -T 14in,14in) %
  64. Gdvips -Ppdf -mode ibmvga -D 110 -f %%1 -pp %%2 > zz%%4.ps
  65. Ggs -sDEVICE=ppm -sOutputFile=zz%%4.ppm -r110x110 -dTextAlphaBits=2 -dGraphicsAlphaBits=2 -q -dbatch -dNOPAUSE zz%%4.ps -c quit
  66. Gconvert -crop 0x0 -density 110x110 -transparent '#FFFFFF' zz%%4.ppm %%3
  67. Grm zz%%4.ps
  68. Grm zz%%4.ppm
  69. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  70. % Default scripts, shifted rightward 1 pos
  71. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  72. s--- needs --- %%1.idv[%%2] ==> %%3 ---
  73. b--- characters ---
  74. g.gif
  75. % empty gifs %
  76. Ecopy empty.gif %%1%%2
  77. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  78. %
  79. % * Address for an automatically created bookkeeping file %
  80. % * Ignored under kpathsea %
  81. % * The work directory is assumed for a default %
  82. l~/tex4ht.dir/tex4ht.fls
  83. %
  84. % t4ht -d%%2 %
  85. Mmv %%1 %%2%%3
  86. Ccp %%1 %%2%%3
  87. % t4ht -d%%2 -m%%1 %
  88. Achmod %%1 %%2%%3
  89. % removed protection %
  90. S*
  91. % validations, XSTL tranformations,... %
  92. Xmake -f NSGMLS name=%%1 ext=%%2
  93. %
  94. <oo>
  95. %%% openoffice %
  96. .4os mkdir sxw-%%0.dir
  97. .4os mkdir sxw-%%0.dir/Pictures
  98. .4os mv %%1.4os sxw-%%0.dir/settings.xml
  99. .4os mv %%0.xml sxw-%%0.dir/content.xml
  100. % %
  101. .4om mkdir sxw-%%0.dir/%%1
  102. .4om mv %%1.4om sxw-%%0.dir/%%1/content.xml
  103. .4om cp sxw-%%0.dir/settings.xml sxw-%%0.dir/%%1/settings.xml
  104. % %
  105. .4of mkdir sxw-%%0.dir/META-INF
  106. .4of mv %%1.4of sxw-%%0.dir/META-INF/manifest.xml
  107. % %
  108. .4ot mv %%1.4ot sxw-%%0.dir/meta.xml
  109. .4oy mv %%1.4oy sxw-%%0.dir/styles.xml
  110. .4og mv %%1 sxw-%%0.dir/Pictures/%%1
  111. % %
  112. .4ox cd sxw-%%0.dir; zip -r %%0.sxw * ; cd ..
  113. % %
  114. .4ox mv sxw-%%0.dir/%%0.sxw .
  115. % %
  116. .4ox rm %%1.4ox
  117. .4ox rm -r -f sxw-%%0.dir
  118. %%% end openoffice %
  119. </oo>
  120. %
  121. % end of file %