Re: pstex problem
"Stefano" == Stefano Ghirlanda [EMAIL PROTECTED] writes: Stefano Hi everyone, I'm trying to use pstex figures, generated with Stefano xfig, as suggested also in the User's Guide. My problem is Stefano that things work in one directory but not in another, and I Stefano cannot figure out why. Stefano In one document I do: \input fig1.pstex_t and it works, In Stefano another document: \input fig2.pstex_t but it does not Stefano work. Moreover, if I put fig2 in the directory of the first Stefano document, it works! So it's not the figure. I have tried both Stefano with figures in the same direcotry or in a subdir. The error Stefano I get is: Although this is probably not the problem here, please use \input{fig1.pstex_t} to include a figure. The syntax you use is the TeX syntax, and is not considered proper LaTeX. You can also directly use Insert-Include_File. Stefano ! Undefined control sequence. argument \xivpt l.30 Stefano ...[b]{\smash{\SetFigFont{14}{16.8}{rm}600}}} Stefano The only difference that I can see in the documents is that Stefano the one that gives the errors defines some new latex of mine, Stefano is there any possibility that I'm breaking something? I only Stefano redefine heading looks, headers, bib format and other small Stefano things, no latex internals. Did you generate those two pstex_t files with the same version of xfig? JMarc -- +++ the lyx project user mailing list +++ To unsubscribe from this list send mail to [EMAIL PROTECTED] with the **Subject** unsubscribe.
Re: pstex problem
Hi Jean-Marc, Stefano Hi everyone, I'm trying to use pstex figures, generated with Stefano xfig, as suggested also in the User's Guide. My problem is Stefano that things work in one directory but not in another, and I Stefano cannot figure out why. Although this is probably not the problem here, please use \input{fig1.pstex_t} to include a figure. The syntax you use is the TeX syntax, and is not considered proper LaTeX. You can also directly use Insert-Include_File. You were right: I should have used {} or Include File from the beginning You were wrong: that was the problem! Now it works (with Include at least), thanks a lot! On the other hand, I have to say in my defense that I was following the User's Guide. I do not know if this has been updated in the pre1 series, still using .12. All the best, Stefano Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED] Support Free Science, look at: http://rerumnatura.zool.su.se -- +++ the lyx project user mailing list +++ To unsubscribe from this list send mail to [EMAIL PROTECTED] with the **Subject** unsubscribe.
Re: pstex problem
I also noticed that the .pstex file is a fairly nice ps file, you can include it as it was an eps figure, in fact. So I think one could add support for this format, since it's also advised in the User's Guide. I don't think it would be necessary to place the text wysiwyg-like in lyx, that would be a disproportionate effort probably. But it would be enough to be able to see that ps part and have the .pstex_t one included automatically. Maybe a line like "text will be read from file xxx" near the textless figure. Me too! Aehm... oops... sorry ;-) Andre' -- Andre' Poenitz, TU Chemnitz, Fakultaet fuer Mathematik [EMAIL PROTECTED] ... +49 3727 58 1381 -- +++ the lyx project user mailing list +++ To unsubscribe from this list send mail to [EMAIL PROTECTED] with the **Subject** unsubscribe.
Re: pstex problem
"Stefano" == Stefano Ghirlanda [EMAIL PROTECTED] writes: Stefano You were right: I should have used {} or Include File from Stefano the beginning You were wrong: that was the problem! Now it Stefano works (with Include at least), thanks a lot! Sometimes, being wrong is nice :) Stefano On the other hand, I have to say in my defense that I was Stefano following the User's Guide. I do not know if this has been Stefano updated in the pre1 series, still using .12. I think this has been fixed now. Could you tell me where exactly you found the information, so that I can check? JMarc -- +++ the lyx project user mailing list +++ To unsubscribe from this list send mail to [EMAIL PROTECTED] with the **Subject** unsubscribe.
Re: pstex problem
Ok, it was not the problem... it appeared to work only because I had used "include" intead than "input"... Although this is probably not the problem here, please use \input{fig1.pstex_t} to include a figure. The syntax you use is the TeX syntax, and is not considered proper LaTeX. You can also directly use Insert-Include_File. Did you generate those two pstex_t files with the same version of xfig? Yes... 3.2 patchlevel 0-beta4. No problem, for the moment it was not crucial... but I'd like to get it working sooner or later. I also noticed that the .pstex file is a fairly nice ps file, you can include it as it was an eps figure, in fact. So I think one could add support for this format, since it's also advised in the User's Guide. I don't think it would be necessary to place the text wysiwyg-like in lyx, that would be a disproportionate effort probably. But it would be enough to be able to see that ps part and have the .pstex_t one included automatically. Maybe a line like "text will be read from file xxx" near the textless figure. All the best, Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED] Support Free Science, look at: http://rerumnatura.zool.su.se -- +++ the lyx project user mailing list +++ To unsubscribe from this list send mail to [EMAIL PROTECTED] with the **Subject** unsubscribe.
Re: pstex problem
Hi, Stefano On the other hand, I have to say in my defense that I was Stefano following the User's Guide. I do not know if this has been Stefano updated in the pre1 series, still using .12. I think this has been fixed now. Could you tell me where exactly you found the information, so that I can check? 4.3.2 Xfig and Lyx, just at the end: "Then you just have to include the LaTex part with \input foo.ps_tex_t" note also that the extension is not what xfig spits out, .pstex All the best, Stefano Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED] Support Free Science, look at: http://rerumnatura.zool.su.se -- +++ the lyx project user mailing list +++ To unsubscribe from this list send mail to [EMAIL PROTECTED] with the **Subject** unsubscribe.
Re: pstex problem
"Stefano" == Stefano Ghirlanda [EMAIL PROTECTED] writes: Stefano Hi, Stefano On the other hand, I have to say in my defense that I was Stefano following the User's Guide. I do not know if this has been Stefano updated in the pre1 series, still using .12. I think this has been fixed now. Could you tell me where exactly you found the information, so that I can check? Stefano 4.3.2 Xfig and Lyx, just at the end: Stefano "Then you just have to include the LaTex part with \input Stefano foo.ps_tex_t" Stefano note also that the extension is not what xfig spits out, Stefano .pstex Yes, it is still there. Yet another thing to correct. JMarc -- +++ the lyx project user mailing list +++ To unsubscribe from this list send mail to [EMAIL PROTECTED] with the **Subject** unsubscribe.