Hi,

    me again :-)

* Fabian Braennstroem <[EMAIL PROTECTED]> wrote:
> 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 :-)

Sorry, it is version 1.1.2

>
>     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!? 

Maybe, I have to shorten it a bit, looks probably a bit
confusing...

I am looking for a python function to include png Graphics
at the cursor position; would be nice if I can apply all
those settings for graphics too, e.g. positioning, size,
boarders and most important, the connection to a different
macro by clicking on the inserted picture. Would be nice, if
the clicking event could be connected to a different python
script, which reads the name of the picture and opens the
corresponding tex-file.

The next thing I am badly looking for is a way to get access
to the archive of this list. It seems that the threads
expired pretty fast... 

Would be nice to hear some ideas!

Greetings!
 Fabian

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

Reply via email to