Sweave and apastyle in Lyx
Dear Lyx users, I am wondering if some of you have successfully been able to use a combination of Sweave and Apastyle to produce documents. What I wish to do is to use the sweave function to conduct analyses with R which will then be included in a report formatted with apastyle. I am using Lyx version 1.5.3 on Ubuntu Hardy, and I can use both Sweave and apastyle independently without any problems. Best regards, Tormod Bøe
Re: algorithm2e in LyX 1.5.6: algorithm already defined
This seems to be a problem with version 1.5.6, since I have used algorithm2e with Lyx 1.5.5 and had no problem. Since I do not have installed v1.5.6 (don't know why :-)), I cannot say if you can do anything to solve your problem. Take a look at Document Settings to see if there is any option concerning algorithms. Unless anyone else gives a solution, I suggest that you file a bug in bugzilla.lyx.org. A possible workaround is to install v 1.5.5. I think it should be able to coexist with your current version. Cheers, Nicolás A. Scottedward Hodel wrote: I'm importing a student's PhD dissertation into LyX to use the track changes function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file: %% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algorithm}{Algorithm} %% User specified LaTeX commands. If I comment out the \newfloat and \floatname commands, then the error goes away. Is there a way to get rid of them without manually editing the .tex file? A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar
information about formatting
Hello Evrybody! 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? Thank you very much! /davide
Re: New LyX user, problem with uncodable characters
Nikos Alexandris [EMAIL PROTECTED] writes: All warnings are ChkTeX warning id # xy. Where xy are 18, 13, 36, 12, 11, 13, 36, ... 11, 16, 17. They are too many and I cant copy paste them! Is there an error log? Three examples: ChkTeX warning id # 18 Use either `` or '' as an alternative to `'. ChkTeX warning id # 13 Intersentence spacing (`\@') should perhaps be used. ChkTeX warning id # 36 You should put a space in front of parenthesis. If this is a file you can share, I'd be interested to have a copy by private mail. Otherwise, you can try to find the chktex log file in /tmp/lyx_tmpdir/ subdirectories (look for a file named .log). JMarc
in-text citation
Dear All, I'm using LyX 1.5 to write a thesis. I'm trying to get my in-text citations to look the way I specified it in the LyX:citation window under Formatting, Citation style (for example: Author (Year) or (Author, Year)), but whatever I do it comes out as (number). I use natbib Author-Year in Settings-Bibliography and tried to add \bibpunct{(}{)}{,}{a}{,}{,} to my preamble and change the citation style to different nat and apa styles, but nothing works. Does anyone have an idea how to fix this? Thank you very much in advance, Ann-Kathrin
formatting!
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 -- View this message in context: http://n2.nabble.com/formatting%21-tp1115090p1115090.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Location of packages
E. Kaplan wrote: Yes, I ran texhash as sudo. kpsewhich xcolor.sty returns no response. Then for some reason TeX isn't seeing the package. You said you put it: /usr/share/texmf-texlive/tex/latex/xcolor Are you sure that's the right location? The right location is specified in texmf.cnf. See here: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg67472.html if you need some guidance about that. By the way, how come the messages here are duplicated? If you mean messages from the list, we usually hit reply to all. Sometimes people post from gmane or other newsreaders, and so they only see the reply right away if it's sent to their own email address. rh rgheck wrote: Ehud Kaplan wrote: I am trying to Lyx a file, but I am getting the error: *Latex error: File 'xcolor.sty' not found.* I have placed the xcolor.sty file in a folder a folder called xcolor in /usr/share/texmf-texlive/tex/latex/xcolor I ran texconfigure and texhash. I am running Kubuntu 8.04 with tex-live How do I make it known to Lyx and Latex that the file is actually where it is supposed to be? Does kpsewhich xcolor.sty report that it sees the file? I'm guessing it does not. You may need to re-run texhash. Did you do so as root? Only root can modify the ls-R files for the system directories. rh
Re: information about formatting
Davide Cappetti wrote: Hello Evrybody! 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? The placement of these headers is controlled by the document class. Different document classes put them in different places, so experiment. If you want to control this more finely, then look into the titlesec LaTeX package. Or use one of the koma-script classes, and look at their documentation for how to customize. Richard
Re: in-text citation
[EMAIL PROTECTED] wrote: Dear All, I'm using LyX 1.5 to write a thesis. I'm trying to get my in-text citations to look the way I specified it in the LyX:citation window under Formatting, Citation style (for example: Author (Year) or (Author, Year)), but whatever I do it comes out as (number). I use natbib Author-Year in Settings-Bibliography and tried to add \bibpunct{(}{)}{,}{a}{,}{,} to my preamble and change the citation style to different nat and apa styles, but nothing works. Does anyone have an idea how to fix this? First question: Are you using BibTeX? If you're entering your bibliography using LyX's own bibliography environment, then you cannot use author-year citations, for the simple reason that LaTeX has no way of knowing which is the author and which is the year. You have to use BibTeX if you want author-year citations. If you are using BibTeX, then there is probably an error somewhere in your BibTeX file, possibly a missing year for a certain entry. Anything that throws off BibTeX's attempt to find years for all the entries will force it back to numerical mode. Richard
Unhappy Returns in Word
To save my elbow, I asked our secretary to type up a list in Word having this structure line1[soft return] line2[return] line3[soft return] line4[return] and so on (where a soft return on a mac is shift-return) hoping that when I copied and pasted into a LyX enumerate environment I would get 1. line1 line2 2. line3 line4 and so on. I get different things depending on the kind of paste in LyX I choose, but I do not get what I want. Any help would be appreciated. Bruce
Re: Location of packages
E. Kaplan wrote: Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the homologous place to where I found it in my Windows Miktex 2.7 installation, where the same Lyx file works just fine. The other latex packages are in folders in the same place (/usr/share/texmf-texlive/tex/latex/). Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? Richard PS Please make sure to include the list. Others with similar questions may be following the thread.
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: Unhappy Returns in Word
On Wednesday 24 September 2008 09:37:41 am Bruce Pourciau wrote: To save my elbow, I asked our secretary to type up a list in Word having this structure line1[soft return] line2[return] line3[soft return] line4[return] and so on (where a soft return on a mac is shift-return) hoping that when I copied and pasted into a LyX enumerate environment I would get 1.line1 line2 2.line3 line4 and so on. I get different things depending on the kind of paste in LyX I choose, but I do not get what I want. Any help would be appreciated. Bruce Hi Bruce, If it were me, I'd copy the secretary's work into Vim (after exporting to text or whatever), and then use Vim's search and replace or other tools to produce the equivalent LyX. You can reverse engineer deduce the codes in LyX by writing a tiny sample in LyX, then look at the resulting file in Vim. Everybody, This is one of many situations where it's vitally important to be able to edit a LyX file in a text editor, which is why it's necessary to make sure our new XML format is as text editor friendly as possible. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Location of packages
On Wednesday 24 September 2008 09:18:05 am rgheck wrote: E. Kaplan wrote: Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the homologous place to where I found it in my Windows Miktex 2.7 installation, where the same Lyx file works just fine. The other latex packages are in folders in the same place (/usr/share/texmf-texlive/tex/latex/). Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? Richard PS Please make sure to include the list. Others with similar questions may be following the thread. On my texlive installation (on Gentoo, not Ubuntu) it's at: /usr/share/texmf-site/tex/latex/xcolor/xcolor.sty I am using texlive-2007 and xcolor-2.11. If this doesn't help, let me know and I'll look this evening at my home computer (which has Ubuntu 8.04 with texlive).
Formatting in-text citations
Hi Lyx Users, I am compiling a large annotated reading list for my PhD comprehensive qualifying exams. I want to use lyx because of the flawless integration with my large BibTeX database. However, all of the BibTeX style files that I have used previously have abbreviated in-text citations. The behaviour I seek is, upon inserting a citation into an itemized environment, BibTeX/ LyX should place a fully fledged verbose bibliographic entry at the in-text citation location. Does anybody have ideas on how to accomplish this? Thanks, Andrew
Re: Formatting in-text citations
Andrew Barr wrote: Hi Lyx Users, I am compiling a large annotated reading list for my PhD comprehensive qualifying exams. I want to use lyx because of the flawless integration with my large BibTeX database. However, all of the BibTeX style files that I have used previously have abbreviated in-text citations. The behaviour I seek is, upon inserting a citation into an itemized environment, BibTeX/ LyX should place a fully fledged verbose bibliographic entry at the in-text citation location. Does anybody have ideas on how to accomplish this? Thanks, Andrew Look biblatex or jurabib Cheers, Charles
Re: Location of packages
This is where I had put it, but somehow sudo texhash did not update the database enough for Lyx (actually, Latex) to make use of it. However, I solved it by installing xcolor from the Ubuntu repositories. EK Les Denham wrote: On Wednesday 24 September 2008 09:18:05 am rgheck wrote: E. Kaplan wrote: Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the homologous place to where I found it in my Windows Miktex 2.7 installation, where the same Lyx file works just fine. The other latex packages are in folders in the same place (/usr/share/texmf-texlive/tex/latex/). Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? Richard PS Please make sure to include the list. Others with similar questions may be following the thread. On my texlive installation (on Gentoo, not Ubuntu) it's at: /usr/share/texmf-site/tex/latex/xcolor/xcolor.sty I am using texlive-2007 and xcolor-2.11. If this doesn't help, let me know and I'll look this evening at my home computer (which has Ubuntu 8.04 with texlive).
Loading Babel with parameter
Hi, You know that LyX adds \usepackage{babel} to the end of the preamble of the tex file by default. How can it changed to \usepackage[magyar]{babel} to load the Hungarian one? Regards, Máté
Re: Loading Babel with parameter
You know that LyX adds \usepackage{babel} to the end of the preamble of the tex file by default. How can it changed to \usepackage[magyar]{babel} to load the Hungarian one? Regards, Máté put magyar in options of documents Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
RC2: Importing from html - htmltolatex
Trying to use RC2 (on osx), and to import an existing document from html. Does RC2 install htmltolatex? If not, where should I install it so java -jar ... etc. from Lyx will find it and run properly? Should I go to Lyx/Preferences/FileHandling/Converters and edit the command line invocation of htmltolatex? Apologies if this question turns out to be more about osx or java, any best practice guidance appreciated. Thanks ... Sophie
Re: Loading Babel with parameter
Hi, If I set the language in the document options then it appears only among the options of \documentclass. The \begin{document} remains without option. Look at it here: http://screencast.com/t/ZQuXO1sXqQ. Regards, Máté - Original Message - From: Marcelo Acuña To: lyx-users@lists.lyx.org ; Máté Salát Sent: Thursday, September 25, 2008 12:38 AM Subject: Re: Loading Babel with parameter You know that LyX adds \usepackage{babel} to the end of the preamble of the tex file by default. How can it changed to \usepackage[magyar]{babel} to load the Hungarian one? Regards, Máté put magyar in options of documents Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
LyX... questions/ideas/wishes
Hi all! Don't know whether this is the correct place to drop ideas but I have some questions/ideas/wishes. I am not really a programmer so I don't know what it would take to implement these ideas. In addition I am very new to LyX. I started using it a couple of weeks ago. So my ideas might just be a beginners perception which changes in time by gaining more control and experience over the program. I wonder if it is a good idea to: * Put an explicit link to the Output size settings (Embedded Objects document) in the Users Guide which will save time to Beginners wondering why the figures exceed page margins in the output pdf. * I like LyX a lot. However, I feel that the necessity to use the Environment's drop down menu the whole time to assign an environment is time waisting and in the end it turns to become anti-productive especially if one works upon a big document. I had no doubt that there are key-shortcuts but it was not so easy to find them initially (...where is the Reference Manual whis is mentioned in the User's Guide, section 2.6 [1] ?). So, what about: (a) explain in the User's Guide [1] the way to assign common environments or link in a table where all this stuff is described (b) implement a Format Paintbrush tool (like in OpenOffice). Key shortcuts are the fastest way in my humble opinion to work with document processing tools. Yet, a Format Paintbrush tool is makes life easy: you just select the environment of your interest, scan your document and format let's say Section titles one by one. Kind regards, Nikos [1] In Section 2.6: Basic Key Bindings --- By the way: I read in this section, in the final sentence of the pre-last paragraph: ...so “M-p S-A” means Meta-p followed by a capital A. Was it meant to be ...followed by a Shift-A?
Re: LyX... questions/ideas/wishes
On Thu, 2008-09-25 at 02:14 +0200, Nikos Alexandris wrote: Hi all! Don't know whether this is the correct place to drop ideas but I have some questions/ideas/wishes. [...] In addition I would like to ask if it is possible to load different document in a split view?
Re: RC2: Importing from html - htmltolatex
Hello Sophie, On Wed, Sep 24, 2008 at 11:54 PM, itsme213 [EMAIL PROTECTED] wrote: Trying to use RC2 (on osx), and to import an existing document from html. Does RC2 install htmltolatex? My guess is that LyX ships with little convertors, and that you have to install most by yourself. It would help to know what OS you're running. Also, there is html2latex for HTML import. Liviu
Sweave and apastyle in Lyx
Dear Lyx users, I am wondering if some of you have successfully been able to use a combination of Sweave and Apastyle to produce documents. What I wish to do is to use the sweave function to conduct analyses with R which will then be included in a report formatted with apastyle. I am using Lyx version 1.5.3 on Ubuntu Hardy, and I can use both Sweave and apastyle independently without any problems. Best regards, Tormod Bøe
Re: algorithm2e in LyX 1.5.6: algorithm already defined
This seems to be a problem with version 1.5.6, since I have used algorithm2e with Lyx 1.5.5 and had no problem. Since I do not have installed v1.5.6 (don't know why :-)), I cannot say if you can do anything to solve your problem. Take a look at Document Settings to see if there is any option concerning algorithms. Unless anyone else gives a solution, I suggest that you file a bug in bugzilla.lyx.org. A possible workaround is to install v 1.5.5. I think it should be able to coexist with your current version. Cheers, Nicolás A. Scottedward Hodel wrote: I'm importing a student's PhD dissertation into LyX to use the track changes function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file: %% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algorithm}{Algorithm} %% User specified LaTeX commands. If I comment out the \newfloat and \floatname commands, then the error goes away. Is there a way to get rid of them without manually editing the .tex file? A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar
information about formatting
Hello Evrybody! 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? Thank you very much! /davide
Re: New LyX user, problem with uncodable characters
Nikos Alexandris [EMAIL PROTECTED] writes: All warnings are ChkTeX warning id # xy. Where xy are 18, 13, 36, 12, 11, 13, 36, ... 11, 16, 17. They are too many and I cant copy paste them! Is there an error log? Three examples: ChkTeX warning id # 18 Use either `` or '' as an alternative to `'. ChkTeX warning id # 13 Intersentence spacing (`\@') should perhaps be used. ChkTeX warning id # 36 You should put a space in front of parenthesis. If this is a file you can share, I'd be interested to have a copy by private mail. Otherwise, you can try to find the chktex log file in /tmp/lyx_tmpdir/ subdirectories (look for a file named .log). JMarc
in-text citation
Dear All, I'm using LyX 1.5 to write a thesis. I'm trying to get my in-text citations to look the way I specified it in the LyX:citation window under Formatting, Citation style (for example: Author (Year) or (Author, Year)), but whatever I do it comes out as (number). I use natbib Author-Year in Settings-Bibliography and tried to add \bibpunct{(}{)}{,}{a}{,}{,} to my preamble and change the citation style to different nat and apa styles, but nothing works. Does anyone have an idea how to fix this? Thank you very much in advance, Ann-Kathrin
formatting!
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 -- View this message in context: http://n2.nabble.com/formatting%21-tp1115090p1115090.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Location of packages
E. Kaplan wrote: Yes, I ran texhash as sudo. kpsewhich xcolor.sty returns no response. Then for some reason TeX isn't seeing the package. You said you put it: /usr/share/texmf-texlive/tex/latex/xcolor Are you sure that's the right location? The right location is specified in texmf.cnf. See here: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg67472.html if you need some guidance about that. By the way, how come the messages here are duplicated? If you mean messages from the list, we usually hit reply to all. Sometimes people post from gmane or other newsreaders, and so they only see the reply right away if it's sent to their own email address. rh rgheck wrote: Ehud Kaplan wrote: I am trying to Lyx a file, but I am getting the error: *Latex error: File 'xcolor.sty' not found.* I have placed the xcolor.sty file in a folder a folder called xcolor in /usr/share/texmf-texlive/tex/latex/xcolor I ran texconfigure and texhash. I am running Kubuntu 8.04 with tex-live How do I make it known to Lyx and Latex that the file is actually where it is supposed to be? Does kpsewhich xcolor.sty report that it sees the file? I'm guessing it does not. You may need to re-run texhash. Did you do so as root? Only root can modify the ls-R files for the system directories. rh
Re: information about formatting
Davide Cappetti wrote: Hello Evrybody! 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? The placement of these headers is controlled by the document class. Different document classes put them in different places, so experiment. If you want to control this more finely, then look into the titlesec LaTeX package. Or use one of the koma-script classes, and look at their documentation for how to customize. Richard
Re: in-text citation
[EMAIL PROTECTED] wrote: Dear All, I'm using LyX 1.5 to write a thesis. I'm trying to get my in-text citations to look the way I specified it in the LyX:citation window under Formatting, Citation style (for example: Author (Year) or (Author, Year)), but whatever I do it comes out as (number). I use natbib Author-Year in Settings-Bibliography and tried to add \bibpunct{(}{)}{,}{a}{,}{,} to my preamble and change the citation style to different nat and apa styles, but nothing works. Does anyone have an idea how to fix this? First question: Are you using BibTeX? If you're entering your bibliography using LyX's own bibliography environment, then you cannot use author-year citations, for the simple reason that LaTeX has no way of knowing which is the author and which is the year. You have to use BibTeX if you want author-year citations. If you are using BibTeX, then there is probably an error somewhere in your BibTeX file, possibly a missing year for a certain entry. Anything that throws off BibTeX's attempt to find years for all the entries will force it back to numerical mode. Richard
Unhappy Returns in Word
To save my elbow, I asked our secretary to type up a list in Word having this structure line1[soft return] line2[return] line3[soft return] line4[return] and so on (where a soft return on a mac is shift-return) hoping that when I copied and pasted into a LyX enumerate environment I would get 1. line1 line2 2. line3 line4 and so on. I get different things depending on the kind of paste in LyX I choose, but I do not get what I want. Any help would be appreciated. Bruce
Re: Location of packages
E. Kaplan wrote: Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the homologous place to where I found it in my Windows Miktex 2.7 installation, where the same Lyx file works just fine. The other latex packages are in folders in the same place (/usr/share/texmf-texlive/tex/latex/). Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? Richard PS Please make sure to include the list. Others with similar questions may be following the thread.
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: Unhappy Returns in Word
On Wednesday 24 September 2008 09:37:41 am Bruce Pourciau wrote: To save my elbow, I asked our secretary to type up a list in Word having this structure line1[soft return] line2[return] line3[soft return] line4[return] and so on (where a soft return on a mac is shift-return) hoping that when I copied and pasted into a LyX enumerate environment I would get 1.line1 line2 2.line3 line4 and so on. I get different things depending on the kind of paste in LyX I choose, but I do not get what I want. Any help would be appreciated. Bruce Hi Bruce, If it were me, I'd copy the secretary's work into Vim (after exporting to text or whatever), and then use Vim's search and replace or other tools to produce the equivalent LyX. You can reverse engineer deduce the codes in LyX by writing a tiny sample in LyX, then look at the resulting file in Vim. Everybody, This is one of many situations where it's vitally important to be able to edit a LyX file in a text editor, which is why it's necessary to make sure our new XML format is as text editor friendly as possible. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Location of packages
On Wednesday 24 September 2008 09:18:05 am rgheck wrote: E. Kaplan wrote: Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the homologous place to where I found it in my Windows Miktex 2.7 installation, where the same Lyx file works just fine. The other latex packages are in folders in the same place (/usr/share/texmf-texlive/tex/latex/). Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? Richard PS Please make sure to include the list. Others with similar questions may be following the thread. On my texlive installation (on Gentoo, not Ubuntu) it's at: /usr/share/texmf-site/tex/latex/xcolor/xcolor.sty I am using texlive-2007 and xcolor-2.11. If this doesn't help, let me know and I'll look this evening at my home computer (which has Ubuntu 8.04 with texlive).
Formatting in-text citations
Hi Lyx Users, I am compiling a large annotated reading list for my PhD comprehensive qualifying exams. I want to use lyx because of the flawless integration with my large BibTeX database. However, all of the BibTeX style files that I have used previously have abbreviated in-text citations. The behaviour I seek is, upon inserting a citation into an itemized environment, BibTeX/ LyX should place a fully fledged verbose bibliographic entry at the in-text citation location. Does anybody have ideas on how to accomplish this? Thanks, Andrew
Re: Formatting in-text citations
Andrew Barr wrote: Hi Lyx Users, I am compiling a large annotated reading list for my PhD comprehensive qualifying exams. I want to use lyx because of the flawless integration with my large BibTeX database. However, all of the BibTeX style files that I have used previously have abbreviated in-text citations. The behaviour I seek is, upon inserting a citation into an itemized environment, BibTeX/ LyX should place a fully fledged verbose bibliographic entry at the in-text citation location. Does anybody have ideas on how to accomplish this? Thanks, Andrew Look biblatex or jurabib Cheers, Charles
Re: Location of packages
This is where I had put it, but somehow sudo texhash did not update the database enough for Lyx (actually, Latex) to make use of it. However, I solved it by installing xcolor from the Ubuntu repositories. EK Les Denham wrote: On Wednesday 24 September 2008 09:18:05 am rgheck wrote: E. Kaplan wrote: Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the homologous place to where I found it in my Windows Miktex 2.7 installation, where the same Lyx file works just fine. The other latex packages are in folders in the same place (/usr/share/texmf-texlive/tex/latex/). Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? Richard PS Please make sure to include the list. Others with similar questions may be following the thread. On my texlive installation (on Gentoo, not Ubuntu) it's at: /usr/share/texmf-site/tex/latex/xcolor/xcolor.sty I am using texlive-2007 and xcolor-2.11. If this doesn't help, let me know and I'll look this evening at my home computer (which has Ubuntu 8.04 with texlive).
Loading Babel with parameter
Hi, You know that LyX adds \usepackage{babel} to the end of the preamble of the tex file by default. How can it changed to \usepackage[magyar]{babel} to load the Hungarian one? Regards, Máté
Re: Loading Babel with parameter
You know that LyX adds \usepackage{babel} to the end of the preamble of the tex file by default. How can it changed to \usepackage[magyar]{babel} to load the Hungarian one? Regards, Máté put magyar in options of documents Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
RC2: Importing from html - htmltolatex
Trying to use RC2 (on osx), and to import an existing document from html. Does RC2 install htmltolatex? If not, where should I install it so java -jar ... etc. from Lyx will find it and run properly? Should I go to Lyx/Preferences/FileHandling/Converters and edit the command line invocation of htmltolatex? Apologies if this question turns out to be more about osx or java, any best practice guidance appreciated. Thanks ... Sophie
Re: Loading Babel with parameter
Hi, If I set the language in the document options then it appears only among the options of \documentclass. The \begin{document} remains without option. Look at it here: http://screencast.com/t/ZQuXO1sXqQ. Regards, Máté - Original Message - From: Marcelo Acuña To: lyx-users@lists.lyx.org ; Máté Salát Sent: Thursday, September 25, 2008 12:38 AM Subject: Re: Loading Babel with parameter You know that LyX adds \usepackage{babel} to the end of the preamble of the tex file by default. How can it changed to \usepackage[magyar]{babel} to load the Hungarian one? Regards, Máté put magyar in options of documents Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
LyX... questions/ideas/wishes
Hi all! Don't know whether this is the correct place to drop ideas but I have some questions/ideas/wishes. I am not really a programmer so I don't know what it would take to implement these ideas. In addition I am very new to LyX. I started using it a couple of weeks ago. So my ideas might just be a beginners perception which changes in time by gaining more control and experience over the program. I wonder if it is a good idea to: * Put an explicit link to the Output size settings (Embedded Objects document) in the Users Guide which will save time to Beginners wondering why the figures exceed page margins in the output pdf. * I like LyX a lot. However, I feel that the necessity to use the Environment's drop down menu the whole time to assign an environment is time waisting and in the end it turns to become anti-productive especially if one works upon a big document. I had no doubt that there are key-shortcuts but it was not so easy to find them initially (...where is the Reference Manual whis is mentioned in the User's Guide, section 2.6 [1] ?). So, what about: (a) explain in the User's Guide [1] the way to assign common environments or link in a table where all this stuff is described (b) implement a Format Paintbrush tool (like in OpenOffice). Key shortcuts are the fastest way in my humble opinion to work with document processing tools. Yet, a Format Paintbrush tool is makes life easy: you just select the environment of your interest, scan your document and format let's say Section titles one by one. Kind regards, Nikos [1] In Section 2.6: Basic Key Bindings --- By the way: I read in this section, in the final sentence of the pre-last paragraph: ...so “M-p S-A” means Meta-p followed by a capital A. Was it meant to be ...followed by a Shift-A?
Re: LyX... questions/ideas/wishes
On Thu, 2008-09-25 at 02:14 +0200, Nikos Alexandris wrote: Hi all! Don't know whether this is the correct place to drop ideas but I have some questions/ideas/wishes. [...] In addition I would like to ask if it is possible to load different document in a split view?
Re: RC2: Importing from html - htmltolatex
Hello Sophie, On Wed, Sep 24, 2008 at 11:54 PM, itsme213 [EMAIL PROTECTED] wrote: Trying to use RC2 (on osx), and to import an existing document from html. Does RC2 install htmltolatex? My guess is that LyX ships with little convertors, and that you have to install most by yourself. It would help to know what OS you're running. Also, there is html2latex for HTML import. Liviu
Sweave and apastyle in Lyx
Dear Lyx users, I am wondering if some of you have successfully been able to use a combination of Sweave and Apastyle to produce documents. What I wish to do is to use the sweave function to conduct analyses with R which will then be included in a report formatted with apastyle. I am using Lyx version 1.5.3 on Ubuntu Hardy, and I can use both Sweave and apastyle independently without any problems. Best regards, Tormod Bøe
Re: algorithm2e in LyX 1.5.6: algorithm already defined
This seems to be a problem with version 1.5.6, since I have used algorithm2e with Lyx 1.5.5 and had no problem. Since I do not have installed v1.5.6 (don't know why :-)), I cannot say if you can do anything to solve your problem. Take a look at Document Settings to see if there is any option concerning algorithms. Unless anyone else gives a solution, I suggest that you file a bug in bugzilla.lyx.org. A possible workaround is to install v 1.5.5. I think it should be able to coexist with your current version. Cheers, Nicolás A. Scottedward Hodel wrote: I'm importing a student's PhD dissertation into LyX to use the "track changes" function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file: %% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algorithm}{Algorithm} %% User specified LaTeX commands. If I comment out the \newfloat and \floatname commands, then the error goes away. Is there a way to get rid of them without manually editing the .tex file? A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar
information about formatting
Hello Evrybody! 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? Thank you very much! /davide
Re: New LyX user, problem with "uncodable characters"
Nikos Alexandris <[EMAIL PROTECTED]> writes: > All warnings are "ChkTeX warning id # xy". Where xy are 18, 13, 36, 12, > 11, 13, 36, ... 11, 16, 17. > They are too many and I cant copy paste them! Is there an error log? > > Three examples: > > ChkTeX warning id # 18 > Use either `` or '' as an alternative to `"'. > > ChkTeX warning id # 13 > Intersentence spacing (`\@') should perhaps be used. > > ChkTeX warning id # 36 > You should put a space in front of parenthesis. If this is a file you can share, I'd be interested to have a copy by private mail. Otherwise, you can try to find the chktex log file in /tmp/lyx_tmpdir/ subdirectories (look for a file named .log). JMarc
in-text citation
Dear All, I'm using LyX 1.5 to write a thesis. I'm trying to get my in-text citations to look the way I specified it in the "LyX:citation" window under Formatting, Citation style (for example: Author (Year) or (Author, Year)), but whatever I do it comes out as (number). I use natbib Author-Year in Settings->Bibliography and tried to add "\bibpunct{(}{)}{,}{a}{,}{,}" to my preamble and change the citation style to different nat and apa styles, but nothing works. Does anyone have an idea how to fix this? Thank you very much in advance, Ann-Kathrin
formatting!
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 -- View this message in context: http://n2.nabble.com/formatting%21-tp1115090p1115090.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Location of packages
E. Kaplan wrote: Yes, I ran texhash as sudo. kpsewhich xcolor.sty returns no response. Then for some reason TeX isn't seeing the package. You said you put it: /usr/share/texmf-texlive/tex/latex/xcolor Are you sure that's the right location? The right location is specified in texmf.cnf. See here: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg67472.html if you need some guidance about that. By the way, how come the messages here are duplicated? If you mean messages from the list, we usually hit "reply to all". Sometimes people post from gmane or other newsreaders, and so they only see the reply right away if it's sent to their own email address. rh rgheck wrote: Ehud Kaplan wrote: I am trying to Lyx a file, but I am getting the error: *Latex error: File 'xcolor.sty' not found.* I have placed the xcolor.sty file in a folder a folder called xcolor in /usr/share/texmf-texlive/tex/latex/xcolor I ran texconfigure and texhash. I am running Kubuntu 8.04 with tex-live How do I make it known to Lyx and Latex that the file is actually where it is supposed to be? Does "kpsewhich xcolor.sty" report that it sees the file? I'm guessing it does not. You may need to re-run texhash. Did you do so as root? Only root can modify the ls-R files for the system directories. rh
Re: information about formatting
Davide Cappetti wrote: Hello Evrybody! 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? The placement of these headers is controlled by the document class. Different document classes put them in different places, so experiment. If you want to control this more finely, then look into the titlesec LaTeX package. Or use one of the koma-script classes, and look at their documentation for how to customize. Richard
Re: in-text citation
[EMAIL PROTECTED] wrote: Dear All, I'm using LyX 1.5 to write a thesis. I'm trying to get my in-text citations to look the way I specified it in the "LyX:citation" window under Formatting, Citation style (for example: Author (Year) or (Author, Year)), but whatever I do it comes out as (number). I use natbib Author-Year in Settings->Bibliography and tried to add "\bibpunct{(}{)}{,}{a}{,}{,}" to my preamble and change the citation style to different nat and apa styles, but nothing works. Does anyone have an idea how to fix this? First question: Are you using BibTeX? If you're entering your bibliography using LyX's own bibliography environment, then you cannot use author-year citations, for the simple reason that LaTeX has no way of knowing which is the author and which is the year. You have to use BibTeX if you want author-year citations. If you are using BibTeX, then there is probably an error somewhere in your BibTeX file, possibly a missing year for a certain entry. Anything that throws off BibTeX's attempt to find years for all the entries will force it back to numerical mode. Richard
Unhappy Returns in Word
To save my elbow, I asked our secretary to type up a list in Word having this structure line1[soft return] line2[return] line3[soft return] line4[return] and so on (where a soft return on a mac is shift-return) hoping that when I copied and pasted into a LyX enumerate environment I would get 1. line1 line2 2. line3 line4 and so on. I get different things depending on the kind of paste in LyX I choose, but I do not get what I want. Any help would be appreciated. Bruce
Re: Location of packages
E. Kaplan wrote: Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the homologous place to where I found it in my Windows Miktex 2.7 installation, where the same Lyx file works just fine. The other latex packages are in folders in the same place (/usr/share/texmf-texlive/tex/latex/). Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? Richard PS Please make sure to include the list. Others with similar questions may be following the thread.
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: Unhappy Returns in Word
On Wednesday 24 September 2008 09:37:41 am Bruce Pourciau wrote: > To save my elbow, I asked our secretary to type up a list in Word > having this structure > > line1[soft return] > line2[return] > line3[soft return] > line4[return] > > and so on (where a soft return on a mac is shift-return) hoping that > when I copied and pasted into a LyX enumerate environment I would get > > 1.line1 > line2 > > 2.line3 > line4 > > and so on. I get different things depending on the kind of paste in > LyX I choose, but I do not get what I want. Any help would be > appreciated. > > Bruce Hi Bruce, If it were me, I'd copy the secretary's work into Vim (after exporting to text or whatever), and then use Vim's search and replace or other tools to produce the equivalent LyX. You can reverse engineer deduce the codes in LyX by writing a tiny sample in LyX, then look at the resulting file in Vim. Everybody, This is one of many situations where it's vitally important to be able to edit a LyX file in a text editor, which is why it's necessary to make sure our new XML format is as text editor friendly as possible. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Location of packages
On Wednesday 24 September 2008 09:18:05 am rgheck wrote: > E. Kaplan wrote: > > Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the > > homologous place to where I found it in my Windows Miktex 2.7 > > installation, where the same Lyx file works just fine. The other > > latex packages are in folders in the same place > > (/usr/share/texmf-texlive/tex/latex/). > > Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? > > Richard > > PS Please make sure to include the list. Others with similar questions > may be following the thread. On my texlive installation (on Gentoo, not Ubuntu) it's at: /usr/share/texmf-site/tex/latex/xcolor/xcolor.sty I am using texlive-2007 and xcolor-2.11. If this doesn't help, let me know and I'll look this evening at my home computer (which has Ubuntu 8.04 with texlive).
Formatting in-text citations
Hi Lyx Users, I am compiling a large annotated reading list for my PhD comprehensive qualifying exams. I want to use lyx because of the flawless integration with my large BibTeX database. However, all of the BibTeX style files that I have used previously have abbreviated in-text citations. The behaviour I seek is, upon inserting a citation into an itemized environment, BibTeX/ LyX should place a fully fledged verbose bibliographic entry at the in-text citation location. Does anybody have ideas on how to accomplish this? Thanks, Andrew
Re: Formatting in-text citations
Andrew Barr wrote: > Hi Lyx Users, > > I am compiling a large annotated reading list for my PhD comprehensive > qualifying exams. I want to use lyx because of the flawless integration > with my large BibTeX database. However, all of the BibTeX style files > that > I have used previously have abbreviated in-text citations. The behaviour > I seek is, upon inserting a citation into an itemized environment, BibTeX/ > LyX should place a fully fledged verbose bibliographic entry at the > in-text > citation location. Does anybody have ideas on how to accomplish this? > > Thanks, > > Andrew Look biblatex or jurabib Cheers, Charles
Re: Location of packages
This is where I had put it, but somehow sudo texhash did not update the database enough for Lyx (actually, Latex) to make use of it. However, I solved it by installing xcolor from the Ubuntu repositories. EK Les Denham wrote: On Wednesday 24 September 2008 09:18:05 am rgheck wrote: E. Kaplan wrote: Thanks, RH. I placed the xcolor folder (with xcolor.sty in it) in the homologous place to where I found it in my Windows Miktex 2.7 installation, where the same Lyx file works just fine. The other latex packages are in folders in the same place (/usr/share/texmf-texlive/tex/latex/). Hmm. Well, since I don't have texlive, I'm not sure about this. Anyone? Richard PS Please make sure to include the list. Others with similar questions may be following the thread. On my texlive installation (on Gentoo, not Ubuntu) it's at: /usr/share/texmf-site/tex/latex/xcolor/xcolor.sty I am using texlive-2007 and xcolor-2.11. If this doesn't help, let me know and I'll look this evening at my home computer (which has Ubuntu 8.04 with texlive).
Loading Babel with parameter
Hi, You know that LyX adds \usepackage{babel} to the end of the preamble of the tex file by default. How can it changed to \usepackage[magyar]{babel} to load the Hungarian one? Regards, Máté
Re: Loading Babel with parameter
> You know that LyX adds \usepackage{babel} to the end of > the preamble of the tex file by default. How can it changed > to \usepackage[magyar]{babel} to load the Hungarian one? > > Regards, Máté put magyar in options of documents Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
RC2: Importing from html - htmltolatex
Trying to use RC2 (on osx), and to import an existing document from html. Does RC2 install htmltolatex? If not, where should I install it so "java -jar ..." etc. from Lyx will find it and run properly? Should I go to Lyx/Preferences/FileHandling/Converters and edit the command line invocation of htmltolatex? Apologies if this question turns out to be more about osx or java, any best practice guidance appreciated. Thanks ... Sophie
Re: Loading Babel with parameter
Hi, If I set the language in the document options then it appears only among the options of \documentclass. The \begin{document} remains without option. Look at it here: http://screencast.com/t/ZQuXO1sXqQ. Regards, Máté - Original Message - From: Marcelo Acuña To: lyx-users@lists.lyx.org ; Máté Salát Sent: Thursday, September 25, 2008 12:38 AM Subject: Re: Loading Babel with parameter > You know that LyX adds \usepackage{babel} to the end of > the preamble of the tex file by default. How can it changed > to \usepackage[magyar]{babel} to load the Hungarian one? > > Regards, Máté put magyar in options of documents Marcelo Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/
LyX... questions/ideas/wishes
Hi all! Don't know whether this is the correct place to drop ideas but I have some questions/ideas/wishes. I am not really a programmer so I don't know what it would take to implement these ideas. In addition I am very new to LyX. I started using it a couple of weeks ago. So my ideas might just be a beginners perception which changes in time by gaining more control and experience over the program. I wonder if it is a good idea to: * Put an explicit link to the "Output size settings" (Embedded Objects document) in the Users Guide which will save time to Beginners wondering why the figures exceed page margins in the output pdf. * I like LyX a lot. However, I feel that the necessity to use the Environment's drop down menu the whole time to assign an environment is time waisting and in the end it turns to become anti-productive especially if one works upon a big document. I had no doubt that there are key-shortcuts but it was not so easy to find them initially (...where is the "Reference Manual" whis is mentioned in the User's Guide, section 2.6 [1] ?). So, what about: (a) explain in the User's Guide [1] the way to assign common environments or link in a table where all this stuff is described (b) implement a Format Paintbrush tool (like in OpenOffice). Key shortcuts are the fastest way in my humble opinion to work with document processing tools. Yet, a Format Paintbrush tool is makes life easy: you just select the environment of your interest, "scan" your document and format let's say Section titles one by one. Kind regards, Nikos [1] In Section 2.6: Basic Key Bindings --- By the way: I read in this section, in the final sentence of the pre-last paragraph: "...so “M-p S-A” means Meta-p followed by a capital A." Was it meant to be "...followed by a Shift-A"?
Re: LyX... questions/ideas/wishes
On Thu, 2008-09-25 at 02:14 +0200, Nikos Alexandris wrote: > Hi all! > > Don't know whether this is the correct place to drop ideas but I have > some questions/ideas/wishes. [...] In addition I would like to ask if it is possible to load different document in a split view?
Re: RC2: Importing from html - htmltolatex
Hello Sophie, On Wed, Sep 24, 2008 at 11:54 PM, itsme213 <[EMAIL PROTECTED]> wrote: > Trying to use RC2 (on osx), and to import an existing document from html. > > Does RC2 install htmltolatex? > My guess is that LyX ships with little convertors, and that you have to install most by yourself. It would help to know what OS you're running. Also, there is html2latex for HTML import. Liviu