I want to import a large dataset to Lyx below, I currently compile it in Textmate. What is the most convenient way to import all macros and the table to LyX only for this document?

enter image description here

  • Also you may know the answer to this large table management issue in Lyx here.
    – hhh
    Mar 13 '16 at 21:32
  • An alternative, possibly less painful option would be to keep the table in LaTeX and just input it into the LyX document. You won't be able to edit it within LyX, though, but that may be less of a problem.
    – Daniel
    Apr 18 '17 at 6:30

For the LaTeX code that belongs in the preamble, just copy/paste it into Document > Settings > LaTeX preamble. For the actual table, copy the LaTeX to the clipboard and then go to Edit > Paste Special > Paste from LaTeX. Note that this does not always work well because parsing arbitrary LaTeX (to convert it into LyX's internal format) is quite a difficult task.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.