Re: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]
Hi Vincent, As I explained in my previous email, that this piece of code is inserted by Lyx itself. I tried adding \makeletter before this piece of code, the problem remains the smae. Is there a way to restrict Lyx from inserting this piece of code? Regards, Tariq Abdullah P.S: I copied the automatically inserted code and the Lyx errors at the bottom of this email. Vincent van Ravesteijn - TNW wrote: Can some help me in solving a Lyx problem described in the forwarded email? It seems you're missing a \makeatletter before this piece of code. Did you add this yourself in the preamble ? Regards, Tariq Abdullah Vincent \...@ifundefined{showcaptionsetup}{}{% \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} \makeatother \usepackage{babel} I get the following 4 errors due to above Lyx inserted code into my tex file: Error-1: you can't use \spacefactor in vertical mode Error-1 Description: \@ ifundefined{showcaptionsetup}{}{% Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. Error-2: Missing $ inserted Error-2 Description: \@ ifundefined{showcaptionsetup}{}{% I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. Error-3: Latex error: Missing \begin{document}. Error-3 Description: \@ ifundefined{showcaptionsetup}{}{% You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. Error-4: Missing $ inserted Error-4 Description: I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. When I comment the tex code, as shown in the following lines, in WinEdt, my file is compiled and I obtain the correct PDF file %...@ifundefined{showcaptionsetup}{}{% % \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} %\makeatother \usepackage{babel} Regards, Tariq Abdullah
[Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]
Hi all, Can some help me in solving a Lyx problem described in the forwarded email? Regards, Tariq Abdullah --- Begin Message --- Hi Vincent, \...@ifundefined{showcaptionsetup}{}{% \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} \makeatother \usepackage{babel} I get the following 4 errors due to above Lyx inserted code into my tex file: Error-1: you can't use \spacefactor in vertical mode Error-1 Description: \@ ifundefined{showcaptionsetup}{}{% Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. Error-2: Missing $ inserted Error-2 Description: \@ ifundefined{showcaptionsetup}{}{% I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. Error-3: Latex error: Missing \begin{document}. Error-3 Description: \@ ifundefined{showcaptionsetup}{}{% You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. Error-4: Missing $ inserted Error-4 Description: I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. When I comment the tex code, as shown in the following lines, in WinEdt, my file is compiled and I obtain the correct PDF file %...@ifundefined{showcaptionsetup}{}{% % \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} %\makeatother \usepackage{babel} Regards, Tariq Abdullah Vincent van Ravesteijn - TNW wrote: Lyx inserts the following tex code when using the subfig package. The code prompts Lyx to generate an error and I can't create the DVI-->PDF file from Lyx. \...@ifundefined{showcaptionsetup}{}{% \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} \makeatother \usepackage{babel} Does anybody know how to solve this error OR how to restrict Lyx to not insert this piece of tex code? This line is added to guard against a user that has manually included the caption package in the preamble. What's the error then ? It shouldn't give an error. Vincent --- End Message ---
Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx
Hi Vincent, \...@ifundefined{showcaptionsetup}{}{% \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} \makeatother \usepackage{babel} I get the following 4 errors due to above Lyx inserted code into my tex file: Error-1: you can't use \spacefactor in vertical mode Error-1 Description: \@ ifundefined{showcaptionsetup}{}{% Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. Error-2: Missing $ inserted Error-2 Description: \@ ifundefined{showcaptionsetup}{}{% I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. Error-3: Latex error: Missing \begin{document}. Error-3 Description: \@ ifundefined{showcaptionsetup}{}{% You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. Error-4: Missing $ inserted Error-4 Description: I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. When I comment the tex code, as shown in the following lines, in WinEdt, my file is compiled and I obtain the correct PDF file %...@ifundefined{showcaptionsetup}{}{% % \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} %\makeatother \usepackage{babel} Regards, Tariq Abdullah Vincent van Ravesteijn - TNW wrote: Lyx inserts the following tex code when using the subfig package. The code prompts Lyx to generate an error and I can't create the DVI-->PDF file from Lyx. \...@ifundefined{showcaptionsetup}{}{% \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} \makeatother \usepackage{babel} Does anybody know how to solve this error OR how to restrict Lyx to not insert this piece of tex code? This line is added to guard against a user that has manually included the caption package in the preamble. What's the error then ? It shouldn't give an error. Vincent
\...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx
Hi Lyx developrs & users , Lyx inserts the following tex code when using the subfig package. The code prompts Lyx to generate an error and I can't create the DVI-->PDF file from Lyx. \...@ifundefined{showcaptionsetup}{}{% \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} \makeatother \usepackage{babel} Does anybody know how to solve this error OR how to restrict Lyx to not insert this piece of tex code? Regards, Tariq Abdullah
gswin32c.exe command line arguments
Hi, I need to embed fonts and subsets of fonts in my PDF. I need to provide some command line arguments to the ps2pdf command (view-->update-->PDF(ps2pdf)). How can I do this? Is there any other way to do this? Regards, Tariq Abdullah
splitting a cell in Lyx
Hi, I want to split a cell in Lyx as shown below. How can I do that? (Attached file pdf file contains the same table) -- Regards, Tariq Abdullah test.pdf Description: Adobe PDF document
toolbar customization
Hi, Is there a way to customize Lyx toolbars? I want to add/remove buttons from toolbar. How can I do that? -- Regards, Tariq Abdullah
Error with subsection in lyx1.6.0_04Beta
lyx: Disabling LyX socket. D:\LyXSVN\lyx-devel\src\frontends\qt4\GuiToolbar.cpp(658): ERROR (layoutSelected ): layout not found! -- Regards, Tariq Abdullah
export to latex(plain) not working in lyx1.6.0Beta4
Hi, I am using Lyx 1.6.0Beta4. I tried to export my Lyx file to latex(plain). But I don't see anything happening. Neither an error message nor any output. Any comment from Lyx developers Regards, Tariq Abdullah
minimal contents for .layout file
Hi All, Can someone describe the contents and purpose of layout file in Lyx. Why is it necessary to creat/include layout file in addition to .cls file in Lyx? It will be of great help if someone can describe the minimal contents of the layout file in order to use a new class file with Lyx. I have already checked chapter 5 of "Lyx customization manual". This chapter provides terribly long details about the layout file. Please don't refer me to that chapter. -:) Regards, Tariq Abdullah Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
problem in downloading the Win XP version of Lyx 1.5.1
Hi all, Download section for Win XP version of Lyx is not working. Any idea when will it start working? Regards, Tariq Abdullah
how to use a new style/ class file with Lyx document
Hi, I am working in WinXP environment. I only have .cls or .sty file from the conference organizers (for one conference .cls file and for other .sty file). I am unable to find a way to use the .cls or .sty file with my Lyx document. any help??? Regards, Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting
Help to make the given table in Lyx--Table attached this time
Hi, I want to make a table like this in Lyx, by using Lyx table option. Can anybody help me how to do this? Java based Development Platform Text 1 Text 2 Text3 Text 4 Text 5 Text 6 Text 7 Text 8 Text 9 Text 0 Row1 Row2 Regards, Tariq Abdullah Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/
how to set alignment of individual table cells in Lyx
Hi, How can I set the alignment of individual table cells in Lyx Top row with "center" alignment and remaining rows being left aligned. Regards, Tariq Abdullah Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
Problem with Table inserted in Lyx document with LaTex code
Hi, I tried to insert the table as a Tex code. The table works fine but that table can't be cross-referred in the Lyx document. Does anybody know a way out for this problem? Regards, Tariq Abdullah Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/
Help to make the given table in Lyx
Hi, I want to make a table like this in Lyx, by using Lyx table option. Can anybody help me how to do this? Java based Development Platform Text 1 Text 2 Text3 Text 4 Text 5 Text 6 Text 7 Text 8 Text 9 Text 0 Row1 Row2 Regards, Tariq Abdullah Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
Lyx--Figure placement in center of page
Hi, I want to place figure in center of page in a one-column document. I am including float and then inserting a figure in the float. Any solution for that?? Regards, Tariq Abdullah