Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi Nikos, No this doesn't work when babel is loaded. See: http://wiki.lyx.org/FAQ/Unsorted
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi Uwe, Thanks, good to know. But in my case I set the language to English (UK) which does load babel. Also the LyX wiki entry I was talking about refers to cases where babel is loaded, otherwise \renewcommand\abstractname{Executive Summary} works. p.s why did you change the wiki back to the old description. \AtBeginDocument{% \addto\captionsyour language{% \renewcommand{\abstractname}{In nuce}% }} Doesn't seem to work. Roey
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi Nikos, No this doesn't work when babel is loaded. See: http://wiki.lyx.org/FAQ/Unsorted
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi Uwe, Thanks, good to know. But in my case I set the language to English (UK) which does load babel. Also the LyX wiki entry I was talking about refers to cases where babel is loaded, otherwise \renewcommand\abstractname{Executive Summary} works. p.s why did you change the wiki back to the old description. \AtBeginDocument{% \addto\captionsyour language{% \renewcommand{\abstractname}{In nuce}% }} Doesn't seem to work. Roey
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi Nikos, No this doesn't work when babel is loaded. See: http://wiki.lyx.org/FAQ/Unsorted
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi Uwe, Thanks, good to know. But in my case I set the language to English (UK) which does load babel. Also the LyX wiki entry I was talking about refers to cases where babel is loaded, otherwise \renewcommand\abstractname{Executive Summary} works. p.s why did you change the wiki back to the old description. \AtBeginDocument{% \addto\captions{% \renewcommand{\abstractname}{In nuce}% }} Doesn't seem to work. Roey
Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi, I'm trying to change the section name 'Abstract' to 'Summary' in an article class document with babel enabled and language set to English (UK). So far I tried to place in the preamble: \AtBeginDocument{% \addto\captions\captionsenglish{% \renewcommand{\abstractname}{Summary}% }} or \AtBeginDocument{% \addto\captionsenglish{% \def\abstractname{Summary}% }} or in the document, an ERT with \renewcommand\abstractname{Summary} but nothing worked I also tried replacing \captionsenglish with \captionsbritish or \captionsUKenglish, but both didn't work. Any suggestions? Roey
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Works great! Why the hell is it documented wrongly under http://wiki.lyx.org/FAQ/Unsorted?!? Thanks
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Fixed Thanks again
Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi, I'm trying to change the section name 'Abstract' to 'Summary' in an article class document with babel enabled and language set to English (UK). So far I tried to place in the preamble: \AtBeginDocument{% \addto\captions\captionsenglish{% \renewcommand{\abstractname}{Summary}% }} or \AtBeginDocument{% \addto\captionsenglish{% \def\abstractname{Summary}% }} or in the document, an ERT with \renewcommand\abstractname{Summary} but nothing worked I also tried replacing \captionsenglish with \captionsbritish or \captionsUKenglish, but both didn't work. Any suggestions? Roey
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Works great! Why the hell is it documented wrongly under http://wiki.lyx.org/FAQ/Unsorted?!? Thanks
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Fixed Thanks again
Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi, I'm trying to change the section name 'Abstract' to 'Summary' in an article class document with babel enabled and language set to English (UK). So far I tried to place in the preamble: \AtBeginDocument{% \addto\captions\captionsenglish{% \renewcommand{\abstractname}{Summary}% }} or \AtBeginDocument{% \addto\captionsenglish{% \def\abstractname{Summary}% }} or in the document, an ERT with \renewcommand\abstractname{Summary} but nothing worked I also tried replacing \captionsenglish with \captionsbritish or \captionsUKenglish, but both didn't work. Any suggestions? Roey
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Works great! Why the hell is it documented wrongly under http://wiki.lyx.org/FAQ/Unsorted?!? Thanks
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Fixed Thanks again
koma-letter2.lyx gives errors when compiling
Hi, Using Lyx 2.05 and KOMA-script 3.11 I'm getting errors when trying to compile koma-letter2.lyx or the example file koma-letter2-example.lyx from http://wiki.lyx.org/Examples/KomaLetter2. This is what they look like in the log: ! Undefined control sequence. \select@language ... \@empty }\languageshorthands {none}\babel@beginsave \cs... l.66 \begin{document} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Anyone encountered this in the past? Thanks, Roey
Re: koma-letter2.lyx gives errors when compiling
Thanks! I figured that was the problem but even setting 'always babel' under 'Language package' didn't seem to work. Roey
koma-letter2.lyx gives errors when compiling
Hi, Using Lyx 2.05 and KOMA-script 3.11 I'm getting errors when trying to compile koma-letter2.lyx or the example file koma-letter2-example.lyx from http://wiki.lyx.org/Examples/KomaLetter2. This is what they look like in the log: ! Undefined control sequence. \select@language ... \@empty }\languageshorthands {none}\babel@beginsave \cs... l.66 \begin{document} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Anyone encountered this in the past? Thanks, Roey
Re: koma-letter2.lyx gives errors when compiling
Thanks! I figured that was the problem but even setting 'always babel' under 'Language package' didn't seem to work. Roey
koma-letter2.lyx gives errors when compiling
Hi, Using Lyx 2.05 and KOMA-script 3.11 I'm getting errors when trying to compile koma-letter2.lyx or the example file koma-letter2-example.lyx from http://wiki.lyx.org/Examples/KomaLetter2. This is what they look like in the log: ! Undefined control sequence. \select@language ... \@empty }\languageshorthands {none}\babel@beginsave \cs... l.66 \begin{document} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Anyone encountered this in the past? Thanks, Roey
Re: koma-letter2.lyx gives errors when compiling
Thanks! I figured that was the problem but even setting 'always babel' under 'Language package' didn't seem to work. Roey
Graphics preview in Lyx gives
Hi, When I add a pdf figure into lyx the preview works only for the current session. When I restart Lyx I get an error: Error loading file into memory. This only seems to occur with pdf files (i.e. not with .svg or .png) and has no effect on the final rendered PDF. I've seen references to this bug in several places online but in those case the issue was that previews were never generated. Also, I have pdf2ps and pdftoeps installed so this shouldn't be the problem either. Running Kubuntu 12.04; Lyx 2.04 Roey
Graphics preview in Lyx gives
Hi, When I add a pdf figure into lyx the preview works only for the current session. When I restart Lyx I get an error: Error loading file into memory. This only seems to occur with pdf files (i.e. not with .svg or .png) and has no effect on the final rendered PDF. I've seen references to this bug in several places online but in those case the issue was that previews were never generated. Also, I have pdf2ps and pdftoeps installed so this shouldn't be the problem either. Running Kubuntu 12.04; Lyx 2.04 Roey
Graphics preview in Lyx gives
Hi, When I add a pdf figure into lyx the preview works only for the current session. When I restart Lyx I get an error: "Error loading file into memory". This only seems to occur with pdf files (i.e. not with .svg or .png) and has no effect on the final rendered PDF. I've seen references to this bug in several places online but in those case the issue was that previews were never generated. Also, I have pdf2ps and pdftoeps installed so this shouldn't be the problem either. Running Kubuntu 12.04; Lyx 2.04 Roey
Re: How to remove a citation from the reference list without deleting it from BibTeX?
Hi Richard thanks for your answer. Yes, the BibTeX bibliography settings is set for 'all cited references'. I also tried to rescan the database before running latex but that did not change anything. I should mention that I am using biber-natbib for my references (maybe that's the reason). In my preamble I have: \usepackage[style=geb,natbib=true, backend=biber]{biblatex} Then in the document: Note: BibTeX Generated Bibliography \printbibliography Any ideas? Roey On Sat, Jun 30, 2012 at 8:42 PM, Richard Heck rgh...@lyx.org wrote: On 06/29/2012 07:44 PM, Roey Angel wrote: Hi, If I want to remove a citation from a document in Lyx I typically simply delete the field. Trouble is that doesn't prevent the citation from appearing in the reference list (although it's no longer cited anywhere in the document). Instead I also have to edit my BibTeX file and delete it there as well. Why is it behaving like this? shouldn't LaTeX only include in the reference list those entries in the BibTeX record that were actually cited in the paper? Isn't that one of the major reasons why reference managers exist? Here's a guess. Click on the bibliography inset (which lists the BibTeX databases you are using). Toward the bottom, there is a combo box that is labelled content. There are two choices: (i) All cited references; (ii) All references. The former does what you want; the latter prints all citations from the BibTeX file, whether they are used or not. If that's not the problem, then we'll talk more. Richard
Re: How to remove a citation from the reference list without deleting it from BibTeX?
Hi Richard thanks for your answer. Yes, the BibTeX bibliography settings is set for 'all cited references'. I also tried to rescan the database before running latex but that did not change anything. I should mention that I am using biber-natbib for my references (maybe that's the reason). In my preamble I have: \usepackage[style=geb,natbib=true, backend=biber]{biblatex} Then in the document: Note: BibTeX Generated Bibliography \printbibliography Any ideas? Roey On Sat, Jun 30, 2012 at 8:42 PM, Richard Heck rgh...@lyx.org wrote: On 06/29/2012 07:44 PM, Roey Angel wrote: Hi, If I want to remove a citation from a document in Lyx I typically simply delete the field. Trouble is that doesn't prevent the citation from appearing in the reference list (although it's no longer cited anywhere in the document). Instead I also have to edit my BibTeX file and delete it there as well. Why is it behaving like this? shouldn't LaTeX only include in the reference list those entries in the BibTeX record that were actually cited in the paper? Isn't that one of the major reasons why reference managers exist? Here's a guess. Click on the bibliography inset (which lists the BibTeX databases you are using). Toward the bottom, there is a combo box that is labelled content. There are two choices: (i) All cited references; (ii) All references. The former does what you want; the latter prints all citations from the BibTeX file, whether they are used or not. If that's not the problem, then we'll talk more. Richard
Re: How to remove a citation from the reference list without deleting it from BibTeX?
Hi Richard thanks for your answer. Yes, the BibTeX bibliography settings is set for 'all cited references'. I also tried to rescan the database before running latex but that did not change anything. I should mention that I am using biber-natbib for my references (maybe that's the reason). In my preamble I have: \usepackage[style=geb,natbib=true, backend=biber]{biblatex} Then in the document: Note: BibTeX Generated Bibliography \printbibliography Any ideas? Roey On Sat, Jun 30, 2012 at 8:42 PM, Richard Heck <rgh...@lyx.org> wrote: > On 06/29/2012 07:44 PM, Roey Angel wrote: > >> Hi, >> If I want to remove a citation from a document in Lyx I typically simply >> delete >> the field. >> Trouble is that doesn't prevent the citation from appearing in the >> reference >> list (although it's no longer cited anywhere in the document). >> Instead I also have to edit my BibTeX file and delete it there as well. >> >> Why is it behaving like this? shouldn't LaTeX only include in the >> reference list >> those entries in the BibTeX record that were actually cited in the paper? >> Isn't >> that one of the major reasons why reference managers exist? >> > Here's a guess. Click on the bibliography inset (which lists the BibTeX > databases you are using). Toward the bottom, there is a combo box that > is labelled "content". There are two choices: (i) All cited references; > (ii) All > references. The former does what you want; the latter prints all citations > from the BibTeX file, whether they are used or not. > > If that's not the problem, then we'll talk more. > > Richard > >
How to remove a citation from the reference list without deleting it from BibTeX?
Hi, If I want to remove a citation from a document in Lyx I typically simply delete the field. Trouble is that doesn't prevent the citation from appearing in the reference list (although it's no longer cited anywhere in the document). Instead I also have to edit my BibTeX file and delete it there as well. Why is it behaving like this? shouldn't LaTeX only include in the reference list those entries in the BibTeX record that were actually cited in the paper? Isn't that one of the major reasons why reference managers exist? Thanks in advance, Roey
How to remove a citation from the reference list without deleting it from BibTeX?
Hi, If I want to remove a citation from a document in Lyx I typically simply delete the field. Trouble is that doesn't prevent the citation from appearing in the reference list (although it's no longer cited anywhere in the document). Instead I also have to edit my BibTeX file and delete it there as well. Why is it behaving like this? shouldn't LaTeX only include in the reference list those entries in the BibTeX record that were actually cited in the paper? Isn't that one of the major reasons why reference managers exist? Thanks in advance, Roey
How to remove a citation from the reference list without deleting it from BibTeX?
Hi, If I want to remove a citation from a document in Lyx I typically simply delete the field. Trouble is that doesn't prevent the citation from appearing in the reference list (although it's no longer cited anywhere in the document). Instead I also have to edit my BibTeX file and delete it there as well. Why is it behaving like this? shouldn't LaTeX only include in the reference list those entries in the BibTeX record that were actually cited in the paper? Isn't that one of the major reasons why reference managers exist? Thanks in advance, Roey
Re: Getting lyx to recognise biber
Brilliant tip Stefano! Problem is *nearly* solved. It turns out that using zotero and lyz citations get pushed using \citet command, which makes citations look like 'author (year)'. I couldn't change that using the dialogue box because lyx wouldn't recognise my .bib database. To have it recognise it I needed to: 1. insert a note at the end of the document and within it insert the Bibtex bibliography. 2. change the name of the .bib data base to not include any dots (my former filename was something like data.base.name.bib and that doesn't work). Now my only problem is that I'd like to change the global settings to format all citations as (author year) rather than have to click on each citation to change it. Is the any way to do this? Thanks again, Roey
Re: Getting lyx to recognise biber
Works great. Thanks!
Re: Getting lyx to recognise biber
Brilliant tip Stefano! Problem is *nearly* solved. It turns out that using zotero and lyz citations get pushed using \citet command, which makes citations look like 'author (year)'. I couldn't change that using the dialogue box because lyx wouldn't recognise my .bib database. To have it recognise it I needed to: 1. insert a note at the end of the document and within it insert the Bibtex bibliography. 2. change the name of the .bib data base to not include any dots (my former filename was something like data.base.name.bib and that doesn't work). Now my only problem is that I'd like to change the global settings to format all citations as (author year) rather than have to click on each citation to change it. Is the any way to do this? Thanks again, Roey
Re: Getting lyx to recognise biber
Works great. Thanks!
Re: Getting lyx to recognise biber
Brilliant tip Stefano! Problem is *nearly* solved. It turns out that using zotero and lyz citations get pushed using \citet command, which makes citations look like 'author (year)'. I couldn't change that using the dialogue box because lyx wouldn't recognise my .bib database. To have it recognise it I needed to: 1. insert a note at the end of the document and within it insert the Bibtex bibliography. 2. change the name of the .bib data base to not include any dots (my former filename was something like data.base.name.bib and that doesn't work). Now my only problem is that I'd like to change the global settings to format all citations as (author year) rather than have to click on each citation to change it. Is the any way to do this? Thanks again, Roey
Re: Getting lyx to recognise biber
Works great. Thanks!
Re: Getting lyx to recognise biber
Thanks for the tip, Scott. I managed to get the lyx 2.0.3 working but I'm still getting that error Package keyval Error: hash undefined. Also, after I revert back to bibtex8 (by changing to backend=bibtex8 in the preamble and changing to Bibliography generator bibtex8 in Document setting) lyx won't process the bibliography. It doesnt give an error, it simply runs through and then gives a document without ref. list with the refs. in bibtex code format. To fix it I have to delete the \bibliography{} line in the preamble and then put it back. Any ideas why that it happening? The other problem I have that my references under bibtex8 look wrong. my preamble line is: \usepackage[style=authoryear,natbib=true,backend=bibtex8]{biblatex} but the document output looks like this ...make up as much as 44% of the land surface Verstraete and Schwartz(1991) instead of ...make up as much as 44% of the land surface (Verstraete and Schwartz 1991) as I would expect and as is shown in: http://wiki.lyx.org/BibTeX/Biblatex#using-biber Any suggestions will be more than welcome Roey
Re: Getting lyx to recognise biber
Vielen Dank Jürgen! That totally did the trick. lyx now processes everything correctly with biber. Still my problem is the output. no matter what style I choose, the citation in text always includes the names outside brackets. So using style=authortitle I get ...make up as much as 44% of the land surface Verstraete and Schwartz(1991) and using style=numeric I get: ...make up as much as 44% of the land surface Verstraete and Schwartz[1] instead of ...make up as much as 44% of the land surface (Verstraete and Schwartz 1991) or ...make up as much as 44% of the land surface [1] Any ideas how to solve that Thanks again, Roey
Re: Getting lyx to recognise biber
Hi Stefano, sure I'm using the biblatex module; that's the only way to get it working in lyx. I also use the natbib=true options and still get that wrong output. When I hover over a citation in the text it says no bibliography defined and when click on it I get the citation dialogue box but I can't change the citation style under formatting. I'm parsing citations from zotero through lyz plug-in and I wonder if that has something to do with it. Roey
Re: Getting lyx to recognise biber
Thanks for the tip, Scott. I managed to get the lyx 2.0.3 working but I'm still getting that error Package keyval Error: hash undefined. Also, after I revert back to bibtex8 (by changing to backend=bibtex8 in the preamble and changing to Bibliography generator bibtex8 in Document setting) lyx won't process the bibliography. It doesnt give an error, it simply runs through and then gives a document without ref. list with the refs. in bibtex code format. To fix it I have to delete the \bibliography{} line in the preamble and then put it back. Any ideas why that it happening? The other problem I have that my references under bibtex8 look wrong. my preamble line is: \usepackage[style=authoryear,natbib=true,backend=bibtex8]{biblatex} but the document output looks like this ...make up as much as 44% of the land surface Verstraete and Schwartz(1991) instead of ...make up as much as 44% of the land surface (Verstraete and Schwartz 1991) as I would expect and as is shown in: http://wiki.lyx.org/BibTeX/Biblatex#using-biber Any suggestions will be more than welcome Roey
Re: Getting lyx to recognise biber
Vielen Dank Jürgen! That totally did the trick. lyx now processes everything correctly with biber. Still my problem is the output. no matter what style I choose, the citation in text always includes the names outside brackets. So using style=authortitle I get ...make up as much as 44% of the land surface Verstraete and Schwartz(1991) and using style=numeric I get: ...make up as much as 44% of the land surface Verstraete and Schwartz[1] instead of ...make up as much as 44% of the land surface (Verstraete and Schwartz 1991) or ...make up as much as 44% of the land surface [1] Any ideas how to solve that Thanks again, Roey
Re: Getting lyx to recognise biber
Hi Stefano, sure I'm using the biblatex module; that's the only way to get it working in lyx. I also use the natbib=true options and still get that wrong output. When I hover over a citation in the text it says no bibliography defined and when click on it I get the citation dialogue box but I can't change the citation style under formatting. I'm parsing citations from zotero through lyz plug-in and I wonder if that has something to do with it. Roey
Re: Getting lyx to recognise biber
Thanks for the tip, Scott. I managed to get the lyx 2.0.3 working but I'm still getting that error Package keyval Error: hash undefined. Also, after I revert back to bibtex8 (by changing to backend=bibtex8 in the preamble and changing to Bibliography generator bibtex8 in Document setting) lyx won't process the bibliography. It doesnt give an error, it simply runs through and then gives a document without ref. list with the refs. in bibtex code format. To fix it I have to delete the \bibliography{} line in the preamble and then put it back. Any ideas why that it happening? The other problem I have that my references under bibtex8 look wrong. my preamble line is: \usepackage[style=authoryear,natbib=true,backend=bibtex8]{biblatex} but the document output looks like this ...make up as much as 44% of the land surface Verstraete and Schwartz(1991) instead of ...make up as much as 44% of the land surface (Verstraete and Schwartz 1991) as I would expect and as is shown in: http://wiki.lyx.org/BibTeX/Biblatex#using-biber Any suggestions will be more than welcome Roey
Re: Getting lyx to recognise biber
Vielen Dank Jürgen! That totally did the trick. lyx now processes everything correctly with biber. Still my problem is the output. no matter what style I choose, the citation in text always includes the names outside brackets. So using style=authortitle I get ...make up as much as 44% of the land surface Verstraete and Schwartz(1991) and using style=numeric I get: ...make up as much as 44% of the land surface Verstraete and Schwartz[1] instead of ...make up as much as 44% of the land surface (Verstraete and Schwartz 1991) or ...make up as much as 44% of the land surface [1] Any ideas how to solve that Thanks again, Roey
Re: Getting lyx to recognise biber
Hi Stefano, sure I'm using the biblatex module; that's the only way to get it working in lyx. I also use the natbib=true options and still get that wrong output. When I hover over a citation in the text it says "no bibliography defined" and when click on it I get the citation dialogue box but I can't change the citation style under formatting. I'm parsing citations from zotero through lyz plug-in and I wonder if that has something to do with it. Roey
Getting lyx to recognise biber
Hi I'm trying to get Lyx (2.0.0) to work with biber. I downloaded the latest version of biber 0.9.8 and now what?! According to the LyX wiki, I should get a biber option on the pull-down menu of my bibliography generation processor but all I have is: custom, bibtex and bibtex8. Where am I supposed to put biber so that lyx would recognise it? Thanks in advance, Roey p.s I'm running Kubuntu 11.10
Re: Getting lyx to recognise biber
Thanks for the help, Jürgen. ok now that it's in path lyx recognises biber, but trying to process my document with it gives an error: Package keyval Error: hash undefined. I'm using lyx 2.0.0 because that's what's available through the ubuntu repository. I could build it from source but only if that's what's causing the problem. Roey
Getting lyx to recognise biber
Hi I'm trying to get Lyx (2.0.0) to work with biber. I downloaded the latest version of biber 0.9.8 and now what?! According to the LyX wiki, I should get a biber option on the pull-down menu of my bibliography generation processor but all I have is: custom, bibtex and bibtex8. Where am I supposed to put biber so that lyx would recognise it? Thanks in advance, Roey p.s I'm running Kubuntu 11.10
Re: Getting lyx to recognise biber
Thanks for the help, Jürgen. ok now that it's in path lyx recognises biber, but trying to process my document with it gives an error: Package keyval Error: hash undefined. I'm using lyx 2.0.0 because that's what's available through the ubuntu repository. I could build it from source but only if that's what's causing the problem. Roey
Getting lyx to recognise biber
Hi I'm trying to get Lyx (2.0.0) to work with biber. I downloaded the latest version of biber 0.9.8 and now what?! According to the LyX wiki, I should get a biber option on the pull-down menu of my bibliography generation processor but all I have is: custom, bibtex and bibtex8. Where am I supposed to put biber so that lyx would recognise it? Thanks in advance, Roey p.s I'm running Kubuntu 11.10
Re: Getting lyx to recognise biber
Thanks for the help, Jürgen. ok now that it's in path lyx recognises biber, but trying to process my document with it gives an error: Package keyval Error: hash undefined. I'm using lyx 2.0.0 because that's what's available through the ubuntu repository. I could build it from source but only if that's what's causing the problem. Roey