Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#352 Inserting Tables

open
nobody
None
5*
2012-12-01
2012-11-02
spieb
No

Hi,
a feature thats would be really helpful would be copy and paste (maybe paste into table assistant) from other spread sheet softwares. Most spread sheet applications put a tab separated list into the clipboard. I guess this would be quite easy to read out, though I'm not enough into qt to implement it. An alternative would be an assistant to import from CSV.
greetings,
spieb

PS: Did you see that somebody found the reason for the disappearing OSX Menu bug? Looks like there is a new chance to fix it.

Discussion

  • Tim Hoffmann
    Tim Hoffmann
    2012-11-04

    Maybe I'll add it when I have time.

    Thanks for the hint on the OSX Bug. The subscription mechanism of the new sf system seems not to work correctly at the moment.

     
    Last edit: Tim Hoffmann 2012-11-04
  • Tim Hoffmann
    Tim Hoffmann
    2012-11-04

    You can use a simple script (Macros -> Edit User Macros) to paste the content as a latex table:

    %SCRIPT
    text = app.clipboard
    text = text.replace(/\t/g, " & ")
    text = text.replace(/\n/g, " \\\\\n")
    cursor.insertText(text)
    

    You can easily adapt the above example to your needs (create the table environment around it, reformat existing text in the editor instead of taking it from the clipboard and so on)

     
  • spieb
    spieb
    2012-11-06

    works like a charm, thanks!

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-11-12

    Table dialog should be improved/rewritten at some time (low prio).

     
    • Priority: 1 --> 5*