summaryrefslogtreecommitdiff
path: root/support/bm2ltx/readme
blob: 26e72765bc75e8e80d695dc1df1cb417506ca196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
                BM2LTX  -  (c) 1995 claas bontus

                email: bontus@al6000.physik.uni-siegen.de
                       bontus@141.99.131.151

Copyright
---------
  BM2LTX is on the public domain. I used some functions of
  Ian Ashdown's PCX library. See file PCX_LIB.DOC for further
  information.
  You are free to
  *  distibute BM2LTX
  *  modify the source code, as long as you document all changes
  *  transform BM2LTX to other operating systems.

Files
-----
  bm2ltx.exe    -  the executable for DOS and OS/2
  readme        -  this file
  pcx_fmt.doc   -  explanation of the PCX format by Ian Ashdown
  pcx_lib.doc   -  explanation of Ian Ashdown's PCX library
  b2l_src.zip   -  ZIP-file containing the source code of BM2LTX

Explanation
-----------
  BM2LTX converts PCX graphics files to a LaTeX readable format.
  If you want to convert the file TEST.PCX to TEST.PIC just type

    BM2LTX TEST.PCX TEST.PIC

  You can include TEST.PIC in your LaTeX documents using the
  following commands:

    \begin{figure}
      \begin{center}
        \input{TEST.PIC}
      \end{center}
      \caption{Hello world!}
    \end{figure}

  The picture will be stored in the DVI file, so that it can be
  processed independently of drivers or platforms.

Installation
------------
  OS/2: You need to copy EMX.DLL to a directory listed in your
        LIBPATH environment variable. If you have already EMX.DLL
        replace it only if the one you got now is newer.

  DOS:  BM2LTX is bound with emx.exe. Therefore it should be able
        to work with DOS as is. Problems can occur if the processor
        is already in protected mode.

Advantages
----------
  Files created with BM2LTX can be used with LaTeX on different
  platforms, no matter which graphics formats are supported by
  your drivers.

Disadvantages
-------------
  Files created with BM2LTX can become very large in size. A picture
  consisting of 100x100 pixels can yield to a file with up to 5000
  lines of code. TeX can slow down processing these files or it
  can even run out of memory.

Things someone might do
-----------------------
  *  Add options to resize the pictures
  *  Find an algorithm which yields to smaller files
  *  Add color
  *  Add the possibiliy to process graphics formats other than PCX