Hi,

    I used latex together with vim the last couple year and
    have to use something 'easier' at my office. I am lucky,
    that I am able to use openoffice version 1.2 on linux and don't
    have to go back to word anymore :-)

    Adapting openoffice to some vim keybindings works pretty
    fine using a small basic macro I just got from the
    general list. Now, I still would like to use vim's and
    latex's power in writing mathematical equations. 
    
    The first step to achieve this was, that I wrote a small
    python script which starts vim in latex mode and
    converts the equation to a png image.  This works fine
    (it is based on the hello_world_comp.py example from the
     uno site) in writer,
    but I am missing a python/openoffice function to include
    the picture to the current position in my writer/impress file.
    Inserting some simple text can be done using:
        text.insertString( cursor, "VIM Latex Formula", 0 )
    but how does the inserting-Graphics-function look like?


    The next step would be to adjust the equation by
    clicking on the png-equation inside of the
    writer/impress document. I saw that I am able to connect
    a macro to the 'clicking event', so that I could use
    python to open the corresponding latex equation file,
    which was saved when creating the equation. For that
    connection I probably have to use a basic macro or could
    I use python for that too!? When I use basic, how can I
    run external linux programs like e.g. running a terminal
    with vim? Would be nice, if you have any idea!

    As you can see I have some basic question about some
    functions in python and basic and wonder, if there
    exists any list with some simple functions and a
    corresponding example!? 

Greetings!
 Fabian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to