Re: Clue needed: installing new package
On Fri, Sep 19, 2003 at 07:39:03PM +0200, Juergen Spitzmueller wrote: Please pass me a clue here. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep 4 LabelString Bibliography # label font definition LabelFont SeriesBold Size Huge EndFont End ClassOptions FontSize9|10|11|12|14|17 end Should this be added to lib/layouts? Andre'
Re: Clue needed: installing new package
Andre Poenitz wrote: Should this be added to lib/layouts? IMO yes. I have sent an enhanced version to the devel list. Jürgen.
Re: Clue needed: installing new package
On Mon, Sep 22, 2003 at 09:58:47AM +0200, Juergen Spitzmueller wrote: Andre Poenitz wrote: Should this be added to lib/layouts? IMO yes. I have sent an enhanced version to the devel list. Done for the lyx-devel part. Try to stick to LyX's indentation rules (tab for indentation, spaces for in-line-adjustments) and provide a ChangeLog entry next time. I don't have write access to lyxdoc, so ask someone else for the second part. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Clue needed: installing new package
Andre Poenitz wrote: Done for the lyx-devel part. Try to stick to LyX's indentation rules (tab for indentation, spaces for in-line-adjustments) and provide a ChangeLog entry next time. Thanks. I would have written a ChangeLog entry before applying (myself). Thanks for doing it anyway. I don't have write access to lyxdoc, so ask someone else for the second part. As I understand, we have only one dosumentation tree, so apllying would not make sense unless the layout will also be added to 1.3. Jürgen.
Re: Clue needed: installing new package
Andre Poenitz schrieb: On Fri, Sep 19, 2003 at 07:39:03PM +0200, Juergen Spitzmueller wrote: Please pass me a clue here. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract how would you control the different styles of memoir? book - article - ... If you write the layout file in this way, then you have chapters with the article option, too. And so the counting of the sections is wrong. Herbert
Re: Clue needed: installing new package
Angus Leeming wrote: What makes you think that? I was just gessing (wrong, obviously). http://www.lyx.org/cgi-bin/viewcvs.cgi/lyxdoc/?only_with_tag=lyx-1_3_2 I see. What is the difference between lyxdoc-1_3_2 and lyxdoc -BRANCH_1_3_X? The latter is the current stable branch while the former is the documentation of the 1.3.2 release? Thanks, Jürgen.
Re: Clue needed: installing new package
Herbert Voß wrote: how would you control the different styles of memoir? book - article - ... If you write the layout file in this way, then you have chapters with the article option, too. And so the counting of the sections is wrong. from meman.tex: \item[\Lopt{article}] typesetting simulates the \Lclass{article} class, but the \cmd{\chapter} command is not disabled. Chapters\index{chapter} do not start a new page and chapter headings\index{heading!chapter} are typeset like a section heading\index{heading!sections}. The numbering of figures\index{figure}, etc., is continuous and not per chapter. However, a \cmd{\part} command still puts its heading\index{heading!part} on a page by itself. So I understand that it is intended to have chapters even with the article option. Anyway, feel free to improve the layout (it's in CVS now). Jürgen.
Re: Clue needed: installing new package
Juergen Spitzmueller schrieb: Herbert Voß wrote: how would you control the different styles of memoir? book - article - ... If you write the layout file in this way, then you have chapters with the article option, too. And so the counting of the sections is wrong. from meman.tex: \item[\Lopt{article}] typesetting simulates the \Lclass{article} class, but the \cmd{\chapter} command is not disabled. Chapters\index{chapter} do not start a new page and chapter headings\index{heading!chapter} are typeset like a section heading\index{heading!sections}. The numbering of figures\index{figure}, etc., is continuous and not per chapter. However, a \cmd{\part} command still puts its heading\index{heading!part} on a page by itself. So I understand that it is intended to have chapters even with the article sure, I never said, that there are no chapters. I meant, that it is not a good way to have different counting of section titles in LyX gui and output. Herbert
Re: Clue needed: installing new package
Herbert Voß wrote: sure, I never said, that there are no chapters. I meant, that it is not a good way to have different counting of section titles in LyX gui and output. You lost me. If I have a memoir document with article option, an I use section without a chapter, I get 0.1 first section bla 0.2 second section bla both in LyX and dvi. Can you send an example please? Jürgen.
Re: Clue needed: installing new package
Juergen Spitzmueller wrote: Angus Leeming wrote: What makes you think that? I was just gessing (wrong, obviously). http://www.lyx.org/cgi-bin/viewcvs.cgi/lyxdoc/?only_with_tag=lyx-1_3_2 I see. What is the difference between lyxdoc-1_3_2 and lyxdoc -BRANCH_1_3_X? The latter is the current stable branch while the former is the documentation of the 1.3.2 release? That is my understanding. lyxdoc-BRANCH_1_3_X is a true branch from the cvs tree. Its position evolves as bugs are fixed. The lyxdoc-1_3_2 specifies a point on this branch. Its position is immutable. -- Angus
Re: Clue needed: installing new package
Juergen Spitzmueller schrieb: Herbert Voß wrote: sure, I never said, that there are no chapters. I meant, that it is not a good way to have different counting of section titles in LyX gui and output. You lost me. If I have a memoir document with article option, an I use section without a chapter, I get 0.1 first section bla 0.2 second section bla both in LyX and dvi. huh, now I see, my fault. I thought, that the counting of the sections is also conrinously ... sorry, Herbert
Re: Clue needed: installing new package
Angus Leeming wrote: That is my understanding. lyxdoc-BRANCH_1_3_X is a true branch from the cvs tree. Its position evolves as bugs are fixed. The lyxdoc-1_3_2 specifies a point on this branch. Its position is immutable. Thanks for clarification, Angus. Jürgen.
Re: Clue needed: installing new package
On Fri, Sep 19, 2003 at 07:39:03PM +0200, Juergen Spitzmueller wrote: Please pass me a clue here. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep 4 LabelString Bibliography # label font definition LabelFont SeriesBold Size Huge EndFont End ClassOptions FontSize9|10|11|12|14|17 end Should this be added to lib/layouts? Andre'
Re: Clue needed: installing new package
Andre Poenitz wrote: Should this be added to lib/layouts? IMO yes. I have sent an enhanced version to the devel list. Jürgen.
Re: Clue needed: installing new package
On Mon, Sep 22, 2003 at 09:58:47AM +0200, Juergen Spitzmueller wrote: Andre Poenitz wrote: Should this be added to lib/layouts? IMO yes. I have sent an enhanced version to the devel list. Done for the lyx-devel part. Try to stick to LyX's indentation rules (tab for indentation, spaces for in-line-adjustments) and provide a ChangeLog entry next time. I don't have write access to lyxdoc, so ask someone else for the second part. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Clue needed: installing new package
Andre Poenitz wrote: Done for the lyx-devel part. Try to stick to LyX's indentation rules (tab for indentation, spaces for in-line-adjustments) and provide a ChangeLog entry next time. Thanks. I would have written a ChangeLog entry before applying (myself). Thanks for doing it anyway. I don't have write access to lyxdoc, so ask someone else for the second part. As I understand, we have only one dosumentation tree, so apllying would not make sense unless the layout will also be added to 1.3. Jürgen.
Re: Clue needed: installing new package
Andre Poenitz schrieb: On Fri, Sep 19, 2003 at 07:39:03PM +0200, Juergen Spitzmueller wrote: Please pass me a clue here. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract how would you control the different styles of memoir? book - article - ... If you write the layout file in this way, then you have chapters with the article option, too. And so the counting of the sections is wrong. Herbert
Re: Clue needed: installing new package
Angus Leeming wrote: What makes you think that? I was just gessing (wrong, obviously). http://www.lyx.org/cgi-bin/viewcvs.cgi/lyxdoc/?only_with_tag=lyx-1_3_2 I see. What is the difference between lyxdoc-1_3_2 and lyxdoc -BRANCH_1_3_X? The latter is the current stable branch while the former is the documentation of the 1.3.2 release? Thanks, Jürgen.
Re: Clue needed: installing new package
Herbert Voß wrote: how would you control the different styles of memoir? book - article - ... If you write the layout file in this way, then you have chapters with the article option, too. And so the counting of the sections is wrong. from meman.tex: \item[\Lopt{article}] typesetting simulates the \Lclass{article} class, but the \cmd{\chapter} command is not disabled. Chapters\index{chapter} do not start a new page and chapter headings\index{heading!chapter} are typeset like a section heading\index{heading!sections}. The numbering of figures\index{figure}, etc., is continuous and not per chapter. However, a \cmd{\part} command still puts its heading\index{heading!part} on a page by itself. So I understand that it is intended to have chapters even with the article option. Anyway, feel free to improve the layout (it's in CVS now). Jürgen.
Re: Clue needed: installing new package
Juergen Spitzmueller schrieb: Herbert Voß wrote: how would you control the different styles of memoir? book - article - ... If you write the layout file in this way, then you have chapters with the article option, too. And so the counting of the sections is wrong. from meman.tex: \item[\Lopt{article}] typesetting simulates the \Lclass{article} class, but the \cmd{\chapter} command is not disabled. Chapters\index{chapter} do not start a new page and chapter headings\index{heading!chapter} are typeset like a section heading\index{heading!sections}. The numbering of figures\index{figure}, etc., is continuous and not per chapter. However, a \cmd{\part} command still puts its heading\index{heading!part} on a page by itself. So I understand that it is intended to have chapters even with the article sure, I never said, that there are no chapters. I meant, that it is not a good way to have different counting of section titles in LyX gui and output. Herbert
Re: Clue needed: installing new package
Herbert Voß wrote: sure, I never said, that there are no chapters. I meant, that it is not a good way to have different counting of section titles in LyX gui and output. You lost me. If I have a memoir document with article option, an I use section without a chapter, I get 0.1 first section bla 0.2 second section bla both in LyX and dvi. Can you send an example please? Jürgen.
Re: Clue needed: installing new package
Juergen Spitzmueller wrote: Angus Leeming wrote: What makes you think that? I was just gessing (wrong, obviously). http://www.lyx.org/cgi-bin/viewcvs.cgi/lyxdoc/?only_with_tag=lyx-1_3_2 I see. What is the difference between lyxdoc-1_3_2 and lyxdoc -BRANCH_1_3_X? The latter is the current stable branch while the former is the documentation of the 1.3.2 release? That is my understanding. lyxdoc-BRANCH_1_3_X is a true branch from the cvs tree. Its position evolves as bugs are fixed. The lyxdoc-1_3_2 specifies a point on this branch. Its position is immutable. -- Angus
Re: Clue needed: installing new package
Juergen Spitzmueller schrieb: Herbert Voß wrote: sure, I never said, that there are no chapters. I meant, that it is not a good way to have different counting of section titles in LyX gui and output. You lost me. If I have a memoir document with article option, an I use section without a chapter, I get 0.1 first section bla 0.2 second section bla both in LyX and dvi. huh, now I see, my fault. I thought, that the counting of the sections is also conrinously ... sorry, Herbert
Re: Clue needed: installing new package
Angus Leeming wrote: That is my understanding. lyxdoc-BRANCH_1_3_X is a true branch from the cvs tree. Its position evolves as bugs are fixed. The lyxdoc-1_3_2 specifies a point on this branch. Its position is immutable. Thanks for clarification, Angus. Jürgen.
Re: Clue needed: installing new package
On Fri, Sep 19, 2003 at 07:39:03PM +0200, Juergen Spitzmueller wrote: > > Please pass me a clue here. > #% Do not delete the line below; configure depends on this > # \DeclareLaTeXClass{memoir} > # Memoir textclass definition file (poor man's version). > # Author: Jürgen Spitzmüller <[EMAIL PROTECTED]> > > # Input general definitions > Input stdclass.inc > > # Global parameters. > Sides 2 > PageStyle Headings > > # There is no abstract environment in book.cls > NoStyle Abstract > > # a few changes to the bibliography > Style Bibliography > TopSep 4 > LabelString Bibliography > # label font definition > LabelFont > SeriesBold > Size Huge > EndFont > End > > ClassOptions > FontSize9|10|11|12|14|17 > end Should this be added to lib/layouts? Andre'
Re: Clue needed: installing new package
Andre Poenitz wrote: > Should this be added to lib/layouts? IMO yes. I have sent an enhanced version to the devel list. Jürgen.
Re: Clue needed: installing new package
On Mon, Sep 22, 2003 at 09:58:47AM +0200, Juergen Spitzmueller wrote: > Andre Poenitz wrote: > > Should this be added to lib/layouts? > > IMO yes. I have sent an enhanced version to the devel list. Done for the lyx-devel part. Try to stick to LyX's indentation rules (tab for indentation, spaces for in-line-adjustments) and provide a ChangeLog entry next time. I don't have write access to lyxdoc, so ask someone else for the second part. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: Clue needed: installing new package
Andre Poenitz wrote: > Done for the lyx-devel part. Try to stick to LyX's indentation rules > (tab for indentation, spaces for in-line-adjustments) and provide a > ChangeLog entry next time. Thanks. I would have written a ChangeLog entry before applying (myself). Thanks for doing it anyway. > I don't have write access to lyxdoc, so ask someone else for the second > part. As I understand, we have only one dosumentation tree, so apllying would not make sense unless the layout will also be added to 1.3. Jürgen.
Re: Clue needed: installing new package
Andre Poenitz schrieb: On Fri, Sep 19, 2003 at 07:39:03PM +0200, Juergen Spitzmueller wrote: Please pass me a clue here. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller <[EMAIL PROTECTED]> # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract how would you control the different styles of memoir? book - article - ... If you write the layout file in this way, then you have chapters with the article option, too. And so the counting of the sections is wrong. Herbert
Re: Clue needed: installing new package
Angus Leeming wrote: > What makes you think that? I was just gessing (wrong, obviously). > http://www.lyx.org/cgi-bin/viewcvs.cgi/lyxdoc/?only_with_tag=lyx-1_3_2 I see. What is the difference between lyxdoc-1_3_2 and lyxdoc -BRANCH_1_3_X? The latter is the current stable branch while the former is the documentation of the 1.3.2 release? Thanks, Jürgen.
Re: Clue needed: installing new package
Herbert Voß wrote: > how would you control the different styles of memoir? > book - article - ... > If you write the layout file in this way, then you have > chapters with the article option, too. And so the > counting of the sections is wrong. from meman.tex: \item[\Lopt{article}] typesetting simulates the \Lclass{article} class, but the \cmd{\chapter} command is not disabled. Chapters\index{chapter} do not start a new page and chapter headings\index{heading!chapter} are typeset like a section heading\index{heading!sections}. The numbering of figures\index{figure}, etc., is continuous and not per chapter. However, a \cmd{\part} command still puts its heading\index{heading!part} on a page by itself. So I understand that it is intended to have chapters even with the article option. Anyway, feel free to improve the layout (it's in CVS now). Jürgen.
Re: Clue needed: installing new package
Juergen Spitzmueller schrieb: Herbert Voß wrote: how would you control the different styles of memoir? book - article - ... If you write the layout file in this way, then you have chapters with the article option, too. And so the counting of the sections is wrong. from meman.tex: \item[\Lopt{article}] typesetting simulates the \Lclass{article} class, but the \cmd{\chapter} command is not disabled. Chapters\index{chapter} do not start a new page and chapter headings\index{heading!chapter} are typeset like a section heading\index{heading!sections}. The numbering of figures\index{figure}, etc., is continuous and not per chapter. However, a \cmd{\part} command still puts its heading\index{heading!part} on a page by itself. So I understand that it is intended to have chapters even with the article sure, I never said, that there are no chapters. I meant, that it is not a good way to have different counting of section titles in LyX gui and output. Herbert
Re: Clue needed: installing new package
Herbert Voß wrote: > sure, I never said, that there are no chapters. > I meant, that it is not a good way to have different > counting of section titles in LyX gui and output. You lost me. If I have a memoir document with article option, an I use section without a chapter, I get 0.1 first section bla 0.2 second section bla both in LyX and dvi. Can you send an example please? Jürgen.
Re: Clue needed: installing new package
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> What makes you think that? > > I was just gessing (wrong, obviously). > >> http://www.lyx.org/cgi-bin/viewcvs.cgi/lyxdoc/?only_with_tag=lyx-1_3_2 > > I see. What is the difference between lyxdoc-1_3_2 and lyxdoc > -BRANCH_1_3_X? The latter is the current stable branch while the former > is the documentation of the 1.3.2 release? That is my understanding. lyxdoc-BRANCH_1_3_X is a true branch from the cvs tree. Its position evolves as bugs are fixed. The lyxdoc-1_3_2 specifies a point on this branch. Its position is immutable. -- Angus
Re: Clue needed: installing new package
Juergen Spitzmueller schrieb: Herbert Voß wrote: sure, I never said, that there are no chapters. I meant, that it is not a good way to have different counting of section titles in LyX gui and output. You lost me. If I have a memoir document with article option, an I use section without a chapter, I get 0.1 first section bla 0.2 second section bla both in LyX and dvi. huh, now I see, my fault. I thought, that the counting of the sections is also conrinously ... sorry, Herbert
Re: Clue needed: installing new package
Angus Leeming wrote: > That is my understanding. lyxdoc-BRANCH_1_3_X is a true branch from the cvs > tree. Its position evolves as bugs are fixed. The lyxdoc-1_3_2 specifies a > point on this branch. Its position is immutable. Thanks for clarification, Angus. Jürgen.
Re: Clue needed: installing new package
Rich Shepard wrote: I'm trying to install the memoir class package for use within LyX. I've missed a turn somewhere and am now lost. Here's what I did: Rich, the procedure is, unfortunately, slightly more complicated. Went to CTAN and downloaded memoir.dtx and memoir.ins (and the huge pdf manual). OK. Fired up the configuration document under LyX's Help menu and went to section 5.1 Installing a new LaTeX package. Read and followed all instructions. My local directory is /usr/local/share/tetex/tex/latex. In there I made a new subdirectory, memoir/ and put the two downloaded files in there. No instructions on installing; no tarball. Ran texhash. From within LyX ran Edit (not Options) Reconfigure, then closed and restarted LyX. First, you have to extract the package. That is, run latex memoir.ins and latex memoir.dtx in the memoir directory. The former will extract the actual packages (i.e. the *.cls, *.sty and *.clo files), the latter the documentation. Now run texhash. LaTeX is then ready for memoir. No 'memoir' when I load my book and check in Layout Document Class. You need a corresponding lyx layout file for the memoir class. Unfortunately, there isn't any yet. The memoir package is very powerful, so someone has to spend the time to write a lyx layout which is appropriate. However, the attached layout file is a poor man's solution. It supports the basic environments (i.e. those which are also in the standard book class) and the additional font sizes of memoir. At least you can use memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated things, though. If it is of some use for you, put it in ~/.lyx/layouts, run Edit-Reconfigure from within LyX and restart. You should then be able to use memoir. Regards, Jürgen. Please pass me a clue here. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End ClassOptions FontSize 9|10|11|12|14|17 end
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: the procedure is, unfortunately, slightly more complicated. Juergen, Of course. :-) First, you have to extract the package. That is, run latex memoir.ins and latex memoir.dtx in the memoir directory. The former will extract the actual packages (i.e. the *.cls, *.sty and *.clo files), the latter the documentation. Now run texhash. LaTeX is then ready for memoir. No .sty files created. only .clo and .cls. Might it be worthwhile to have whomever maintains the documentation correct section 5.1 in the customization file? You need a corresponding lyx layout file for the memoir class. Unfortunately, there isn't any yet. The memoir package is very powerful, so someone has to spend the time to write a lyx layout which is appropriate. I suppose that this is terribly complex and time consuming. I'd be happy to help, but I suspect that I'd be more of a hinderance than benefit because of my naivety of LaTeX and LyX. However, the attached layout file is a poor man's solution. It supports the basic environments (i.e. those which are also in the standard book class) and the additional font sizes of memoir. At least you can use memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated things, though. If it is of some use for you, put it in ~/.lyx/layouts, run Edit-Reconfigure from within LyX and restart. You should then be able to use memoir. Except that it still does not show up in the available classes. Sigh. What's the next debugging step? Also, as my book (created with pdflatex; printed to .ps, run through ps2pdf) hangs when paged trough using acroread (on the blank pages following each new Part page) I've something else going on here. Herbert's been helping me but all I discover is that this document -- and every one, including new and of all classes -- lack a \begin{document} command. At least, that's what happens when I export to .dvi and run pdflatex. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Clue needed: installing new package
Rich Shepard wrote: No .sty files created. only .clo and .cls. Hmm... I have mempatch.sty and memhfixc.sty. Dunno if they are important, I guess it should work only with clo and cls (depends on the version probably). Might it be worthwhile to have whomever maintains the documentation correct section 5.1 in the customization file? yes, probably. You need a corresponding lyx layout file for the memoir class. Unfortunately, there isn't any yet. The memoir package is very powerful, so someone has to spend the time to write a lyx layout which is appropriate. I suppose that this is terribly complex and time consuming. I'd be happy to help, but I suspect that I'd be more of a hinderance than benefit because of my naivety of LaTeX and LyX. It's not that complex, but you have to get used to lyx's layout language. A first step, however, would be, if you could figure out which environments are still unsupported and tell me (maybe with a hint to the corrsponding page in the manual). The point is, I do not use memoir myself that much (I am quite happy with KOMA), so I don't know the class very much. However, the attached layout file is a poor man's solution. It supports the basic environments (i.e. those which are also in the standard book class) and the additional font sizes of memoir. At least you can use memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated things, though. If it is of some use for you, put it in ~/.lyx/layouts, run Edit-Reconfigure from within LyX and restart. You should then be able to use memoir. Except that it still does not show up in the available classes. Sigh. What's the next debugging step? start lyx from the console, run edit-reconfigure and send the output of the console, please. It is especially important if there is a line like +checking for document class memoir [memoir]... yes Also, as my book (created with pdflatex; printed to .ps, run through ps2pdf) hangs when paged trough using acroread (on the blank pages following each new Part page) I've something else going on here. Herbert's been helping me but all I discover is that this document -- and every one, including new and of all classes -- lack a \begin{document} command. At least, that's what happens when I export to .dvi and run pdflatex. Hmm... hard to tell without an example document. Regards, Jürgen. Thanks, Rich
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: Hmm... I have mempatch.sty and memhfixc.sty. Dunno if they are important, I guess it should work only with clo and cls (depends on the version probably). Juergen, Oh! I have those, too. But, they came from a memoir.zip file I had sitting in my home directory. I don't have any memoir.sty that was created when I ran 'latex ' on the .dtx and .ins files. My misunderstanding. It's not that complex, but you have to get used to lyx's layout language. A first step, however, would be, if you could figure out which environments are still unsupported and tell me (maybe with a hint to the corrsponding page in the manual). The point is, I do not use memoir myself that much (I am quite happy with KOMA), so I don't know the class very much. Later today I'll print out the memoir manual and read it. start lyx from the console, run edit-reconfigure and send the output of the console, please. It is especially important if there is a line like +checking for document class memoir [memoir]... yes Nope. Not there. The output log file is attached. Hmm... hard to tell without an example document. Yes. I was just venting my frustration at not being productive again today. Herbert's helping, but I need to get all this running properly. Many thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/[EMAIL PROTECTED] ~]$ lyx checking for a LaTeX2e program... (latex latex2e) +checking for latex... yes checking for the pdflatex program... (pdflatex) +checking for pdflatex... yes checking for a LaTeX - LyX converter... (reLyX) +checking for reLyX... yes checking for a Noweb - LyX converter... (noweb2lyx) +checking for noweb2lyx... yes checking for a Noweb - LaTeX converter... (noweave) +checking for noweave... no checking for a HTML - Latex converter... (html2latex) +checking for html2latex... no checking for a MSWord - Latex converter... (wvCleanLatex word2x) +checking for wvCleanLatex... yes checking for Image converter... (convert) +checking for convert... yes checking for a Postscript interpreter... (gs) +checking for gs... yes checking for a Postscript previewer... (gv ghostview) +checking for gv... yes checking for a PDF preview... (acroread gv ghostview xpdf) +checking for acroread... yes checking for a DVI previewer... (xdvi windvi yap) +checking for xdvi... yes checking for a HTML previewer... (mozilla file://$$p$$i netscape) +checking for mozilla... no +checking for netscape... yes checking for a PS to PDF converter... (ps2pdf) +checking for ps2pdf... yes checking for a DVI to PS converter... (dvips) +checking for dvips... yes checking for a DVI to PDF converter... (dvipdfm) +checking for dvipdfm... no checking for a *roff formatter... ('groff -t -Tlatin1 23860FName' nroff) +checking for groff... yes checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38) +checking for chktex... no checking for a spell-checker... (ispell) +checking for ispell... yes checking for Octave... (octave) +checking for octave... yes checking for Maple... (maple) +checking for maple... no checking for a fax program... (kdeprintfax ksendfax) +checking for kdeprintfax... no +checking for ksendfax... no checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx) +checking for sgml2lyx... yes checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi) +checking for sgmltools... no +checking for db2dvi... yes checking for a spool command... (lp lpr) +checking for lp... yes checking for a LaTeX - HTML converter... (tth latex2html hevea) +checking for tth... no +checking for latex2html... yes checking LaTeX configuration... auto +Inspecting your LaTeX configuration. +checking for LaTeX version... 2000/06/01 +checking for default encoding (this may take a long time) + checking for ec fonts... yes + checking for ec support in LaTeX format... yes +checking for document class IEEEtran [IEEEtran]... no +checking for document class aa [aa]... no +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... no +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart]... yes +checking for document class amsart [amsart]... yes +checking for document class amsbook [amsbook]... yes +checking for document class apa [apa,apacite.sty]... no +checking for document class article [article]... yes +checking for document class book [book]... yes +checking for document class broadway [broadway]... yes +checking for document class chess [article,lyxskak.sty]... yes +checking for document class cl2emult [cl2emult]... no +checking for document class cv [cv]... yes +checking for document class dinbrief [dinbrief]... yes +checking for docbook class
Re: Clue needed: installing new package
Rich Shepard wrote: start lyx from the console, run edit-reconfigure and send the output of the console, please. It is especially important if there is a line like +checking for document class memoir [memoir]... yes Nope. Not there. The output log file is attached. Rich, OK, then LyX does not find the layout file. Are you shure you have put it in the /layouts directory of your lyx user directory (normally ~/.lyx)? What happens if you put it in the /layouts directory of the lyx installation tree (/usr/local/share/lyx/layouts for instance)? You can use the attached v0.002 which features some more memoir stuff. Hmm... hard to tell without an example document. Yes. I was just venting my frustration at not being productive again today. Herbert's helping, but I need to get all this running properly. Well, then you are in good hands (hope I got this idiom right). Regards, Jürgen. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings ClassOptions FontSize 9|10|11|12|14|17 PageStyle empty|plain|headings|fancy|ruled|Ruled|companion End # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End # the poetics Style Poemtitle LatexType Command LatexName poemtitle NeedProtect 1 NextNoIndent 1 LabelSep xxx ParSkip 0.4 TopSep0.4 ParSep0.4 AlignPossible Block, Left OptionalArgs 1 Font Series Bold EndFont End Style Poemtitle* CopyStyle Poemtitle LatexName poemtitle* OptionalArgs 0 End
Re: Clue needed: installing new package
On 2003-09-19, 18:05 GMT, Rich Shepard wrote: No .sty files created. only .clo and .cls. Which is all right, because memoir is class (used with \documentclass in the begining of LaTeX file, extension .cls), not style package (used with \usepackage, extension .sty). Matej -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: OK, then LyX does not find the layout file. Are you shure you have put it in the /layouts directory of your lyx user directory (normally ~/.lyx)? Juergen, Mea culpa! I moved it there, but my flying fingers gave it the wrong name. No wonder LyX couldn't see it. I renamed it, reconfigured and restarted. It's there now. One problem down, three to go. Well, then you are in good hands (hope I got this idiom right). Yes, you did. Many thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Clue needed: installing new package
Rich Shepard wrote: I'm trying to install the memoir class package for use within LyX. I've missed a turn somewhere and am now lost. Here's what I did: Rich, the procedure is, unfortunately, slightly more complicated. Went to CTAN and downloaded memoir.dtx and memoir.ins (and the huge pdf manual). OK. Fired up the configuration document under LyX's Help menu and went to section 5.1 Installing a new LaTeX package. Read and followed all instructions. My local directory is /usr/local/share/tetex/tex/latex. In there I made a new subdirectory, memoir/ and put the two downloaded files in there. No instructions on installing; no tarball. Ran texhash. From within LyX ran Edit (not Options) Reconfigure, then closed and restarted LyX. First, you have to extract the package. That is, run latex memoir.ins and latex memoir.dtx in the memoir directory. The former will extract the actual packages (i.e. the *.cls, *.sty and *.clo files), the latter the documentation. Now run texhash. LaTeX is then ready for memoir. No 'memoir' when I load my book and check in Layout Document Class. You need a corresponding lyx layout file for the memoir class. Unfortunately, there isn't any yet. The memoir package is very powerful, so someone has to spend the time to write a lyx layout which is appropriate. However, the attached layout file is a poor man's solution. It supports the basic environments (i.e. those which are also in the standard book class) and the additional font sizes of memoir. At least you can use memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated things, though. If it is of some use for you, put it in ~/.lyx/layouts, run Edit-Reconfigure from within LyX and restart. You should then be able to use memoir. Regards, Jürgen. Please pass me a clue here. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End ClassOptions FontSize 9|10|11|12|14|17 end
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: the procedure is, unfortunately, slightly more complicated. Juergen, Of course. :-) First, you have to extract the package. That is, run latex memoir.ins and latex memoir.dtx in the memoir directory. The former will extract the actual packages (i.e. the *.cls, *.sty and *.clo files), the latter the documentation. Now run texhash. LaTeX is then ready for memoir. No .sty files created. only .clo and .cls. Might it be worthwhile to have whomever maintains the documentation correct section 5.1 in the customization file? You need a corresponding lyx layout file for the memoir class. Unfortunately, there isn't any yet. The memoir package is very powerful, so someone has to spend the time to write a lyx layout which is appropriate. I suppose that this is terribly complex and time consuming. I'd be happy to help, but I suspect that I'd be more of a hinderance than benefit because of my naivety of LaTeX and LyX. However, the attached layout file is a poor man's solution. It supports the basic environments (i.e. those which are also in the standard book class) and the additional font sizes of memoir. At least you can use memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated things, though. If it is of some use for you, put it in ~/.lyx/layouts, run Edit-Reconfigure from within LyX and restart. You should then be able to use memoir. Except that it still does not show up in the available classes. Sigh. What's the next debugging step? Also, as my book (created with pdflatex; printed to .ps, run through ps2pdf) hangs when paged trough using acroread (on the blank pages following each new Part page) I've something else going on here. Herbert's been helping me but all I discover is that this document -- and every one, including new and of all classes -- lack a \begin{document} command. At least, that's what happens when I export to .dvi and run pdflatex. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Clue needed: installing new package
Rich Shepard wrote: No .sty files created. only .clo and .cls. Hmm... I have mempatch.sty and memhfixc.sty. Dunno if they are important, I guess it should work only with clo and cls (depends on the version probably). Might it be worthwhile to have whomever maintains the documentation correct section 5.1 in the customization file? yes, probably. You need a corresponding lyx layout file for the memoir class. Unfortunately, there isn't any yet. The memoir package is very powerful, so someone has to spend the time to write a lyx layout which is appropriate. I suppose that this is terribly complex and time consuming. I'd be happy to help, but I suspect that I'd be more of a hinderance than benefit because of my naivety of LaTeX and LyX. It's not that complex, but you have to get used to lyx's layout language. A first step, however, would be, if you could figure out which environments are still unsupported and tell me (maybe with a hint to the corrsponding page in the manual). The point is, I do not use memoir myself that much (I am quite happy with KOMA), so I don't know the class very much. However, the attached layout file is a poor man's solution. It supports the basic environments (i.e. those which are also in the standard book class) and the additional font sizes of memoir. At least you can use memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated things, though. If it is of some use for you, put it in ~/.lyx/layouts, run Edit-Reconfigure from within LyX and restart. You should then be able to use memoir. Except that it still does not show up in the available classes. Sigh. What's the next debugging step? start lyx from the console, run edit-reconfigure and send the output of the console, please. It is especially important if there is a line like +checking for document class memoir [memoir]... yes Also, as my book (created with pdflatex; printed to .ps, run through ps2pdf) hangs when paged trough using acroread (on the blank pages following each new Part page) I've something else going on here. Herbert's been helping me but all I discover is that this document -- and every one, including new and of all classes -- lack a \begin{document} command. At least, that's what happens when I export to .dvi and run pdflatex. Hmm... hard to tell without an example document. Regards, Jürgen. Thanks, Rich
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: Hmm... I have mempatch.sty and memhfixc.sty. Dunno if they are important, I guess it should work only with clo and cls (depends on the version probably). Juergen, Oh! I have those, too. But, they came from a memoir.zip file I had sitting in my home directory. I don't have any memoir.sty that was created when I ran 'latex ' on the .dtx and .ins files. My misunderstanding. It's not that complex, but you have to get used to lyx's layout language. A first step, however, would be, if you could figure out which environments are still unsupported and tell me (maybe with a hint to the corrsponding page in the manual). The point is, I do not use memoir myself that much (I am quite happy with KOMA), so I don't know the class very much. Later today I'll print out the memoir manual and read it. start lyx from the console, run edit-reconfigure and send the output of the console, please. It is especially important if there is a line like +checking for document class memoir [memoir]... yes Nope. Not there. The output log file is attached. Hmm... hard to tell without an example document. Yes. I was just venting my frustration at not being productive again today. Herbert's helping, but I need to get all this running properly. Many thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/[EMAIL PROTECTED] ~]$ lyx checking for a LaTeX2e program... (latex latex2e) +checking for latex... yes checking for the pdflatex program... (pdflatex) +checking for pdflatex... yes checking for a LaTeX - LyX converter... (reLyX) +checking for reLyX... yes checking for a Noweb - LyX converter... (noweb2lyx) +checking for noweb2lyx... yes checking for a Noweb - LaTeX converter... (noweave) +checking for noweave... no checking for a HTML - Latex converter... (html2latex) +checking for html2latex... no checking for a MSWord - Latex converter... (wvCleanLatex word2x) +checking for wvCleanLatex... yes checking for Image converter... (convert) +checking for convert... yes checking for a Postscript interpreter... (gs) +checking for gs... yes checking for a Postscript previewer... (gv ghostview) +checking for gv... yes checking for a PDF preview... (acroread gv ghostview xpdf) +checking for acroread... yes checking for a DVI previewer... (xdvi windvi yap) +checking for xdvi... yes checking for a HTML previewer... (mozilla file://$$p$$i netscape) +checking for mozilla... no +checking for netscape... yes checking for a PS to PDF converter... (ps2pdf) +checking for ps2pdf... yes checking for a DVI to PS converter... (dvips) +checking for dvips... yes checking for a DVI to PDF converter... (dvipdfm) +checking for dvipdfm... no checking for a *roff formatter... ('groff -t -Tlatin1 23860FName' nroff) +checking for groff... yes checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38) +checking for chktex... no checking for a spell-checker... (ispell) +checking for ispell... yes checking for Octave... (octave) +checking for octave... yes checking for Maple... (maple) +checking for maple... no checking for a fax program... (kdeprintfax ksendfax) +checking for kdeprintfax... no +checking for ksendfax... no checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx) +checking for sgml2lyx... yes checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi) +checking for sgmltools... no +checking for db2dvi... yes checking for a spool command... (lp lpr) +checking for lp... yes checking for a LaTeX - HTML converter... (tth latex2html hevea) +checking for tth... no +checking for latex2html... yes checking LaTeX configuration... auto +Inspecting your LaTeX configuration. +checking for LaTeX version... 2000/06/01 +checking for default encoding (this may take a long time) + checking for ec fonts... yes + checking for ec support in LaTeX format... yes +checking for document class IEEEtran [IEEEtran]... no +checking for document class aa [aa]... no +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... no +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart]... yes +checking for document class amsart [amsart]... yes +checking for document class amsbook [amsbook]... yes +checking for document class apa [apa,apacite.sty]... no +checking for document class article [article]... yes +checking for document class book [book]... yes +checking for document class broadway [broadway]... yes +checking for document class chess [article,lyxskak.sty]... yes +checking for document class cl2emult [cl2emult]... no +checking for document class cv [cv]... yes +checking for document class dinbrief [dinbrief]... yes +checking for docbook class
Re: Clue needed: installing new package
Rich Shepard wrote: start lyx from the console, run edit-reconfigure and send the output of the console, please. It is especially important if there is a line like +checking for document class memoir [memoir]... yes Nope. Not there. The output log file is attached. Rich, OK, then LyX does not find the layout file. Are you shure you have put it in the /layouts directory of your lyx user directory (normally ~/.lyx)? What happens if you put it in the /layouts directory of the lyx installation tree (/usr/local/share/lyx/layouts for instance)? You can use the attached v0.002 which features some more memoir stuff. Hmm... hard to tell without an example document. Yes. I was just venting my frustration at not being productive again today. Herbert's helping, but I need to get all this running properly. Well, then you are in good hands (hope I got this idiom right). Regards, Jürgen. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings ClassOptions FontSize 9|10|11|12|14|17 PageStyle empty|plain|headings|fancy|ruled|Ruled|companion End # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End # the poetics Style Poemtitle LatexType Command LatexName poemtitle NeedProtect 1 NextNoIndent 1 LabelSep xxx ParSkip 0.4 TopSep0.4 ParSep0.4 AlignPossible Block, Left OptionalArgs 1 Font Series Bold EndFont End Style Poemtitle* CopyStyle Poemtitle LatexName poemtitle* OptionalArgs 0 End
Re: Clue needed: installing new package
On 2003-09-19, 18:05 GMT, Rich Shepard wrote: No .sty files created. only .clo and .cls. Which is all right, because memoir is class (used with \documentclass in the begining of LaTeX file, extension .cls), not style package (used with \usepackage, extension .sty). Matej -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: OK, then LyX does not find the layout file. Are you shure you have put it in the /layouts directory of your lyx user directory (normally ~/.lyx)? Juergen, Mea culpa! I moved it there, but my flying fingers gave it the wrong name. No wonder LyX couldn't see it. I renamed it, reconfigured and restarted. It's there now. One problem down, three to go. Well, then you are in good hands (hope I got this idiom right). Yes, you did. Many thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Clue needed: installing new package
Rich Shepard wrote: > I'm trying to install the memoir class package for use within LyX. I've > missed a turn somewhere and am now lost. Here's what I did: Rich, the procedure is, unfortunately, slightly more complicated. > Went to CTAN and downloaded memoir.dtx and memoir.ins (and the huge pdf > manual). OK. > Fired up the "configuration" document under LyX's Help menu and went to > section 5.1 Installing a new LaTeX package. Read and followed all > instructions. My local directory is /usr/local/share/tetex/tex/latex. In > there I made a new subdirectory, memoir/ and put the two downloaded files > in there. No instructions on installing; no tarball. Ran texhash. From > within LyX ran Edit (not Options) > Reconfigure, then closed and restarted > LyX. First, you have to "extract" the package. That is, run "latex memoir.ins" and "latex memoir.dtx" in the memoir directory. The former will extract the actual packages (i.e. the *.cls, *.sty and *.clo files), the latter the documentation. Now run texhash. LaTeX is then ready for memoir. > No 'memoir' when I load my book and check in Layout > Document > Class. You need a corresponding lyx layout file for the memoir class. Unfortunately, there isn't any yet. The memoir package is very powerful, so someone has to spend the time to write a lyx layout which is appropriate. However, the attached layout file is a poor man's solution. It supports the basic environments (i.e. those which are also in the standard book class) and the additional font sizes of memoir. At least you can use memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated things, though. If it is of some use for you, put it in ~/.lyx/layouts, run Edit->Reconfigure from within LyX and restart. You should then be able to use memoir. Regards, Jürgen. > Please pass me a clue here. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller <[EMAIL PROTECTED]> # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End ClassOptions FontSize 9|10|11|12|14|17 end
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: > the procedure is, unfortunately, slightly more complicated. Juergen, Of course. :-) > First, you have to "extract" the package. That is, run "latex memoir.ins" and > "latex memoir.dtx" in the memoir directory. The former will extract the > actual packages (i.e. the *.cls, *.sty and *.clo files), the latter the > documentation. Now run texhash. LaTeX is then ready for memoir. No .sty files created. only .clo and .cls. Might it be worthwhile to have whomever maintains the documentation correct section 5.1 in the customization file? > You need a corresponding lyx layout file for the memoir class. Unfortunately, > there isn't any yet. The memoir package is very powerful, so someone has to > spend the time to write a lyx layout which is appropriate. I suppose that this is terribly complex and time consuming. I'd be happy to help, but I suspect that I'd be more of a hinderance than benefit because of my naivety of LaTeX and LyX. > However, the attached layout file is a poor man's solution. It supports > the basic environments (i.e. those which are also in the standard book > class) and the additional font sizes of memoir. At least you can use > memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated > things, though. If it is of some use for you, put it in ~/.lyx/layouts, > run Edit->Reconfigure from within LyX and restart. You should then be able > to use memoir. Except that it still does not show up in the available classes. Sigh. What's the next debugging step? Also, as my book (created with pdflatex; printed to .ps, run through ps2pdf) hangs when paged trough using acroread (on the blank pages following each new Part page) I've something else going on here. Herbert's been helping me but all I discover is that this document -- and every one, including new and of all classes -- lack a \begin{document} command. At least, that's what happens when I export to .dvi and run pdflatex. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
Re: Clue needed: installing new package
Rich Shepard wrote: > No .sty files created. only .clo and .cls. Hmm... I have mempatch.sty and memhfixc.sty. Dunno if they are important, I guess it should work only with clo and cls (depends on the version probably). > Might it be worthwhile to have whomever maintains the documentation > correct section 5.1 in the customization file? yes, probably. > > You need a corresponding lyx layout file for the memoir class. > > Unfortunately, there isn't any yet. The memoir package is very powerful, > > so someone has to spend the time to write a lyx layout which is > > appropriate. > > I suppose that this is terribly complex and time consuming. I'd be happy > to help, but I suspect that I'd be more of a hinderance than benefit > because of my naivety of LaTeX and LyX. It's not that complex, but you have to get used to lyx's layout language. A first step, however, would be, if you could figure out which environments are still unsupported and tell me (maybe with a hint to the corrsponding page in the manual). The point is, I do not use memoir myself that much (I am quite happy with KOMA), so I don't know the class very much. > > However, the attached layout file is a poor man's solution. It supports > > the basic environments (i.e. those which are also in the standard book > > class) and the additional font sizes of memoir. At least you can use > > memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated > > things, though. If it is of some use for you, put it in ~/.lyx/layouts, > > run Edit->Reconfigure from within LyX and restart. You should then be > > able to use memoir. > > Except that it still does not show up in the available classes. Sigh. > What's the next debugging step? start lyx from the console, run edit->reconfigure and send the output of the console, please. It is especially important if there is a line like +checking for document class memoir [memoir]... yes > Also, as my book (created with pdflatex; printed to .ps, run through > ps2pdf) hangs when paged trough using acroread (on the blank pages > following each new Part page) I've something else going on here. Herbert's > been helping me but all I discover is that this document -- and every one, > including new and of all classes -- lack a \begin{document} command. At > least, that's what happens when I export to .dvi and run pdflatex. Hmm... hard to tell without an example document. Regards, Jürgen. > Thanks, > > Rich
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: > Hmm... I have mempatch.sty and memhfixc.sty. Dunno if they are important, I > guess it should work only with clo and cls (depends on the version probably). Juergen, Oh! I have those, too. But, they came from a memoir.zip file I had sitting in my home directory. I don't have any memoir.sty that was created when I ran 'latex ' on the .dtx and .ins files. My misunderstanding. > It's not that complex, but you have to get used to lyx's layout language. A > first step, however, would be, if you could figure out which environments are > still unsupported and tell me (maybe with a hint to the corrsponding page in > the manual). The point is, I do not use memoir myself that much (I am quite > happy with KOMA), so I don't know the class very much. Later today I'll print out the memoir manual and read it. > start lyx from the console, run edit->reconfigure and send the output of the > console, please. It is especially important if there is a line like > +checking for document class memoir [memoir]... yes Nope. Not there. The output log file is attached. > Hmm... hard to tell without an example document. Yes. I was just venting my frustration at not being productive again today. Herbert's helping, but I need to get all this running properly. Many thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/[EMAIL PROTECTED] ~]$ lyx checking for a LaTeX2e program... (latex latex2e) +checking for "latex"... yes checking for the pdflatex program... (pdflatex) +checking for "pdflatex"... yes checking for a LaTeX -> LyX converter... (reLyX) +checking for "reLyX"... yes checking for a Noweb -> LyX converter... (noweb2lyx) +checking for "noweb2lyx"... yes checking for a Noweb -> LaTeX converter... (noweave) +checking for "noweave"... no checking for a HTML -> Latex converter... (html2latex) +checking for "html2latex"... no checking for a MSWord -> Latex converter... (wvCleanLatex word2x) +checking for "wvCleanLatex"... yes checking for Image converter... (convert) +checking for "convert"... yes checking for a Postscript interpreter... (gs) +checking for "gs"... yes checking for a Postscript previewer... (gv ghostview) +checking for "gv"... yes checking for a PDF preview... (acroread gv ghostview xpdf) +checking for "acroread"... yes checking for a DVI previewer... (xdvi windvi yap) +checking for "xdvi"... yes checking for a HTML previewer... (mozilla file://$$p$$i netscape) +checking for "mozilla"... no +checking for "netscape"... yes checking for a PS to PDF converter... (ps2pdf) +checking for "ps2pdf"... yes checking for a DVI to PS converter... (dvips) +checking for "dvips"... yes checking for a DVI to PDF converter... (dvipdfm) +checking for "dvipdfm"... no checking for a *roff formatter... ('groff -t -Tlatin1 23860FName' nroff) +checking for "groff"... yes checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38) +checking for "chktex"... no checking for a spell-checker... (ispell) +checking for "ispell"... yes checking for Octave... (octave) +checking for "octave"... yes checking for Maple... (maple) +checking for "maple"... no checking for a fax program... (kdeprintfax ksendfax) +checking for "kdeprintfax"... no +checking for "ksendfax"... no checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx) +checking for "sgml2lyx"... yes checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi) +checking for "sgmltools"... no +checking for "db2dvi"... yes checking for a spool command... (lp lpr) +checking for "lp"... yes checking for a LaTeX -> HTML converter... (tth latex2html hevea) +checking for "tth"... no +checking for "latex2html"... yes checking LaTeX configuration... auto +Inspecting your LaTeX configuration. +checking for LaTeX version... 2000/06/01 +checking for default encoding (this may take a long time) + checking for ec fonts... yes + checking for ec support in LaTeX format... yes +checking for document class IEEEtran [IEEEtran]... no +checking for document class aa [aa]... no +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... no +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart]... yes +checking for document class amsart [amsart]... yes +checking for document class amsbook [amsbook]... yes +checking for document class apa [apa,apacite.sty]... no +checking for document class article [article]... yes +checking for document class book [book]... yes +checking for document class broadway [broadway]... yes +checking for document class chess [article,lyxskak.sty]... yes +checking for document class cl2emult [cl2emult]... no +checking for document class cv [cv]... yes +checking for
Re: Clue needed: installing new package
Rich Shepard wrote: > > start lyx from the console, run edit->reconfigure and send the output of > > the console, please. It is especially important if there is a line like > > +checking for document class memoir [memoir]... yes > > Nope. Not there. The output log file is attached. Rich, OK, then LyX does not find the layout file. Are you shure you have put it in the /layouts directory of your lyx user directory (normally ~/.lyx)? What happens if you put it in the /layouts directory of the lyx installation tree (/usr/local/share/lyx/layouts for instance)? You can use the attached v0.002 which features some more memoir stuff. > > Hmm... hard to tell without an example document. > > Yes. I was just venting my frustration at not being productive again > today. Herbert's helping, but I need to get all this running properly. Well, then you are in good hands (hope I got this idiom right). Regards, Jürgen. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller <[EMAIL PROTECTED]> # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings ClassOptions FontSize 9|10|11|12|14|17 PageStyle empty|plain|headings|fancy|ruled|Ruled|companion End # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End # the poetics Style Poemtitle LatexType Command LatexName poemtitle NeedProtect 1 NextNoIndent 1 LabelSep xxx ParSkip 0.4 TopSep0.4 ParSep0.4 AlignPossible Block, Left OptionalArgs 1 Font Series Bold EndFont End Style Poemtitle* CopyStyle Poemtitle LatexName poemtitle* OptionalArgs 0 End
Re: Clue needed: installing new package
On 2003-09-19, 18:05 GMT, Rich Shepard wrote: > No .sty files created. only .clo and .cls. Which is all right, because memoir is class (used with \documentclass in the begining of LaTeX file, extension .cls), not style package (used with \usepackage, extension .sty). Matej -- Matej Cepl, GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Re: Clue needed: installing new package
On Fri, 19 Sep 2003, Juergen Spitzmueller wrote: > OK, then LyX does not find the layout file. Are you shure you have put it in > the /layouts directory of your lyx user directory (normally ~/.lyx)? Juergen, Mea culpa! I moved it there, but my flying fingers gave it the wrong name. No wonder LyX couldn't see it. I renamed it, reconfigured and restarted. It's there now. One problem down, three to go. > Well, then you are in good hands (hope I got this idiom right). Yes, you did. Many thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/