Re: Subfig(ure) in class Memoir
Jean-Marc Lasgouttes wrote: >> Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4 for >> other reasons and there is yet no binary for debian. Will install >> first thing when available though. > > If you run LyX 1.5.3, you already have qt4... 1.6.0 compiled nicely after installing the qt4 development stuff and LyX now runs great (Ubuntu and OS X) and solves the subfigure issues. Many thanks, Johan
Re: Subfig(ure) in class Memoir
24 nov 2008 kl. 17.05 skrev Jean-Marc Lasgouttes: Johan Tegin <[EMAIL PROTECTED]> writes: One of the suggested solution is using the subfig package instead. However, LyX automatically adds \usepackage{subfig} to the latex preamble when a subfigure caption is added to a figure via the GUI. This result in the above error. Can adding subfigure be avoided? Can I force LyX to use subfig instead? Or is there perhaps any other solution to this dilemma without resorting to ERT? LyX 1.6.0 has switched to using subfig instead of subfigure. Maybe an incentive to upgrade ? JMarc Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4 for other reasons and there is yet no binary for debian. Will install first thing when available though. 24 nov 2008 kl. 16.36 skrev Les Denham: Johan, I ran into exactly this problem a few months ago when I decided to convert a rather large document from book(KOMA-script) to memoir, to take advantage of some of the neat features in memoir. My solution (after trying various mechanisms to get subfigures to work) was to replace the figures containing subfigures with a single figure float, putting more than one image in one float. The only disadvantage I found is the lack of separate captions, which I overcame by using phrases such as "on the left" in the single caption referring to multiple images. Thanks for the advise, however it is the subfigure captions that I desire. I guess I should've made that point more clear. /johan
Subfig(ure) in class Memoir
How to get subfigure captions in memoir without resorting to ERT? I am merging some documents into my thesis, and some of them contain subfigures. Now, the thesis class (kthesis.cls) is based upon memoir, which seem to have an issue with subfigure. (LatTeX Error: Command [EMAIL PROTECTED] already defined.). One of the suggested solution is using the subfig package instead. However, LyX automatically adds \usepackage{subfig} to the latex preamble when a subfigure caption is added to a figure via the GUI. This result in the above error. Can adding subfigure be avoided? Can I force LyX to use subfig instead? Or is there perhaps any other solution to this dilemma without resorting to ERT? LyX 1.5.3 under Linux. Thanks, Johan
Re: PS and PDF files won't show in Lyx, Mac OS X
Sue Kientz wrote: > On Oct 4, 2006, at 12:19 PM, Bennett Helm wrote: >> On Oct 4, 2006, at 3:10 PM, Sue Kientz wrote: >>> A colleague of mine finds that a manual we've built in LyX will not >>> display (in LyX) her PS and PDF images, when she looks at it on her >>> Mac OS X Macbook. I can see everything allright from my Mac OS X >>> desktop, and she can see the images via LyX on her Linux desktop. On >>> her macbook, when she converts to PDF, everything shows OK. I went >>> over her preferences and we can't see what might be the trouble. Both >>> of us have 1.4.3 installed. Anyone have a suggestion? >> >> We'd need more details in order to diagnose it. In fact, I'm confused >> as to precisely what the problem is. Does the document typeset, but >> the resulting .pdf file simply omit the images? Or does typesetting fail? >> >> Also, what does Console.app say when you try typesetting? Does the >> LaTeX log (Documents > LaTeX Log) reveal anything? >> > > As I tried to explain, the images just don't SHOW in the LyX program > screen, even tho "Show in LyX" is checked in the image dialog box. Some > images show in LyX, others (PS and PDF format) do not. We get "Error > converting to loadable format" but just on her macbook. > > As to "typesetting" if you mean does the PDF generate, yes, we do not > have trouble there at all. Images display, the PDF is fine. Since that > is no trouble I'm not sure examining the LaTeX log will help. I looked > in there, see lots of output, not sure what I'm looking for. Is this resolved? If it is after an upgrade, try deleting the preferences (in the users application support folder) and reinstall. I also put a note on this on the wiki: http://wiki.lyx.org/LyX/FiguresInLyX (at the very bottom). There must be some minor problems with the preferences when upgrading. Note that other problems were fixed in the same way: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg50922.html /johan
Language spec. changes caption settings?
Hi, I have this .cls file that defines the figure captions to start with "Fig." instead of "Figure". Running the file using LaTeX, the output is correct, but when using LyX, the full word is used instead of the abbreviation. This behaviour occurs since the latex output generated by LyX is slightly different from the original LaTeX file. "LyX writes \documentclass[onesided,english]{ifacmtg} where the original sample contains just \documentclass{ifacmtg}". (Quoting Paul Rubin. Many thanks!) It seems the additional language option triggers the use of the full word instead of the abbreviation. One could export to latex, edit that file and then run latex. But it would be nice not have to do that. So... 1. Is there away to avoid adding the options? ([onesided,english]) 2. Why do these options force the use of the full word instead of the abbreviation? 3. Are there any other ways to change the figure caption from "Figure" to "Fig."? (preferrably without having to edit the .cls file.) /johan (This thread was previously "Class files on Mac: Cannot really use the .cls file." But we kind of went of on a tanget... This issue occurs on both linux and mac.)
Re: Class files on Mac: Cannot really use the .cls file...
On Fri, 30 Dec 2005, Paul A. Rubin wrote: Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by "Figure" instead of "Fig". The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried "Input stdclass.inc" instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word ("Figure") in output produced by LyX, or just in the LyX window itself (meaning LyX says "Figure" but the DVI/PDF output file says "Fig.")? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show "Fig.", perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul Yes, the figure captions in the DVI output are preceeded by e.g. "Figure 1." instead of "Fig. 1." Everything else, all spacing, every single letter position, seem to be in the very same place as in the latex-generated dvi file. (The LyX window displays Figure, but that doesn't really matter.) /johan www.md.kth.se/~johant/ifacsamlyx.dvi www.md.kth.se/~johant/ifacsamlatex.dvi
Re: Class files on Mac: Cannot really use the .cls file...
On Thu, 29 Dec 2005, Paul A. Rubin wrote: I assume that by "cannot use" you mean it does not show up in the Layout->Document->Layout->Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/Layouts. Paul Thanks, After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by "Figure" instead of "Fig". The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried "Input stdclass.inc" instead and also. What really happens? Any suggested remedies to change the figure names? /johan
Class files on Mac: Cannot really use the .cls file...
Hi, Got problems using a new class file... I put the file in all possible places. Did run texhash as root. Reconfigured LyX twice. Still, I cannot use the desired class (ifacmtg.cls). It is visible and viewable under View->TeX Information->LaTeX Classes. The file resides on the following locations: (Yes, they should not be all necessary i hope, but I got this working with IEEEtran.cls a while and thats how many IEEEtran files I ended up with then :-) But I cannot recall how i did it :-( ) /Applications/LyX.app/Contents/Resources/lyx/tex/ifacmtg.cls /sw/share/lyx/tex/ifacmtg.cls /sw/share/texmf/tex/latex/ifacmtg.cls /usr/local/teTeX/share/texmf.tetex/tex/latex/ifacmtg/ifacmtg.cls Any ideas on what to do? What is the correct procedure? Is it outlined anywhere? Thanks, Johan btw... Running all versions of lyx (aqua, x11, qt) under OS X 10.3.9.