Show all authors when citing BibTeX entry
Dear All, Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? Thanks in advance, Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 8:38 AM, Paul Smith wrote: Dear All, Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? Thanks in advance, Paul In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. -- Julien
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 1:56 PM, Julien Rioux jri...@physics.utoronto.ca wrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 9:23 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 1:56 PM, Julien Rioux jri...@physics.utoronto.ca wrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Paul Right, I get the same failure here with apalike. It seems that this style file is either not the most recent and needs updating, or is simply not natbib compatible. It produces in the .bbl file a line: \bibitem[Einstein et~al., 1935]{EPR1935} which should instead read \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} in order for natbib to produce a full author list. -- Julien
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 2:47 PM, Julien Rioux jri...@physics.utoronto.ca wrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Right, I get the same failure here with apalike. It seems that this style file is either not the most recent and needs updating, or is simply not natbib compatible. It produces in the .bbl file a line: \bibitem[Einstein et~al., 1935]{EPR1935} which should instead read \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} in order for natbib to produce a full author list. Thanks again, Julien. Is there a workaround? Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 9:56 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 2:47 PM, Julien Rioux jri...@physics.utoronto.ca wrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Right, I get the same failure here with apalike. It seems that this style file is either not the most recent and needs updating, or is simply not natbib compatible. It produces in the .bbl file a line: \bibitem[Einstein et~al., 1935]{EPR1935} which should instead read \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} in order for natbib to produce a full author list. Thanks again, Julien. Is there a workaround? Paul I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. -- Julien
\thanks numbering
Hi in an author list, footnotes are translated to \thanks, which I'm using for affiliations. How do I get the corresponding footnotes to be numbered? Thank you. Ramiro
cross-referencing between files
Hi I've been googling about how to do cross-referencing between two lyx documents. None of the solutions I've seen so far worked for me. My attempts consisted of having a master lyx file which includes (Insert-File-Child document, include type=include) two other lyx files. Then I try to refer to a label in one file from the other. This works as long as I'm building the whole document, i.e. the master. If I try to build only one of them it does not work, I get the double question mark (??)... The goal is the writing of a paper which has supplementary material which needs referring. But besides the cross-referencing the two documents should be pretty much independent (indep. page numbering, titles, etc..) so I need to build them separately. Thanks. Ramiro
Re: Show all authors when citing BibTeX entry
On 08/17/2011 10:03 AM, Julien Rioux wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Richard
Re: \thanks numbering
On 08/17/2011 11:50 AM, Ramiro Magno wrote: Hi in an author list, footnotes are translated to \thanks, which I'm using for affiliations. How do I get the corresponding footnotes to be numbered? This is document-class dependent. You may be able to use ERT to make a real footnote, but that too is document-class dependent. Richard
Re: cross-referencing between files
On 08/17/2011 11:58 AM, Ramiro Magno wrote: Hi I've been googling about how to do cross-referencing between two lyx documents. None of the solutions I've seen so far worked for me. My attempts consisted of having a master lyx file which includes (Insert-File-Child document, include type=include) two other lyx files. Then I try to refer to a label in one file from the other. This works as long as I'm building the whole document, i.e. the master. If I try to build only one of them it does not work, I get the double question mark (??)... The goal is the writing of a paper which has supplementary material which needs referring. But besides the cross-referencing the two documents should be pretty much independent (indep. page numbering, titles, etc..) so I need to build them separately. I think you have to use the xr package. LyX's support for this will be minimal at best. Richard
Re: Show all authors when citing BibTeX entry
On 17/08/2011 10:22 AM, Richard Heck wrote: On 08/17/2011 10:03 AM, Julien Rioux wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Richard Yes, I actually know enough that I could do this, but time is finite. Richard, I think you did tweak apalike.bst in an older thread? Paul, it might be worth researching the list archive. Cheers, Julien
listing package with multicol
Hi, I have to split a program code (done using listing package)in 2 columns. The ways I have in mind are, - make minipage 50% of width - make a table with 2 colums - use multicol package Which of these is preferred? Or any other way that is recommended? Thanks in advance. Regards, Shantanu --
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 3:26 PM, Julien Rioux jri...@physics.utoronto.ca wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Yes, I actually know enough that I could do this, but time is finite. Richard, I think you did tweak apalike.bst in an older thread? Paul, it might be worth researching the list archive. Thanks, Julien and Richard. I have meanwhile found another BibTeX file, which fits my needs and does not show the problem that apalike exhibits. Paul
Re: Show all authors when citing BibTeX entry
On 08/17/2011 11:28 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 3:26 PM, Julien Rioux jri...@physics.utoronto.ca wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Yes, I actually know enough that I could do this, but time is finite. Indeed. Richard, I think you did tweak apalike.bst in an older thread? Yeah, I do a lot of such tweaking: http://groups.google.com/group/comp.text.tex/browse_thread/thread/426413473488bfce# Richard
Re: Show all authors when citing BibTeX entry
On 17/08/2011 12:31 PM, Richard Heck wrote: On 08/17/2011 11:28 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 3:26 PM, Julien Rioux jri...@physics.utoronto.ca wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Yes, I actually know enough that I could do this, but time is finite. Indeed. Richard, I think you did tweak apalike.bst in an older thread? Yeah, I do a lot of such tweaking: http://groups.google.com/group/comp.text.tex/browse_thread/thread/426413473488bfce# Richard What? What are those % signs? *Comments*, you say? ;) -- Julien
Page numbering: [Page #] / [Total # of pages]
Hi, how does one change the page numbering format to the following: [Page number] / [Total number of pages] Example: At the bottom (center) of the fifth page of the document that has a total of 15 pages, I would like the PDF file to display 5 / 15. Thanks!
Re: Page numbering: [Page #] / [Total # of pages]
On Wednesday, August 17, 2011 04:03:36 PM ChiPro wrote: Hi, how does one change the page numbering format to the following: [Page number] / [Total number of pages] Example: At the bottom (center) of the fifth page of the document that has a total of 15 pages, I would like the PDF file to display 5 / 15. Thanks! Try these: http://www.ctan.org/pkg/lastpage http://www.ctan.org/pkg/totpages I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: Page numbering: [Page #] / [Total # of pages]
Steve Litt slitt at troubleshooters.com writes: I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Thanks Steve. Even more basic question, how do I install this package on my Mac? (I'm a beginner) Thanks!
Re: Page numbering: [Page #] / [Total # of pages]
On Wed, Aug 17, 2011 at 10:58 PM, ChiPro chipro...@gmail.com wrote: Steve Litt slitt at troubleshooters.com writes: I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Thanks Steve. Even more basic question, how do I install this package on my Mac? (I'm a beginner) See Help Customization Section 5 for some pointers. Liviu
Re: MacTeX/XeTeX pdf setting problems
I was also having the same problem while trying to view pdf or Xetex with Miktex. I re-install the Miktex 2.8, the old one, and resolved the problem. You may try the older version of Mactex. Shyam On Mon, Aug 8, 2011 at 10:00 AM, Jürgen Spitzmüller sp...@lyx.org wrote: Maria Gouskova wrote: LaTeX Error: Command \B already defined. LaTeX Error: Command \T already defined. \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}} This line is from xyling.sty. I suppose it conflicts with some other package, which defines \B before xyling is loaded. You can try to find out more by adding \show\B in the preamble before xyling is loaded. This outputs the current definition of the macro to the preamble, by which you can search (via spotlight) the responsible package. HTH, Jürgen
Re: Page numbering: [Page #] / [Total # of pages]
On Wednesday, August 17, 2011 04:58:29 PM ChiPro wrote: Steve Litt slitt at troubleshooters.com writes: I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Thanks Steve. Even more basic question, how do I install this package on my Mac? (I'm a beginner) :-) I guarantee you, as much of a beginner as you are with LyX, I'd be more of a beginner on Mac. I think between 1984 and now I've logged about 10 hours on a Mac. On Linux you go to CTAN, download the package, put it in your LaTeX tree, and run the texhash program, then in your LyX document properties LaTeX Preamble you put \usepackage{lastline} or \usepackage{totpages}, and in your actual document text follow the directions in the package documentation. Since you're a newbie I'm going to give you a piece of advice -- do as I say, not as I do. I personally use LaTeX to finesse a lot of what I need to do. On the other hand, there are many people on this list who can instantly find a package to do what I'd spend a half a day finessing. Those guys are a lot more productive than I. So become one of them -- get really familiar with what CTAN offers, and how to quickly find a package to enable a certain feature. There must be an efficient way to do it, because a lot of people on this list can do it instantly. I have one other piece of advice for you, but let's wait until you're in a position where you can't get your title page or other front matter to look like you want it, and then ask me. HTH SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: listing package with multicol
Kulkarni Shantanu ml at lists.shantanukulkarni.org writes: Hi, I have to split a program code (done using listing package)in 2 columns. The ways I have in mind are, - make minipage 50% of width - make a table with 2 colums - use multicol package Which of these is preferred? Or any other way that is recommended? It might depend on why you have to split the code. If it's just to reduce the height of the listing, I'd probably use the multicol package with the multicols option in the listing. Paul
Show all authors when citing BibTeX entry
Dear All, Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? Thanks in advance, Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 8:38 AM, Paul Smith wrote: Dear All, Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? Thanks in advance, Paul In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. -- Julien
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 1:56 PM, Julien Rioux jri...@physics.utoronto.ca wrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 9:23 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 1:56 PM, Julien Rioux jri...@physics.utoronto.ca wrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Paul Right, I get the same failure here with apalike. It seems that this style file is either not the most recent and needs updating, or is simply not natbib compatible. It produces in the .bbl file a line: \bibitem[Einstein et~al., 1935]{EPR1935} which should instead read \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} in order for natbib to produce a full author list. -- Julien
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 2:47 PM, Julien Rioux jri...@physics.utoronto.ca wrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Right, I get the same failure here with apalike. It seems that this style file is either not the most recent and needs updating, or is simply not natbib compatible. It produces in the .bbl file a line: \bibitem[Einstein et~al., 1935]{EPR1935} which should instead read \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} in order for natbib to produce a full author list. Thanks again, Julien. Is there a workaround? Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 9:56 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 2:47 PM, Julien Rioux jri...@physics.utoronto.ca wrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark Full author list. Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Right, I get the same failure here with apalike. It seems that this style file is either not the most recent and needs updating, or is simply not natbib compatible. It produces in the .bbl file a line: \bibitem[Einstein et~al., 1935]{EPR1935} which should instead read \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} in order for natbib to produce a full author list. Thanks again, Julien. Is there a workaround? Paul I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. -- Julien
\thanks numbering
Hi in an author list, footnotes are translated to \thanks, which I'm using for affiliations. How do I get the corresponding footnotes to be numbered? Thank you. Ramiro
cross-referencing between files
Hi I've been googling about how to do cross-referencing between two lyx documents. None of the solutions I've seen so far worked for me. My attempts consisted of having a master lyx file which includes (Insert-File-Child document, include type=include) two other lyx files. Then I try to refer to a label in one file from the other. This works as long as I'm building the whole document, i.e. the master. If I try to build only one of them it does not work, I get the double question mark (??)... The goal is the writing of a paper which has supplementary material which needs referring. But besides the cross-referencing the two documents should be pretty much independent (indep. page numbering, titles, etc..) so I need to build them separately. Thanks. Ramiro
Re: Show all authors when citing BibTeX entry
On 08/17/2011 10:03 AM, Julien Rioux wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Richard
Re: \thanks numbering
On 08/17/2011 11:50 AM, Ramiro Magno wrote: Hi in an author list, footnotes are translated to \thanks, which I'm using for affiliations. How do I get the corresponding footnotes to be numbered? This is document-class dependent. You may be able to use ERT to make a real footnote, but that too is document-class dependent. Richard
Re: cross-referencing between files
On 08/17/2011 11:58 AM, Ramiro Magno wrote: Hi I've been googling about how to do cross-referencing between two lyx documents. None of the solutions I've seen so far worked for me. My attempts consisted of having a master lyx file which includes (Insert-File-Child document, include type=include) two other lyx files. Then I try to refer to a label in one file from the other. This works as long as I'm building the whole document, i.e. the master. If I try to build only one of them it does not work, I get the double question mark (??)... The goal is the writing of a paper which has supplementary material which needs referring. But besides the cross-referencing the two documents should be pretty much independent (indep. page numbering, titles, etc..) so I need to build them separately. I think you have to use the xr package. LyX's support for this will be minimal at best. Richard
Re: Show all authors when citing BibTeX entry
On 17/08/2011 10:22 AM, Richard Heck wrote: On 08/17/2011 10:03 AM, Julien Rioux wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Richard Yes, I actually know enough that I could do this, but time is finite. Richard, I think you did tweak apalike.bst in an older thread? Paul, it might be worth researching the list archive. Cheers, Julien
listing package with multicol
Hi, I have to split a program code (done using listing package)in 2 columns. The ways I have in mind are, - make minipage 50% of width - make a table with 2 colums - use multicol package Which of these is preferred? Or any other way that is recommended? Thanks in advance. Regards, Shantanu --
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 3:26 PM, Julien Rioux jri...@physics.utoronto.ca wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Yes, I actually know enough that I could do this, but time is finite. Richard, I think you did tweak apalike.bst in an older thread? Paul, it might be worth researching the list archive. Thanks, Julien and Richard. I have meanwhile found another BibTeX file, which fits my needs and does not show the problem that apalike exhibits. Paul
Re: Show all authors when citing BibTeX entry
On 08/17/2011 11:28 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 3:26 PM, Julien Rioux jri...@physics.utoronto.ca wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Yes, I actually know enough that I could do this, but time is finite. Indeed. Richard, I think you did tweak apalike.bst in an older thread? Yeah, I do a lot of such tweaking: http://groups.google.com/group/comp.text.tex/browse_thread/thread/426413473488bfce# Richard
Re: Show all authors when citing BibTeX entry
On 17/08/2011 12:31 PM, Richard Heck wrote: On 08/17/2011 11:28 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 3:26 PM, Julien Rioux jri...@physics.utoronto.ca wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Yes, I actually know enough that I could do this, but time is finite. Indeed. Richard, I think you did tweak apalike.bst in an older thread? Yeah, I do a lot of such tweaking: http://groups.google.com/group/comp.text.tex/browse_thread/thread/426413473488bfce# Richard What? What are those % signs? *Comments*, you say? ;) -- Julien
Page numbering: [Page #] / [Total # of pages]
Hi, how does one change the page numbering format to the following: [Page number] / [Total number of pages] Example: At the bottom (center) of the fifth page of the document that has a total of 15 pages, I would like the PDF file to display 5 / 15. Thanks!
Re: Page numbering: [Page #] / [Total # of pages]
On Wednesday, August 17, 2011 04:03:36 PM ChiPro wrote: Hi, how does one change the page numbering format to the following: [Page number] / [Total number of pages] Example: At the bottom (center) of the fifth page of the document that has a total of 15 pages, I would like the PDF file to display 5 / 15. Thanks! Try these: http://www.ctan.org/pkg/lastpage http://www.ctan.org/pkg/totpages I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: Page numbering: [Page #] / [Total # of pages]
Steve Litt slitt at troubleshooters.com writes: I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Thanks Steve. Even more basic question, how do I install this package on my Mac? (I'm a beginner) Thanks!
Re: Page numbering: [Page #] / [Total # of pages]
On Wed, Aug 17, 2011 at 10:58 PM, ChiPro chipro...@gmail.com wrote: Steve Litt slitt at troubleshooters.com writes: I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Thanks Steve. Even more basic question, how do I install this package on my Mac? (I'm a beginner) See Help Customization Section 5 for some pointers. Liviu
Re: MacTeX/XeTeX pdf setting problems
I was also having the same problem while trying to view pdf or Xetex with Miktex. I re-install the Miktex 2.8, the old one, and resolved the problem. You may try the older version of Mactex. Shyam On Mon, Aug 8, 2011 at 10:00 AM, Jürgen Spitzmüller sp...@lyx.org wrote: Maria Gouskova wrote: LaTeX Error: Command \B already defined. LaTeX Error: Command \T already defined. \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}} This line is from xyling.sty. I suppose it conflicts with some other package, which defines \B before xyling is loaded. You can try to find out more by adding \show\B in the preamble before xyling is loaded. This outputs the current definition of the macro to the preamble, by which you can search (via spotlight) the responsible package. HTH, Jürgen
Re: Page numbering: [Page #] / [Total # of pages]
On Wednesday, August 17, 2011 04:58:29 PM ChiPro wrote: Steve Litt slitt at troubleshooters.com writes: I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Thanks Steve. Even more basic question, how do I install this package on my Mac? (I'm a beginner) :-) I guarantee you, as much of a beginner as you are with LyX, I'd be more of a beginner on Mac. I think between 1984 and now I've logged about 10 hours on a Mac. On Linux you go to CTAN, download the package, put it in your LaTeX tree, and run the texhash program, then in your LyX document properties LaTeX Preamble you put \usepackage{lastline} or \usepackage{totpages}, and in your actual document text follow the directions in the package documentation. Since you're a newbie I'm going to give you a piece of advice -- do as I say, not as I do. I personally use LaTeX to finesse a lot of what I need to do. On the other hand, there are many people on this list who can instantly find a package to do what I'd spend a half a day finessing. Those guys are a lot more productive than I. So become one of them -- get really familiar with what CTAN offers, and how to quickly find a package to enable a certain feature. There must be an efficient way to do it, because a lot of people on this list can do it instantly. I have one other piece of advice for you, but let's wait until you're in a position where you can't get your title page or other front matter to look like you want it, and then ask me. HTH SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: listing package with multicol
Kulkarni Shantanu ml at lists.shantanukulkarni.org writes: Hi, I have to split a program code (done using listing package)in 2 columns. The ways I have in mind are, - make minipage 50% of width - make a table with 2 colums - use multicol package Which of these is preferred? Or any other way that is recommended? It might depend on why you have to split the code. If it's just to reduce the height of the listing, I'd probably use the multicol package with the multicols option in the listing. Paul
Show all authors when citing BibTeX entry
Dear All, Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? Thanks in advance, Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 8:38 AM, Paul Smith wrote: Dear All, Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? Thanks in advance, Paul In the citation dialog, near the bottom, is a checkmark "Full author list". Does it work for you? It works here with a natbib style. -- Julien
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 1:56 PM, Julien Riouxwrote: >> Consider a BibTeX entry with 3 authors. With the style apalike, when >> citing this BibTeX entry, I get something like the following in the >> pdf file: >> >> Author1 et al. (2000). >> >> Is it possible instead to get something like the following in the pdf >> file: >> >> Author1, Author2 and Author3 (2000) >> >> ? > > In the citation dialog, near the bottom, is a checkmark "Full author list". > Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 9:23 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 1:56 PM, Julien Riouxwrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark "Full author list". Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Paul Right, I get the same failure here with apalike. It seems that this style file is either not the most recent and needs updating, or is simply not natbib compatible. It produces in the .bbl file a line: \bibitem[Einstein et~al., 1935]{EPR1935} which should instead read \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} in order for natbib to produce a full author list. -- Julien
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 2:47 PM, Julien Riouxwrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? >>> >>> In the citation dialog, near the bottom, is a checkmark "Full author >>> list". >>> Does it work for you? It works here with a natbib style. >> >> Thanks, Julien. I have tried that, but with no success. And yes, I am >> using natlib with apalike style. Have you tried that with apalike >> style? > > Right, I get the same failure here with apalike. It seems that this style > file is either not the most recent and needs updating, or is simply not > natbib compatible. It produces in the .bbl file a line: > > \bibitem[Einstein et~al., 1935]{EPR1935} > > which should instead read > > \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} > > in order for natbib to produce a full author list. Thanks again, Julien. Is there a workaround? Paul
Re: Show all authors when citing BibTeX entry
On 17/08/2011 9:56 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 2:47 PM, Julien Riouxwrote: Consider a BibTeX entry with 3 authors. With the style apalike, when citing this BibTeX entry, I get something like the following in the pdf file: Author1 et al. (2000). Is it possible instead to get something like the following in the pdf file: Author1, Author2 and Author3 (2000) ? In the citation dialog, near the bottom, is a checkmark "Full author list". Does it work for you? It works here with a natbib style. Thanks, Julien. I have tried that, but with no success. And yes, I am using natlib with apalike style. Have you tried that with apalike style? Right, I get the same failure here with apalike. It seems that this style file is either not the most recent and needs updating, or is simply not natbib compatible. It produces in the .bbl file a line: \bibitem[Einstein et~al., 1935]{EPR1935} which should instead read \bibitem[Einstein et~al.(1935)Einstein, Podolsky, and Rosen]{EPR1935} in order for natbib to produce a full author list. Thanks again, Julien. Is there a workaround? Paul I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. -- Julien
\thanks numbering
Hi in an author list, footnotes are translated to \thanks, which I'm using for affiliations. How do I get the corresponding footnotes to be numbered? Thank you. Ramiro
cross-referencing between files
Hi I've been googling about how to do cross-referencing between two lyx documents. None of the solutions I've seen so far worked for me. My attempts consisted of having a master lyx file which includes (Insert->File->Child document, include type=include) two other lyx files. Then I try to refer to a label in one file from the other. This works as long as I'm building the whole document, i.e. the master. If I try to build only one of them it does not work, I get the double question mark (??)... The goal is the writing of a paper which has supplementary material which needs referring. But besides the cross-referencing the two documents should be pretty much independent (indep. page numbering, titles, etc..) so I need to build them separately. Thanks. Ramiro
Re: Show all authors when citing BibTeX entry
On 08/17/2011 10:03 AM, Julien Rioux wrote: > > I might waste time learning bibtex's stack language to tweak the > apalike.bst file, but a quick workaround is simply to write the author > names in your LyX file. > Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Richard
Re: \thanks numbering
On 08/17/2011 11:50 AM, Ramiro Magno wrote: > Hi > > in an author list, footnotes are translated to \thanks, which I'm using for > affiliations. > How do I get the corresponding footnotes to be numbered? > This is document-class dependent. You may be able to use ERT to make a real footnote, but that too is document-class dependent. Richard
Re: cross-referencing between files
On 08/17/2011 11:58 AM, Ramiro Magno wrote: > Hi > > I've been googling about how to do cross-referencing between two lyx > documents. None of the solutions I've seen so far worked for me. > My attempts consisted of having a master lyx file which includes > (Insert->File->Child document, include type=include) two other lyx files. > Then I try to refer to a label in one file from the other. This works as long > as I'm building the whole document, i.e. the master. If I try to build only > one of them it does not work, I get the double question mark (??)... > The goal is the writing of a paper which has supplementary material which > needs referring. But besides the cross-referencing the two documents should > be pretty much independent (indep. page numbering, titles, etc..) so I need > to build them separately. > I think you have to use the xr package. LyX's support for this will be minimal at best. Richard
Re: Show all authors when citing BibTeX entry
On 17/08/2011 10:22 AM, Richard Heck wrote: On 08/17/2011 10:03 AM, Julien Rioux wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Richard Yes, I actually know enough that I could do this, but time is finite. Richard, I think you did tweak apalike.bst in an older thread? Paul, it might be worth researching the list archive. Cheers, Julien
listing package with multicol
Hi, I have to split a program code (done using listing package)in 2 columns. The ways I have in mind are, - make minipage 50% of width - make a table with 2 colums - use multicol package Which of these is preferred? Or any other way that is recommended? Thanks in advance. Regards, Shantanu --
Re: Show all authors when citing BibTeX entry
On Wed, Aug 17, 2011 at 3:26 PM, Julien Riouxwrote: >>> I might waste time learning bibtex's stack language to tweak the >>> apalike.bst file, but a quick workaround is simply to write the author >>> names in your LyX file. >>> >> Just compare the output.bibitem routine in apalike with the one in >> plainnat, and you'll see what has to be done. It looks like the >> make.full.names and author.editor.full routines will need copying over, >> too, and you may need to change how the names are formatted in the >> latter routine. But it should be straightforward. > > Yes, I actually know enough that I could do this, but time is finite. > > Richard, I think you did tweak apalike.bst in an older thread? > > Paul, it might be worth researching the list archive. Thanks, Julien and Richard. I have meanwhile found another BibTeX file, which fits my needs and does not show the problem that apalike exhibits. Paul
Re: Show all authors when citing BibTeX entry
On 08/17/2011 11:28 AM, Paul Smith wrote: > On Wed, Aug 17, 2011 at 3:26 PM, Julien Rioux >wrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. >>> Just compare the output.bibitem routine in apalike with the one in >>> plainnat, and you'll see what has to be done. It looks like the >>> make.full.names and author.editor.full routines will need copying over, >>> too, and you may need to change how the names are formatted in the >>> latter routine. But it should be straightforward. >> Yes, I actually know enough that I could do this, but time is finite. >> Indeed. >> Richard, I think you did tweak apalike.bst in an older thread? >> Yeah, I do a lot of such tweaking: http://groups.google.com/group/comp.text.tex/browse_thread/thread/426413473488bfce# Richard
Re: Show all authors when citing BibTeX entry
On 17/08/2011 12:31 PM, Richard Heck wrote: On 08/17/2011 11:28 AM, Paul Smith wrote: On Wed, Aug 17, 2011 at 3:26 PM, Julien Riouxwrote: I might waste time learning bibtex's stack language to tweak the apalike.bst file, but a quick workaround is simply to write the author names in your LyX file. Just compare the output.bibitem routine in apalike with the one in plainnat, and you'll see what has to be done. It looks like the make.full.names and author.editor.full routines will need copying over, too, and you may need to change how the names are formatted in the latter routine. But it should be straightforward. Yes, I actually know enough that I could do this, but time is finite. Indeed. Richard, I think you did tweak apalike.bst in an older thread? Yeah, I do a lot of such tweaking: http://groups.google.com/group/comp.text.tex/browse_thread/thread/426413473488bfce# Richard What? What are those % signs? *Comments*, you say? ;) -- Julien
Page numbering: [Page #] / [Total # of pages]
Hi, how does one change the page numbering format to the following: [Page number] / [Total number of pages] Example: At the bottom (center) of the fifth page of the document that has a total of 15 pages, I would like the PDF file to display "5 / 15". Thanks!
Re: Page numbering: [Page #] / [Total # of pages]
On Wednesday, August 17, 2011 04:03:36 PM ChiPro wrote: > Hi, > > how does one change the page numbering format to the following: > > [Page number] / [Total number of pages] > > > > Example: > > At the bottom (center) of the fifth page of the document that has a > total of 15 pages, I would like the PDF file to display "5 / 15". > > Thanks! Try these: http://www.ctan.org/pkg/lastpage http://www.ctan.org/pkg/totpages I asked this exact question a couple years ago, and those were the suggestions. I think I got lastpage to do what I wanted. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: Page numbering: [Page #] / [Total # of pages]
Steve Litt troubleshooters.com> writes: > I asked this exact question a couple years ago, and those were the > suggestions. I think I got lastpage to do what I wanted. > > SteveT > Thanks Steve. Even more basic question, how do I install this package on my Mac? (I'm a beginner) Thanks!
Re: Page numbering: [Page #] / [Total # of pages]
On Wed, Aug 17, 2011 at 10:58 PM, ChiProwrote: > Steve Litt troubleshooters.com> writes: > >> I asked this exact question a couple years ago, and those were the >> suggestions. I think I got lastpage to do what I wanted. >> >> SteveT >> > > Thanks Steve. Even more basic question, how do I install this package on my > Mac? > (I'm a beginner) > See Help > Customization > Section 5 for some pointers. Liviu
Re: MacTeX/XeTeX pdf setting problems
I was also having the same problem while trying to view pdf or Xetex with Miktex. I re-install the Miktex 2.8, the old one, and resolved the problem. You may try the older version of Mactex. Shyam On Mon, Aug 8, 2011 at 10:00 AM, Jürgen Spitzmüllerwrote: > Maria Gouskova wrote: > > LaTeX Error: Command \B already defined. > > LaTeX Error: Command \T already defined. > > > > > > \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}} > > This line is from xyling.sty. I suppose it conflicts with some other > package, > which defines \B before xyling is loaded. > > You can try to find out more by adding \show\B in the preamble before > xyling > is loaded. This outputs the current definition of the macro to the > preamble, > by which you can search (via spotlight) the responsible package. > > HTH, > Jürgen >
Re: Page numbering: [Page #] / [Total # of pages]
On Wednesday, August 17, 2011 04:58:29 PM ChiPro wrote: > Steve Litt troubleshooters.com> writes: > > I asked this exact question a couple years ago, and those were > > the suggestions. I think I got lastpage to do what I wanted. > > > > SteveT > > Thanks Steve. Even more basic question, how do I install this > package on my Mac? (I'm a beginner) :-) I guarantee you, as much of a beginner as you are with LyX, I'd be more of a beginner on Mac. I think between 1984 and now I've logged about 10 hours on a Mac. On Linux you go to CTAN, download the package, put it in your LaTeX tree, and run the texhash program, then in your LyX document properties LaTeX Preamble you put \usepackage{lastline} or \usepackage{totpages}, and in your actual document text follow the directions in the package documentation. Since you're a newbie I'm going to give you a piece of advice -- do as I say, not as I do. I personally use LaTeX to finesse a lot of what I need to do. On the other hand, there are many people on this list who can instantly find a package to do what I'd spend a half a day finessing. Those guys are a lot more productive than I. So become one of them -- get really familiar with what CTAN offers, and how to quickly find a package to enable a certain feature. There must be an efficient way to do it, because a lot of people on this list can do it instantly. I have one other piece of advice for you, but let's wait until you're in a position where you can't get your title page or other front matter to look like you want it, and then ask me. HTH SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: listing package with multicol
Kulkarni Shantanu lists.shantanukulkarni.org> writes: > > Hi, > I have to split a program code (done using listing package)in 2 columns. > The ways I have in mind are, > - make minipage 50% of width > - make a table with 2 colums > - use multicol package > > Which of these is preferred? Or any other way that is recommended? > It might depend on why you have to split the code. If it's just to reduce the height of the listing, I'd probably use the multicol package with the multicols option in the listing. Paul