Re: Lyx cross platform compatability - is there a problem?
I think explanation to the problem is fact that Mac new line character (EOL) is CR, Windows is CR+LF, and Unix is LF. For compatibility most Unix based applications ported to Windows handles only LF from these two, so on Windows options were seen as in separate lines, while on Mac until explicitely specified lines were not seen. But this is my speculation. 2008/8/19 Graham Smith [EMAIL PROTECTED] On 19 Aug 2008, at 19:57, Christian Ridderström wrote: On Tue, 19 Aug 2008, Graham Smith wrote: As you will see, from my other post, the issue was a leading comma in the preamble, setting the Komascript options. It seems that both the Mac and Linux are forgiving of this syntax error, but Windows is not. So it isn't a Windows issue Hi Graham, I'm glad you solved the problem. regards, Christian I'm glad it was that simple. Graham -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: Lyx cross platform compatability - is there a problem?
On Wednesday 20 August 2008 07:45:18 Manveru wrote: I think explanation to the problem is fact that Mac new line character (EOL) is CR, Windows is CR+LF, and Unix is LF. For compatibility most Unix based applications ported to Windows handles only LF from these two, so on Windows options were seen as in separate lines, while on Mac until explicitely specified lines were not seen. But this is my speculation. We remove any possible end of line marker, so unless there is a bug that should not be the problem. :-) And if that is the case we would like to hear. -- José Abílio
Re: Lyx cross platform compatability - is there a problem?
On 19.08.2008, at 21:21, Graham Smith wrote: On 19 Aug 2008, at 19:57, Christian Ridderström wrote: On Tue, 19 Aug 2008, Graham Smith wrote: As you will see, from my other post, the issue was a leading comma in the preamble, setting the Komascript options. It seems that both the Mac and Linux are forgiving of this syntax error, but Windows is not. So it isn't a Windows issue Hi Graham, I'm glad you solved the problem. I want to add a word of encouragement here: In out group we have been co-writing papers and documents using LyX on Windows/Linux/OSX for years: - There never, ever has been a problem with LyX itself. - Only occasionally (2 or 3 times) we had compatibility issues with different versions of one of the supporting tools. Usually, different versions of ImageMagik were the cause. Overall, I can truly recommend LyX as a cross-plattform document processor! Daniel
Re: example of layout module for LyX 1.6
Hi Steve, Steve Litt wrote: Thanks Oliver, I still don't understand the underlying philosophy of layout modules: 0) What is a layout module? From my (user) point of view, it is a small .module file in your layouts folder containing class, styles, etc. But the developers might answer that your questions better... 1) Why are they better than just writing your own layout file? I think that's the question I can easily answer: I used LyX years ago to write my PhD thesis. However, I do not know anything about LaTeX, styles, etc. I just took some code from here and there and added them to the preamble (a lot from the now defunct web site that contained many LyX tricks before Wiki even existed). But I never did a layout file. To me, that was (and still is) a too daunting task. When I saw the wiki page on the new features, I jumped into the modules provided with 1.6 and it took me very low time to write the two modules I use. I think the advantage is that a less experienced user like me prefers to add a given module than to touch the preamble, or to write a layout file. Also, I suspect that debugging a trivial module that you can turn on/off is probably easier than debugging a layout file. There are also other advantages: you can add them, remove them, combine several, have different versions, send them to someone, ... it's way more flexible. 2) How do you decide when to use them? When you want to add a functionality for some files only, not for all (e.g. when I write some documents that do not require the erf/sinc functions, then I do not add my math module). It's more flexible than layout I guess. Some of the provided modules implements FAQ stuff, like the one that transforms footnotes to endnotes using the let command. LyX can now provide such features in a few mouse clicks. I guess that's another typical use for modules. That's what my math functions module do. 3) By what design methodology do you create them? I have no methodology :-) I just experiment until I am satisfied. 4) What are the attributes of a good layout module? 5) What are the attributes of a bad layout module? Thanks SteveT Best regards, Olivier
Re: example of layout module for LyX 1.6
Steve Litt wrote: On Tuesday 19 August 2008 13:16, Olivier Ripoll wrote: [...] Olivier Oh, Maybe I do understand it. Is a layout module just a chunk of debugged LyX/LaTeX code that would normally go in a layout file, and gets included in the layout file by reference? So you could mix and match layout modules to get a more granular modularization, similar to #include in C? That's how I understand it. I hope there will be more docs written on this topic after 1.6 is out. So is it a way to write once, use many times? Is it a way to use known-debugged LyX/LaTeX code? And is it a way for all of us to trade debugged and tested code without throwing in every silly little feature we put in our book? I think so. At least that's how I see them. But developers and experts might see a bigger picture and envision other uses for the modules. As I said, I am a basic (stupid) user. Best regards, Olivier Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
override section numbering in aastex class
In the article (AASTeX) document class, is there an option to globablly override section numbering? If not, can it be done in the preamble, how? Unfortunately, the *section, *subsection options do not appear in the drop down list. I do not want to use ERT because I am collaborating with someone who started using LyX, so it is OK to put some ERT formating in a few places, but that would be nasty through all the document.
Re: Lyx cross platform compatability - is there a problem?
So it isn't a Windows issue Hi Graham, I'm glad you solved the problem. I want to add a word of encouragement here: In out group we have been co-writing papers and documents using LyX on Windows/Linux/OSX for years: - There never, ever has been a problem with LyX itself. - Only occasionally (2 or 3 times) we had compatibility issues with different versions of one of the supporting tools. Usually, different versions of ImageMagik were the cause. Overall, I can truly recommend LyX as a cross-plattform document processor! Daniel Thanks, that is good to know. Graham
A bug in Lyx1.6rc1?
When I use lyx1.6rc1, I find that if you save your document and then select some words and paste them elsewhere, the save button in the toolbar does not change its status (i.e., its color). -- View this message in context: http://n2.nabble.com/A-bug-in-Lyx1.6rc1--tp735232p735232.html Sent from the LyX - Users mailing list archive at Nabble.com.
line numbering after first page
For a submission I am required to number the lines only after the first (title) page, in AASTeX. But it does not mater if put \begin{linenumbers} after the title page, all lines are numbered from the first line (title) in the first page. I also put a page-break, and after that the ERT, but it does not work. How to solve that? Also, the abstract numbering got also wrong: n for the first line, nothing for the others, and n+1 for the title of the first section.
Re: A bug in Lyx1.6rc1?
Sorry for the previous post. This bug only occurs in the mathed environment and also by the mouse operation (i.e., left-click to select and middle-click to paste). -- View this message in context: http://n2.nabble.com/A-bug-in-Lyx1.6rc1--tp735232p735261.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: example of layout module for LyX 1.6
On 19.08.08, Olivier Ripoll wrote: Hi, I just wanted to share a simple and probably imperfect layout module for LyX 1.6. ... As the description says, this module simply defines several useful math functions that are not available by default. One tip: to get the additional functions nicely rendered in LyX, I use dummy math-macros: The definitions goes to the preamble and the math-macro is in a branch or comment (to suppress the \newcommand{}{} definition in the LaTeX file.) This is, however, the =1.5.x way to do, I do not know how this will fit with the new math-macro implementation in 1.6. The attaced file has such a dummy macro for the sgn function. It is an excerpt of the math-macros for my phd thesis. Günter sgn-macro.lyx Description: application/lyx
Re: References
On 19.08.08, Hesham Kamel wrote: Hello, I am writing my thesis and each chapter is in a separate folder. Do you have a master file that includes all the chapters? Now, How do you make the references appear in a separate file in the order they appeared within the chapters? Create a bibtex database for your references. In your master file, do InsertBibliography and select your bibtex file. The UserGuide and the LyX wiki should have more documentation about using BibTeX for references. Günter
Re: example of layout module for LyX 1.6
On 19.08.08, Steve Litt wrote: I still don't understand the underlying philosophy of layout modules: 0) What is a layout module? A file with syntax and content similar to a LyX layout file that can be added to a chosen documentclass' layout definitions on a per-document base. 1) Why are they better than just writing your own layout file? It's orthogonal: you can combine document classes with additional features provided by the modules. 2) How do you decide when to use them? In DocumentSettings 3) By what design methodology do you create them? Take an example from the LyX 1.6 layouts directory and modify. 4) What are the attributes of a good layout module? 5) What are the attributes of a bad layout module? This is a matter of taste (to a certain extent). Look at the examples that come with LyX 1.6 for good ones. Günter BTW: No TOFU (Text oben full quote unten), please: On Tuesday 19 August 2008 11:43, Olivier Ripoll wrote: Hi, ...
Unavaible layouts
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
How to create Table of Contents from separate files?
Hi, I am a new Latex user and I have started to write my thesis using LyX. I have each chapter in a separate folder. Please, I want to know how do make LyX generate lists like: *the bibliography, lists of figures and tables*, *and table of contents*from these separate files and make them appear also in separate files in the order they appeared within chapters? Thank you -- Hesham
positioning logo in footer
Sorry folks, I'm still struggling along here I have a logo added with this code \lfoot{\resizebox{3cm}{!}{\includegraphics{Logo_Small.png}}} and then an address added as a \rfoot etc Horizontally this works fine, but vertically, the bottom of the logo is at the same height as the top of the address, giving the impression that the address is contained inside the footer, but the logo is sitting on top of the footer. How to I move the logo down so it better aligns with the address. I would like the top of the logo to align with the top of the address. Thanks, Graham Graham Smith [EMAIL PROTECTED]
Re: How to create Table of Contents from separate files?
Hesham Kamel wrote: Hi, I am a new Latex user and I have started to write my thesis using LyX. I have each chapter in a separate folder. Please, I want to know how do make LyX generate lists like: *the bibliography, lists of figures and tables*, *and table of contents*from these separate files and make them appear also in separate files in the order they appeared within chapters? Thank you If i undestand correctly you want to have your You need to have a master file in which you can include TOC,LOF,LOT from the inster menus then go to the insert menu file option and select the child document this will open a new windo from where u can choose you chapter file. Keep all your settings (page setting and preamble) in the master file so you dont have to these for each chapter. As for the bibliography you can also include that in the master document and from the insert menu and use your references in the chapter were you want them they should appear properly when you output the master file. regards, kamran
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: Unavaible layouts
On 20.08.08, wangyq wrote: ... When I look into - Documents Settings Document Class it shows that all classes including the standard ones (article, report, etc) are unavailable. First guess: try ToolsReconfigure 2nd: Check HelpLaTeX-Configuration 3rd Is LaTeX still installed? Available for LyX? Günter
class could not be loaded error (Lyx 1.5.6, Mac)
Hello, I have a problem with a customized letter class used at my university. I have created a .layout file and a template for it during my first experiments with 1.6b4. Typesetting works with it in 1.6b4. But now, as I use 1.5.6 for my daily work, I saved/exported my template to work with Lyx 1.5. I have copied the .layout file into Application Support/Lyx-1.5/ layouts/. The class file resides in ~/Library/texmf/latex/, so no change is necessary here. I ran texhash and Lyxreconfigure a couple of times. Now a strange thing in 1.5.6 happens: If I try to create a new document via New from template... an error message occurs: Using the default document class, because the class unimr-brief could not be loaded. If I try to create a new document using my unimr-brief class, I do find the Document class letter (unimr-brief) selectable in the Lyx Document settings. But when I actually select this error message is displayed: The document could not be converted into the document class unimr- brief. Looking at Tex-Information inside Lyx, the unimr-brief class is shown. I now have already looked inside the class, the template, and the layout file but I can see no error. Strangely enough the whole thing also does not work in 1.6rc1. Can somebody tell me what's gone wrong here? Thanks, Johannes I have attached the relevant files. unimr-brief.layout Description: Binary data unimr-brief.cls Description: Binary data unimr-brief.lyx Description: Binary data -- Sometimes I lie awake at night, and ask, Where have I gone wrong? Then a voice says to me, This is going to take more than one night. (Charlie Brown)
Harvard Style References
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
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
Article-Beamer class - article text only
Does anyone use this and give me a bit of help with it. It seems that you can switch document class between Beamer and Article-Beamer and get the presentation formatted PDF or an article formatted PDF. Which is great, but in Latex when you add text between the frames they show up in the article but not the presentation. However text placed between frames in Lyx creates a new frame in the Lyx presentation. How do I add normal text that only appears in the article output. Many thanks, Graham Graham Smith [EMAIL PROTECTED]
Re: Article-Beamer class - article text only
It seems that you can switch document class between Beamer and Article-Beamer and get the presentation formatted PDF or an article formatted PDF. Which is great, but in Latex when you add text between the frames they show up in the article but not the presentation. However text placed between frames in Lyx creates a new frame in the Lyx presentation. How do I add normal text that only appears in the article output. OK one way that works is to use an ERT insert with \modearticle {This text is article only} Is this the only way of doing it? Graham
Re: Unavaible layouts
wangyq wrote: I just installed the new release of lyx-1.6 Be aware that 1.6 is a release candidate, not a release (unless I missed an announcement). It's for testing and to learn the new features, but I suggest you not use it for serious work until a stable version emerges. /Paul
Re: Article-Beamer class - article text only
Graham Smith wrote: OK one way that works is to use an ERT insert with \modearticle {This text is article only} Is this the only way of doing it? In 1.5, yes. In 1.6, you will also be able to select Insert-Custom-Article Mode and get a specific collapsable inset. Jürgen
Re: Article-Beamer class - article text only
On 20 Aug 2008, at 23:06, Juergen Spitzmueller wrote: Graham Smith wrote: OK one way that works is to use an ERT insert with \modearticle {This text is article only} Is this the only way of doing it? In 1.5, yes. In 1.6, you will also be able to select Insert-Custom-Article Mode and get a specific collapsable inset. Jürgen Thanks, this is a really great feature to have working in Lyx. Graham
\textservicemark vs. \texttrademark
I cannot use \textservicemark without compile errors when using pdflatex. However, I can use \texttrademark without a burp. According to my symbols list, the latter has a LaTeX2e kludge while the former does not. The former requires textcomp. Is that a package? There is a legal difference between a trademark and a servicemark so I do want to figure out how to use the latter without throwing a compile-time error. Rich -- Richard B. Shepard, Ph.D. | IntegrityCredibility Applied Ecosystem Services, Inc.|Innovation http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: \textservicemark vs. \texttrademark
On Wed, 20 Aug 2008, Rich Shepard wrote: I cannot use \textservicemark without compile errors when using pdflatex. However, I can use \texttrademark without a burp. According to my symbols list, the latter has a LaTeX2e kludge while the former does not. The former requires textcomp. Is that a package? More: I added \usepackage{textcomp} to the preamble and saw the error message that \textservicemark is not provided by the package textcomp. However, in textcomp.sty (2004/02/22 v1.99f) there is the line, [EMAIL PROTECTED]@symbol2\textservicemark} I'd appreciate someone teaching me why I'm seeing the error and how to correct it. Rich -- Richard B. Shepard, Ph.D. | IntegrityCredibility Applied Ecosystem Services, Inc.|Innovation http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: \textservicemark vs. \texttrademark
Rich Shepard wrote: On Wed, 20 Aug 2008, Rich Shepard wrote: I cannot use \textservicemark without compile errors when using pdflatex. However, I can use \texttrademark without a burp. According to my symbols list, the latter has a LaTeX2e kludge while the former does not. The former requires textcomp. Is that a package? More: I added \usepackage{textcomp} to the preamble and saw the error message that \textservicemark is not provided by the package textcomp. However, in textcomp.sty (2004/02/22 v1.99f) there is the line, [EMAIL PROTECTED]@symbol2\textservicemark} I'd appreciate someone teaching me why I'm seeing the error and how to correct it. I can't translate the [EMAIL PROTECTED]@symbol2 thing, but we had a discussion about the vagaries of \textservicemark back in February (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62336.html). Does this imply that the workaround you found acceptable then (\textsuperscript{SM}) is no longer sufficient? /Paul
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: positioning logo in footer
If you want to place a logo (figure, graphic or something) in a page, you can use the command: \AddToShipoutPicture{} (puts the picture on every page) \AddToShipoutPicture*{} (puts it on to the current page) See the eso-pic package documentation. - Original Message - From: Graham Smith [EMAIL PROTECTED] To: LyX Users List lyx-users@lists.lyx.org Sent: Wednesday, August 20, 2008 1:49 PM Subject: positioning logo in footer Sorry folks, I'm still struggling along here I have a logo added with this code \lfoot{\resizebox{3cm}{!}{\includegraphics{Logo_Small.png}}} and then an address added as a \rfoot etc Horizontally this works fine, but vertically, the bottom of the logo is at the same height as the top of the address, giving the impression that the address is contained inside the footer, but the logo is sitting on top of the footer. How to I move the logo down so it better aligns with the address. I would like the top of the logo to align with the top of the address. Thanks, Graham Graham Smith [EMAIL PROTECTED] __ Information from ESET NOD32 Antivirus, version of virus signature database 3372 (20080820) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Logo in Presentation Beamer
Hi All In my presentation [using presentation (beamer) class], I want to put two logos in every page: One on the top-left (university logo) and another one on the top-right (research group logo) How can I do that, or any suggestions to place two different logo images in every presentation page in the header or footer. Thank you
Fail to create pdf/ps
1. Currently I am writing a lyx document. But I found I cannot convert lyx file to pdf/ps format. 2. I wrote a simple Hello world! lyx file. Lyx can convert it to pdf format. 3. I guess that there maybe some grammar mistakes in my lyx file. But I cannot locate them by lyx system. many thanks! 2008-08-21 wangyq
Re: Lyx cross platform compatability - is there a problem?
I think explanation to the problem is fact that Mac new line character (EOL) is CR, Windows is CR+LF, and Unix is LF. For compatibility most Unix based applications ported to Windows handles only LF from these two, so on Windows options were seen as in separate lines, while on Mac until explicitely specified lines were not seen. But this is my speculation. 2008/8/19 Graham Smith [EMAIL PROTECTED] On 19 Aug 2008, at 19:57, Christian Ridderström wrote: On Tue, 19 Aug 2008, Graham Smith wrote: As you will see, from my other post, the issue was a leading comma in the preamble, setting the Komascript options. It seems that both the Mac and Linux are forgiving of this syntax error, but Windows is not. So it isn't a Windows issue Hi Graham, I'm glad you solved the problem. regards, Christian I'm glad it was that simple. Graham -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: Lyx cross platform compatability - is there a problem?
On Wednesday 20 August 2008 07:45:18 Manveru wrote: I think explanation to the problem is fact that Mac new line character (EOL) is CR, Windows is CR+LF, and Unix is LF. For compatibility most Unix based applications ported to Windows handles only LF from these two, so on Windows options were seen as in separate lines, while on Mac until explicitely specified lines were not seen. But this is my speculation. We remove any possible end of line marker, so unless there is a bug that should not be the problem. :-) And if that is the case we would like to hear. -- José Abílio
Re: Lyx cross platform compatability - is there a problem?
On 19.08.2008, at 21:21, Graham Smith wrote: On 19 Aug 2008, at 19:57, Christian Ridderström wrote: On Tue, 19 Aug 2008, Graham Smith wrote: As you will see, from my other post, the issue was a leading comma in the preamble, setting the Komascript options. It seems that both the Mac and Linux are forgiving of this syntax error, but Windows is not. So it isn't a Windows issue Hi Graham, I'm glad you solved the problem. I want to add a word of encouragement here: In out group we have been co-writing papers and documents using LyX on Windows/Linux/OSX for years: - There never, ever has been a problem with LyX itself. - Only occasionally (2 or 3 times) we had compatibility issues with different versions of one of the supporting tools. Usually, different versions of ImageMagik were the cause. Overall, I can truly recommend LyX as a cross-plattform document processor! Daniel
Re: example of layout module for LyX 1.6
Hi Steve, Steve Litt wrote: Thanks Oliver, I still don't understand the underlying philosophy of layout modules: 0) What is a layout module? From my (user) point of view, it is a small .module file in your layouts folder containing class, styles, etc. But the developers might answer that your questions better... 1) Why are they better than just writing your own layout file? I think that's the question I can easily answer: I used LyX years ago to write my PhD thesis. However, I do not know anything about LaTeX, styles, etc. I just took some code from here and there and added them to the preamble (a lot from the now defunct web site that contained many LyX tricks before Wiki even existed). But I never did a layout file. To me, that was (and still is) a too daunting task. When I saw the wiki page on the new features, I jumped into the modules provided with 1.6 and it took me very low time to write the two modules I use. I think the advantage is that a less experienced user like me prefers to add a given module than to touch the preamble, or to write a layout file. Also, I suspect that debugging a trivial module that you can turn on/off is probably easier than debugging a layout file. There are also other advantages: you can add them, remove them, combine several, have different versions, send them to someone, ... it's way more flexible. 2) How do you decide when to use them? When you want to add a functionality for some files only, not for all (e.g. when I write some documents that do not require the erf/sinc functions, then I do not add my math module). It's more flexible than layout I guess. Some of the provided modules implements FAQ stuff, like the one that transforms footnotes to endnotes using the let command. LyX can now provide such features in a few mouse clicks. I guess that's another typical use for modules. That's what my math functions module do. 3) By what design methodology do you create them? I have no methodology :-) I just experiment until I am satisfied. 4) What are the attributes of a good layout module? 5) What are the attributes of a bad layout module? Thanks SteveT Best regards, Olivier
Re: example of layout module for LyX 1.6
Steve Litt wrote: On Tuesday 19 August 2008 13:16, Olivier Ripoll wrote: [...] Olivier Oh, Maybe I do understand it. Is a layout module just a chunk of debugged LyX/LaTeX code that would normally go in a layout file, and gets included in the layout file by reference? So you could mix and match layout modules to get a more granular modularization, similar to #include in C? That's how I understand it. I hope there will be more docs written on this topic after 1.6 is out. So is it a way to write once, use many times? Is it a way to use known-debugged LyX/LaTeX code? And is it a way for all of us to trade debugged and tested code without throwing in every silly little feature we put in our book? I think so. At least that's how I see them. But developers and experts might see a bigger picture and envision other uses for the modules. As I said, I am a basic (stupid) user. Best regards, Olivier Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
override section numbering in aastex class
In the article (AASTeX) document class, is there an option to globablly override section numbering? If not, can it be done in the preamble, how? Unfortunately, the *section, *subsection options do not appear in the drop down list. I do not want to use ERT because I am collaborating with someone who started using LyX, so it is OK to put some ERT formating in a few places, but that would be nasty through all the document.
Re: Lyx cross platform compatability - is there a problem?
So it isn't a Windows issue Hi Graham, I'm glad you solved the problem. I want to add a word of encouragement here: In out group we have been co-writing papers and documents using LyX on Windows/Linux/OSX for years: - There never, ever has been a problem with LyX itself. - Only occasionally (2 or 3 times) we had compatibility issues with different versions of one of the supporting tools. Usually, different versions of ImageMagik were the cause. Overall, I can truly recommend LyX as a cross-plattform document processor! Daniel Thanks, that is good to know. Graham
A bug in Lyx1.6rc1?
When I use lyx1.6rc1, I find that if you save your document and then select some words and paste them elsewhere, the save button in the toolbar does not change its status (i.e., its color). -- View this message in context: http://n2.nabble.com/A-bug-in-Lyx1.6rc1--tp735232p735232.html Sent from the LyX - Users mailing list archive at Nabble.com.
line numbering after first page
For a submission I am required to number the lines only after the first (title) page, in AASTeX. But it does not mater if put \begin{linenumbers} after the title page, all lines are numbered from the first line (title) in the first page. I also put a page-break, and after that the ERT, but it does not work. How to solve that? Also, the abstract numbering got also wrong: n for the first line, nothing for the others, and n+1 for the title of the first section.
Re: A bug in Lyx1.6rc1?
Sorry for the previous post. This bug only occurs in the mathed environment and also by the mouse operation (i.e., left-click to select and middle-click to paste). -- View this message in context: http://n2.nabble.com/A-bug-in-Lyx1.6rc1--tp735232p735261.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: example of layout module for LyX 1.6
On 19.08.08, Olivier Ripoll wrote: Hi, I just wanted to share a simple and probably imperfect layout module for LyX 1.6. ... As the description says, this module simply defines several useful math functions that are not available by default. One tip: to get the additional functions nicely rendered in LyX, I use dummy math-macros: The definitions goes to the preamble and the math-macro is in a branch or comment (to suppress the \newcommand{}{} definition in the LaTeX file.) This is, however, the =1.5.x way to do, I do not know how this will fit with the new math-macro implementation in 1.6. The attaced file has such a dummy macro for the sgn function. It is an excerpt of the math-macros for my phd thesis. Günter sgn-macro.lyx Description: application/lyx
Re: References
On 19.08.08, Hesham Kamel wrote: Hello, I am writing my thesis and each chapter is in a separate folder. Do you have a master file that includes all the chapters? Now, How do you make the references appear in a separate file in the order they appeared within the chapters? Create a bibtex database for your references. In your master file, do InsertBibliography and select your bibtex file. The UserGuide and the LyX wiki should have more documentation about using BibTeX for references. Günter
Re: example of layout module for LyX 1.6
On 19.08.08, Steve Litt wrote: I still don't understand the underlying philosophy of layout modules: 0) What is a layout module? A file with syntax and content similar to a LyX layout file that can be added to a chosen documentclass' layout definitions on a per-document base. 1) Why are they better than just writing your own layout file? It's orthogonal: you can combine document classes with additional features provided by the modules. 2) How do you decide when to use them? In DocumentSettings 3) By what design methodology do you create them? Take an example from the LyX 1.6 layouts directory and modify. 4) What are the attributes of a good layout module? 5) What are the attributes of a bad layout module? This is a matter of taste (to a certain extent). Look at the examples that come with LyX 1.6 for good ones. Günter BTW: No TOFU (Text oben full quote unten), please: On Tuesday 19 August 2008 11:43, Olivier Ripoll wrote: Hi, ...
Unavaible layouts
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
How to create Table of Contents from separate files?
Hi, I am a new Latex user and I have started to write my thesis using LyX. I have each chapter in a separate folder. Please, I want to know how do make LyX generate lists like: *the bibliography, lists of figures and tables*, *and table of contents*from these separate files and make them appear also in separate files in the order they appeared within chapters? Thank you -- Hesham
positioning logo in footer
Sorry folks, I'm still struggling along here I have a logo added with this code \lfoot{\resizebox{3cm}{!}{\includegraphics{Logo_Small.png}}} and then an address added as a \rfoot etc Horizontally this works fine, but vertically, the bottom of the logo is at the same height as the top of the address, giving the impression that the address is contained inside the footer, but the logo is sitting on top of the footer. How to I move the logo down so it better aligns with the address. I would like the top of the logo to align with the top of the address. Thanks, Graham Graham Smith [EMAIL PROTECTED]
Re: How to create Table of Contents from separate files?
Hesham Kamel wrote: Hi, I am a new Latex user and I have started to write my thesis using LyX. I have each chapter in a separate folder. Please, I want to know how do make LyX generate lists like: *the bibliography, lists of figures and tables*, *and table of contents*from these separate files and make them appear also in separate files in the order they appeared within chapters? Thank you If i undestand correctly you want to have your You need to have a master file in which you can include TOC,LOF,LOT from the inster menus then go to the insert menu file option and select the child document this will open a new windo from where u can choose you chapter file. Keep all your settings (page setting and preamble) in the master file so you dont have to these for each chapter. As for the bibliography you can also include that in the master document and from the insert menu and use your references in the chapter were you want them they should appear properly when you output the master file. regards, kamran
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: Unavaible layouts
On 20.08.08, wangyq wrote: ... When I look into - Documents Settings Document Class it shows that all classes including the standard ones (article, report, etc) are unavailable. First guess: try ToolsReconfigure 2nd: Check HelpLaTeX-Configuration 3rd Is LaTeX still installed? Available for LyX? Günter
class could not be loaded error (Lyx 1.5.6, Mac)
Hello, I have a problem with a customized letter class used at my university. I have created a .layout file and a template for it during my first experiments with 1.6b4. Typesetting works with it in 1.6b4. But now, as I use 1.5.6 for my daily work, I saved/exported my template to work with Lyx 1.5. I have copied the .layout file into Application Support/Lyx-1.5/ layouts/. The class file resides in ~/Library/texmf/latex/, so no change is necessary here. I ran texhash and Lyxreconfigure a couple of times. Now a strange thing in 1.5.6 happens: If I try to create a new document via New from template... an error message occurs: Using the default document class, because the class unimr-brief could not be loaded. If I try to create a new document using my unimr-brief class, I do find the Document class letter (unimr-brief) selectable in the Lyx Document settings. But when I actually select this error message is displayed: The document could not be converted into the document class unimr- brief. Looking at Tex-Information inside Lyx, the unimr-brief class is shown. I now have already looked inside the class, the template, and the layout file but I can see no error. Strangely enough the whole thing also does not work in 1.6rc1. Can somebody tell me what's gone wrong here? Thanks, Johannes I have attached the relevant files. unimr-brief.layout Description: Binary data unimr-brief.cls Description: Binary data unimr-brief.lyx Description: Binary data -- Sometimes I lie awake at night, and ask, Where have I gone wrong? Then a voice says to me, This is going to take more than one night. (Charlie Brown)
Harvard Style References
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
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
Article-Beamer class - article text only
Does anyone use this and give me a bit of help with it. It seems that you can switch document class between Beamer and Article-Beamer and get the presentation formatted PDF or an article formatted PDF. Which is great, but in Latex when you add text between the frames they show up in the article but not the presentation. However text placed between frames in Lyx creates a new frame in the Lyx presentation. How do I add normal text that only appears in the article output. Many thanks, Graham Graham Smith [EMAIL PROTECTED]
Re: Article-Beamer class - article text only
It seems that you can switch document class between Beamer and Article-Beamer and get the presentation formatted PDF or an article formatted PDF. Which is great, but in Latex when you add text between the frames they show up in the article but not the presentation. However text placed between frames in Lyx creates a new frame in the Lyx presentation. How do I add normal text that only appears in the article output. OK one way that works is to use an ERT insert with \modearticle {This text is article only} Is this the only way of doing it? Graham
Re: Unavaible layouts
wangyq wrote: I just installed the new release of lyx-1.6 Be aware that 1.6 is a release candidate, not a release (unless I missed an announcement). It's for testing and to learn the new features, but I suggest you not use it for serious work until a stable version emerges. /Paul
Re: Article-Beamer class - article text only
Graham Smith wrote: OK one way that works is to use an ERT insert with \modearticle {This text is article only} Is this the only way of doing it? In 1.5, yes. In 1.6, you will also be able to select Insert-Custom-Article Mode and get a specific collapsable inset. Jürgen
Re: Article-Beamer class - article text only
On 20 Aug 2008, at 23:06, Juergen Spitzmueller wrote: Graham Smith wrote: OK one way that works is to use an ERT insert with \modearticle {This text is article only} Is this the only way of doing it? In 1.5, yes. In 1.6, you will also be able to select Insert-Custom-Article Mode and get a specific collapsable inset. Jürgen Thanks, this is a really great feature to have working in Lyx. Graham
\textservicemark vs. \texttrademark
I cannot use \textservicemark without compile errors when using pdflatex. However, I can use \texttrademark without a burp. According to my symbols list, the latter has a LaTeX2e kludge while the former does not. The former requires textcomp. Is that a package? There is a legal difference between a trademark and a servicemark so I do want to figure out how to use the latter without throwing a compile-time error. Rich -- Richard B. Shepard, Ph.D. | IntegrityCredibility Applied Ecosystem Services, Inc.|Innovation http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: \textservicemark vs. \texttrademark
On Wed, 20 Aug 2008, Rich Shepard wrote: I cannot use \textservicemark without compile errors when using pdflatex. However, I can use \texttrademark without a burp. According to my symbols list, the latter has a LaTeX2e kludge while the former does not. The former requires textcomp. Is that a package? More: I added \usepackage{textcomp} to the preamble and saw the error message that \textservicemark is not provided by the package textcomp. However, in textcomp.sty (2004/02/22 v1.99f) there is the line, [EMAIL PROTECTED]@symbol2\textservicemark} I'd appreciate someone teaching me why I'm seeing the error and how to correct it. Rich -- Richard B. Shepard, Ph.D. | IntegrityCredibility Applied Ecosystem Services, Inc.|Innovation http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: \textservicemark vs. \texttrademark
Rich Shepard wrote: On Wed, 20 Aug 2008, Rich Shepard wrote: I cannot use \textservicemark without compile errors when using pdflatex. However, I can use \texttrademark without a burp. According to my symbols list, the latter has a LaTeX2e kludge while the former does not. The former requires textcomp. Is that a package? More: I added \usepackage{textcomp} to the preamble and saw the error message that \textservicemark is not provided by the package textcomp. However, in textcomp.sty (2004/02/22 v1.99f) there is the line, [EMAIL PROTECTED]@symbol2\textservicemark} I'd appreciate someone teaching me why I'm seeing the error and how to correct it. I can't translate the [EMAIL PROTECTED]@symbol2 thing, but we had a discussion about the vagaries of \textservicemark back in February (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62336.html). Does this imply that the workaround you found acceptable then (\textsuperscript{SM}) is no longer sufficient? /Paul
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: positioning logo in footer
If you want to place a logo (figure, graphic or something) in a page, you can use the command: \AddToShipoutPicture{} (puts the picture on every page) \AddToShipoutPicture*{} (puts it on to the current page) See the eso-pic package documentation. - Original Message - From: Graham Smith [EMAIL PROTECTED] To: LyX Users List lyx-users@lists.lyx.org Sent: Wednesday, August 20, 2008 1:49 PM Subject: positioning logo in footer Sorry folks, I'm still struggling along here I have a logo added with this code \lfoot{\resizebox{3cm}{!}{\includegraphics{Logo_Small.png}}} and then an address added as a \rfoot etc Horizontally this works fine, but vertically, the bottom of the logo is at the same height as the top of the address, giving the impression that the address is contained inside the footer, but the logo is sitting on top of the footer. How to I move the logo down so it better aligns with the address. I would like the top of the logo to align with the top of the address. Thanks, Graham Graham Smith [EMAIL PROTECTED] __ Information from ESET NOD32 Antivirus, version of virus signature database 3372 (20080820) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Logo in Presentation Beamer
Hi All In my presentation [using presentation (beamer) class], I want to put two logos in every page: One on the top-left (university logo) and another one on the top-right (research group logo) How can I do that, or any suggestions to place two different logo images in every presentation page in the header or footer. Thank you
Fail to create pdf/ps
1. Currently I am writing a lyx document. But I found I cannot convert lyx file to pdf/ps format. 2. I wrote a simple Hello world! lyx file. Lyx can convert it to pdf format. 3. I guess that there maybe some grammar mistakes in my lyx file. But I cannot locate them by lyx system. many thanks! 2008-08-21 wangyq
Re: Lyx cross platform compatability - is there a problem?
I think explanation to the problem is fact that Mac new line character (EOL) is CR, Windows is CR+LF, and Unix is LF. For compatibility most Unix based applications ported to Windows handles only LF from these two, so on Windows options were seen as in separate lines, while on Mac until explicitely specified lines were not seen. But this is my speculation. 2008/8/19 Graham Smith <[EMAIL PROTECTED]> > On 19 Aug 2008, at 19:57, Christian Ridderström wrote: > > On Tue, 19 Aug 2008, Graham Smith wrote: >> >> As you will see, from my other post, the issue was a leading comma in the >>> preamble, setting the Komascript options. >>> >>> It seems that both the Mac and Linux are forgiving of this syntax error, >>> but Windows is not. >>> >>> So it isn't a Windows issue >>> >> >> Hi Graham, >> >> I'm glad you solved the problem. >> >> regards, >> Christian >> > > I'm glad it was that simple. > > Graham > > -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: Lyx cross platform compatability - is there a problem?
On Wednesday 20 August 2008 07:45:18 Manveru wrote: > I think explanation to the problem is fact that Mac new line character > (EOL) is CR, Windows is CR+LF, and Unix is LF. For compatibility most Unix > based applications ported to Windows handles only LF from these two, so on > Windows options were seen as in separate lines, while on Mac until > explicitely specified lines were not seen. But this is my speculation. We remove any possible end of line marker, so unless there is a bug that should not be the problem. :-) And if that is the case we would like to hear. -- José Abílio
Re: Lyx cross platform compatability - is there a problem?
On 19.08.2008, at 21:21, Graham Smith wrote: On 19 Aug 2008, at 19:57, Christian Ridderström wrote: On Tue, 19 Aug 2008, Graham Smith wrote: As you will see, from my other post, the issue was a leading comma in the preamble, setting the Komascript options. It seems that both the Mac and Linux are forgiving of this syntax error, but Windows is not. So it isn't a Windows issue Hi Graham, I'm glad you solved the problem. I want to add a word of encouragement here: In out group we have been co-writing papers and documents using LyX on Windows/Linux/OSX for years: - There never, ever has been a problem with LyX itself. - Only occasionally (2 or 3 times) we had compatibility issues with different versions of one of the supporting tools. Usually, different versions of ImageMagik were the cause. Overall, I can truly recommend LyX as a cross-plattform document processor! Daniel
Re: example of layout module for LyX 1.6
Hi Steve, Steve Litt wrote: Thanks Oliver, I still don't understand the underlying philosophy of layout modules: 0) What is a layout module? From my (user) point of view, it is a small ".module" file in your "layouts" folder containing class, styles, etc. But the developers might answer that your questions better... 1) Why are they better than just writing your own layout file? I think that's the question I can easily answer: I used LyX years ago to write my PhD thesis. However, I do not know anything about LaTeX, styles, etc. I just took some code from here and there and added them to the preamble (a lot from the now defunct web site that contained many LyX tricks before Wiki even existed). But I never did a layout file. To me, that was (and still is) a too daunting task. When I saw the wiki page on the new features, I jumped into the modules provided with 1.6 and it took me very low time to write the two modules I use. I think the advantage is that a less experienced user like me prefers to add a given module than to touch the preamble, or to write a layout file. Also, I suspect that debugging a trivial module that you can turn on/off is probably easier than debugging a layout file. There are also other advantages: you can add them, remove them, combine several, have different versions, send them to someone, ... it's way more flexible. 2) How do you decide when to use them? When you want to add a functionality for some files only, not for all (e.g. when I write some documents that do not require the erf/sinc functions, then I do not add my math module). It's more flexible than layout I guess. Some of the provided modules implements FAQ stuff, like the one that transforms footnotes to endnotes using the "let" command. LyX can now provide such features in a few mouse clicks. I guess that's another typical use for modules. That's what my math functions module do. 3) By what design methodology do you create them? I have no methodology :-) I just experiment until I am satisfied. 4) What are the attributes of a "good" layout module? 5) What are the attributes of a "bad" layout module? Thanks SteveT Best regards, Olivier
Re: example of layout module for LyX 1.6
Steve Litt wrote: On Tuesday 19 August 2008 13:16, Olivier Ripoll wrote: [...] Olivier Oh, Maybe I do understand it. Is a layout module just a chunk of debugged LyX/LaTeX code that would normally go in a layout file, and gets included in the layout file by reference? So you could mix and match layout modules to get a more granular modularization, similar to #include in C? That's how I understand it. I hope there will be more docs written on this topic after 1.6 is out. So is it a way to write once, use many times? Is it a way to use known-debugged LyX/LaTeX code? And is it a way for all of us to trade debugged and tested code without throwing in every silly little feature we put in our book? I think so. At least that's how I see them. But developers and experts might see a bigger picture and envision other uses for the modules. As I said, I am a basic (stupid) user. Best regards, Olivier Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
override section numbering in aastex class
In the article (AASTeX) document class, is there an option to globablly override section numbering? If not, can it be done in the preamble, how? Unfortunately, the *section, *subsection options do not appear in the drop down list. I do not want to use ERT because I am collaborating with someone who started using LyX, so it is OK to put some ERT formating in a few places, but that would be nasty through all the document.
Re: Lyx cross platform compatability - is there a problem?
So it isn't a Windows issue Hi Graham, I'm glad you solved the problem. I want to add a word of encouragement here: In out group we have been co-writing papers and documents using LyX on Windows/Linux/OSX for years: - There never, ever has been a problem with LyX itself. - Only occasionally (2 or 3 times) we had compatibility issues with different versions of one of the supporting tools. Usually, different versions of ImageMagik were the cause. Overall, I can truly recommend LyX as a cross-plattform document processor! Daniel Thanks, that is good to know. Graham
A bug in Lyx1.6rc1?
When I use lyx1.6rc1, I find that if you save your document and then select some words and paste them elsewhere, the "save" button in the toolbar does not change its status (i.e., its color). -- View this message in context: http://n2.nabble.com/A-bug-in-Lyx1.6rc1--tp735232p735232.html Sent from the LyX - Users mailing list archive at Nabble.com.
line numbering after first page
For a submission I am required to number the lines only after the first (title) page, in AASTeX. But it does not mater if put \begin{linenumbers} after the title page, all lines are numbered from the first line (title) in the first page. I also put a page-break, and after that the ERT, but it does not work. How to solve that? Also, the abstract numbering got also wrong: "n" for the first line, nothing for the others, and "n+1" for the title of the first section.
Re: A bug in Lyx1.6rc1?
Sorry for the previous post. This bug only occurs in the mathed environment and also by the mouse operation (i.e., left-click to select and middle-click to paste). -- View this message in context: http://n2.nabble.com/A-bug-in-Lyx1.6rc1--tp735232p735261.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: example of layout module for LyX 1.6
On 19.08.08, Olivier Ripoll wrote: > Hi, > I just wanted to share a simple and probably imperfect layout module for > LyX 1.6. ... > As the description says, this module simply defines several useful math > functions that are not available by default. One tip: to get the additional functions nicely rendered in LyX, I use "dummy" math-macros: The definitions goes to the preamble and the math-macro is in a branch or comment (to suppress the \newcommand{}{} definition in the LaTeX file.) This is, however, the <=1.5.x way to do, I do not know how this will fit with the new math-macro implementation in 1.6. The attaced file has such a dummy macro for the sgn function. It is an excerpt of the math-macros for my phd thesis. Günter sgn-macro.lyx Description: application/lyx
Re: References
On 19.08.08, Hesham Kamel wrote: > Hello, > I am writing my thesis and each chapter is in a separate folder. Do you have a master file that includes all the chapters? > Now, How do you make the references appear in a separate file in the order > they appeared within the chapters? Create a bibtex database for your references. In your master file, do Insert>Bibliography and select your bibtex file. The UserGuide and the LyX wiki should have more documentation about using BibTeX for references. Günter
Re: example of layout module for LyX 1.6
On 19.08.08, Steve Litt wrote: > I still don't understand the underlying philosophy of layout modules: > 0) What is a layout module? A file with syntax and content similar to a LyX layout file that can be added to a chosen documentclass' layout definitions on a per-document base. > 1) Why are they better than just writing your own layout file? It's orthogonal: you can combine document classes with additional features provided by the modules. > 2) How do you decide when to use them? In Document>Settings > 3) By what design methodology do you create them? Take an example from the LyX 1.6 layouts directory and modify. > 4) What are the attributes of a "good" layout module? > 5) What are the attributes of a "bad" layout module? This is a matter of taste (to a certain extent). Look at the examples that come with LyX 1.6 for "good" ones. Günter BTW: No TOFU (Text oben full quote unten), please: > On Tuesday 19 August 2008 11:43, Olivier Ripoll wrote: > > Hi, ...
Unavaible layouts
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
How to create Table of Contents from separate files?
Hi, I am a new Latex user and I have started to write my thesis using LyX. I have each chapter in a separate folder. Please, I want to know how do make LyX generate lists like: *the bibliography, lists of figures and tables*, *and table of contents*from these separate files and make them appear also in separate files in the order they appeared within chapters? Thank you -- Hesham
positioning logo in footer
Sorry folks, I'm still struggling along here I have a logo added with this code \lfoot{\resizebox{3cm}{!}{\includegraphics{Logo_Small.png}}} and then an address added as a \rfoot etc Horizontally this works fine, but vertically, the bottom of the logo is at the same height as the top of the address, giving the impression that the address is contained inside the footer, but the logo is sitting on top of the footer. How to I move the logo down so it better aligns with the address. I would like the top of the logo to align with the top of the address. Thanks, Graham Graham Smith [EMAIL PROTECTED]
Re: How to create Table of Contents from separate files?
Hesham Kamel wrote: Hi, I am a new Latex user and I have started to write my thesis using LyX. I have each chapter in a separate folder. Please, I want to know how do make LyX generate lists like: *the bibliography, lists of figures and tables*, *and table of contents*from these separate files and make them appear also in separate files in the order they appeared within chapters? Thank you If i undestand correctly you want to have your You need to have a master file in which you can include TOC,LOF,LOT from the inster menus then go to the insert menu file option and select the child document this will open a new windo from where u can choose you chapter file. Keep all your settings (page setting and preamble) in the master file so you dont have to these for each chapter. As for the bibliography you can also include that in the master document and from the insert menu and use your references in the chapter were you want them they should appear properly when you output the master file. regards, kamran
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: Unavaible layouts
On 20.08.08, wangyq wrote: ... > When I look into - Documents > Settings > Document Class it shows that > all classes including the standard ones (article, report, etc) are > "unavailable". First guess: try Tools>Reconfigure 2nd: Check Help>LaTeX-Configuration 3rd Is LaTeX still installed? Available for LyX? Günter
class could not be loaded error (Lyx 1.5.6, Mac)
Hello, I have a problem with a customized letter class used at my university. I have created a .layout file and a template for it during my first experiments with 1.6b4. Typesetting works with it in 1.6b4. But now, as I use 1.5.6 for my daily work, I saved/exported my template to work with Lyx 1.5. I have copied the .layout file into Application Support/Lyx-1.5/ layouts/. The class file resides in ~/Library/texmf/latex/, so no change is necessary here. I ran texhash and Lyx>reconfigure a couple of times. Now a strange thing in 1.5.6 happens: If I try to create a new document via New from template... an error message occurs: " Using the default document class, because the class unimr-brief could not be loaded." If I try to create a new document using my unimr-brief class, I do find the Document class letter (unimr-brief) selectable in the Lyx Document settings. But when I actually select this error message is displayed: "The document could not be converted into the document class unimr- brief." Looking at "Tex-Information" inside Lyx, the unimr-brief class is shown. I now have already looked inside the class, the template, and the layout file but I can see no error. Strangely enough the whole thing also does not work in 1.6rc1. Can somebody tell me what's gone wrong here? Thanks, Johannes I have attached the relevant files. unimr-brief.layout Description: Binary data unimr-brief.cls Description: Binary data unimr-brief.lyx Description: Binary data -- Sometimes I lie awake at night, and ask, "Where have I gone wrong?" Then a voice says to me, "This is going to take more than one night." (Charlie Brown)
Harvard Style References
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
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.6>texhash > 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
Article-Beamer class - article text only
Does anyone use this and give me a bit of help with it. It seems that you can switch document class between Beamer and Article-Beamer and get the presentation formatted PDF or an article formatted PDF. Which is great, but in Latex when you add text between the frames they show up in the article but not the presentation. However text placed between frames in Lyx creates a new frame in the Lyx presentation. How do I add normal text that only appears in the article output. Many thanks, Graham Graham Smith [EMAIL PROTECTED]
Re: Article-Beamer class - article text only
It seems that you can switch document class between Beamer and Article-Beamer and get the presentation formatted PDF or an article formatted PDF. Which is great, but in Latex when you add text between the frames they show up in the article but not the presentation. However text placed between frames in Lyx creates a new frame in the Lyx presentation. How do I add normal text that only appears in the article output. OK one way that works is to use an ERT insert with \mode {This text is article only} Is this the only way of doing it? Graham
Re: Unavaible layouts
wangyq wrote: > I just installed the new release of lyx-1.6 Be aware that 1.6 is a "release candidate", not a release (unless I missed an announcement). It's for testing and to learn the new features, but I suggest you not use it for serious work until a stable version emerges. /Paul
Re: Article-Beamer class - article text only
Graham Smith wrote: > OK one way that works is to use an ERT insert with > > \mode {This text is article only} > > Is this the only way of doing it? In 1.5, yes. In 1.6, you will also be able to select Insert->Custom->Article Mode and get a specific collapsable inset. Jürgen