Roman Section-Letter subsection numbering
I am writing a paper for a journal that wants the sections numbered in capital roman numerals and the subsections as capital letters. The subsubsections are numbers. As an example, II.B.3 I found a discussion on roman numbering and adding the following to the document Latex Preamble does change the section numbers to capital roman numerals: \usepackage{remreset} \renewcommand{\thesection}{\Roman{section}} This produces, for example II.2.3 How can I change the subsections to letters so II.2.3 - II.B.3? TIA for any help. Bob -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5497467.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Roman Section-Letter subsection numbering
BcBob wrote: I am writing a paper for a journal that wants the sections numbered in capital roman numerals and the subsections as capital letters. The subsubsections are numbers. As an example, II.B.3 Adding these lines to the preamble seems to work (I do not seem to have to specify the subsubsection format): \usepackage{remreset} \renewcommand{\thesection}{\Roman{section}} \renewcommand{\thesubsection}{\Roman{section}.\Alph{subsection}} Can someone provide a link to where this is documented? I assume it is part of the remreset package?? -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5498831.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Roman Section-Letter subsection numbering
BcBob wrote: I am writing a paper for a journal that wants the sections numbered in capital roman numerals and the subsections as capital letters. The subsubsections are numbers. As an example, II.B.3 Can someone provide a link to where this is documented? I assume it is part of the remreset package?? Also, how can I get Lyx to use this format for the numbering in the editing pane? Now, it uses the 2.2.3 format. Bob -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5498850.html Sent from the LyX - Users mailing list archive at Nabble.com.
Roman Section-Letter subsection numbering
I am writing a paper for a journal that wants the sections numbered in capital roman numerals and the subsections as capital letters. The subsubsections are numbers. As an example, II.B.3 I found a discussion on roman numbering and adding the following to the document Latex Preamble does change the section numbers to capital roman numerals: \usepackage{remreset} \renewcommand{\thesection}{\Roman{section}} This produces, for example II.2.3 How can I change the subsections to letters so II.2.3 - II.B.3? TIA for any help. Bob -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5497467.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Roman Section-Letter subsection numbering
BcBob wrote: I am writing a paper for a journal that wants the sections numbered in capital roman numerals and the subsections as capital letters. The subsubsections are numbers. As an example, II.B.3 Adding these lines to the preamble seems to work (I do not seem to have to specify the subsubsection format): \usepackage{remreset} \renewcommand{\thesection}{\Roman{section}} \renewcommand{\thesubsection}{\Roman{section}.\Alph{subsection}} Can someone provide a link to where this is documented? I assume it is part of the remreset package?? -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5498831.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Roman Section-Letter subsection numbering
BcBob wrote: I am writing a paper for a journal that wants the sections numbered in capital roman numerals and the subsections as capital letters. The subsubsections are numbers. As an example, II.B.3 Can someone provide a link to where this is documented? I assume it is part of the remreset package?? Also, how can I get Lyx to use this format for the numbering in the editing pane? Now, it uses the 2.2.3 format. Bob -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5498850.html Sent from the LyX - Users mailing list archive at Nabble.com.
Roman Section-Letter subsection numbering
I am writing a paper for a journal that wants the sections numbered in capital roman numerals and the subsections as capital letters. The subsubsections are numbers. As an example, II.B.3 I found a discussion on roman numbering and adding the following to the document Latex Preamble does change the section numbers to capital roman numerals: \usepackage{remreset} \renewcommand{\thesection}{\Roman{section}} This produces, for example II.2.3 How can I change the subsections to letters so II.2.3 -> II.B.3? TIA for any help. Bob -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5497467.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Roman Section-Letter subsection numbering
BcBob wrote: > > I am writing a paper for a journal that wants the sections numbered in > capital roman numerals and the subsections as capital letters. The > subsubsections are numbers. As an example, II.B.3 > Adding these lines to the preamble seems to work (I do not seem to have to specify the subsubsection format): \usepackage{remreset} \renewcommand{\thesection}{\Roman{section}} \renewcommand{\thesubsection}{\Roman{section}.\Alph{subsection}} Can someone provide a link to where this is documented? I assume it is part of the "remreset" package?? -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5498831.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Roman Section-Letter subsection numbering
BcBob wrote: > > I am writing a paper for a journal that wants the sections numbered in > capital roman numerals and the subsections as capital letters. The > subsubsections are numbers. As an example, II.B.3 > > > > Can someone provide a link to where this is documented? I assume it is > part of the "remreset" package?? > Also, how can I get Lyx to use this format for the numbering in the editing pane? Now, it uses the 2.2.3 format. Bob -- View this message in context: http://lyx.475766.n2.nabble.com/Roman-Section-Letter-subsection-numbering-tp5497467p5498850.html Sent from the LyX - Users mailing list archive at Nabble.com.
Multiple citation separator
How do I set the separator character for multiple citations? I am using the 'default (numerical)' citation style with superscript citations. Right now if I have multiple citations they are separated by a semi-colon ; I need to have a comma , but in the superscript. I am using Lyx 1.5.5 with an 'Article (KOMA-script)' document class. TIA Bob -- View this message in context: http://n2.nabble.com/Multiple-citation-separator-tp3020240p3020240.html Sent from the LyX - Users mailing list archive at Nabble.com.
Multiple citation separator
How do I set the separator character for multiple citations? I am using the 'default (numerical)' citation style with superscript citations. Right now if I have multiple citations they are separated by a semi-colon ; I need to have a comma , but in the superscript. I am using Lyx 1.5.5 with an 'Article (KOMA-script)' document class. TIA Bob -- View this message in context: http://n2.nabble.com/Multiple-citation-separator-tp3020240p3020240.html Sent from the LyX - Users mailing list archive at Nabble.com.
Multiple citation separator
How do I set the separator character for multiple citations? I am using the 'default (numerical)' citation style with superscript citations. Right now if I have multiple citations they are separated by a semi-colon ; I need to have a comma , but in the superscript. I am using Lyx 1.5.5 with an 'Article (KOMA-script)' document class. TIA Bob -- View this message in context: http://n2.nabble.com/Multiple-citation-separator-tp3020240p3020240.html Sent from the LyX - Users mailing list archive at Nabble.com.
A method to insert syntax colored matlab code into Lyx
I have developed another solution to inserting matlab code into Lyx using the 'highlight.m' function from the matlab file exchange. This function creates latex output for the syntax colored matlab code. I wrote a driver function matlb2tex.m that takes care of the details. You can insert the latex into an ERT in your Lyx document. The matlab code and a sample Lyx document are in the attached zip file. Bob http://n2.nabble.com/file/n2865240/matlab2tex.zip matlab2tex.zip -- View this message in context: http://n2.nabble.com/A-method-to-insert-syntax-colored-matlab-code-into-Lyx-tp2865240p2865240.html Sent from the LyX - Users mailing list archive at Nabble.com.
A method to insert syntax colored matlab code into Lyx
I have developed another solution to inserting matlab code into Lyx using the 'highlight.m' function from the matlab file exchange. This function creates latex output for the syntax colored matlab code. I wrote a driver function matlb2tex.m that takes care of the details. You can insert the latex into an ERT in your Lyx document. The matlab code and a sample Lyx document are in the attached zip file. Bob http://n2.nabble.com/file/n2865240/matlab2tex.zip matlab2tex.zip -- View this message in context: http://n2.nabble.com/A-method-to-insert-syntax-colored-matlab-code-into-Lyx-tp2865240p2865240.html Sent from the LyX - Users mailing list archive at Nabble.com.
A method to insert syntax colored matlab code into Lyx
I have developed another solution to inserting matlab code into Lyx using the 'highlight.m' function from the matlab file exchange. This function creates latex output for the syntax colored matlab code. I wrote a driver function matlb2tex.m that takes care of the details. You can insert the latex into an ERT in your Lyx document. The matlab code and a sample Lyx document are in the attached zip file. Bob http://n2.nabble.com/file/n2865240/matlab2tex.zip matlab2tex.zip -- View this message in context: http://n2.nabble.com/A-method-to-insert-syntax-colored-matlab-code-into-Lyx-tp2865240p2865240.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: More help with bst file
BcBob wrote: Well, I think I am getting close on setting up a bst file for the journal 'Medical Physics'. I am attaching the bst file with changes provided by rgheck in case someone can use it later. I renamed it medphys.bst . Bob http://n2.nabble.com/file/n2848133/Medphys.bst Medphys.bst -- View this message in context: http://n2.nabble.com/More-help-with-bst-file-tp2842980p2848133.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: More help with bst file
BcBob wrote: Well, I think I am getting close on setting up a bst file for the journal 'Medical Physics'. I am attaching the bst file with changes provided by rgheck in case someone can use it later. I renamed it medphys.bst . Bob http://n2.nabble.com/file/n2848133/Medphys.bst Medphys.bst -- View this message in context: http://n2.nabble.com/More-help-with-bst-file-tp2842980p2848133.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: More help with bst file
BcBob wrote: > > Well, I think I am getting close on setting up a bst file for the journal > 'Medical Physics'. > I am attaching the bst file with changes provided by rgheck in case someone can use it later. I renamed it medphys.bst . Bob http://n2.nabble.com/file/n2848133/Medphys.bst Medphys.bst -- View this message in context: http://n2.nabble.com/More-help-with-bst-file-tp2842980p2848133.html Sent from the LyX - Users mailing list archive at Nabble.com.
More help with bst file
Well, I think I am getting close on setting up a bst file for the journal 'Medical Physics'. I have modified IEEEtran.bst. Here are my remaining problems: article-delete comma between journal name and volume # article- make volume number bold font book-replace period after book title with comma book-(low priority) replace 'and' before last author name with a comma I am attaching a zip archive (~60 kilobytes) with the following files to help in debugging d2.lyx - a sample document IEEEtran2.bst - the latest bst file BobRefs.bib - the bib data used for test d2.pdf - sample output I am working with Lyx 1.5.5 on WindowsXP Help in solving any or all of the problems listed above will be appreciated. Please be as explicit as possible in suggesting changes as I am new to this (although learning fast. I have downloaded documents on the bst language but just getting started) Bob http://n2.nabble.com/file/n2842980/BstDebug.zip BstDebug.zip -- View this message in context: http://n2.nabble.com/More-help-with-bst-file-tp2842980p2842980.html Sent from the LyX - Users mailing list archive at Nabble.com.
More help with bst file
Well, I think I am getting close on setting up a bst file for the journal 'Medical Physics'. I have modified IEEEtran.bst. Here are my remaining problems: article-delete comma between journal name and volume # article- make volume number bold font book-replace period after book title with comma book-(low priority) replace 'and' before last author name with a comma I am attaching a zip archive (~60 kilobytes) with the following files to help in debugging d2.lyx - a sample document IEEEtran2.bst - the latest bst file BobRefs.bib - the bib data used for test d2.pdf - sample output I am working with Lyx 1.5.5 on WindowsXP Help in solving any or all of the problems listed above will be appreciated. Please be as explicit as possible in suggesting changes as I am new to this (although learning fast. I have downloaded documents on the bst language but just getting started) Bob http://n2.nabble.com/file/n2842980/BstDebug.zip BstDebug.zip -- View this message in context: http://n2.nabble.com/More-help-with-bst-file-tp2842980p2842980.html Sent from the LyX - Users mailing list archive at Nabble.com.
More help with bst file
Well, I think I am getting close on setting up a bst file for the journal 'Medical Physics'. I have modified IEEEtran.bst. Here are my remaining problems: article-delete comma between journal name and volume # article- make volume number bold font book-replace period after book title with comma book-(low priority) replace 'and' before last author name with a comma I am attaching a zip archive (~60 kilobytes) with the following files to help in debugging d2.lyx - a sample document IEEEtran2.bst - the latest bst file BobRefs.bib - the bib data used for test d2.pdf - sample output I am working with Lyx 1.5.5 on WindowsXP Help in solving any or all of the problems listed above will be appreciated. Please be as explicit as possible in suggesting changes as I am new to this (although learning fast. I have downloaded documents on the bst language but just getting started) Bob http://n2.nabble.com/file/n2842980/BstDebug.zip BstDebug.zip -- View this message in context: http://n2.nabble.com/More-help-with-bst-file-tp2842980p2842980.html Sent from the LyX - Users mailing list archive at Nabble.com.
Modifying a bst file for full page range
I am trying to format a bibliography for a paper to a physics journal using the aip.bst style (see the attached file). Thanks to Paul Rubin's help, I am now able to get Lyx to utilize this to format the bibliography. Now the problem is that it looks this style only gives the first page of an article, not the full page range as required by the journal. BTW, I checked by bibtex database and all my entries include a full page range and other styles like unsrt create entries with the page range. The aip.bst does almost everything I want. So my question is how to modify it so it uses the full range. Please make answers as explicit as possible (e.g. suggesting line numbers in the file) as I am a total beginner at latex, bibtex, etc. TIA Bob http://n2.nabble.com/file/n2791032/aip.bst aip.bst -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2801705.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
BcBob wrote: I am trying to format a bibliography for a paper to a physics journal using the aip.bst style (see the attached file). Now the problem is that it looks this style only gives the first page of an article, not the full page range as required by the journal. rgheck wrote: Replace this function: FUNCTION {format.vol.num.pages} { volume field.or.null embolden swap$ * * pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages.a } { , * pages first.page * } if$ } if$ } with: FUNCTION {format.vol.num.pages} { volume field.or.null embolden swap$ * * pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages } { , * format.pages } if$ } if$ } That does not work so well. It does change the pages to a range but it messes up other fields. I am attaching the original aip.bst, the Lyx file I am using to test http://n2.nabble.com/file/n2803827/DEpaper2.lyx DEpaper2.lyx , and a ps file of the output. http://n2.nabble.com/file/n2803827/DEpaper2.ps DEpaper2.ps http://n2.nabble.com/file/n2791032/aip.bst aip.bst -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2803827.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
In my last email, i forgot to attach the modified file http://n2.nabble.com/file/n2804517/aip2.bst aip2.bst Bob BcBob wrote: BcBob wrote: I am trying to format a bibliography for a paper to a physics journal using the aip.bst style (see the attached file). Now the problem is that it looks this style only gives the first page of an article, not the full page range as required by the journal. rgheck wrote: Replace this function: FUNCTION {format.vol.num.pages} { volume field.or.null embolden swap$ * * pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages.a } { , * pages first.page * } if$ } if$ } with: FUNCTION {format.vol.num.pages} { volume field.or.null embolden swap$ * * pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages } { , * format.pages } if$ } if$ } That does not work so well. It does change the pages to a range but it messes up other fields. I am attaching the original aip.bst, the Lyx file I am using to test http://n2.nabble.com/file/n2803827/DEpaper2.lyx DEpaper2.lyx , and a ps file of the output. http://n2.nabble.com/file/n2803827/DEpaper2.ps DEpaper2.ps http://n2.nabble.com/file/n2791032/aip.bst aip.bst -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2804517.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
BcBob wrote: In my last email, i forgot to attach the modified file http://n2.nabble.com/file/n2804517/aip2.bst aip2.bst Bob And the bib file http://n2.nabble.com/file/n2805308/BobRefs.bib BobRefs.bib -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2805308.html Sent from the LyX - Users mailing list archive at Nabble.com.
Modifying a bst file for full page range
I am trying to format a bibliography for a paper to a physics journal using the aip.bst style (see the attached file). Thanks to Paul Rubin's help, I am now able to get Lyx to utilize this to format the bibliography. Now the problem is that it looks this style only gives the first page of an article, not the full page range as required by the journal. BTW, I checked by bibtex database and all my entries include a full page range and other styles like unsrt create entries with the page range. The aip.bst does almost everything I want. So my question is how to modify it so it uses the full range. Please make answers as explicit as possible (e.g. suggesting line numbers in the file) as I am a total beginner at latex, bibtex, etc. TIA Bob http://n2.nabble.com/file/n2791032/aip.bst aip.bst -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2801705.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
BcBob wrote: I am trying to format a bibliography for a paper to a physics journal using the aip.bst style (see the attached file). Now the problem is that it looks this style only gives the first page of an article, not the full page range as required by the journal. rgheck wrote: Replace this function: FUNCTION {format.vol.num.pages} { volume field.or.null embolden swap$ * * pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages.a } { , * pages first.page * } if$ } if$ } with: FUNCTION {format.vol.num.pages} { volume field.or.null embolden swap$ * * pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages } { , * format.pages } if$ } if$ } That does not work so well. It does change the pages to a range but it messes up other fields. I am attaching the original aip.bst, the Lyx file I am using to test http://n2.nabble.com/file/n2803827/DEpaper2.lyx DEpaper2.lyx , and a ps file of the output. http://n2.nabble.com/file/n2803827/DEpaper2.ps DEpaper2.ps http://n2.nabble.com/file/n2791032/aip.bst aip.bst -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2803827.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
In my last email, i forgot to attach the modified file http://n2.nabble.com/file/n2804517/aip2.bst aip2.bst Bob BcBob wrote: BcBob wrote: I am trying to format a bibliography for a paper to a physics journal using the aip.bst style (see the attached file). Now the problem is that it looks this style only gives the first page of an article, not the full page range as required by the journal. rgheck wrote: Replace this function: FUNCTION {format.vol.num.pages} { volume field.or.null embolden swap$ * * pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages.a } { , * pages first.page * } if$ } if$ } with: FUNCTION {format.vol.num.pages} { volume field.or.null embolden swap$ * * pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages } { , * format.pages } if$ } if$ } That does not work so well. It does change the pages to a range but it messes up other fields. I am attaching the original aip.bst, the Lyx file I am using to test http://n2.nabble.com/file/n2803827/DEpaper2.lyx DEpaper2.lyx , and a ps file of the output. http://n2.nabble.com/file/n2803827/DEpaper2.ps DEpaper2.ps http://n2.nabble.com/file/n2791032/aip.bst aip.bst -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2804517.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
BcBob wrote: In my last email, i forgot to attach the modified file http://n2.nabble.com/file/n2804517/aip2.bst aip2.bst Bob And the bib file http://n2.nabble.com/file/n2805308/BobRefs.bib BobRefs.bib -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2805308.html Sent from the LyX - Users mailing list archive at Nabble.com.
Modifying a bst file for full page range
I am trying to format a bibliography for a paper to a physics journal using the aip.bst style (see the attached file). Thanks to Paul Rubin's help, I am now able to get Lyx to utilize this to format the bibliography. Now the problem is that it looks this style only gives the first page of an article, not the full page range as required by the journal. BTW, I checked by bibtex database and all my entries include a full page range and other styles like unsrt create entries with the page range. The aip.bst does almost everything I want. So my question is how to modify it so it uses the full range. Please make answers as explicit as possible (e.g. suggesting line numbers in the file) as I am a total beginner at latex, bibtex, etc. TIA Bob http://n2.nabble.com/file/n2791032/aip.bst aip.bst -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2801705.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
BcBob wrote: > > I am trying to format a bibliography for a paper to a physics journal > using the aip.bst style (see the attached file). > > Now the problem is that it looks this style only gives the first page of > an article, not the full page range as required by the journal. > rgheck wrote: > > Replace this function: > > FUNCTION {format.vol.num.pages} > { volume field.or.null embolden > " " swap$ * * > pages empty$ >'skip$ >{ duplicate$ empty$ > { pop$ format.pages.a } > { ", " * pages first.page * } > if$ >} > if$ > > > } > > with: > > FUNCTION {format.vol.num.pages} > { volume field.or.null embolden > " " swap$ * * > pages empty$ >'skip$ >{ duplicate$ empty$ > { pop$ format.pages } > { ", " * format.pages } > if$ >} > if$ > > > } > That does not work so well. It does change the pages to a range but it messes up other fields. I am attaching the original aip.bst, the Lyx file I am using to test http://n2.nabble.com/file/n2803827/DEpaper2.lyx DEpaper2.lyx , and a ps file of the output. http://n2.nabble.com/file/n2803827/DEpaper2.ps DEpaper2.ps http://n2.nabble.com/file/n2791032/aip.bst aip.bst -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2803827.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
In my last email, i forgot to attach the modified file http://n2.nabble.com/file/n2804517/aip2.bst aip2.bst Bob BcBob wrote: > > > BcBob wrote: >> >> I am trying to format a bibliography for a paper to a physics journal >> using the aip.bst style (see the attached file). >> >> Now the problem is that it looks this style only gives the first page of >> an article, not the full page range as required by the journal. >> > > rgheck wrote: >> >> Replace this function: >> >> FUNCTION {format.vol.num.pages} >> { volume field.or.null embolden >> " " swap$ * * >> pages empty$ >>'skip$ >>{ duplicate$ empty$ >> { pop$ format.pages.a } >> { ", " * pages first.page * } >> if$ >>} >> if$ >> >> >> } >> >> with: >> >> FUNCTION {format.vol.num.pages} >> { volume field.or.null embolden >> " " swap$ * * >> pages empty$ >>'skip$ >>{ duplicate$ empty$ >> { pop$ format.pages } >> { ", " * format.pages } >> if$ >>} >> if$ >> >> >> } >> > > That does not work so well. It does change the pages to a range but it > messes up other fields. > I am attaching the original aip.bst, the Lyx file I am using to test > http://n2.nabble.com/file/n2803827/DEpaper2.lyx DEpaper2.lyx , > and a ps file of the output. > http://n2.nabble.com/file/n2803827/DEpaper2.ps DEpaper2.ps > > http://n2.nabble.com/file/n2791032/aip.bst aip.bst > -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2804517.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Modifying a bst file for full page range
BcBob wrote: > > In my last email, i forgot to attach the modified file > http://n2.nabble.com/file/n2804517/aip2.bst aip2.bst > > Bob > > And the bib file http://n2.nabble.com/file/n2805308/BobRefs.bib BobRefs.bib -- View this message in context: http://n2.nabble.com/Modifying-a-bst-file-for-full-page-range-tp2801705p2805308.html Sent from the LyX - Users mailing list archive at Nabble.com.
Getting aip.bst to work with Lyx
I am writing a paper for a physics journal and I want to use the AIP style. This was not included in the standard list so I downloaded aip.bst from ftp://tug.ctan.org/tex-archive/biblio/bibtex/contrib/phy-bstyles/ I placed the file in this directory (I am using Windows XP) C:\Program Files\MiKTeX 2.7\bibtex\bst\revtex4\ Then I selected Tools|Reconfigure in my Lyx Version 1.5.5 and restarted. Now, when I click on Bibtex Generated Bibliography, aip is listed in the dropdown list under style I clicked on OK and on the 'dvi' box. The result has question marks ? at the citations in the text and no bibliography appears. If I change the style to, say, 'plain', the citations are present as os the bibliography list. I am attaching aip.bst and my Lyx source file. Any help in getting this to work is appreciated. Bob http://n2.nabble.com/file/n2791032/aip.bst aip.bst http://n2.nabble.com/file/n2791032/DEpaper1.lyx DEpaper1.lyx -- View this message in context: http://n2.nabble.com/Getting-aip.bst-to-work-with-Lyx-tp2791032p2791032.html Sent from the LyX - Users mailing list archive at Nabble.com.
Getting aip.bst to work with Lyx
I am writing a paper for a physics journal and I want to use the AIP style. This was not included in the standard list so I downloaded aip.bst from ftp://tug.ctan.org/tex-archive/biblio/bibtex/contrib/phy-bstyles/ I placed the file in this directory (I am using Windows XP) C:\Program Files\MiKTeX 2.7\bibtex\bst\revtex4\ Then I selected Tools|Reconfigure in my Lyx Version 1.5.5 and restarted. Now, when I click on Bibtex Generated Bibliography, aip is listed in the dropdown list under style I clicked on OK and on the 'dvi' box. The result has question marks ? at the citations in the text and no bibliography appears. If I change the style to, say, 'plain', the citations are present as os the bibliography list. I am attaching aip.bst and my Lyx source file. Any help in getting this to work is appreciated. Bob http://n2.nabble.com/file/n2791032/aip.bst aip.bst http://n2.nabble.com/file/n2791032/DEpaper1.lyx DEpaper1.lyx -- View this message in context: http://n2.nabble.com/Getting-aip.bst-to-work-with-Lyx-tp2791032p2791032.html Sent from the LyX - Users mailing list archive at Nabble.com.
Getting aip.bst to work with Lyx
I am writing a paper for a physics journal and I want to use the AIP style. This was not included in the standard list so I downloaded aip.bst from ftp://tug.ctan.org/tex-archive/biblio/bibtex/contrib/phy-bstyles/ I placed the file in this directory (I am using Windows XP) C:\Program Files\MiKTeX 2.7\bibtex\bst\revtex4\ Then I selected Tools|Reconfigure in my Lyx Version 1.5.5 and restarted. Now, when I click on "Bibtex Generated Bibliography", aip is listed in the dropdown list under "style" I clicked on OK and on the 'dvi' box. The result has question marks ? at the citations in the text and no bibliography appears. If I change the style to, say, 'plain', the citations are present as os the bibliography list. I am attaching aip.bst and my Lyx source file. Any help in getting this to work is appreciated. Bob http://n2.nabble.com/file/n2791032/aip.bst aip.bst http://n2.nabble.com/file/n2791032/DEpaper1.lyx DEpaper1.lyx -- View this message in context: http://n2.nabble.com/Getting-aip.bst-to-work-with-Lyx-tp2791032p2791032.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Import Latex code with verbatim
BcBob wrote: Matlab has a feature called publish to latex that runs code and packages the code and the output into a latex file. I would like to use it to put examples into my book but I am having trouble importing the latex code into Lyx. The problem is that comments get mangled in with code during the import into Lyx. The latex code works fine; I am able to create a dvi file from it that is OK. I am including an example of the latex code and the Lyx file created by importing it. Any ideas of how to fix/workaround? After fooling around with this for a day, I worked out the following approach: 1. filter the latex code with a gawk program to set the margins to zero and to get rid of page numbers 2. process the latex code to create a dvi 3. use dvips to create an eps dvips -E -o name.eps name.dvi 4. insert the eps into the Lyx file 5. wrote a matlab function to carry out the steps of creating the eps Now, if I run the matlab function, the eps in the Lyx file will also update. Step #3 is brittle and will almost certainly fail if the dvi output has more than one page If anyone is interested, email me and I will share the scripts. Bob -- View this message in context: http://n2.nabble.com/Import-Latex-code-with-verbatim-tp2399787p2405559.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Import Latex code with verbatim
BcBob wrote: Matlab has a feature called publish to latex that runs code and packages the code and the output into a latex file. I would like to use it to put examples into my book but I am having trouble importing the latex code into Lyx. The problem is that comments get mangled in with code during the import into Lyx. The latex code works fine; I am able to create a dvi file from it that is OK. I am including an example of the latex code and the Lyx file created by importing it. Any ideas of how to fix/workaround? After fooling around with this for a day, I worked out the following approach: 1. filter the latex code with a gawk program to set the margins to zero and to get rid of page numbers 2. process the latex code to create a dvi 3. use dvips to create an eps dvips -E -o name.eps name.dvi 4. insert the eps into the Lyx file 5. wrote a matlab function to carry out the steps of creating the eps Now, if I run the matlab function, the eps in the Lyx file will also update. Step #3 is brittle and will almost certainly fail if the dvi output has more than one page If anyone is interested, email me and I will share the scripts. Bob -- View this message in context: http://n2.nabble.com/Import-Latex-code-with-verbatim-tp2399787p2405559.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Import Latex code with verbatim
BcBob wrote: > > Matlab has a feature called publish to latex that runs code and packages > the code and the output into a latex file. I would like to use it to put > examples into my book but I am having trouble importing the latex code > into Lyx. > > The problem is that comments get mangled in with code during the import > into Lyx. The latex code works fine; I am able to create a dvi file from > it that is OK. > > I am including an example of the latex code and the Lyx file created by > importing it. > > Any ideas of how to fix/workaround? > After fooling around with this for a day, I worked out the following approach: 1. filter the latex code with a gawk program to set the margins to zero and to get rid of page numbers 2. process the latex code to create a dvi 3. use dvips to create an eps dvips -E -o name.eps name.dvi 4. insert the eps into the Lyx file 5. wrote a matlab function to carry out the steps of creating the eps Now, if I run the matlab function, the eps in the Lyx file will also update. Step #3 is brittle and will almost certainly fail if the dvi output has more than one page If anyone is interested, email me and I will share the scripts. Bob -- View this message in context: http://n2.nabble.com/Import-Latex-code-with-verbatim-tp2399787p2405559.html Sent from the LyX - Users mailing list archive at Nabble.com.
Generating lindex entries
I am looking for open source tools to help generating index entries. I know Lyx has an interface to the Latex makeindex utility but I am looking for utilities to generate a list of the words, phrases etc to use in the index. Something as simple as a utility to find all unique words in the index with pointers back to the original location in the file would help a lot. Microsoft Word provides a concordance file generator tool that also seems useful. It takes a list of words and generates pointers to their locations within the text. I did a search and found some commercial packages: textract, macrex, and cindex. But (a) I do not know how well they integrate with Lyx or Latex and (b) they are expensive. Any suggestions or comments welcome. Bob -- View this message in context: http://n2.nabble.com/Generating-lindex-entries-tp2336743p2336743.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Generating lindex entries
I found a perl script on the internet that makes a concordance. http://www.perlmonks.org/?node_id=104604 I ran it on my windows computer using cygwin (after downloading Perl) and it works (mostly) To use: 1. export document from Lyx as text 2. convert the text file to Unix style newlines (LF only). I do this with my editor, Editpad Pro 3. run the script MakeConcordance LyxText.txt LyxTextConcord.txt I noticed the Lyx text file includes the Latex code for equations and has some lines beginning with [ like [Senseless!!! (I didn't know Lyx made editorial comments :-), which seems to give the Perl code problems. But this gets me part of the way there. It would be nice to have better coupling between the output of the concordance program and Lyx. Bob -- View this message in context: http://n2.nabble.com/Generating-lindex-entries-tp2336743p2337046.html Sent from the LyX - Users mailing list archive at Nabble.com.
Generating lindex entries
I am looking for open source tools to help generating index entries. I know Lyx has an interface to the Latex makeindex utility but I am looking for utilities to generate a list of the words, phrases etc to use in the index. Something as simple as a utility to find all unique words in the index with pointers back to the original location in the file would help a lot. Microsoft Word provides a concordance file generator tool that also seems useful. It takes a list of words and generates pointers to their locations within the text. I did a search and found some commercial packages: textract, macrex, and cindex. But (a) I do not know how well they integrate with Lyx or Latex and (b) they are expensive. Any suggestions or comments welcome. Bob -- View this message in context: http://n2.nabble.com/Generating-lindex-entries-tp2336743p2336743.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Generating lindex entries
I found a perl script on the internet that makes a concordance. http://www.perlmonks.org/?node_id=104604 I ran it on my windows computer using cygwin (after downloading Perl) and it works (mostly) To use: 1. export document from Lyx as text 2. convert the text file to Unix style newlines (LF only). I do this with my editor, Editpad Pro 3. run the script MakeConcordance LyxText.txt LyxTextConcord.txt I noticed the Lyx text file includes the Latex code for equations and has some lines beginning with [ like [Senseless!!! (I didn't know Lyx made editorial comments :-), which seems to give the Perl code problems. But this gets me part of the way there. It would be nice to have better coupling between the output of the concordance program and Lyx. Bob -- View this message in context: http://n2.nabble.com/Generating-lindex-entries-tp2336743p2337046.html Sent from the LyX - Users mailing list archive at Nabble.com.
Generating lindex entries
I am looking for open source tools to help generating index entries. I know Lyx has an interface to the Latex makeindex utility but I am looking for utilities to generate a list of the words, phrases etc to use in the index. Something as simple as a utility to find all unique words in the index with pointers back to the original location in the file would help a lot. Microsoft Word provides a concordance file generator tool that also seems useful. It takes a list of words and generates pointers to their locations within the text. I did a search and found some commercial packages: textract, macrex, and cindex. But (a) I do not know how well they integrate with Lyx or Latex and (b) they are expensive. Any suggestions or comments welcome. Bob -- View this message in context: http://n2.nabble.com/Generating-lindex-entries-tp2336743p2336743.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Generating lindex entries
I found a perl script on the internet that makes a concordance. http://www.perlmonks.org/?node_id=104604 I ran it on my windows computer using cygwin (after downloading Perl) and it works (mostly) To use: 1. export document from Lyx as text 2. convert the text file to Unix style newlines (LF only). I do this with my editor, Editpad Pro 3. run the script MakeConcordance LyxText.txt > LyxTextConcord.txt I noticed the Lyx text file includes the Latex code for equations and has some lines beginning with [ like [Senseless!!! (I didn't know Lyx made editorial comments :-), which seems to give the Perl code problems. But this gets me part of the way there. It would be nice to have better coupling between the output of the concordance program and Lyx. Bob -- View this message in context: http://n2.nabble.com/Generating-lindex-entries-tp2336743p2337046.html Sent from the LyX - Users mailing list archive at Nabble.com.