Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/support/bm2ltx

                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

Files

Name Size Date Notes
EMX.DLL 60990 1994-12-21 01:00
b2l_src.zip 34561 1995-02-03 01:00
bm2ltx.exe 87853 1995-02-02 01:00
pcx_fmt.doc 27951 1991-12-01 01:00
pcx_lib.doc 9816 1991-12-01 01:00
readme 2299 1995-02-03 01:00

Down­load the con­tents of this pack­age in one zip archive (119.6k).

bm2ltx – Con­vert a bitmap im­age to LaTeX code

Bm2ltx con­verts PCX graph­ics files to a LaTeX read­able for­mat. The out­put may sim­ply be in­cluded into your doc­u­ment with an \in­put com­mand: it needs no sup­port from your graph­ics driver. Bm2ltx was de­signed for DOS or OS/2, but source is avail­able.

The real prob­lem with bm2ltx’s ap­proach is that its out­put can be ridicu­lously large.

Pack­age De­tailsbm2ltx
Li­censePublic Do­main Soft­ware
Main­tainerClaas Bon­tus
Topics graph­ics pro­duced by one of the *TeX en­gines
Guest Book Sitemap Contact