>>Date: Thu, 19 Sep 2002 11:22:58 +0300 >>From: Staffan Ringbom <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: Importing xfigs the *pstex_t way??? >> >>Hello, >> >>I would like to import xfigs the smart way, by including the file >>*pstex_t int the document. However, it does not work! >> >>As best I get a LaTeX output where >>the entire *pstex_t file is messed up wihtout the proper line-breaks. >> >>It means I have to export my LyX file to latex and then edit >>the *pstex_t insert part, such that I have the line breaks on the right >>place. >>Only then it works. >> >> >>Anybody who knows exactly the trick. As I understand, I have followed >>the instructions in the LyX user guide, but without succes. >>How to include larger LaTeX parts, with line breaks and lots of comments >>at the end of lines, such that LyX understands it? >> >>What am I doing wrong?
You're making simple things complicated :-) I guess tou tried to use ERT ? You only have to Insert->Include the pstex_t file, but take care tu "Use Input", other options will fail (Use include makes sense only for chapters, and verbatim is clearly not what you want there). Beware that changes in the xfig file and re-exporting will probably not update the dvi file, you may have to Close/Open the doc fo reset the latex compilation (didn't check this one, I do not use combined export from xfig often). tex2pdf works fine with pstex_t includes (I shoud write inputs in fact). -- Jean-Pierre -- Jean-Pierre