Re: toc numbers bleed into numbers
On Fri, Apr 18, 2008 at 11:24 AM, Chris Mahan [EMAIL PROTECTED] wrote: In my toc, the section and subsection numbers bleed into the text. Is there some easy fix somewhere? -- Chris Mahan http://www.christophermahan.com/ [EMAIL PROTECTED] cell 818.943.1850 Could you post a minimal example? I'm not quite following what the problem is. I've attached a picture example of section down to subsubsection numbering and I don't see any bleeding into the text. Cheers, /Bob attachment: Noname.jpg
Re: toc numbers bleed into numbers
On Fri, Apr 18, 2008 at 12:32 PM, Chris Mahan [EMAIL PROTECTED] wrote: On Fri, Apr 18, 2008 at 11:01 AM, Uwe Stöhr [EMAIL PROTECTED] wrote: Chris Mahan schrieb: In my toc, the section and subsection numbers bleed into the text. Is there some easy fix somewhere? Add this to your document preamble: [EMAIL PROTECTED]@dottedtocline{2}{1.5em}{2.8em}} [EMAIL PROTECTED]@dottedtocline{3}{4.3em}{3.6em}} It moved things around, but didn't fix. See the attached png. I'll look around at http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=tocloft/TOC -- Chris Mahan http://www.christophermahan.com/ [EMAIL PROTECTED] cell 818.943.1850 Did Uwe's solution not work for you? If not, then yes the tocloft package will work. Something like this (just adjust the 6em to whatever works for you). Put this in the preamble. \usepackage{tocloft} \renewcommand{\cftsecaftersnumb}{\hspace{6em}} \renewcommand{\cftsubsecaftersnumb}{\hspace{6em}} \renewcommand{\cftsubsubsecaftersnumb}{\hspace{6em}} Cheers, /Bob
Re: No indent in LOF, LOT and tables
On Tue, Apr 22, 2008 at 11:43 AM, NicoWinger [EMAIL PROTECTED] wrote: Hello, I'm writing a thesis with scrartcl and want to clear the indent of LOF and LOT. I already read, that this is possible by setting the option listsleft of koma-script. But how can I set this option in LyX? Document-Settings-Document Class-Options. The second Point is: I changed the LOF with following Command %Fügt Abbildung vor die Nummern in der LOF \makeatletter [EMAIL PROTECTED] } [EMAIL PROTECTED] \par \addcontentsline{\csname [EMAIL PROTECTED] {\csname [EMAIL PROTECTED] \csname the#1\endcsname}{\ignorespaces #2}}% \begingroup [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \fi \normalsize [EMAIL PROTECTED] [EMAIL PROTECTED] #3}\par \endgroup} \makeatother (I know that it would have been easier using the tocloft-package, but anyway...) so that the LOF looks like: Abbildung 1 Testabbildung.. 2 Abbildung 2 asödkfö öalkdfj aölskdf... 34 Does somebody know, how to insert : after the numberation? You're right using the tocloft package would be easier and it's simple to insert : with this package. I would just use tocloft. And last but not least: The tables I inserted do also hab a little indent. Is it possible to change that? Setting listsleft modifies the lot also. Is this your question? Thanks for help! Nico Cheers, /Bob
Re: Table caption label customization
On Fri, Apr 25, 2008 at 8:38 AM, D. Zorig [EMAIL PROTECTED] wrote: Hi all, I've read KOMA Script manual. But I couldn't figure out how to customize table caption. Now I understand table caption consists of following four parts. 1. Caption label 2. Caption number 3. Caption delimiter 4. Caption text I want to leave figure captions as they are and change table captions to have right aligned Caption label with number but without delimiter and page break then centered caption text. \setcapindent*{xindent} produces page break and indentation. \renewcommand*{\captionformat}{~} gets rid of delimiter which was colon. \setcapwidth[justification]{width} is used to change caption text alignment. But I think it changes figure and table and I have set width each time. Please help me on this. Thank you in advance. -- Zorigtkhuu Davaanyam Maybe someone else will have an answer on a way to alter figure and table captions separately, but I'm unaware of any way to do this with default koma-script options except as you're already doing by specifying the options per table. I would just use the caption package as it allows for separate options for figures and tables. Read the caption package documentation for koma-script related stuff. For me it turned out to be easier to just use the default article/report/book classes and then use packages to format things the way I wanted. Since, additional packages don't conflict with the default classes. Cheers, /Bob
Re: Again table caption issue
On Sun, Apr 27, 2008 at 9:29 PM, D. Zorig [EMAIL PROTECTED] wrote: Hi all, I'm sorry to keep bothering with same issue. With help of Bob Lounsbury and Uwe Stoher, I have right aligned caption label and centered caption text in the next line with following code. \usepackage{caption} \DeclareCaptionFormat{custom}{\raggedleft\bfseries#1\par\centerlast\slshape#3\par} \captionsetup[table]{format=custom} But I couldn't change fonts of caption label to bold and caption text to slanted as it supposed to. I tried KOMA Script book class' own \setkomafont{captionlabel}{\bfseries} but couldn't get it change. It doesn't give any error just doesn't change font. I tried using regular book class but it didn't help. What could cause caption font being so stubborn? Thank you in advance -- Zorigtkhuu Davaanyam Just use the caption package options. Add 'labelfont=bf' to: \captionsetup[table]{format=custom,labelfont=bf} Cheers, /Bob
Re: Author information in article class
On Mon, Apr 28, 2008 at 9:10 AM, econkramer [EMAIL PROTECTED] wrote: dear all, I would put specific author informations in a document class article, which by default does not have tools for some of this information. In particular, I would have in the author information the following: address, email, institution, keywords,url, and one newcommand called JEL. I have tried in inserting in the preamble some package of the amsart class and doing \address{} in the text, but I have returned the error undefined control sequence. Might you tell me how to insert the above information? I would use only the article class (no ams or other class) Thanks -- View this message in context: http://www.nabble.com/Author-information-in-article-class-tp16941025p16941025.html Sent from the LyX - Users mailing list archive at Nabble.com. I 'think' most on the list would agree that it's easier to manually set-up this preliminary page rather than trying to use specific latex commands. Cheers, /Bob
Re: Author information in article class
On Mon, Apr 28, 2008 at 10:08 AM, Richard Heck [EMAIL PROTECTED] wrote: econkramer wrote: well, how?? but more important...what if i do not what - for instance - the ams layout, but i want its environments, like address, email, and so forth? How might I do? How might I type the commands? If you want these environments, then you have to use a document class that provides them, or else define them yourself using LaTeX and write a layout file for the new class or package. You might want to check out some of the other article classes, such as the koma-script article class, or the paper class, which do things a bit differently. And if you want to change aspects of the layout, you can use packages like titlesec to do so. Everything can be tweaked, but the tweaking usually involves LaTeX. rh You can generally set these up just by entering the text and placing the text with vertical or horizontal spacing. Vertical spacing can be entered with Insert-Formatting-Vertical Space. Horizontal spacing can be entered with Insert-Formatting-Horizontal Fill, which will right align items (or evenly space them) or if you want a specific amount of space use, in ERT, \hspace{1cm}. Just adjust everything to your needs. If I remember correctly the upcoming LyX 1.6.0 will allow for use of other layout options with 'modules', but otherwise as Richard pointed out this not easily accomplished or takes some work to accomplish. Cheers, /Bob
Re: Thesis template in Lyx
On Wed, Apr 30, 2008 at 12:23 PM, Adrian Peter [EMAIL PROTECTED] wrote: Hi, I want to use Lyx to write my dissertation. However, our university already provides a LaTex template (cls file) that has to be followed exactly. What is the easiest way to use Lyx to write my dissertation? If you want to use LyX it could get quite involved, but you can always start slow and build up to see if it will work. (1)Should I try to create a layout file to use the latex cls file? I have never created a Lyx layout file before so I don't know how difficult this is. Any help on this or a if a tutorial exists on how to create a layout file for a cls file would be greatly appreciated. I have attached the cls file. The layout file is really just for LyX representation. I looked at your .cls file and they use the report.cls so I just copied: C:\Program Files\LyX15\Resources\layouts\report.layout to C:\Documents and Settings\username\Application Data\lyx15\layouts\report.layout I then renamed report.layout to ufthesis.layout and changed the first line from: \DeclareLaTeXClass{report} to \DeclareLaTeXClass{ufthesis} And done. You now have a layout file for your ufthesis.cls file. Next, you need to place the ufthesis.cls in your local texmf directory. For me on XP with MiKTeX 2.6 this is located at: C:\Documents and Settings\username\Application Data\MiKTeX\2.6\tex\latex Then refresh the MiKTeX FNDB. In Start-All Programs-MiKTeX 2.6-Settings-General. After that you should start LyX and Tools-Reconfigure (Important step). Then restart LyX and under Document-Settings-Document Class you should see ufthesis and now when you insert the toc, chapters, etc they should match the formatting of the thesis when you export to pdf or dvi. (2)Should I try to import a sample Tex file the university provides into Lyx? I tried to import it into Lyx but it failed. Not sure what is going on. I have attached the sample Tex file as well. I was able to import the .tex with this new ufthesis.layout, but it looks like it could be complicated. So, like I said you'll probably want to start with a blank document and just modify it to match the thesis requirements. I am not an advanced Lyx user so thank you very much in advance for the help. Adrian Cheers, /Bob
Re: Thesis template in Lyx
On Thu, May 1, 2008 at 8:31 AM, Adrian Peter [EMAIL PROTECTED] wrote: Thank you for your response. When you say: So, like I said you'll probably want to start with a blank document and just modify it to match the thesis requirements. Do you mean that I should use the approach of creating the layout file like you suggested or just working with a blank report document. If it is the latter approach, my only worry is that they have redefined so many of the latex settings (section, subsection, itemized list) that I would have to place ERT all over the document to get it to conform to their specifications. Or am I misunderstanding this? Thanks. Adrian Cheers, /Bob I just meant that I would not use the example.tex they gave. Yes, I would use the layout file that I have described. I would just start a blank document with the ufthesis.layout and begin. Cheers /Bob
Re: Error: Document class not available
On Thu, May 1, 2008 at 1:16 PM, Alberto Sánchez [EMAIL PROTECTED] wrote: I have just installed the LyX (version 1.5.4) bundle for Windows XP. Everything installed successfully. But now I cannot get LyX to produce any output at all. I cannot even execute the first step of the tutorial, where you are asked to view a simple typed line in dvi. When I press on the dvi button I get the following error message: LyX: Couldn't export file. No information for exporting the format DVI. The same message appears when I attempt PDF or PS. And when I try opening up any other file or template I get a variant of the following message: LyX: Document class not available. The layout file requested by this document, article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customization documentation for more information. LyX will not be able to produce output. I have scrolled through the Customization documentation but since I am new to all of this, I cannot find anything that seems to address my problem. Can anyone help me? Alberto It sounds like MiKTeX was not properly installed. Did you have an open internet connection during installation? If it were me I would open an internet connection and try to update MiKTeX. After it updates do a Tools-Reconfigure within LyX. Cheers, /Bob
Re: slow typing in lyx-1.5.3
On Tue, May 6, 2008 at 8:33 AM, jos [EMAIL PROTECTED] wrote: Typing has become painfully slow after I upgraded from lyx-1.4.4 to lyx-1.5.3 on a machine with fedora core 6: there's a very annoying delay between a keystroke and the appearance of the corresponding symbol on the screen. Because a rpm of lyx-1.5.4 is not available for fedora 6, I tried to create my own rpm from the lyx-1.5.4 sources (as described, a bit chaotically, here: http://wiki.lyx.org/LyX/CreatingLyXRPM). However, I can't seem to get configure to understand where my qt4 libraries are: adding --with-qt4-dir=/usr/lib/qt4 to the configure command in the spec file, or setting the environment variables QTLIB or QT4LIB to /usr/lib/qt4 doesn't help. Does anyone have an idea how to: - either get rid of the annoying typing delay in lyx-1.5.3 - or what is wrong with my qt4 ($ rpm -q qt4 qt4-4.3.2-1.fc6) thanks, jos -- View this message in context: http://www.nabble.com/slow-typing-in-lyx-1.5.3-tp17084281p17084281.html Sent from the LyX - Users mailing list archive at Nabble.com. I also experienced this 'slowness' on an old iBook with both Ubuntu and Fedora. Two things help me. 1) LyX 1.5.3, this was much better than the other LyX 1.5* series (doesn't seem to help you much, although Fedora in general was extremely slow on my iBook (Debian, Gentoo, and Arch are much better)) 2) My xorg was initially set to 24bit color with Ubuntu and Fedora and changing it to 16bit helped immensely. Cheers, /Bob
Re: Bogus responses to my lyx-users@lists.lyx.org posts
On Tue, May 6, 2008 at 10:01 AM, Les Denham [EMAIL PROTECTED] wrote: On Tuesday 06 May 2008, Steve Litt wrote: Since May 1, 2008, every time I post to lyx-users@lists.lyx.org, I get what looks like an autoresponder email from [EMAIL PROTECTED], telling me to check their FAQ and then if that doesn't help to submit a trouble ticket. Could someone please unsubscribe [EMAIL PROTECTED] If worst comes to worst I can pipe everything from [EMAIL PROTECTED] to /dev/null, but I imagine this is a problem for more people than just me. I just emailed their sales department asking them to get rid of the autoresponder on mail from the LyX list. You too? I thought it was just me getting them. I'd suggest removing every address in the ultimatevocabulary.com domain from the lyx-users list . . . -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html I'll second that! I'm tired of those messages. Although they do only seem to come when replying to certain people not necessarily just the LyX list. /Bob
Re: Bogus responses to my lyx-users@lists.lyx.org posts
On Tue, May 6, 2008 at 12:52 PM, Steve Litt [EMAIL PROTECTED] wrote: Or maybe we all set up our own autoresponders returning those messages to [EMAIL PROTECTED] :-) SteveT Done :-}. Good idea. /Bob
Re: natbib.sty
On Thu, May 8, 2008 at 8:25 AM, Hassan Khater [EMAIL PROTECTED] wrote: Thanks Uwe for your kind advice. Now the problem is solved partially as the natbib package was successfully installed but in the pdf output of my thesis, references appear like that [?] and are numbered at the Bibliography section. The natbib does not yet appear in the style list in the BibTex Bibliography. Did you tell LyX to use natbib? Document-Settings-Bibliography, Natbib and select your style either Author-year or Numerical. There is no natbib bibliography style. There are styles like plainnat, unsrtnat, and abbrvnat. Cheers, /Bob
Re: Lyx in Windows - Trouble with the dictionary
On Fri, May 9, 2008 at 8:51 AM, Adman [EMAIL PROTECTED] wrote: Hi all A friend of mine is trying to install LyX in windows, and asked me to post asking for instructions on where to download and how to install configure the dictionary. Can someone please point him in the correct direction? Thanks -- View this message in context: http://www.nabble.com/Lyx-in-Windows---Trouble-with-the-dictionary-tp17149741p17149741.html Sent from the LyX - Users mailing list archive at Nabble.com. http://aspell.net/win32/ Although, when installing LyX, Aspell should have been installed by default and your friend should have been asked if he wanted to download any dictionaries. Hence, it should all be working already. Cheers, /Bob
Re: section title centered
On Mon, May 12, 2008 at 4:46 AM, Robert Neumann [EMAIL PROTECTED] wrote: stupid question, but I couldn't figure it out using the manual, I allways get error-messsages. I'm using titlesec and I just want my section*-title centered instead of the default left alignment. I use Lyx 1.37 with the document-class article. thanks Robert I had trouble with the titlesec package also. I would just use the sectsty package. \usepackage{sectsty} \sectionfont{\centering} You can check the documentation for more options like: \sectionfont{\nohang\centering} So that the longer titles aren't indented. Cheers, /Bob
Re: Lyx 1.5.3 not showing references from Jabref 2.3.1
On Wed, May 28, 2008 at 5:48 AM, vu [EMAIL PROTECTED] wrote: Hi All, I'm using Lyx 1.5.3 and Jabref 2.3.1 on Ubuntu 8.04. I have been using Lyx for about 2 years now (since Ubuntu 6.04) and have very successfully written dozens of documents using Lyx, along with Pybliogapher and Jabref. However, since upgrading to Ubuntu 8.04 (fresh installation from CD), Lyx has not functioned properly. I can insert a bibliography, and I can insert references from that bib file. However, when I view PDF (or PS or DVI), the references show up as [?], and there is no bibliography. All of my settings are correct, and I've tried it with multiple combinations of document settings and bibliography settings. As I mentioned earlier, I've written many documents with Lyx, so I'm relatively familiar with the it. I love it, I can't live without it. Can anyone help? What's going on? I have a big essay due soon, so it's really bad timing! Thanks in advance. -- View this message in context: http://www.nabble.com/Lyx-1.5.3-not-showing-references-from-Jabref-2.3.1-tp17510841p17510841.html Sent from the LyX - Users mailing list archive at Nabble.com. This sounds like it's going to be hard to diagnose and a little more information would be helpful. Have you tried multiple .bib files? Are you using the default bibliography manager or natbib or jurabib or something else? What .bst file are you trying to use? Maybe you could send a minimal example to the list for verification or diagnoses? Cheers, /Bob
Re: Footnote without numbering (new)
On Wed, May 28, 2008 at 6:23 AM, Adrian Peter [EMAIL PROTECTED] wrote: Hi, Is there a way to enter footnote without the automatic numbering? I think I saw something in the archives but it was for Lyx version 1.1.6 and the explanation was a little confusing. Thank you. Adrian _ Change the world with e-mail. Join the i'm Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ChangeWorld What exactly are you trying to accomplish? You don't want automatic numbering, but what do you want? There is an option for the footmisc package that allows symbols rather than numbers. Is that sufficient? See the attached .pdf. Cheers, /Bob newfile1.pdf Description: Adobe PDF document
Re: Lyx 1.5.3 not showing references from Jabref 2.3.1
On Thu, May 29, 2008 at 8:45 PM, vu [EMAIL PROTECTED] wrote: rgheck wrote: Export the document to LaTeX and try compiling it manually. Report the error messages. It sounds to me as if either LyX or LaTeX isn't finding the .bib file, and there are various reasons this can happen. I did this, and the output in the terminal was as follows: [EMAIL PROTECTED]:~$ bibtex CONS6017-Essay This is BibTeX, Version 0.99c (Web2C 7.5.6) The top-level auxiliary file: CONS6017-Essay.aux I couldn't open style file authordate1.bst ---line 3 of file CONS6017-Essay.aux : \bibstyle{authordate1 : } I'm skipping whatever remains of this command I found no style file---while reading file CONS6017-Essay.aux (There were 2 error messages) I was using the .bst file authordate1, but I have tried using other .bst files (naturemag, authordate2) with the same result. Because the message said it was missing a style file, I tried using a different style file, one that was not part of the default Lyx installation (the same .bst files, authordate1, harvard, agsm). DOING THIS SOLVED THE PROBLEM. I explored the /usr/share/texmf-texlive/bibtex/bst folder, which is where I assume the .bst files are located upon installation. I noticed many were missing (the ones I had a problem with initially). However, I'm perplexed as to why the .bst files included in the Lyx installation have disappeared. How to I return it back to its original state? Can I put the bst files I've downloaded from CTAN and elsewhere into the usr/.../bst folder, and if so, under which subdirectory (ams, babelbib, base, index, natbib)? Why have the Lyx bst files disappeared? -- View this message in context: http://www.nabble.com/Lyx-1.5.3-not-showing-references-from-Jabref-2.3.1-tp17510841p17550564.html Sent from the LyX - Users mailing list archive at Nabble.com. LyX doesn't install .bst or .cls or anything TeX related. It is solely a frontend for TeX. In your case it is texlive that is installing these files. When you upgraded Ubuntu it more than likely overwrote your /usr/share folder deleting all the files and putting the more 'up-to-date' files, back into: /usr/share/texmf-texlive/bibtex/bst I'm pretty sure this is a system folder, hence it will be upgraded when the system packages are upgraded. You should not be putting your personal .bst files in a 'system' folder. They should be put in a 'local' folder such as /usr/local/ or wherever Ubuntu stores the local texmf folder. There should also be a ~/.texmf-var folder, which is where I put my custom .bst and .cls files. I know my home folder will not be touched during upgrades or reinstalls, etc. Especially since I have /home on a separate partition :-}. Cheers, /Bob
Re: Lyx-users mail server error
On Fri, May 30, 2008 at 12:03 AM, [EMAIL PROTECTED] wrote: On Thu, 29 May 2008, Jeremy C. Reed wrote: I am trying to attach a example lyx file to ask a question. But my messages keep getting rejected with the error below. The example file is only 98K. Thanks. Please consider making a way smaller example. I agree. Please make the example much smaller. In fact, make it so small that it only contains precisely what you need to illustrate your problem. /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr Why all the confusion? The original error message says: Sorry, I don't accept messages larger than 6 bytes If my math is correct (and I think it is :-}), 98K is greater than 60K. Your file needs to be less than 60K. /Bob
Re: Lyx-users mail server error
On Fri, May 30, 2008 at 8:50 AM, Adrian Peter [EMAIL PROTECTED] wrote: Guess my real question should have been: why such a small limit on the file size? I suppose since it's a large distribution list that things would get problematic with very large files. Just figured that 98K wasn't that large. Correct. This is a distribution list which is archived so you could begin to imagine the space requirements needed if multiple people sent large files to the list. Hence, the size limitation. Even given the decrease in storage prices :-}. You also have to remember that the LyX software and mailing lists are free services (for the end users; us) so I have no problem with these limitations. Actually, I am extremely great full for them. /Bob
Re: Adding extra word to table of contents, in a particular spot
On Fri, May 30, 2008 at 3:36 PM, Adrian Peter [EMAIL PROTECTED] wrote: Hi, I need to add the word 'CHAPTER' the TOC of my thesis. It should come after List of Tables, List of Figures and the Abstract listing before all my chapters. I add the following line ERT after including the TOC, List of Tables, and List of Figures in Lyx: \addtocontents{toc}{\protect\addvspace{10pt}\noindent{CHAPTER\par}\protect\hfill\par}{} After this I have my Abstract. The TOC now looks like this: List of Tables ...xx List of Figures...xx CHAPTER Abstract...xx 1 Chapter 1 Title ..xx However I want the word 'CHAPTER' to come after the 'Abstract' entry. How can I force this to occur? I have tried to put the ERT line after the Abstract but this moves the word CHAPTER after my first chapter title. Thank you. Adrian Try: \addcontentsline{toc}{chapter}{CHAPTER} after the abstract. Cheers, /Bob
Re: Adding extra word to table of contents, in a particular spot
On Fri, May 30, 2008 at 6:33 PM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 3:36 PM, Adrian Peter [EMAIL PROTECTED] wrote: Hi, I need to add the word 'CHAPTER' the TOC of my thesis. It should come after List of Tables, List of Figures and the Abstract listing before all my chapters. I add the following line ERT after including the TOC, List of Tables, and List of Figures in Lyx: \addtocontents{toc}{\protect\addvspace{10pt}\noindent{CHAPTER\par}\protect\hfill\par}{} After this I have my Abstract. The TOC now looks like this: List of Tables ...xx List of Figures...xx CHAPTER Abstract...xx 1 Chapter 1 Title ..xx However I want the word 'CHAPTER' to come after the 'Abstract' entry. How can I force this to occur? I have tried to put the ERT line after the Abstract but this moves the word CHAPTER after my first chapter title. Thank you. Adrian Try: \addcontentsline{toc}{chapter}{CHAPTER} after the abstract. Cheers, /Bob I just realized that you probably didn't want the CHAPTER item to be numbered. One way to fix that is to use the tocloft package. In the Preamble insert: \usepackage{tocloft} Then edit the \addcontentsline to read: \addtocontents{toc}{\cftpagenumbersoff{chapter}} \addcontentsline{toc}{chapter}{CHAPTER} \addtocontents{toc}{\cftpagenumberson{chapter}} Cheers, /Bob
Re: Adding extra word to table of contents, in a particular spot
On Sat, May 31, 2008 at 11:53 AM, Adrian Peter [EMAIL PROTECTED] wrote: Hi Bob, Thank you very much for your help. Sorry to bug everyone with these questions. I only have a few more weeks to finish my thesis and I am determined to use Lyx to get it done :). Not being a Lyx/Latex expert, the help I'm getting from this user group is invaluable. If I can get all these issues fixed, I am will turn over a golden Lyx template to the university so lots of other students can benefit. I have another TOC question. For some reason, the words 'Abstract', 'List of Tables' and 'List of Figures' are not in all-caps in the TOC. Is there a way to force them to be in caps? All the other first level titles are in caps as required. I looked at the Lyx TOC setup and it only lets me choose the depth being displayed not the formatting. Thank you again. Adrian Just as an aside, this is a bottom posting mail list :-}. I'm not sure if there is a way to 'force' these names to be in caps by default, but there is a way to call them anything you like with commands like: \renewcommand\contentsname{TABLE OF CONTENTS} \renewcommand\listfigurename{LIST OF FIGURES} \renewcommand\listtablename{LIST OF TABLES} \renewcommand\abstractname{ABSTRACT} Although this puts the items in caps within the document and the toc. Not sure if that's what you want. I'm also not sure what you're doing to insert the lot, lof, and abstract into the toc in the first place, which would play a role in all of this too. Cheers, /Bob
Re: Adding extra word to table of contents, in a particular spot
On Sat, May 31, 2008 at 12:34 PM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Sat, May 31, 2008 at 11:53 AM, Adrian Peter [EMAIL PROTECTED] wrote: Hi Bob, Thank you very much for your help. Sorry to bug everyone with these questions. I only have a few more weeks to finish my thesis and I am determined to use Lyx to get it done :). Not being a Lyx/Latex expert, the help I'm getting from this user group is invaluable. If I can get all these issues fixed, I am will turn over a golden Lyx template to the university so lots of other students can benefit. I have another TOC question. For some reason, the words 'Abstract', 'List of Tables' and 'List of Figures' are not in all-caps in the TOC. Is there a way to force them to be in caps? All the other first level titles are in caps as required. I looked at the Lyx TOC setup and it only lets me choose the depth being displayed not the formatting. Thank you again. Adrian Just as an aside, this is a bottom posting mail list :-}. I'm not sure if there is a way to 'force' these names to be in caps by default, but there is a way to call them anything you like with commands like: \renewcommand\contentsname{TABLE OF CONTENTS} \renewcommand\listfigurename{LIST OF FIGURES} \renewcommand\listtablename{LIST OF TABLES} \renewcommand\abstractname{ABSTRACT} Although this puts the items in caps within the document and the toc. Not sure if that's what you want. I'm also not sure what you're doing to insert the lot, lof, and abstract into the toc in the first place, which would play a role in all of this too. Cheers, /Bob Oops, forgot to mention that you put these command within the body of the document not in the preamble. /Bob
Re: Adding extra word to table of contents, in a particular spot
On Sat, May 31, 2008 at 1:09 PM, Adrian Peter [EMAIL PROTECTED] wrote: On Sat, May 31, 2008 at 2:34 PM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Sat, May 31, 2008 at 11:53 AM, Adrian Peter [EMAIL PROTECTED] wrote: Hi Bob, Thank you very much for your help. Sorry to bug everyone with these questions. I only have a few more weeks to finish my thesis and I am determined to use Lyx to get it done :). Not being a Lyx/Latex expert, the help I'm getting from this user group is invaluable. If I can get all these issues fixed, I am will turn over a golden Lyx template to the university so lots of other students can benefit. I have another TOC question. For some reason, the words 'Abstract', 'List of Tables' and 'List of Figures' are not in all-caps in the TOC. Is there a way to force them to be in caps? All the other first level titles are in caps as required. I looked at the Lyx TOC setup and it only lets me choose the depth being displayed not the formatting. Thank you again. Adrian Just as an aside, this is a bottom posting mail list :-}. I'm not sure if there is a way to 'force' these names to be in caps by default, but there is a way to call them anything you like with commands like: \renewcommand\contentsname{TABLE OF CONTENTS} \renewcommand\listfigurename{LIST OF FIGURES} \renewcommand\listtablename{LIST OF TABLES} \renewcommand\abstractname{ABSTRACT} Although this puts the items in caps within the document and the toc. Not sure if that's what you want. I'm also not sure what you're doing to insert the lot, lof, and abstract into the toc in the first place, which would play a role in all of this too. Cheers, /Bob I have no idea why the abstract, lot, lof are in the TOC. Our graduate school has all kinds of crazy formatting requirements and peculiarities :)! Everything as to be exactly matching to their specifications; otherwise, your thesis does not get accepted. Yeah, I know all about trying to match universities theses formatting requirements. I just finished my thesis last August :-}. It always amazes me that all of these universities have these strict formatting requirements and hundreds of students have created templates in one way or another to follow the requirements, but most universities don't provide students with templates. It just doesn't make any sense, if they require it, they should provide templates. Instead thousands of students fight and fight to format their theses. ??? Even though I experienced a fairly steep learning curve with LyX it was still much much nicer to work with than M$ Word, which is what my advisor wanted me to use. I said no :-}. /Bob
Re: Problems setting up LyX
On Sun, Jun 1, 2008 at 2:20 AM, RyanC [EMAIL PROTECTED] wrote: Hello, I'm having a lot of general problems getting LyX set up Mepis 7 (binary compatible with Etch). I installed a 1.4 version via Synaptic, to resolve as many dependencies as possible. Then I uninstalled this version and installed 1.5.3 with Kpackage. I'm finding that I have lots of missing classes and layout files, no PDF or DVI functionality, problems with output, etc. I had tetex installed but then changed to texlive. I don't have it all installed but quite a lot (still on dial up at the moment). I search Synaptic for relevant PDF and DVI packages (no pdflatex) but there's not much that's intuitive. I'm sure I'm doing everything wrong. Any suggestions? Kind regards, Ryan Once you have texlive fully installed. Run Tools-Reconfigure in LyX a couple of times to see if it picks up the texlive installation. Cheers, /Bob
Re: Subfigure caption spacing
On Sun, Jun 1, 2008 at 1:42 PM, Adrian Peter [EMAIL PROTECTED] wrote: Hi, I am getting some weird spacing issues in my subfigure captions. The spacing after the identifiers (a), (b), (c), etc. all seem to vary. I have attached an example of the output as a pdf. How can I fix this issue? Thank you. Adrian Peter, You've been having a lot of different issues with what seems like an LyX problem. Are you using a University provided .cls or .sty file? This does not seem like the behavior from a standard LaTeX document class. Generally, the subfigure captions would be justified and hyphenated, but your subcaptions are not. ?? Cheers, /Bob
Re: How to stop Figure location broken when I open file in different computer?
On Thu, Jun 5, 2008 at 7:06 AM, Erez Yerushalmi [EMAIL PROTECTED] wrote: Dear all, I don't seem to find the answer in the help file or in the forum, so I hope you can help me. I'm using LyX 1.5.5 on XP. I'm slowly building a larger and larger file and adding more and more figures. Assume my figure is located in: C:/PHD/Notes on Dynamic GE/Diagrams/risk aversion.jpg LyX converts it to an EPS and dumps it in the same folder location as the original figure. Then LyX uses it, and everything is fine. The PROBLEM arrises when i take my file to a different computer, and the links obviously gets broken. I have been trying to keep the figure and the lyx file close together say: C:/PHD/Notes on Dynamic GE/Files/Notes v1.lyx I am looking for a way in which all I do is copy my work on a disk-on-key and open it in another computer, and the lyx file will know where to find the figure. Can anyone give me advice about this. Thanks a lot, Erez -- View this message in context: http://www.nabble.com/How-to-stop-Figure-location-broken-when-I-open-file-in-different-computer--tp17669372p17669372.html Sent from the LyX - Users mailing list archive at Nabble.com. I think the problem is that the lyx file and pictures need to be in the same directory or the pictures in a subdirectory. This way LyX will use relative paths otherwise how do expect the program to follow your logic of where you are storing the files. Hence, LyX stores the absolute path. To clarify, here's an example Put your LyX files in: C:/PHD/Notes on Dynamic GE/Files/Notes v1.lyx Put your pictures in either: C:/PHD/Notes on Dynamic GE/Files/risk aversion.jpg C:/PHD/Notes on Dynamic GE/Files/Diagrams/risk aversion.jpg The point is the pictures need to be at the same level or below the LyX file for LyX to use a relative path. Cheers, /Bob
Re: How to stop Figure location broken when I open file in different computer?
On Thu, Jun 5, 2008 at 8:08 AM, Erez Yerushalmi [EMAIL PROTECTED] wrote: Hi bob, Thanks for this answer. But how do I write a relative path? You don't. When you properly set up the file hierarchy as I described, LyX does it for you. All you have to do is insert a picture and you'll notice that the path is relative. The problem is when you go outside of the hierarchy that contains your LyX file, then LyX puts in an absolute path for you because that's its only way to locate it. However, if you stay within the directory or below the directory of the LyX file then LyX puts in a relative path because it knows where the picture is relative to the lyx file. Hope that made sense. I think that below you wrote in absolute. Right? No. That was just an example of how to set up the document paths (or hierarchy) on your hard drive. It had nothing to do with LyX. Cheers, /Bob
Re: floating text-wrap figures
On Mon, Jun 9, 2008 at 10:50 AM, James Sutherland [EMAIL PROTECTED] wrote: I have noticed in LyX1.6.0 there is support for floating a text-wrap figure. However, given the bugs in the current release (see http://bugzilla.lyx.org/show_bug.cgi?id=4927), I am still using 1.5.5. Does anyone know if there is a way to float a text-wrap figure in 1.5.5? Thanks, James Does Insert-Float-Text Wrap Float not work? You can also look at Help-Embedded Objects-Section 3.2.2 for more info, looks like you would need to use the wrapfig package. Cheers, /Bob
Re: floating text-wrap figures
On Mon, Jun 9, 2008 at 11:44 AM, James Sutherland [EMAIL PROTECTED] wrote: Does Insert-Float-Text Wrap Float not work? You can also look at Help-Embedded Objects-Section 3.2.2 for more info, looks like you would need to use the wrapfig package. Cheers, /Bob I have inserted the figure, but it doesn't float too well. It seems to be pinned to the point of insertion. See attached image. In this case, a footnote runs through the figure. Perhaps this is a problem/limitation with wrapfig? James Have you followed the advise in Help-Embedded Objects-Section 3.2.2? I've copied the advise below: Quote Note: Text wrap float floats are fragile! E. g. having a figure too close to the bottom of the page can mess things up in the way that the float doesn't appear in the output or that it is placed over some other text. In general: • Wrap floats should not be placed in paragraphs that run over a page break. That means that wrap floats should better be inserted to the exact place when the document is nearly finished and you are able to estimate where page breaks will appear. • Wrap floats should either be placed in an own paragraph before the paragraph where they should wrap into or within a paragraph. • Wrap floats in consecutive paragraphs may cause troubles, so assure that there is a text paragraph between them as separator. • Wrap floats are not allowed in section headings or tables. EndQuote It seems you may want to wait until your document is finished and then adjust as necessary, Cheers, /Bob
Re: Kudos for the website layout!
On Mon, Jun 9, 2008 at 2:18 PM, Andrés Becerra Sandoval [EMAIL PROTECTED] wrote: Hello, As a regular LyX user I am delighted with the web site layout and the screencasts in the visual tour. This is great for the expansion of the LyX user base! kudos for all the contributors ! -- Andrés I'd like to second that!! I love sending prospective users to the website now. It has been designed and written very well. Thank you. Cheers, /Bob
Re: Line spacing in author
On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof [EMAIL PROTECTED] wrote: Hi I'm trying to change the line spacing in the author environment (in a report). Lyx shows the change perfectly, but when I view it in pdf or dvi the line spacing setting is ignored. Even when I try to insert vertical spaces they are partly ignored. Actually the size of first vertical space in author is used for the second one, and no space is shown where the first one is. Also, try making the first one a VFill and the document won't compile. -- Rune From what I found on the internet, Authors should be added with the, \and, command with the command being put in ERT. Also, using ERT line breaks, \\, rather than the LyX ctrl-enter seems to work better for me. I've attached an example. Cheers, /Bob author_spacing_test.lyx Description: application/lyx
Re: Line spacing in author
On Wed, Jun 11, 2008 at 8:44 AM, Rune Schjellerup Philosof [EMAIL PROTECTED] wrote: Bob Lounsbury skrev: On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof [EMAIL PROTECTED] wrote: Hi I'm trying to change the line spacing in the author environment (in a report). Lyx shows the change perfectly, but when I view it in pdf or dvi the line spacing setting is ignored. Even when I try to insert vertical spaces they are partly ignored. Actually the size of first vertical space in author is used for the second one, and no space is shown where the first one is. Also, try making the first one a VFill and the document won't compile. From what I found on the internet, Authors should be added with the, \and, command with the command being put in ERT. Also, using ERT line breaks, \\, rather than the LyX ctrl-enter seems to work better for me. I've attached an example. I did not know that about \and. But that wasn't really what I was having trouble with. Also in your example, the spacing between the lines of the author name, and the university name is not double, as the paragraph has been set. -- Rune Ok. Then try this. /Bob author_spacing_test.lyx Description: application/lyx
Re: Line spacing in author
On Wed, Jun 11, 2008 at 10:04 AM, Rune Schjellerup Philosof [EMAIL PROTECTED] wrote: Bob Lounsbury skrev: On Wed, Jun 11, 2008 at 8:44 AM, Rune Schjellerup Philosof [EMAIL PROTECTED] wrote: Bob Lounsbury skrev: On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof [EMAIL PROTECTED] wrote: I'm trying to change the line spacing in the author environment (in a report). Lyx shows the change perfectly, but when I view it in pdf or dvi the line spacing setting is ignored. Even when I try to insert vertical spaces they are partly ignored. Actually the size of first vertical space in author is used for the second one, and no space is shown where the first one is. Also, try making the first one a VFill and the document won't compile. From what I found on the internet, Authors should be added with the, \and, command with the command being put in ERT. Also, using ERT line breaks, \\, rather than the LyX ctrl-enter seems to work better for me. I've attached an example. I did not know that about \and. But that wasn't really what I was having trouble with. Also in your example, the spacing between the lines of the author name, and the university name is not double, as the paragraph has been set. Ok. Then try this. Well, I forgot to tell, I actually don't want double spacing, but 1.5 or something. I guess I should report it as a bug. Ok, now you're just being picky :-}. I don't think this is a bug, what you are trying to do is not standard LaTeX formatting within an author environment. Anyways, I seem to have fixed the bug by using ctrl-enter at the start of the next author rather than the end of the author. See the attached example. Cheers, /Bob author_spacing_test.lyx Description: application/lyx
Re: Line spacing in author
On Wed, Jun 11, 2008 at 12:25 PM, Rune Schjellerup Philosof [EMAIL PROTECTED] wrote: Nice, the workaround seems to work. Anoying when LaTeX is so much worse at producing the desired result than Lyx. And no errormessages, even though they probably wouldn't have made much sense, they rarely do. -- Rune I'm confused? It wasn't a workaround and neither LaTeX nor LyX is annoying. Also, there were no error messages because it wasn't an error, other than maybe user error. What we learned was the proper way of formatting the entries in LyX and hence LaTeX. LyX is nothing more than a gui frontend for LaTeX. Both LaTeX and LyX produce the exact same result. I've attached the example using ERT LaTeX commands to produce the exact same result as what we've done with native LyX commands, which are nothing more than a frontend to LaTeX commands. As you can see LyX and LaTeX output are identical. Example: When you insert ctrl-enter in LyX you are actually inserting \\ in the document. You can see this by using View-View Source that shows you how your document is being formatted as you enter things in the LyX WYSIWYG interface to LaTeX. Hope that helps explain things. You have to insert the proper syntax to get the proper output. Cheers, /Bob
Re: Line spacing in author
On Wed, Jun 11, 2008 at 1:34 PM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Wed, Jun 11, 2008 at 12:25 PM, Rune Schjellerup Philosof [EMAIL PROTECTED] wrote: Nice, the workaround seems to work. Anoying when LaTeX is so much worse at producing the desired result than Lyx. And no errormessages, even though they probably wouldn't have made much sense, they rarely do. -- Rune I'm confused? It wasn't a workaround and neither LaTeX nor LyX is annoying. Also, there were no error messages because it wasn't an error, other than maybe user error. What we learned was the proper way of formatting the entries in LyX and hence LaTeX. LyX is nothing more than a gui frontend for LaTeX. Both LaTeX and LyX produce the exact same result. I've attached the example using ERT LaTeX commands to produce the exact same result as what we've done with native LyX commands, which are nothing more than a frontend to LaTeX commands. As you can see LyX and LaTeX output are identical. Example: When you insert ctrl-enter in LyX you are actually inserting \\ in the document. You can see this by using View-View Source that shows you how your document is being formatted as you enter things in the LyX WYSIWYG interface to LaTeX. Hope that helps explain things. You have to insert the proper syntax to get the proper output. Cheers, /Bob Sorry, forgot the attachment. author_spacing_test.lyx Description: application/lyx
Re: printing letter size
On Sun, Jun 15, 2008 at 4:52 PM, Adrian Peter [EMAIL PROTECTED] wrote: Hi, I am having some minor problems with my margin settings. In the preamble I have the following line to make my document 1in margins throughout for letter size paper: \usepackage[letterpaper,hmargin=1in,vmargin=1in]{geometry} However, when I export to PDF using dvipdfm I get pages that are closer to A4. I read online that it may be necessary to pass the option -p letter to dvipdfm. Is there a way to do this from Lyx or is there another work around? Thank you. Adrian The Document Settings default uses the geometry package (no need to use the Preamble). Have you tried using the document settings? 1) Document-Settings-Page Layout-Paper Size-US letter. 2) Document-Settings-Page Margins-(Set as desired) Cheers, /Bob
Re: Latex commands in math mode
On Mon, Jun 16, 2008 at 2:17 AM, Friedrich Hagedorn [EMAIL PROTECTED] wrote: Hello, how can I add real latex commands in the math mode? I use Lyx 1.5.1 for Linux. E.g. I want to insert a \intertext{blah blah} before a equation, or add \\[2em] after a euqation. I tried Ctrl-l and '\' but this didnt work. Thanks, Friedrich A quick google search revealed that \intertext is used in the AMS math environment. So you need to enable: Document-Settings-Math Options-Use AMS math package Then you should be able to use \intertext in at least the AMS 'align' environment. You should probably research how and where this command is used. AMS align is found under Insert-Math. I've attached a few screenshots showing the use of \intertext. I'm not sure why you would need to use \\[2em] in a math environment. I show the use of it outside of the math environment. Cheers, /Bob attachment: Test1.jpgattachment: Test2.jpgattachment: Test3.jpg
Re: Latex commands in math mode
On Mon, Jun 16, 2008 at 9:04 AM, Friedrich Hagedorn [EMAIL PROTECTED] wrote: On Mon, Jun 16, 2008 at 08:17:50AM -0600, Bob Lounsbury wrote: On Mon, Jun 16, 2008 at 2:17 AM, Friedrich Hagedorn [EMAIL PROTECTED] wrote: how can I add real latex commands in the math mode? I use Lyx 1.5.1 for Linux. E.g. I want to insert a \intertext{blah blah} before a equation, or add \\[2em] after a euqation. I tried Ctrl-l and '\' but this didnt work. A quick google search revealed that \intertext is used in the AMS math environment. So you need to enable: Document-Settings-Math Options-Use AMS math package Then you should be able to use \intertext in at least the AMS 'align' environment. You should probably research how and where this command is used. AMS align is found under Insert-Math. I've attached a few screenshots showing the use of \intertext. Oh, thanks. Is the and in the second screenshot typed with the \intertext command or are theire two seperate math mode environments? This was using the \intertext command, not two seperate math mode environments. I'm not sure why you would need to use \\[2em] in a math environment. I show the use of it outside of the math environment. I know that. And i want to have the same possibility in the math mode. The \\[2em] was just an example (I need it some times ago in an array environment to correct the vertical spacing). I want to insert _arbitrary_ latex commands in the math mode. Otherwise I must type my equations in a latex-ERT box. Here is an other example. \documentclass[a4paper]{scrartcl} \usepackage{mathpazo} \usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} \usepackage{amsmath} \begin{document} This \begin{align*} f(z) :=z^{2}\\ \intertext{with the substitution $z=\sqrt{x^2+y^2}$} =x^2+y^2 \end{align*} is important. \end{document} How would you input the \intertext command with lyx? I started with \intertext \{with and now I am out of the brackets. It seems this \intertext command is not properly handled in LyX. I had the same problem, when you press 'space' it jumps you out of the command. You may want to file this as a bug or feature enhancement. I'm not sure which it would be. You may be stuck to ERT for this true AMS functionality. Cheers, /Bob
Minipage not aligning to margin
Hi all, Shouldn't using 100% textwidth in a minipage align the minipage box with the page margins? A simple LyX Note/framed aligns properly to the page margins or am I doing something wrong. I've attached a simple example, along with a picture showing the minipage box extending into the margin. Thanks, /Bob box-test.lyx Description: application/lyx attachment: Box-test.jpg
Re: Minipage not aligning to margin
On Wed, Jun 18, 2008 at 3:40 AM, Helge Hafting [EMAIL PROTECTED] wrote: Bob Lounsbury wrote: Hi all, Shouldn't using 100% textwidth in a minipage align the minipage box with the page margins? A simple LyX Note/framed aligns properly to the page margins or am I doing something wrong. I've attached a simple example, along with a picture showing the minipage box extending into the margin. The minipage inside the frame has exactly the same width as the room between margins. You can verify that by putting A---horizontal fill---B inside the minipage. Put the same construct outside the minipage too, and see how the distance between A and B is the same in both cases. The problem is that the frame needs space too, some space for the lines and some space between line and contents so the lines doesn't touch the edges of the text. (The framing has internal margins) All this extra spacing is added outside the minipage, so the resulting framed box is then slightly wider than the minipage. And too big, if the minipage is 100% of the space between margins. Solutions: * Use a narrower box, and center the paragraph containing it so the box centers between the margins. * Use the framed note which seems to do what you want - except that it doesn't have that double border. * Figure out exactly how much widt the framing needs, and set the box width to whatever text widt minus framing spacing is. Cumbersome, especially if you later change the type of framing. * Ask around in latex forums - perhaps a better solution exists. You may have to use ERT to use them though. Helge Hafting Helge, Thanks for the excellent description of how the minipage functions. It shouldn't be a problem for me to just adjust the textwidth (framed box) to fit the page margins as I am following some document guidelines requiring a double border (so it shouldn't change in the future). Thanks, /Bob
Re: How to update LyX 1.5.3 to 1.5.5 or higher
On Wed, Jun 18, 2008 at 9:12 AM, Waluyo Adi Siswanto [EMAIL PROTECTED] wrote: I am using LyX 1.5.3 under Ubuntu(ME). How can I update to version 1.5.5 or higher, I could not find the update in Synaptic package manager. Is there any command that do the update directly to the LyX site. Could anyone help me.. Programs available under Synaptic are pre-compiled binaries by the package maintainers for Ubuntu. The only way you'll get a higher version is if the maintainers update the package version or provide an updated package through the backports. However, it's extremely easy to compile LyX yourself from source. Just install (from Synaptic): automake autoconf gcc g++ libqt4-dev libaiksaurus-dev Then get the LyX 1.5.5 source and: ./configure make make install Done. If you want to maintain LyX 1.5.3 (and have two different versions of LyX) then you would: ./configure --with-version-suffix=-1.5.5 make make install Cheers, /Bob
Re: How to update LyX 1.5.3 to 1.5.5 or higher
On Wed, Jun 18, 2008 at 10:29 PM, John McCabe-Dansted [EMAIL PROTECTED] wrote: On Thu, Jun 19, 2008 at 10:18 AM, Waluyo Adi Siswanto [EMAIL PROTECTED] wrote: I have installed the packages you mentioned, except libaiksaurus-dev as I could not find it (from synaptic) It is probably easier just to do apt-get build-dep lyx on the terminal command line. This will get all packages Ubuntu needs to build lyx-1.5.3, which will almost certainly be the same as lyx-1.5.5. (and if not you can always get those individual packages the way Bob suggested.) When compiling LyX from source, additional packages are needed to obtain full functionality. The default binary installation (Synaptic/apt-get) will not install these additional packages because they are not required nor suggested. Just wanted to clarify. Cheers, /Bob
Re: Subfigure captions without parenthesis
On Thu, Jun 19, 2008 at 6:25 PM, Adrian Peter [EMAIL PROTECTED] wrote: Hi, I would like to have subfigures labeled with a captial letter without parenthesis, i.e. 'A' instead of '(a)'. Is there a way to insert some ERT that would accomplish this? I tried to change the subfigure.sty by removing the '()' around the following two commands: \providecommand*{\thesubfigure}{\Alph{subfigure}} \renewcommand*{\thesubfigure}{\Alph{subfigure}} But this has no effect when I designate a figure as subfigure in the Lyx dialog. Thank you in advance for your help. Adrian I don't think you need to modify subfigure.sty. I just put your: \renewcommand{\thesubfigure}{\Alph{subfigure}} in a document using article and book classes and it worked (changed subfigure labels from (a) to A). Cheers, /Bob
Re: Problems with LyX 1.5.5 after MAC OS X update
On Fri, Jun 20, 2008 at 1:56 PM, James Sutherland [EMAIL PROTECTED] wrote: On Jun 20, 2008, at 12:37 PM, Antipas wrote: Hi, yeah I get the same problem as the other persons above. Gui stops loading and looks the same as on the screenshot by Nicola Focci. I´ve also trief the added version by Bennett. It does not work. Lyx 1.5.4 is running fine, version 1.5.5 fails and also the 1.6 beta3 is not working at all. I doubt it is an error introduced by MacOS 10.5.3 as I´m still using 10.5.2. Therefore I think it´s obviously something wrong with lyx and the error is due to chances made in the step from 1.5.4 to 1.5.5. -- View this message in context: http://www.nabble.com/Problems-with-LyX-1.5.5-after-MAC-OS-X-update-tp17588786p18035203.html Sent from the LyX - Users mailing list archive at Nabble.com. I don't see this on OSX 10.5.3. I have LyX running on two Macs: a MacBook Pro and a MacBook. Both were upgraded from LyX 1.5.4 without problems. James I no longer have OSX installed on my old iBook (OSX got bumped for Ubuntu). Since some people are having problems and some are not. Could there be an underlying issue with someones TeX installation? Maybe some missing/corrupted fonts needed by LyX? I know when I was using OSX there seemed to be at least three different ways to install a TeX distribution and unlike Linux the packages needed by LyX were not automatically installed. Just trying to help troubleshoot. Wish I had solutions instead. Cheers, /Bob
Re: Lyx crashes in Hardy Heron
On Mon, Jun 23, 2008 at 1:04 PM, elswood [EMAIL PROTECTED] wrote: I have installed lyX 1.53 from the Ubuntu 8.4 repositories. But it frequently crashes when accessing lyx document files on my computer. Is this a bug that is fixed with lyX 1.55? And how do I install it? (It isn't in the repositories.) If someone could let me know how to proceed I would be grateful. Thanks! I've just recently installed 8.04 so I cannot confirm or deny. I know there were issues with newer qt4 packages and LyX. You could search the archive for this info, if I remember correctly the fix was to either downgrade qt4 or upgrade LyX. To install LyX from source please reference this very recent post: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg65435.html Cheers, /Bob
Re: Footnote without numbering (new)
On Wed, May 28, 2008 at 6:23 AM, Adrian Peter [EMAIL PROTECTED] wrote: Hi, Is there a way to enter footnote without the automatic numbering? I think I saw something in the archives but it was for Lyx version 1.1.6 and the explanation was a little confusing. Thank you. Adrian _ Change the world with e-mail. Join the i'm Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ChangeWorld Just wanted to add that I found another way to eliminate the footnote numbering. Taken from: ftp://tug.ctan.org/pub/tex-archive/info/latex4wp/latex4wp.pdf It does eliminate all footnote numbering so if you need some footnotes numbered and some not it may take a fair amount of tweaking. Just put (in the Preamble): \renewcommand{\thefootnote}{} Cheers, /Bob
Re: LyX website displays incorrectly w/ Safari
On Mon, Jul 28, 2008 at 4:44 PM, Christian Ridderström [EMAIL PROTECTED] wrote: On Mon, 28 Jul 2008, Jens Noeckel wrote: The correct URI should be http://www.lyx.org/farm/pub/skins/lyx/lyx.css I don't know how your server is set up, but relative addresses should always be fine, and even your intended approach should be doable: Everything should work fine if you leave out the domain, provided you _also_ leave out the http:/ (this would have been incorrect syntax in any case because of the missing second backslash). Then either make the path relative to the current page, or start with /farm/... to specify an absolute address from the server root. Hi, I've added a hack to the code, prepending the base domain. Please confirm that it now looks ok in Safari (The HTML seems fine to me). Just out of curiosity, and in case I want to replace the hack with something that works better, is this how the relative URI should appear: /farm/pub/skins/lyx/lyx.css Best regards, /Christian -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr Confirmed here. Thanks. /Bob
Re: Holy Moly!
On Wed, Jul 30, 2008 at 4:02 AM, Rudi van der Linde [EMAIL PROTECTED] wrote: Hey, @sshole? You still breathing?! Have you seen my original posts and attempts at un-subscibing? If yes, then you must be a moron b/c it's clear that my actions were in alignment with the directions. If you haven't, then, well, you're a moron for speaking out of turn. Its nice to see such _mature_ conversation on the list. Please keep in mind that many people read this list and most of them are not able to do anything about your problem. The instructions are quite clear and people will assist you if you but ask politely. I was wondering - do you realise that you have a read request on the emails you send to the list? Do you know that your mailbox will be flooded with read confirmation messages because you will receive one from each person that reads your abusive messages? I think not. Else this simple problem would have sorted itself out a long time ago without you having to resort to profanity. Please keep in mind that the whole world does not revolve around you and neither does it get dark when you sit down. I am pleased to hear that you have been removed from the list. I was just wondering why you would still continue your abuse after the fact. Please leave this community alone and enjoy your existence somewhere else. Rudi -- Note: This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.ansys.co.za/index.html or [EMAIL PROTECTED] for full details. I say we just treat [EMAIL PROTECTED] as spam and block his email from all LyX mailing lists. Obviously, the emailer is a robot, not capable of reading or following instructions or providing intelligent feedback if something is wrong. Cheers, /Bob
Re: problems with class and/or layout?
On Thu, Jul 31, 2008 at 3:49 AM, alexxx [EMAIL PROTECTED] wrote: Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro -- View this message in context: http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html Sent from the LyX - Users mailing list archive at Nabble.com. Well, that's strange it works fine for me. So, first things first. After you installed elsart and did a texhash and reconfigure on LyX. Did you check to make sure that it was actually recognized by LyX? Meaning 'article (Elsevier)' is actually listed in Document-Settings-Document Class or Help-LaTeX Configuration Section 4.11 says elsart is found. Cheers, /Bob
Re: Labelling equations
On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser [EMAIL PROTECTED] wrote: Hi, I have a problem with labelling equations. If I want to label an equation I put the cursor in the pink box surrounding the equation. Then I go to insert and to label. The function label is written in grey letters now, i.e. inactive. If the cursor is outside the pink box the function label works, but I cannot label the equation. Thanks in advance! Christopher I'm a little confused you may have to explain further. What do you mean the label works, but I cannot label the equation? How do you want to label it? What you have done should work. When you create a pdf of you file the equation should be numbered for instance (1) in article class because you entered Insert-Label. Cheers, /Bob
Re: Labelling equations
On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser [EMAIL PROTECTED] wrote: I admit, that my last sentence is very confusing. Just forget about it. What I meant was: If I put the cursor before or behind the math box, i.e in the normal text, I can use the label function. As soon as I put the cursor in the math box the label function is inactive. Therefore I cannot label the equation in the math box. As long as I cannot asign a label to the equation it makes no sense to look at the pdf I guess. It sounds as if you have a problem with the installation of LyX. This is obviously not normal behavior. I would trying reinstalling LyX. It may help developer's to know what platform you are using and what version of LyX. You may also need to file a bug report if reinstalling doesn't help. Cheers, /Bob
Re: Labelling equations
On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser [EMAIL PROTECTED] wrote: I sorry, but I don't understand your answer completely. I want to give my equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the purpose of the label function? If not, what function doe that? To the first part of your answer. The equations I want to label are centered and stand alone in their row. I centered them after writing them by using the paragraph settings. To your answer Bob: I am using a mac book with Mach OS X version 10.5.3. The version of LyX I am using is LyX/Mac 1.5.5. Thank you again very much for your help. Greetings, Chris Ok. I understand now. You're just not using the program correctly :-}. Math equations are not adjusted with 'paragraph settings'. There are two types of equations in LyX: Inline and Display. Inline is an equation that is inline with text and Display is an equation centered on its own line. To access the two types use: Insert-Math-Inline Formula or Display Formula. Alternatively, you can use Command-M for Inline formula and Command+shift-M for Display formula on MacOSX. You may also want to take some time to read through some of the documentation available in the Help menu. For instance: Help-User's Guide Chapter 5 or Help-Math. These issues are explained there. Cheers, /Bob
Re: Labelling equations
On Sat, Aug 2, 2008 at 9:36 AM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser [EMAIL PROTECTED] wrote: I sorry, but I don't understand your answer completely. I want to give my equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the purpose of the label function? If not, what function doe that? To the first part of your answer. The equations I want to label are centered and stand alone in their row. I centered them after writing them by using the paragraph settings. To your answer Bob: I am using a mac book with Mach OS X version 10.5.3. The version of LyX I am using is LyX/Mac 1.5.5. Thank you again very much for your help. Greetings, Chris Ok. I understand now. You're just not using the program correctly :-}. Math equations are not adjusted with 'paragraph settings'. There are two types of equations in LyX: Inline and Display. Inline is an equation that is inline with text and Display is an equation centered on its own line. To access the two types use: Insert-Math-Inline Formula or Display Formula. Alternatively, you can use Command-M for Inline formula and Command+shift-M for Display formula on MacOSX. You may also want to take some time to read through some of the documentation available in the Help menu. For instance: Help-User's Guide Chapter 5 or Help-Math. These issues are explained there. Cheers, /Bob Oops, I forgot to add that Inline formula cannot be labeled whereas Display formula can. This is why the Label button is grayed out because you've inserted Inline formula not Display formula. Cheers, /Bob
Re: citations
On Fri, Aug 15, 2008 at 2:45 PM, Hesham Kamel [EMAIL PROTECTED] wrote: Hi, I am having difficulty getting references to show as author/year. I have attached the files. This is what I get: - (author?) [1] References [1] T. Abbott, M. Easton, and R. Schmidt. Magnesium for crashworthy compo- nents. In Magnesium Technology 2003 Symposium, 2-6 March 2003, Mag- nesium Technology 2003 Symposium, pages 227{30, San Diego, CA, USA, / 2003. Sch. of Phys. Mater. Eng., Monash Univ., Melbourne, Vic., Aus- tralia, TMS. -- Please advise, Thank you Hesham When you use Natbib you must use a Natbib compatible bibliography style, like: plainnat, unsrtnat, or abbrvnat. Cheers, /Bob
Re: Unavaible layouts
On Wed, Aug 20, 2008 at 4:43 AM, wangyq [EMAIL PROTECTED] wrote: I just installed the new release of lyx-1.6 and I am having problems with the output. When I load an existing *.lyx document it gives me a message: The layout file requested by this document article.layout is not usable. This is probably because a LaTeX class or style file required by it is not available. LyX will not be able to produce output. When I look into - Documents Settings Document Class it shows that all classes including the standard ones (article, report, etc) are unavailable. My OS is winxp. I don't know how to fix it. 2008-08-20 wangyq Run 'texhash' in a command prompt and then Tools-Reconfigure in LyX and report back. Cheers, /Bob
Re: Re: Unavaible layouts
On Wed, Aug 20, 2008 at 7:46 AM, wangyq [EMAIL PROTECTED] wrote: Thank you for your information. But the solution you suggested doesn't work on my computer. The reconfiguration step failed. All layouts are still shown as Unavailabel. Best Wang 1. STEP 1. Texhash. It works. See the following information. C:\Program Files\LyX 1.5.6texhash Creating the file name database... Deleting C:\CTeX\localtexmf\miktex\config\texmf0.fndb... C:\CTeX\localtexmf[cct][doc][dvipdfm][dvips][fonts][makeindex][miktex][pdftex ][tex][ttf2tfm][ty] done Deleting C:\CTeX\localtexmf\miktex\config\texmf1.fndb... C:\CTeX\texmf[bibtex][context][doc][dvipdfm][dvips][etex][fontname][fonts][gh ostscript][hbf2gf][makeindex][metafont][metapost][mft][miktex][mltex][nts][omega ][pdftex][psutils][scripts][source][tex][tex4ht][tpm][ttf2pfb][ttf2tfm][web2c] d one 2. STEP 2. Tools--reconfigure. It failed. See the following information. The system reconfiguration has failed.e Default textclass is usedbut Lyx may not able to work properly. Please reconfigure again if needed. Delete or rename (if you have custom stuff) the following folder and restart LyX. C:\Documents and Settings\username\Application Data\lyx15 Cheers, /Bob
Re: Harvard Style References
On Wed, Aug 20, 2008 at 8:09 AM, Curtis Simon [EMAIL PROTECTED] wrote: Hello there! I use the Windows version of Lyx 1.5.6. I cannot understand the existing instructions for how to use different reference styles. Believe me, I have tried, but the answers are simply not comprehensible to people like me, who while not computer illiterate, are not intimately familiar with the structure of Lyx. I want to produce author (year) or author [year] style references in the text. Checking natbib under Documents/Settings/Bibliography does not seem to do this despite author-year appearing in the natbib style box. When I go to Insert/Citation, the Formatting dialog box is grayed out. I have downloaded a number of .bst files, for example, qje.bst, but Lyx bombs when running Latex to produce printed output. I am willing to install whatever style files I need, but I don't have any way of figuring out what I need. Any help out there? Thanks in advance, Curtis Simon The formatting box is grayed out until you actually Add an Available Citation to the Selected Citations area. Have you done this? Also, when using Natbib you must use a Natbib compatible .bst style file like plainnat, abbrvnat, or unsrtnat. Cheers, /Bob
Re: Harvard Style References
On Wed, Aug 20, 2008 at 8:45 AM, Curtis Simon [EMAIL PROTECTED] wrote: Bob: Wow, that was quick! Thanks! I am using plainnat and have set the style to author-year. Indeed, when I insert a reference in the document, the dialog box (no longer grayed out) shows the citation style as Allen (1981), which is the way I'd like it to appear. However, the converted Lyx document shows the reference as Allen [1]. What am I doing wrong? I attach the documents in question. Thanks again, Curtis There is a compatibility issue between Natbib and REVTeX, you will need to read through section 15.1 of the REVTeX documentation if you need to use this class: http://tug.ctan.org/tex-archive/macros/latex/contrib/revtex/src/revtex4.pdf Adding the 'round' option to Document-Settings-Options fixes the problem with the default article class and Natbib. Cheers, /Bob
Re: Re: Re: Unavaible layouts
On Wed, Aug 20, 2008 at 6:42 PM, wangyq [EMAIL PROTECTED] wrote: 1. My lyx version is 1.5.6. Sorry for typesetting mistakes. 2. I tried your approach. But it still failed to reconfigure. I deleted the lyx directory from Application Data Directory and ran Texhash. A Dos window appeared and some commands are executed automatically in the window. But after it finished. nothing was produced in the Application Data directory. The system reconfiguration has failed. Default textclass is usedbut Lyx may not able to work properly. Please reconfigure again if needed. 3. I alto tried the approach suggested by Paul A. Rubin. http://n2.nabble.com/%22Document-Class-not-Available%22-error-message-td480879.html This approach also failed. 4. When I open any lyx document, a prompt window shows: The layout file required by this document, *.layout, is not usable. There is a problem with your TeX installation. I'm assuming you have MiKTeX installed. If it were installed correctly there wouldn't be problem in LyX. I remember at times on this list there was a problem with MiKTeX if you selected anything but the default options during the install also if you didn't have an open internet connection. The only thing I can suggest at this point is to ensure you have an open internet connection and update or re-install MiKTeX. Cheers, /Bob
Re: Natbib sort option
On Mon, Aug 25, 2008 at 9:37 PM, Guillaume Larocque [EMAIL PROTECTED] wrote: Hi, I would like to use the natbib package for my citations in Lyx with the [sort] option so that multiple citations are ordered into the sequence in which they appear in the list of references. However, specifying \usepackage[numbers,sortcompress]{natbib} in the preamble of my document produces an error when compiling to pdf. It says the package has already been called. Is there any other way of doing this in Lyx? Thanks, Put the options in: Document-Settings-Document Class-Options and don't specify anything in the preamble. Cheers, /Bob
Re: Natbib sort option
On Tue, Aug 26, 2008 at 8:05 AM, Guillaume Larocque [EMAIL PROTECTED] wrote: Put the options in: Document-Settings-Document Class-Options and don't specify anything in the preamble. Cheers, /Bob You mean simply adding 'sort' to the other options? As in: chapterprefix, sort Yes. I tried that and it doesn't change the order of the citations. I forgot to mention this is a Book(Koma-script) document and I am using a elsart-harv style file for the bibiography. Strange. It works on my end with Koma and elsart-harv. I did assume that you have Document-Settings-Bibliography set to Natbib-Numerical, which is why you received an error saying Natbib has already been called. Could you send a small example file demonstrating the problem? Cheers, /Bob
Re: Natbib sort option
On Tue, Aug 26, 2008 at 9:01 AM, Guillaume Larocque [EMAIL PROTECTED] wrote: Strange. It works on my end with Koma and elsart-harv. I did assume that you have Document-Settings-Bibliography set to Natbib-Numerical, which is why you received an error saying Natbib has already been called. Could you send a small example file demonstrating the problem? Cheers, /Bob My bibliography settings are Natbib author-year, and this is what I want. The command I actually tried in the preamble is this one \usepackage[authoryear,sort]{natbib} Thanks, Guillaume Like I said, it works just fine for me. Without an example of how it's not working for we could probably talk until we're blue in the face without a resolution. Maybe I just don't understand the problem. So, I've attached a small example showing how Natbib is 'sort'ing the bibliography. As you can see in the example the first citation is Smith Weston in LyX, but in the pdf output from LyX it is the last citation in the text because it is the last citation in the Bibliography. Hence, Natbib is 'sort'ing the citations in the output text according to the bibliography order. Isn't this what you wanted? Bob natbib-test.lyx Description: application/lyx
Re: Nomenclature sorting
On Tue, Aug 26, 2008 at 9:55 AM, newnoise [EMAIL PROTECTED] wrote: Hello everybody! Someone can tell me how can i do to sort the nomenclature in this way: first all the english word in alphabetical order and than the greek symbol?? Thanx a lot! /davide -- View this message in context: http://n2.nabble.com/Nomenclature-sorting-tp784511p784511.html Sent from the LyX - Users mailing list archive at Nabble.com. I created two additional sections, Greek and Subscript with this code: \RequirePackage{ifthen} \renewcommand{\nomgroup}[1]{% \ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek}]}{ \ifthenelse{\equal{#1}{S}}{\item[\textbf{Subscripts}]}{}}} This created two additional sections with titles Greek and Subscripts in the nomenclature page. Then when you insert a nomenclature item, in the 'Sort as:' box you could put either a, g, s for alphabetic, greek, or subscript and then you could put the alphabetical order afterwords. For example, to sort the greek letter beta I would put 'gb' in the sort as box. This would sort beta as greek and then alphabetically by 'b'. Cheers, /Bob
Re: Please help a newbie with APA citation style in LyX
On Wed, Aug 27, 2008 at 9:12 AM, squidy [EMAIL PROTECTED] wrote: Hello I am very new to this ... I'm using LyX 1.5.5 in Windows XP. I'm using JabRef 2.3.1 to manage my bibliography. I'm using the document class 'article' and have bibliography set to Natbib author-year. Here's my problem, I have written my Master's Thesis in the document class article but I am required to format my references according to APA manual, 5th edition. I have tried the packages called apalike and apalike2, these work but they get it almost but not quite right, (volume numbers aren't emphasised and inbook references are incorrectly formatted). I saw in this forum that there is a package called apacite, I have installed this in MikTeX, however I can't get it to work. When I compile the document I get an error message which says LyX LaTeX error - Undefined control sequence, repeated many times! This also happens on my computer at home where I'm running v. 1.5.3 in Ubuntu HH. Can anyone help with this? I don't want to go back to using MS Word :( Thank you -- View this message in context: http://n2.nabble.com/Please-help-a-newbie-with-APA-citation-style-in-LyX-tp787261p787261.html Sent from the LyX - Users mailing list archive at Nabble.com. There is a package conflict between apacite and Natbib. Please read through the apacite documentation and specifically the Natbib section: http://tug.ctan.org/tex-archive/biblio/bibtex/contrib/apacite/apacite.pdf It seems that apacite needs to be loaded before Natbib, but because of the LyX document settings Natbib will be loaded first. So, the real question to post to the list is how do you load apacite before Natbib? Which I don't know. Cheers, /Bob
Re: Please help a newbie with APA citation style in LyX
On Wed, Aug 27, 2008 at 10:54 AM, quiddity [EMAIL PROTECTED] wrote: Thank you to Zan and Bob for very quick replies! They haven't shown up directly on the forum - is this usual? I have managed to solve the captalisation problem with curly brackets in Jabref, so thanks for that tip! I guess I might get away with the lack of emphasis for the volume no., as it's such a small detail. I shall make another request for help to see if anyone knows a way around the natbib/apacite incompatibility problem. Thanks again An ugly workaround, IF, you only need to use the \cite command would be to change the bibliography setting back to Default (numerical) from Natbib. Then put (in your preamble): \usepackage(apacite) \usepackage[authoryear]{natbib} Otherwise, if you need to use something other than \cite, you'd have to use ERT rather than the LyX dialog to insert bibliography citations. But, if you just need to do this for one paper it may not be a bad way to go. It does work, it's just not pretty. /Bob
Re: Installing 1.6 RC1 keeps failing.
On Thu, Aug 28, 2008 at 12:29 PM, rgheck [EMAIL PROTECTED] wrote: Soe Naung wrote: Hi! all I have been unable to install the 1.6 RC1 on my Ubuntu Hardy box. Actually I can ./configure and make but make install keeps failing with the following log. make install-data-hook make[4]: Entering directory `/home/pan/My Downloads/lyx-1.6.0rc1/lib/lyx2lyx' chmod 755 /usr/local/share/lyx/lyx2lyx/lyx2lyx chmod: changing permissions of `/usr/local/share/lyx/lyx2lyx/lyx2lyx': No such file or directory make[4]: *** [install-data-hook] Error 1 make[4]: Leaving directory `/home/pan/My Downloads/lyx-1.6.0rc1/lib/lyx2lyx' make[3]: *** [install-data-am] Error 2 make[3]: Leaving directory `/home/pan/My Downloads/lyx-1.6.0rc1/lib/lyx2lyx' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/pan/My Downloads/lyx-1.6.0rc1/lib/lyx2lyx' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/pan/My Downloads/lyx-1.6.0rc1/lib' make: *** [install-recursive] Error 1 Is it a bug of the LyX itself? I have been suspicious of my qt4 libraries, so I have taken their Debian versions and tried again but am still failing. This doesn't have to do with qt4. For some reason, the lyx2lyx program is apparently not being copied to its installed location. I'd have a look at /usr/local/share/lyx and see what you have there. Is something preventing the copy? The other thing that strikes me is the fact that you have a space in the path to the sources My Downloads. It's possible that make is choking on that. Try moving the tree somewhere else, with no spaces. rh This may be a stupid comment, but I'll make it anyway. You are running 'make install' as root right? Or in Ubuntu, I guess that would be 'sudo make install'. /Bob
Re: problem with Limits
On Fri, Aug 29, 2008 at 3:52 AM, newnoise [EMAIL PROTECTED] wrote: Hello everybody! When I try to put a limit with lyx within my report what I get is http://img513.imageshack.us/img513/7541/limitwa5.png as you can easily imagine i would to have the t to infinite under the limit and not as subscript someone know how to fix it?? thx! /davide -- View this message in context: http://n2.nabble.com/problem-with-Limits-tp791820p791820.html Sent from the LyX - Users mailing list archive at Nabble.com. Can't you just use an 'underset' as in the attached photo? It's a subset of the 'Frame Decorations' button on the math panel. Cheers, /Bob attachment: lim.jpg
Re: Dots
On Wed, Sep 3, 2008 at 11:59 AM, Yago [EMAIL PROTECTED] wrote: Hi to all. I need a code to represent the number two square root in a continued fraction like the attached jpg file, and I have problems fot that. My last aproximation to the final moved dots is the code bellow, that's print the last 2 with the raised dots at right, but I'm not capable to insert this code in LyX math mode. Thanks for your help. \begin{document} 2$\:$\raisebox{-1.65ex}{$\ddots$} \end{document} If you're in math mode and you type '\ddots' and the hit the 'space' bar you should see the forward slash dots as in your picture. /Bob
Re: Problem installing package in Lyx (newbie)
On Fri, Sep 5, 2008 at 8:33 AM, bar tomas [EMAIL PROTECTED] wrote: Hi, I'm using Lyx 1.5.5 windows version. I'd like to use apalike style for bibliographic references. So I downloaded apalike.sty and dropped it into the Resources/Tex subdirectory of the Lyx application directory. Then I saved apalike.bst in the Resources/doc/biblio subdirectory. In my lyx document I added \usepackage{apalike} to the preamble. But I get the following error: LaTeX Error: File `apalike.sty' not found. Do you know what I'm doing wrong? Thank you very much. Tomas Bar You should have MiKTeX installed and this is what it's for. Install apalike using MiKTeX. Cheers, /Bob
Re: Test
On Sun, Sep 7, 2008 at 4:34 PM, npierre [EMAIL PROTECTED] wrote: If this reaches the Lyx usergroup please let me know. Norbert Pierre Yep.
Re: get (author?) with natbib
On Wed, Sep 10, 2008 at 3:48 AM, Robert Platt [EMAIL PROTECTED] wrote: Hello, When I use my BibTeX file (created with Jabref) in LyX with the natbib author-year style, I get something like this: ...some text here (author?) [1]. That's even if I view/update the output several times. Any ideas why this might be? Regards Rob LyX Version: 1.5.5 OS: Gentoo Linux on 32-bit PC You're probably not using a natbib compatible .bst style file. You should use something like plainnat, abbrvnat, or harvard. Cheers, /Bob
Re: LyX is Nominated for the Lutèce d'Or 2008
2008/9/18 Abdelrazak Younes [EMAIL PROTECTED]: Dear all, LyX enthusiasts, users and developers, I have the pleasure to announce you all that LyX is Nominated for the Lutèce d'Or 2008! Could you give a quick translation (for us not up to snuff Americans) of what Lutèce d'Or 2008 means? Thanks and Cheers to LyX! /Bob
Re: formatting!
On Wed, Sep 24, 2008 at 5:19 AM, newnoise [EMAIL PROTECTED] wrote: In lyx how can I do to put all the sections title, the headers contents, list of figures, List of tables in the middle of the page instead of having them on the left? Someone can help to set the preamble in the right way? I'm using Article Koma script document class Thank you very much! /davide If you're going to use KOMA-Script you really should look through the documentation, which is very good. However, the following seems to work: \addtokomafont{sectioning}{\centering} Cheers, /Bob
Re: LyX/Mac question
The dvipdfm works on my iBook, but I don't think I could tell you why. I used fink, but not for LyX. I really like LyX, but it was too hard to get the formatting requirements for my thesis implemented so I found another program TeXmacs that I am using for my thesis. This was my process: 1) Install fink 2) Install TeXmacs via fink (which automatically installs various programs needed, including tetex/ghostscript/imagemagick/etc) 3) Download and install LyX from the main LyX ftp site Everything seemed to work after that, except for viewing dvi (but this really doesn't bother me, I use pdf). I'd be happy to answer any question, but I'm definitely not a computer guru. Bob On Oct 30, 2006, at 3:50 PM, Sue Kientz wrote: On Oct 30, 2006, at 1:41 PM, Paul A. Rubin wrote: I'm posting this vicariously, as it were (not being a Mac user myself), so please bear with me. Someone else is having a problem with LyX 1.4.3/Mac OSX/teTeX (installed via fink). At least part of the problem seems to be caused by instant preview. With IP on and math insets in the document, misadventures occur, and in particular the temp directory shows 0lyxpreview.tex, 0lyxpreview.aux, 0lyxpreview.pdf but not 0lyxpreview.dvi. The user seems to think that /sw/bin/latex is symlinked (or hard linked, I'm not sure) to pdflatex. I'm guessing from the symptoms above that when the Python script that compiles the previews runs what it thinks is latex, it's actually running pdflatex (or pdfetex with the format set to pdflatex, or something like that). Hence no DVI output, and the DVI to PNG conversion unsurprisingly breaks. Does this resonate with any Mac users? Is there something installation-wise that could get 'latex' to actually run latex (as in producing DVI output without additional tweaking)? We've given up trying to use dvipdfm to generate PDF on our Macs. We just use the second 2 options, pdflatex or ps2pdf, which do work. Sue Kientz --- Technical Writer/Web Manager Computational Infrastructure of Geodynamics (CIG) http://www.geodynamics.org/ [EMAIL PROTECTED] ~Metaphors Be With You~
Re: LyX/Mac question
On Oct 31, 2006, at 10:55 AM, Paul A. Rubin wrote: Jens Noeckel wrote: On Oct 31, 2006, at 4:06 AM, Enrico Forestieri wrote: Paul A. Rubin [EMAIL PROTECTED] writes: I'm posting this vicariously, as it were (not being a Mac user myself), so please bear with me. Someone else is having a problem with LyX 1.4.3/Mac OSX/teTeX (installed via fink). At least part of the problem seems to be caused by instant preview. With IP on and math insets in the document, misadventures occur, and in particular the temp directory shows 0lyxpreview.tex, 0lyxpreview.aux, 0lyxpreview.pdf but not 0lyxpreview.dvi. The user seems to think that /sw/bin/latex is symlinked (or hard linked, I'm not sure) to pdflatex. I'm guessing from the symptoms above that when the Python script that compiles the previews runs what it thinks is latex, it's actually running pdflatex (or pdfetex with the format set to pdflatex, or something like that). Hence no DVI output, and the DVI to PNG conversion unsurprisingly breaks. Does this resonate with any Mac users? Is there something installation-wise that could get 'latex' to actually run latex (as in producing DVI output without additional tweaking)? Hi Paul, I don't think that the sym- or hardlink to pdftex is the culprit here. In most modern TeX implementations the engine is pdftex, anyway. If you have MikTeX 2.5 try latex --version and see that you are really using pdfetex. The engine looks at the name it was invoked and produces output accordingly. So, symlinking latex to pdftex but invoking it as latex gives you dvi output. Instead, make sure that the command used by LyX to invoke latex is really latex and not pdflatex. Yes - in fact, you can invoke latex - dvi conversion of a file file.tex by typing, e.g., pdflatex -progname=latex file pdfetex -progname=latex file If it's not the preamble that's causing the problem, one might want to add that option -progname=latex to the script (this will only work if there's nothing in the preamble that overrides this progname choice). I think this once worked for someone when I suggested it on the MacTex mailing list... although it really should be handled automatically, as Enrico said. So before doing that, maybe one other suggestion: see (with ls - al) if there are any texmf configuration files in your home directory (.texmf-config etc) and move them out of the way. Finally, you could also specify pdflatex -output-format=dvi to get dvi output. This is not quite equivalent (because it may load different font files) to the -progname option, but it works for me, too. Jens Thanks to both Enrico and Jens for the replies. Jens, I noticed in a bugzilla posting that you have LyX running under OS/X with teTeX installed via fink (same setup as Andrea, the original poster here). Does instant preview work for you and, if so, did you have to tweak anything? AFAIK when LyX exports a math inset to 0lyxpreview.tex for conversion, it does not pass along preamble entries from the original document. This can cause an occasional problem (for instance, when you are loading a funky character set in the doc's preamble), but it does not cause problems with routine math insets under Windows (and I'm guessing the same holds for Linux). So modifying the document preamble is unlikely to resolve the preview problem. If preview works for you, then I need to focus on how your configuration differs from Andrea's. If IP doesn't work for you, then we should probably enter a bug report. Thanks, Paul Instant preview also works for me, on an old iBook with LyX 1.4.3, with tetex installed via fink. I don't totally understand what the problem is here, I'm just thinking out loud and letting you know what is working or not on my machine to see if this answers any questions. Like I said before, dvi viewing isn't working for me under LyX. Although I think the reason is that there is no standard dvi viewer under OS X (like there is for Windows with Yap and Linux with xdvik (although X11 is very integrated in linux)). So, via fink, I have xdvi installed.but this is an X11 program and I have LyX installed under Qt which I didn't think that those two systems could necessary communicate with one another (but I really have no idea because I don't understand how they work, I just use them). Here's something I can do. I can export a document from LyX as a dvi, open xdvi under X11, and then open the dvi. Everything works. I don't know if this helps anything. Let me know if I can do something else to help out or help figure out how to get dvi viewing working under LyX on macs. Because it is definitely faster than pdf viewing on Windows and Linux (and since this is a five year old iBook, pdf viewing can take a long time). Bob Lounsbury
Re: LyX/Mac question
On Oct 31, 2006, at 5:12 PM, Bennett Helm wrote: On Oct 31, 2006, at 6:01 PM, Bob Lounsbury wrote: Like I said before, dvi viewing isn't working for me under LyX. Although I think the reason is that there is no standard dvi viewer under OS X (like there is for Windows with Yap and Linux with xdvik (although X11 is very integrated in linux)). So, via fink, I have xdvi installed.but this is an X11 program and I have LyX installed under Qt which I didn't think that those two systems could necessary communicate with one another (but I really have no idea because I don't understand how they work, I just use them). xdvi works no problem for me. You should put the following in the Viewer field for the DVI file format (LyX Preferences File Formats): open -a X11.app; export DISPLAY=:0.0; xdvi Bennett Well, yes and no that works. It opens an X11 starter app I have installed (which gives me a choice of which window manager I would like to use), but when I select one and say 'start' nothing happens and the dialog box stays in place. Bob
Re: LyX/Mac question
On Oct 31, 2006, at 5:07 PM, Enrico Forestieri wrote: Bob Lounsbury [EMAIL PROTECTED] writes: I don't know if this helps anything. Let me know if I can do something else to help out or help figure out how to get dvi viewing working under LyX on macs. Because it is definitely faster than pdf viewing on Windows and Linux (and since this is a five year old iBook, pdf viewing can take a long time). Please, try the following. Open Tools-Preferences, go to File formats and then select DVI. Most probably you have auto in the Viewer: entry. Try changing that to open (without quotes), click on Modify and then Apply. Are now you able to View-DVI from LyX? I don't have a Mac, but I have heard that there is a problem with the autoview feature on OSX. I can't give you details, but I think that for auto to work you need to take some actions such as explicitly telling the OS to use a given application for viewing a dvi file. The open command should work OOTB, though. -- Enrico Yes, Bennett is correct. Using the open nothing happens.
Re: LyX/Mac question
On Nov 1, 2006, at 11:23 AM, Sue Kientz wrote: On Oct 31, 2006, at 4:23 PM, Jens Noeckel wrote: Bob Lounsbury [EMAIL PROTECTED] writes: I don't know if this helps anything. Let me know if I can do something else to help out or help figure out how to get dvi viewing working under LyX on macs. Because it is definitely faster than pdf viewing on Windows and Linux (and since this is a five year old iBook, pdf viewing can take a long time). Please, try the following. Open Tools-Preferences, go to File formats and then select DVI. Most probably you have auto in the Viewer: entry. Try changing that to open (without quotes), click on Modify and then Apply. Are now you able to View-DVI from LyX? I don't have a Mac, but I have heard that there is a problem with the autoview feature on OSX. I can't give you details, but I think that for auto to work you need to take some actions such as explicitly telling the OS to use a given application for viewing a dvi file. The open command should work OOTB, though. open only works for applications that use the Mac GUI -- not including X11 apps. So this solution won't work for xdvi. It will work if an application such as TeXShop has been defined as the default .dvi viewer (but then auto should work in that case as well). I tried changing auto to open (it's not in Tools Preferences on the Mac, but rather Lyx Preferences). I get a cannot convert file error, An error occurred whilst running dvipdfmx -p letter - o 'foo.pdf' (my document is foo..lyx). How do I define a default dvi viewer in Lyx? Or is that something I define via the os? Sue Kientz [EMAIL PROTECTED] If you look, through the lists on this topic you should find an answer. However, from what Bennett posted if you put: open -a X11.app; export DISPLAY=:0.0; xdvi into the LyX Preferences and you have xdvi installed, it is supposed to work. It works for Bennett but not for me (probably due to some other program conflict, that I really don't care to resolve). The problem is that there is no default dvi viewer for mac. So if you have xdvi installed you have to call out X11. The default dvi viewers are shareware that cost $20 or I've heard of one free one TeXshop that is supposed to work if you install it and put open into the preferences. Bob Lounsbury
chapter pagestyles
Hello, I'm using the memoir class under 1.4.3. I've scoured the +300 page documentation and I don't see any way to change the chapter pagestyle (like you can with koma-script just using the \chapterpagestyle{} command), other than inserting \thispagestyle{myheadings} at the start of every chapter (a little tedious). I must be missing something. Any ideas? Bob Lounsbury
bst files
Hello, I'm sorry if this is a repetitive question. I did search through the list archive without much luck. I'm using 1.4.3 on mac and my question is. Where should custom bst files be placed and then what should be done so that they are recognized by LyX (besides a Tools Reconfigure)? Thanks, Bob Lounsbury
Re: bst files
On Nov 2, 2006, at 1:55 PM, Paul A. Rubin wrote: Bob Lounsbury wrote: I'm using 1.4.3 on mac and my question is. Where should custom bst files be placed I usually place mine in a folder like %localtexmf%/bibtex/bst/ journal_of_whatever. and then what should be done so that they are recognized by LyX (besides a Tools Reconfigure)? You need to refresh the file name database in your LaTeX installation. The precise mechanics seem to depend on your distribution, but it usually reduces to running a command like texhash (unless you've got an icon that points to the right command, which is distinctly possible). Sorry I can't be more specific, but I'm not a Mac user. /Paul Thanks for the reply. I had placed the bst file in my localtexmf folder and ran texhash with this result: [bobl-mac:~] bobl% texhash texhash: Updating /sw/etc/texmf-config/ls-R... texhash: /sw/share/texmf/ls-R: no write permission. Skipping... texhash: /sw/share/texmf-dist/ls-R: no write permission. Skipping... texhash: /sw/share/texmf-local/ls-R: no write permission. Skipping... texhash: Updating /sw/var/lib/texmf/ls-R... texhash: Done. [bobl-mac:~] bobl% It seems that I have no write permission to three folders. Seeing this I went to every folder and ensured read write access, but I still get the same result so I assume this is why LyX is not finding the bst file. Any ideas. Bob
Re: bst files
On Nov 2, 2006, at 2:17 PM, Bennett Helm wrote: On Nov 2, 2006, at 3:48 PM, Bob Lounsbury wrote: Hello, I'm sorry if this is a repetitive question. I did search through the list archive without much luck. I'm using 1.4.3 on mac and my question is. Where should custom bst files be placed and then what should be done so that they are recognized by LyX (besides a Tools Reconfigure)? Thanks, Bob Lounsbury On Mac, the standard location for user's TeX files is at ~/Library/ texmf/..., so .bst files should go to ~/Library/texmf/bibtex/bst/. Bennett I'm not finding a ~/Library/texmf folder anywhere. All of my texmf folder are in the /sw folder installed by fink.
Re: bst files
On Nov 2, 2006, at 2:42 PM, Richard Heck wrote: PS And don't forget to reconfigure LyX after you install the .bst files. You may need to do this at ToolsTeX Information, then choose BibTeX Files and hit Rescan. Richard Thank you for your help. I created the ~/Library/texmf/bibtex/bst folder ran texhash and reconfigured LyX with no success. Until a Tools TeX information rescan and now it is recognized. Yea! I didn't even know that the ToolsTeX information was there. Thanks everyone for the help. Bob Lounsbury
Re: bst files
On Nov 2, 2006, at 3:09 PM, Maria Gouskova wrote: PS And don't forget to reconfigure LyX after you install the .bst files. You may need to do this at ToolsTeX Information, then choose BibTeX Files and hit Rescan. This procedure is actually described on the wiki: http://wiki.lyx.org/LyX/HumanitiesLyX#toc10 Maria Thanks. Sometimes you just don't know where to look to find answers and it is easier to ask than scan documentation for awhile.
Re: Trouble with Floats and Graphic centering
On Nov 2, 2006, at 8:29 PM, Stan Gatchel wrote: Thanks for helping. I see no centering option in the float dialog window. Maybe it's not in 1.3.6? Here is a sample attached. Thanks, Stan graphic off center.lyx Well, this is very very simple. 1) Put your cursor inside the graphic float and next to the picture. 2) Select the paragraph settings dialog (the icon that looks like a written text page) or go to Edit Paragraph Settings. 3) Select Center from the Alignment dialog box. Viola, you have a centered picture. See attached file. Bob Lounsbury graphic off center1.lyx Description: Binary data
Re: Chane font size
On Nov 6, 2006, at 2:37 AM, Jean-Marc Lasgouttes wrote: Horacio == Horacio Emilio Pérez Sánchez [EMAIL PROTECTED] writes: Horacio Hi, I use lyx 1.3.6 on suse 10.1 and I have a 200 page Horacio document in book format. Horacio I want to change font size from 12 to 14, but using the Horacio document layout menu, it is only possible to use the values Horacio 10, 11 and 12. Horacio Does somebody how to change font size from 12 to 14 in LyX ? The extbook class allows you to do that. JMarc The memoir class also has this functionality and much much more.
Re: Redefining environments
On Nov 8, 2006, at 7:21 AM, Karl Patschinsky wrote: I really want to use LyX for writing my dissertation, but the uni has a specific style they require. Is there a simple way to redefine the various environments? If the only way to change the settings is through the Character dialog and such tweeking with the layout menu I might as well use a standard word processor because it's going to be just as time consuming. Not sure exactly what you mean by 'environments', but if you're talking about the chapter or section headings and various other formatting concerns like this. Take a look at the documentation for the 'koma-script' and 'memoir' document classes. There is almost nothing that cannot be changed to suite a specific style. I ran into this issue myself with my thesis and I'm using the memoir class for personal preference and have modified everything to my liking. A quick google search for 'memoir class documentation' will provide you with a +300 page guide on everything that can be altered to fit your needs. Stay far far away from Wor$ is my recommendation. Bob Lounsbury
Re: wrap:Figure
On Nov 11, 2006, at 11:03 AM, John B. Egger wrote: Using 1.3.4 from the Xandros Linux repository (I know it's old but I don't have 1.4.3 successfully installed yet): I'm trying to insert a graphic (.eps) into the text, with text wrapping on its left. When I choose Insert|Floats|Floatflt Figure, I can paste Ascii text into the resulting box and my main text wraps around it just fine. When I insert a graphic, though, it appears in the document but when I try to view it (dvi) I get two error boxes: Paragraph ended before [EMAIL PROTECTED] was complete. } \end{floatingfigure}% I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ...and... Argument of [EMAIL PROTECTED] has an extra }. } \end{floatingfigure}% I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. I'm a total novice with LyX. If I could view the commands referred to in the error boxes I might be able to fix these problems but can't even figure out how to do that. -- --John Registered Linux User #291592 I had never used the wrap figure function, so I played around with it a little. I couldn't reproduce your error message, but I had trouble with inserting a picture and it actually didn't show up (although text would show up) in the pdf file until .. I set the picture size to match the wrap figure size. The default was 50 col% on my machine. Give that a try and it may just work. Bob
Re: wrap:Figure
On Nov 13, 2006, at 1:52 PM, Uwe Stöhr wrote: Bob Lounsbury schrieb: I looked at the documentation and it seems that the only problem is with page breaks. ... I created two documents one where the wrapped figure is not displayed and one where the wrap figure is displayed if I set the figure size to match the wrap figure size. The larger figure size leads to the situation that the wrapfloat is too close to the page end and therefore the flaot isn't displayed as I wrote in the manual. I checked it out and you are right, decreasing the size of the figure resolves the issue. Good to know. Thank you. I will attach the documents, but I don't know the size limitations for your email. I received them, thanks. regards Uwe
memoir with hyperref
Hello, I'm using the memoir class for my thesis under 1.4.3 and I thought it might be nice to use the hyperref package to create a few links. I know there are some known issues with memoir and hyperref, but generally these are discussed in the memoir documentation by Peter Wilson. However, when I add the hyperref package, any caption longer than one line extends beyond the page as you can see in the attached pdf. I don't see any warnings in Peter's documentation. Does anyone have a suggestion? If not I just won't use the hyperref package, but it is kind of nice. Bob Lounsbury Thesis 6.pdf Description: Adobe PDF document
Re: memoir with hyperref
On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote: Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury: Hello, I'm using the memoir class for my thesis under 1.4.3 and I thought it might be nice to use the hyperref package to create a few links. I know there are some known issues with memoir and hyperref, but generally these are discussed in the memoir documentation by Peter Wilson. However, when I add the hyperref package, any caption longer than one line extends beyond the page as you can see in the attached pdf. I don't see any warnings in Peter's documentation. Does anyone have a suggestion? If not I just won't use the hyperref package, but it is kind of nice. if you use `short title´ with a shorter figure legend, would that help? Wolfgang Bob Lounsbury Yes, I think if I could get a shortened caption in the lof then there would not be a hyperref problem. However, I'm not sure how to do this either.
Re: memoir with hyperref
On Nov 14, 2006, at 4:14 PM, Paul A. Rubin wrote: Bob Lounsbury wrote: Hello, I'm using the memoir class for my thesis under 1.4.3 and I thought it might be nice to use the hyperref package to create a few links. I know there are some known issues with memoir and hyperref, but generally these are discussed in the memoir documentation by Peter Wilson. However, when I add the hyperref package, any caption longer than one line extends beyond the page as you can see in the attached pdf. I don't see any warnings in Peter's documentation. Does anyone have a suggestion? If not I just won't use the hyperref package, but it is kind of nice. Bob Lounsbury Does setting the option breaklinks=true in the hyperref package help? /Paul Could you tell me how to set that option and I'll give it a try? I don't have the hyperref documentation at hand and it would take me much longer to download it and figure out how to set the breaklinks=true option than if you know how to do it. Bob
Re: memoir with hyperref
On Nov 15, 2006, at 12:39 AM, Wolfgang Engelmann wrote: Am Dienstag, 14. November 2006 17:54 schrieb Bob Lounsbury: On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote: Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury: Hello, I'm using the memoir class for my thesis under 1.4.3 and I thought it might be nice to use the hyperref package to create a few links. I know there are some known issues with memoir and hyperref, but generally these are discussed in the memoir documentation by Peter Wilson. However, when I add the hyperref package, any caption longer than one line extends beyond the page as you can see in the attached pdf. I don't see any warnings in Peter's documentation. Does anyone have a suggestion? If not I just won't use the hyperref package, but it is kind of nice. if you use `short title´ with a shorter figure legend, would that help? Wolfgang Bob Lounsbury Yes, I think if I could get a shortened caption in the lof then there would not be a hyperref problem. However, I'm not sure how to do this either. go behind Figure#: [mark] in your float and enter short title from Insert (note that it is greyed out if you are either not in the float environment or if their is already a short title). Enter your short title in the red framed box which turns up. (Lyx 1.4.2) Wolfgang This is definitely one solution. It works! Thank you!
Re: memoir with hyperref
On Nov 15, 2006, at 10:10 AM, Paul A. Rubin wrote: Bob Lounsbury wrote: Could you tell me how to set that option and I'll give it a try? I don't have the hyperref documentation at hand and it would take me much longer to download it and figure out how to set the breaklinks=true option than if you know how to do it. Not if you take into account the infrequency with which I check mail -- unless you have a *really* slow connection. :-) Try adding \hypersetup{breaklinks=true} to the preamble. (My memory is a bit fuzzy, but I think that's the route.) /Paul Ok, ok (twist my arm) I'll go look at the hyperref documentation. I tried your suggestion and it works ... except that it breaks the link to the figure which kind of defeats the purpose of using hyperref. I'll check the documentation. Thanks for the suggestion. Also, oddly enough there isn't a problem with hyperref and memoir under LyX 1.3.7. Maybe this is a 1.4.3 bug. Bob
pdf images to large-pdflatex
Hello, Using pdflatex under 1.3.7 and 1.4.3 on a Mac and 1.3.7 on XP, a jpeg picture is displayed much larger than using ps2pdf, dvipdfm, or dvi converters under the LyX-View dialog. Any ideas? I wouldn't mind using a different converter, but on my five year old iBook pdflatex has the fastest conversion (by about 1min or more) to a pdf document. Everything is installed under Fink, and the pdflatex conversion command under ~Preferences-Converters-Latex to PDF is 'pdflatex $ $i'. Thanks. Bob Lounsbury
Re: pdf images to large-pdflatex
On Nov 27, 2006, at 5:00 PM, Paul A. Rubin wrote: Bob Lounsbury wrote: Hello, Using pdflatex under 1.3.7 and 1.4.3 on a Mac and 1.3.7 on XP, a jpeg picture is displayed much larger than using ps2pdf, dvipdfm, or dvi converters under the LyX-View dialog. Any ideas? I wouldn't mind using a different converter, but on my five year old iBook pdflatex has the fastest conversion (by about 1min or more) to a pdf document. Everything is installed under Fink, and the pdflatex conversion command under ~Preferences-Converters-Latex to PDF is 'pdflatex $$i'. Thanks. Bob Lounsbury How are you scaling the image? I get consistent results across View-DVI, View-PDF (pdflatex) and View-PDF (ps2pdf) if I scale based on absolute units or text%; adventures occur if I scale using scale%. (Curiously, I don't get any image output if I use View-PDF (dvipdfm) or export to PDF (dvipdfm) -- no JPG, no PNG, not even EPS. Just appropriately sized blank spaces in the file.) /Paul Sure enough, I was using scale% and text% gives consistent results. Thanks. I also don't get any image output with View-PDF (dvipdfm), another reason why I wanted pdflatex to work. Thanks again. Bob Lounsbury
Re: +/- symbol
On Nov 28, 2006, at 6:49 PM, Myriam Abramson wrote: Hi, How can I have the +/- symbol where the + is on top of the - symbol, reading plus or minus. For example, a standard deviation would have this sign. Tex code is fine. TIA. Hope that's clear. myriam Type \pm then hit the space key in math mode or you'll find it in the math panel under Operators or you could use TeX code by inserting $\pm$ in an ERT box. Bob Lounsbury