Re: kslt2pro.lyx letter template undefined control sequence after changing language setting
Graham Smith a écrit : I am trying to use this template from the Lyx wiki which defaults to French when I open it. But it compiles without any trouble. Changing the language settings from French to British (and reconfiguring) gives me three undefined control sequence errors when I try to compile. If I don't load the lco file, it compiles OK but obviously with aspect missing. If I comment out lines in the lco file, it seems that two of the undefined control sequences are linked to the firsthead code, and one of the undefined control sequences is associated with the firstfoot coding. I can't see where the errors might be and wondered if anyone had gone through the same language conversion issues. Jean-Marie has been helping me with some other issues but I am hoping someone has gone through this specific French to British problem. I found two control sequences which seem to be french specific in the NFpro.lco options file. You should replace at line 53 \no by n° and at line 74 \nombre{1234,56} by 1234,56. I don't know why three errors were reported as it compiles now OK in english language with these two modifications. -- jean-marie pacquet
Re: Lyx savetrees
On Thu, 14 Aug 2008, Konrad Hofbauer wrote: Perhaps this trick deserves an entry in the wiki, what do you think ? I agree, how about creating a page called one of the following http://www.lyx.org/Examples/Savetrees http://www.lyx.org/Examples/UsingSavetrees Ideally you should upload an example .lyx-file (as well as .pdf-output). regards /Christian PS. I'm sending the upload password separately, but ask in case you run into problems uploading to the wiki. Tip: You can refer to this thread from the wiki page by writing e.g.: LyXUsersThreadRoot:49320 That will create a link to this discussion thread, which can be useful on the wiki page. -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr
Re: kslt2pro.lyx letter template undefined control sequence after changing language setting
Many thanks for this, its very useful to me. Graham On 15 Aug 2008, at 07:05, Jean-Marie Pacquet wrote: Graham Smith a écrit : I am trying to use this template from the Lyx wiki which defaults to French when I open it. But it compiles without any trouble. Changing the language settings from French to British (and reconfiguring) gives me three undefined control sequence errors when I try to compile. If I don't load the lco file, it compiles OK but obviously with aspect missing. If I comment out lines in the lco file, it seems that two of the undefined control sequences are linked to the firsthead code, and one of the undefined control sequences is associated with the firstfoot coding. I can't see where the errors might be and wondered if anyone had gone through the same language conversion issues. Jean-Marie has been helping me with some other issues but I am hoping someone has gone through this specific French to British problem. I found two control sequences which seem to be french specific in the NFpro.lco options file. You should replace at line 53 \no by n° and at line 74 \nombre{1234,56} by 1234,56. I don't know why three errors were reported as it compiles now OK in english language with these two modifications. -- jean-marie pacquet
Algorithm - line numbering
Hi, Please can you tell me how I can number the lines in an algorithm? Also, I have an algorithm that spans more than a page, but just disappears after the 1st page? Many thanks, Thomas Bolton
Re: scrartcl.layout error
Michael Fread wrote: I am no Latex guru so if this is something obvious please forgive me. I did search the archives and google and didn't come up with any English results. I am in the planning stages of a cross platform accounting program and need a solution for reports, invoices, estimates, etc. After looking at the various options Latex looks like it might be the way to go. Unfortunately, I did not find any luck when trying to find a latex invoice example I could look at to see how it handles that sort of application, I see information indicating latex will work for the kind of thing I want but all the examples I've found are book/school report/letters, etc. Finally I stumbled onto the fact that a similarly targeted application, SQL-Ledger uses latex for its report templates and invoices. The documentation says to load it in an editor just use sed to replace the % characters with something else so that the editor doesn't mistake the placeholders for comments. When I try to import the Default-invoice.tex file into Lyx I get this: The layout file requested by the document, scrartcl.layout, is not usable. This is probably because a latex class or style file required by it is not is not available. See the customization documentation for more information. Lyx will not be able to produce output. If I look at the source of the file it does list scrartcl. I thought this might be something with SQL-Ledger but ultimately found that the scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much worried about viewing/editing the file now as I am about being able to assist users in editing these files if I opt to use them. Can you post the file in question? Perhaps someone can them debug this. rh
Re: Multiple index
rgheck wrote: Not in LyX directly---at least not in 1.5---but there are LaTeX packages for this kind of thing. Searching for multiple index on ctan.org got me http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=index http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=multind and there may be others, if you just search on index and wade through the mountain of hits. I'd recommend splitidx. It's most suitable for LyX and works pretty well. Jürgen
Re: scrartcl.layout error
Michael Fread wrote: The layout file requested by the document, scrartcl.layout, is not usable. This is probably because a latex class or style file required by it is not is not available. See the customization documentation for more information. Lyx will not be able to produce output. If I look at the source of the file it does list scrartcl. I thought this might be something with SQL-Ledger but ultimately found that the scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much worried about viewing/editing the file now as I am about being able to assist users in editing these files if I opt to use them. Does SQL-Ledger use the LaTeX scrartcl class? It would seem so. If yes, then you have to have that class installed in your LaTeX distro, and the message from LyX suggests that you don't. LyX flags layouts as unusable if the corresponding LaTeX class is not installed. Run 'kpsewhich scrartcl.cls' in a command shell to see if you've got it. If not, install it, update your LaTeX file name database, then reconfigure and restart LyX. /Paul
Re: scrartcl.layout error
Hi Michael, Michael Fread wrote: I am in the planning stages of a cross platform accounting program and need a solution for reports, invoices, estimates, etc. ... The documentation says to load it in an editor just use sed to replace the % characters with something else so that the editor doesn't mistake the placeholders for comments. If I understood you correctly (!): What do you need LyX for in the first place ?!? You want to write an accounting software, which programatically creates (or modifies) tex-files which then are typeset into PDF (or whatever) using latex/pdflatex? Then how does LyX fit in there? Of course you could also create LyX files programatically, but that only adds an extra layer (with IMHO little benefit). LyX is not a latex editor, it is a document processor (for writing), which happens to use latex-machinery for creating output. Or I got you completely wrong ... /Konrad
Links to external images in PDF generated by LyX.
I'd like to generate a PDF file where the figures/images are not incorporated into it, but rather have links that points to external image files (jpeg, eps, and whatnot). Doing that, I can restrict the size of each individual size instead of generating a large PDF file with everything in it... Is it possible to do something like this using LyX/LaTeX? Appreciate any suggestion. -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered linux user # 153741
citations
Hi, I am having difficulty getting references to show as author/year. I have attached the files. This is what I get: - (author?) [1] References [1] T. Abbott, M. Easton, and R. Schmidt. Magnesium for crashworthy compo- nents. In Magnesium Technology 2003 Symposium, 2-6 March 2003, Mag- nesium Technology 2003 Symposium, pages 227{30, San Diego, CA, USA, / 2003. Sch. of Phys. Mater. Eng., Monash Univ., Melbourne, Vic., Aus- tralia, TMS. -- Please advise, Thank you Hesham error.lyx Description: application/lyx papers-Export.bib Description: Binary data error.pdf Description: Adobe PDF document
Re: citations
On Fri, Aug 15, 2008 at 2:45 PM, Hesham Kamel [EMAIL PROTECTED] wrote: Hi, I am having difficulty getting references to show as author/year. I have attached the files. This is what I get: - (author?) [1] References [1] T. Abbott, M. Easton, and R. Schmidt. Magnesium for crashworthy compo- nents. In Magnesium Technology 2003 Symposium, 2-6 March 2003, Mag- nesium Technology 2003 Symposium, pages 227{30, San Diego, CA, USA, / 2003. Sch. of Phys. Mater. Eng., Monash Univ., Melbourne, Vic., Aus- tralia, TMS. -- Please advise, Thank you Hesham When you use Natbib you must use a Natbib compatible bibliography style, like: plainnat, unsrtnat, or abbrvnat. Cheers, /Bob
Re: Multiple index
On Fri, 15 Aug 2008 16:36:52 +0200 Jürgen Spitzmüller [EMAIL PROTECTED] wrote: rgheck wrote: Not in LyX directly---at least not in 1.5---but there are LaTeX packages for this kind of thing. Searching for multiple index on ctan.org got me http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=index http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=multind and there may be others, if you just search on index and wade through the mountain of hits. I'd recommend splitidx. It's most suitable for LyX and works pretty well. The Memoir class also does multiple indexes, but last time I tried it in LyX it was not very convenient. It is one feature that, if it worked smoothly, would make me use LyX for all my writing. Cheers, Alan Jürgen
Re: Links to external images in PDF generated by LyX.
On 15.08.2008, at 21:12, Rudi Gaelzer wrote: I'd like to generate a PDF file where the figures/images are not incorporated into it, but rather have links that points to external image files (jpeg, eps, and whatnot). Doing that, I can restrict the size of each individual size instead of generating a large PDF file with everything in it... Is it possible to do something like this using LyX/LaTeX? Hi Rudi, I am not sure if I understand your question correctly: (1) Do want to have links in the PDF (like URLs) the user can click onto to open the (external) material, which can be an image or whatever? Well, this can be achieved with the hyperref LaTeX package and LyX's built-in support for simple URLs (Insert-URL). More sophisticated things are possible with using hyperref commands in ERT. Take a look at the LyX manuals and the hyperref package documentation. (2) Or do you want the figures to be visible in the PDF, but nevertheless loaded from external files when the PDF file is opened (like an external graphics in Word)? I have never seen something like this. To my best knowledge, PDF files have to be self-contained. So this is most probably not possible. Daniel
Re: Links to external images in PDF generated by LyX.
On Friday 15 August 2008 19:09:09 Daniel Lohmann wrote: Hi Rudi, I am not sure if I understand your question correctly: (1) Do want to have links in the PDF (like URLs) the user can click onto to open the (external) material, which can be an image or whatever? Well, this can be achieved with the hyperref LaTeX package and LyX's built-in support for simple URLs (Insert-URL). More sophisticated things are possible with using hyperref commands in ERT. Take a look at the LyX manuals and the hyperref package documentation. Nope. (2) Or do you want the figures to be visible in the PDF, but nevertheless loaded from external files when the PDF file is opened (like an external graphics in Word)? I have never seen something like this. To my best knowledge, PDF files have to be self-contained. So this is most probably not possible. Yep. That's it. Anyone knows if that's possible? -- Rudi Gaelzer Departamento de Física Instituto de Física e Matemática Fundação Universidade Federal de Pelotas Campus Universitário, s/nº Caixa Postal 354 - Campus UFPel 96010-900 Pelotas - RS Fone: +55-53-275-7416 FAX: +55-53-275-7343 Usuário de Linux Registrado Nº 153741
Re: Conflict with Hyperref + Floats?
Hi, I just wanted to report that it worked. There were a few bits in the documentation that were a bit confusing, but otherwise worked well. I will have to confirm whether things work differently/better on 1.6 soon. Thanks.
Re: kslt2pro.lyx letter template undefined control sequence after changing language setting
Graham Smith a écrit : I am trying to use this template from the Lyx wiki which defaults to French when I open it. But it compiles without any trouble. Changing the language settings from French to British (and reconfiguring) gives me three undefined control sequence errors when I try to compile. If I don't load the lco file, it compiles OK but obviously with aspect missing. If I comment out lines in the lco file, it seems that two of the undefined control sequences are linked to the firsthead code, and one of the undefined control sequences is associated with the firstfoot coding. I can't see where the errors might be and wondered if anyone had gone through the same language conversion issues. Jean-Marie has been helping me with some other issues but I am hoping someone has gone through this specific French to British problem. I found two control sequences which seem to be french specific in the NFpro.lco options file. You should replace at line 53 \no by n° and at line 74 \nombre{1234,56} by 1234,56. I don't know why three errors were reported as it compiles now OK in english language with these two modifications. -- jean-marie pacquet
Re: Lyx savetrees
On Thu, 14 Aug 2008, Konrad Hofbauer wrote: Perhaps this trick deserves an entry in the wiki, what do you think ? I agree, how about creating a page called one of the following http://www.lyx.org/Examples/Savetrees http://www.lyx.org/Examples/UsingSavetrees Ideally you should upload an example .lyx-file (as well as .pdf-output). regards /Christian PS. I'm sending the upload password separately, but ask in case you run into problems uploading to the wiki. Tip: You can refer to this thread from the wiki page by writing e.g.: LyXUsersThreadRoot:49320 That will create a link to this discussion thread, which can be useful on the wiki page. -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr
Re: kslt2pro.lyx letter template undefined control sequence after changing language setting
Many thanks for this, its very useful to me. Graham On 15 Aug 2008, at 07:05, Jean-Marie Pacquet wrote: Graham Smith a écrit : I am trying to use this template from the Lyx wiki which defaults to French when I open it. But it compiles without any trouble. Changing the language settings from French to British (and reconfiguring) gives me three undefined control sequence errors when I try to compile. If I don't load the lco file, it compiles OK but obviously with aspect missing. If I comment out lines in the lco file, it seems that two of the undefined control sequences are linked to the firsthead code, and one of the undefined control sequences is associated with the firstfoot coding. I can't see where the errors might be and wondered if anyone had gone through the same language conversion issues. Jean-Marie has been helping me with some other issues but I am hoping someone has gone through this specific French to British problem. I found two control sequences which seem to be french specific in the NFpro.lco options file. You should replace at line 53 \no by n° and at line 74 \nombre{1234,56} by 1234,56. I don't know why three errors were reported as it compiles now OK in english language with these two modifications. -- jean-marie pacquet
Algorithm - line numbering
Hi, Please can you tell me how I can number the lines in an algorithm? Also, I have an algorithm that spans more than a page, but just disappears after the 1st page? Many thanks, Thomas Bolton
Re: scrartcl.layout error
Michael Fread wrote: I am no Latex guru so if this is something obvious please forgive me. I did search the archives and google and didn't come up with any English results. I am in the planning stages of a cross platform accounting program and need a solution for reports, invoices, estimates, etc. After looking at the various options Latex looks like it might be the way to go. Unfortunately, I did not find any luck when trying to find a latex invoice example I could look at to see how it handles that sort of application, I see information indicating latex will work for the kind of thing I want but all the examples I've found are book/school report/letters, etc. Finally I stumbled onto the fact that a similarly targeted application, SQL-Ledger uses latex for its report templates and invoices. The documentation says to load it in an editor just use sed to replace the % characters with something else so that the editor doesn't mistake the placeholders for comments. When I try to import the Default-invoice.tex file into Lyx I get this: The layout file requested by the document, scrartcl.layout, is not usable. This is probably because a latex class or style file required by it is not is not available. See the customization documentation for more information. Lyx will not be able to produce output. If I look at the source of the file it does list scrartcl. I thought this might be something with SQL-Ledger but ultimately found that the scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much worried about viewing/editing the file now as I am about being able to assist users in editing these files if I opt to use them. Can you post the file in question? Perhaps someone can them debug this. rh
Re: Multiple index
rgheck wrote: Not in LyX directly---at least not in 1.5---but there are LaTeX packages for this kind of thing. Searching for multiple index on ctan.org got me http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=index http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=multind and there may be others, if you just search on index and wade through the mountain of hits. I'd recommend splitidx. It's most suitable for LyX and works pretty well. Jürgen
Re: scrartcl.layout error
Michael Fread wrote: The layout file requested by the document, scrartcl.layout, is not usable. This is probably because a latex class or style file required by it is not is not available. See the customization documentation for more information. Lyx will not be able to produce output. If I look at the source of the file it does list scrartcl. I thought this might be something with SQL-Ledger but ultimately found that the scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much worried about viewing/editing the file now as I am about being able to assist users in editing these files if I opt to use them. Does SQL-Ledger use the LaTeX scrartcl class? It would seem so. If yes, then you have to have that class installed in your LaTeX distro, and the message from LyX suggests that you don't. LyX flags layouts as unusable if the corresponding LaTeX class is not installed. Run 'kpsewhich scrartcl.cls' in a command shell to see if you've got it. If not, install it, update your LaTeX file name database, then reconfigure and restart LyX. /Paul
Re: scrartcl.layout error
Hi Michael, Michael Fread wrote: I am in the planning stages of a cross platform accounting program and need a solution for reports, invoices, estimates, etc. ... The documentation says to load it in an editor just use sed to replace the % characters with something else so that the editor doesn't mistake the placeholders for comments. If I understood you correctly (!): What do you need LyX for in the first place ?!? You want to write an accounting software, which programatically creates (or modifies) tex-files which then are typeset into PDF (or whatever) using latex/pdflatex? Then how does LyX fit in there? Of course you could also create LyX files programatically, but that only adds an extra layer (with IMHO little benefit). LyX is not a latex editor, it is a document processor (for writing), which happens to use latex-machinery for creating output. Or I got you completely wrong ... /Konrad
Links to external images in PDF generated by LyX.
I'd like to generate a PDF file where the figures/images are not incorporated into it, but rather have links that points to external image files (jpeg, eps, and whatnot). Doing that, I can restrict the size of each individual size instead of generating a large PDF file with everything in it... Is it possible to do something like this using LyX/LaTeX? Appreciate any suggestion. -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered linux user # 153741
citations
Hi, I am having difficulty getting references to show as author/year. I have attached the files. This is what I get: - (author?) [1] References [1] T. Abbott, M. Easton, and R. Schmidt. Magnesium for crashworthy compo- nents. In Magnesium Technology 2003 Symposium, 2-6 March 2003, Mag- nesium Technology 2003 Symposium, pages 227{30, San Diego, CA, USA, / 2003. Sch. of Phys. Mater. Eng., Monash Univ., Melbourne, Vic., Aus- tralia, TMS. -- Please advise, Thank you Hesham error.lyx Description: application/lyx papers-Export.bib Description: Binary data error.pdf Description: Adobe PDF document
Re: citations
On Fri, Aug 15, 2008 at 2:45 PM, Hesham Kamel [EMAIL PROTECTED] wrote: Hi, I am having difficulty getting references to show as author/year. I have attached the files. This is what I get: - (author?) [1] References [1] T. Abbott, M. Easton, and R. Schmidt. Magnesium for crashworthy compo- nents. In Magnesium Technology 2003 Symposium, 2-6 March 2003, Mag- nesium Technology 2003 Symposium, pages 227{30, San Diego, CA, USA, / 2003. Sch. of Phys. Mater. Eng., Monash Univ., Melbourne, Vic., Aus- tralia, TMS. -- Please advise, Thank you Hesham When you use Natbib you must use a Natbib compatible bibliography style, like: plainnat, unsrtnat, or abbrvnat. Cheers, /Bob
Re: Multiple index
On Fri, 15 Aug 2008 16:36:52 +0200 Jürgen Spitzmüller [EMAIL PROTECTED] wrote: rgheck wrote: Not in LyX directly---at least not in 1.5---but there are LaTeX packages for this kind of thing. Searching for multiple index on ctan.org got me http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=index http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=multind and there may be others, if you just search on index and wade through the mountain of hits. I'd recommend splitidx. It's most suitable for LyX and works pretty well. The Memoir class also does multiple indexes, but last time I tried it in LyX it was not very convenient. It is one feature that, if it worked smoothly, would make me use LyX for all my writing. Cheers, Alan Jürgen
Re: Links to external images in PDF generated by LyX.
On 15.08.2008, at 21:12, Rudi Gaelzer wrote: I'd like to generate a PDF file where the figures/images are not incorporated into it, but rather have links that points to external image files (jpeg, eps, and whatnot). Doing that, I can restrict the size of each individual size instead of generating a large PDF file with everything in it... Is it possible to do something like this using LyX/LaTeX? Hi Rudi, I am not sure if I understand your question correctly: (1) Do want to have links in the PDF (like URLs) the user can click onto to open the (external) material, which can be an image or whatever? Well, this can be achieved with the hyperref LaTeX package and LyX's built-in support for simple URLs (Insert-URL). More sophisticated things are possible with using hyperref commands in ERT. Take a look at the LyX manuals and the hyperref package documentation. (2) Or do you want the figures to be visible in the PDF, but nevertheless loaded from external files when the PDF file is opened (like an external graphics in Word)? I have never seen something like this. To my best knowledge, PDF files have to be self-contained. So this is most probably not possible. Daniel
Re: Links to external images in PDF generated by LyX.
On Friday 15 August 2008 19:09:09 Daniel Lohmann wrote: Hi Rudi, I am not sure if I understand your question correctly: (1) Do want to have links in the PDF (like URLs) the user can click onto to open the (external) material, which can be an image or whatever? Well, this can be achieved with the hyperref LaTeX package and LyX's built-in support for simple URLs (Insert-URL). More sophisticated things are possible with using hyperref commands in ERT. Take a look at the LyX manuals and the hyperref package documentation. Nope. (2) Or do you want the figures to be visible in the PDF, but nevertheless loaded from external files when the PDF file is opened (like an external graphics in Word)? I have never seen something like this. To my best knowledge, PDF files have to be self-contained. So this is most probably not possible. Yep. That's it. Anyone knows if that's possible? -- Rudi Gaelzer Departamento de Física Instituto de Física e Matemática Fundação Universidade Federal de Pelotas Campus Universitário, s/nº Caixa Postal 354 - Campus UFPel 96010-900 Pelotas - RS Fone: +55-53-275-7416 FAX: +55-53-275-7343 Usuário de Linux Registrado Nº 153741
Re: Conflict with Hyperref + Floats?
Hi, I just wanted to report that it worked. There were a few bits in the documentation that were a bit confusing, but otherwise worked well. I will have to confirm whether things work differently/better on 1.6 soon. Thanks.
Re: kslt2pro.lyx letter template undefined control sequence after changing language setting
Graham Smith a écrit : I am trying to use this template from the Lyx wiki which defaults to French when I open it. But it compiles without any trouble. Changing the language settings from French to British (and reconfiguring) gives me three undefined control sequence errors when I try to compile. If I don't load the lco file, it compiles OK but obviously with aspect missing. If I comment out lines in the lco file, it seems that two of the undefined control sequences are linked to the firsthead code, and one of the undefined control sequences is associated with the firstfoot coding. I can't see where the errors might be and wondered if anyone had gone through the same language conversion issues. Jean-Marie has been helping me with some other issues but I am hoping someone has gone through this specific French to British problem. I found two control sequences which seem to be french specific in the NFpro.lco options file. You should replace at line 53 "\no" by "n°" and at line 74 "\nombre{1234,56}" by "1234,56". I don't know why three errors were reported as it compiles now OK in english language with these two modifications. -- jean-marie pacquet
Re: Lyx & savetrees
On Thu, 14 Aug 2008, Konrad Hofbauer wrote: Perhaps this trick deserves an entry in the wiki, what do you think ? I agree, how about creating a page called one of the following http://www.lyx.org/Examples/Savetrees http://www.lyx.org/Examples/UsingSavetrees Ideally you should upload an example .lyx-file (as well as .pdf-output). regards /Christian PS. I'm sending the upload password separately, but ask in case you run into problems uploading to the wiki. Tip: You can refer to this thread from the wiki page by writing e.g.: LyXUsersThreadRoot:49320 That will create a link to this discussion thread, which can be useful on the wiki page. -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr
Re: kslt2pro.lyx letter template undefined control sequence after changing language setting
Many thanks for this, its very useful to me. Graham On 15 Aug 2008, at 07:05, Jean-Marie Pacquet wrote: Graham Smith a écrit : I am trying to use this template from the Lyx wiki which defaults to French when I open it. But it compiles without any trouble. Changing the language settings from French to British (and reconfiguring) gives me three undefined control sequence errors when I try to compile. If I don't load the lco file, it compiles OK but obviously with aspect missing. If I comment out lines in the lco file, it seems that two of the undefined control sequences are linked to the firsthead code, and one of the undefined control sequences is associated with the firstfoot coding. I can't see where the errors might be and wondered if anyone had gone through the same language conversion issues. Jean-Marie has been helping me with some other issues but I am hoping someone has gone through this specific French to British problem. I found two control sequences which seem to be french specific in the NFpro.lco options file. You should replace at line 53 "\no" by "n°" and at line 74 "\nombre{1234,56}" by "1234,56". I don't know why three errors were reported as it compiles now OK in english language with these two modifications. -- jean-marie pacquet
Algorithm - line numbering
Hi, Please can you tell me how I can number the lines in an algorithm? Also, I have an algorithm that spans more than a page, but just disappears after the 1st page? Many thanks, Thomas Bolton
Re: scrartcl.layout error
Michael Fread wrote: I am no Latex guru so if this is something obvious please forgive me. I did search the archives and google and didn't come up with any English results. I am in the planning stages of a cross platform accounting program and need a solution for reports, invoices, estimates, etc. After looking at the various options Latex looks like it might be the way to go. Unfortunately, I did not find any luck when trying to find a latex invoice example I could look at to see how it handles that sort of application, I see information indicating latex will work for the kind of thing I want but all the examples I've found are book/school report/letters, etc. Finally I stumbled onto the fact that a similarly targeted application, SQL-Ledger uses latex for its report templates and invoices. The documentation says to load it in an editor just use sed to replace the % characters with something else so that the editor doesn't mistake the placeholders for comments. When I try to import the Default-invoice.tex file into Lyx I get this: The layout file requested by the document, scrartcl.layout, is not usable. This is probably because a latex class or style file required by it is not is not available. See the customization documentation for more information. Lyx will not be able to produce output. If I look at the source of the file it does list scrartcl. I thought this might be something with SQL-Ledger but ultimately found that the scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much worried about viewing/editing the file now as I am about being able to assist users in editing these files if I opt to use them. Can you post the file in question? Perhaps someone can them debug this. rh
Re: Multiple index
rgheck wrote: > Not in LyX directly---at least not in 1.5---but there are LaTeX packages > for this kind of thing. Searching for "multiple index" on ctan.org got me > http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=index > http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=multind > and there may be others, if you just search on "index" and wade through > the mountain of hits. I'd recommend splitidx. It's most suitable for LyX and works pretty well. Jürgen
Re: scrartcl.layout error
Michael Fread wrote: The layout file requested by the document, scrartcl.layout, is not usable. This is probably because a latex class or style file required by it is not is not available. See the customization documentation for more information. Lyx will not be able to produce output. If I look at the source of the file it does list scrartcl. I thought this might be something with SQL-Ledger but ultimately found that the scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much worried about viewing/editing the file now as I am about being able to assist users in editing these files if I opt to use them. Does SQL-Ledger use the LaTeX scrartcl class? It would seem so. If yes, then you have to have that class installed in your LaTeX distro, and the message from LyX suggests that you don't. LyX flags layouts as unusable if the corresponding LaTeX class is not installed. Run 'kpsewhich scrartcl.cls' in a command shell to see if you've got it. If not, install it, update your LaTeX file name database, then reconfigure and restart LyX. /Paul
Re: scrartcl.layout error
Hi Michael, Michael Fread wrote: I am in the planning stages of a cross platform accounting program and need a solution for reports, invoices, estimates, etc. > ... > The documentation says to load it in an editor just use sed to replace the % characters with something else so that the editor doesn't mistake the placeholders for comments. If I understood you correctly (!): What do you need LyX for in the first place ?!? You want to write an accounting software, which programatically creates (or modifies) tex-files which then are typeset into PDF (or whatever) using latex/pdflatex? Then how does LyX fit in there? Of course you could also create LyX files programatically, but that only adds an extra layer (with IMHO little benefit). LyX is not a "latex editor", it is a document processor (for writing), which happens to use latex-machinery for creating output. Or I got you completely wrong ... /Konrad
Links to external images in PDF generated by LyX.
I'd like to generate a PDF file where the figures/images are not incorporated into it, but rather have links that points to external image files (jpeg, eps, and whatnot). Doing that, I can restrict the size of each individual size instead of generating a large PDF file with everything in it... Is it possible to do something like this using LyX/LaTeX? Appreciate any suggestion. -- Rudi Gaelzer Department of Physics Institute of Physics and Mathematics Federal University of Pelotas BRAZIL Registered linux user # 153741
citations
Hi, I am having difficulty getting references to show as author/year. I have attached the files. This is what I get: - (author?) [1] References [1] T. Abbott, M. Easton, and R. Schmidt. Magnesium for crashworthy compo- nents. In Magnesium Technology 2003 Symposium, 2-6 March 2003, Mag- nesium Technology 2003 Symposium, pages 227{30, San Diego, CA, USA, / 2003. Sch. of Phys. & Mater. Eng., Monash Univ., Melbourne, Vic., Aus- tralia, TMS. -- Please advise, Thank you Hesham error.lyx Description: application/lyx papers-Export.bib Description: Binary data error.pdf Description: Adobe PDF document
Re: citations
On Fri, Aug 15, 2008 at 2:45 PM, Hesham Kamel <[EMAIL PROTECTED]> wrote: > Hi, > I am having difficulty getting references to show as author/year. > I have attached the files. > This is what I get: > - > (author?) [1] > References > [1] T. Abbott, M. Easton, and R. Schmidt. Magnesium for crashworthy compo- > nents. In Magnesium Technology 2003 Symposium, 2-6 March 2003, Mag- > nesium Technology 2003 Symposium, pages 227{30, San Diego, CA, USA, > / 2003. Sch. of Phys. & Mater. Eng., Monash Univ., Melbourne, Vic., Aus- > tralia, TMS. > -- > Please advise, > Thank you > Hesham > > When you use Natbib you must use a Natbib compatible bibliography style, like: plainnat, unsrtnat, or abbrvnat. Cheers, /Bob
Re: Multiple index
On Fri, 15 Aug 2008 16:36:52 +0200 Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: > rgheck wrote: > > Not in LyX directly---at least not in 1.5---but there are LaTeX > > packages for this kind of thing. Searching for "multiple index" on > > ctan.org got me > > http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=index > > http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=multind > > and there may be others, if you just search on "index" and wade > > through the mountain of hits. > > I'd recommend splitidx. It's most suitable for LyX and works pretty > well. The Memoir class also does multiple indexes, but last time I tried it in LyX it was not very convenient. It is one feature that, if it worked smoothly, would make me use LyX for all my writing. Cheers, Alan > > Jürgen >
Re: Links to external images in PDF generated by LyX.
On 15.08.2008, at 21:12, Rudi Gaelzer wrote: I'd like to generate a PDF file where the figures/images are not incorporated into it, but rather have links that points to external image files (jpeg, eps, and whatnot). Doing that, I can restrict the size of each individual size instead of generating a large PDF file with everything in it... Is it possible to do something like this using LyX/LaTeX? Hi Rudi, I am not sure if I understand your question correctly: (1) Do want to have links in the PDF (like URLs) the user can click onto to open the (external) material, which can be an image or whatever? Well, this can be achieved with the hyperref LaTeX package and LyX's built-in support for simple URLs (Insert->URL). More sophisticated things are possible with using hyperref commands in ERT. Take a look at the LyX manuals and the hyperref package documentation. (2) Or do you want the figures to be visible in the PDF, but nevertheless loaded from external files when the PDF file is opened (like an external graphics in Word)? I have never seen something like this. To my best knowledge, PDF files have to be self-contained. So this is most probably not possible. Daniel
Re: Links to external images in PDF generated by LyX.
On Friday 15 August 2008 19:09:09 Daniel Lohmann wrote: > Hi Rudi, > > I am not sure if I understand your question correctly: > > (1) Do want to have links in the PDF (like URLs) the user can click > onto to open the (external) material, which can be an image or > whatever? Well, this can be achieved with the hyperref LaTeX package > and LyX's built-in support for simple URLs (Insert->URL). More > sophisticated things are possible with using hyperref commands in ERT. > Take a look at the LyX manuals and the hyperref package documentation. Nope. > > (2) Or do you want the figures to be visible in the PDF, but > nevertheless loaded from external files when the PDF file is opened > (like an external graphics in Word)? > I have never seen something like this. To my best knowledge, PDF > files have to be self-contained. So this is most probably not possible. Yep. That's it. Anyone knows if that's possible? -- Rudi Gaelzer Departamento de Física Instituto de Física e Matemática Fundação Universidade Federal de Pelotas Campus Universitário, s/nº Caixa Postal 354 - Campus UFPel 96010-900 Pelotas - RS Fone: +55-53-275-7416 FAX: +55-53-275-7343 Usuário de Linux Registrado Nº 153741
Re: Conflict with Hyperref + Floats?
Hi, I just wanted to report that it worked. There were a few bits in the documentation that were a bit confusing, but otherwise worked well. I will have to confirm whether things work differently/better on 1.6 soon. Thanks.