Re: Creating a .layout file with two command arguments

2006-02-08 Thread Mael Hilléreau
Jeremy Daily a écrit : Mael, Thanks for the suggestion. The logic made sense, but your suggestion did not work. LyX generated an extra line between the commands in the tex file. This is now possible by using character styles (available in LyX 1.4.0pre3). The following layout sample won't p

Re: Creating a .layout file with two command arguments

2006-01-18 Thread Mael Hilléreau
Thanks for the suggestion. The logic made sense, but your suggestion did not work. LyX generated an extra line between the commands in the tex file. Sorry, no more idea then... Perhaps some tex or latex trick may do the job (eating spaces). How can I get the Date environment to display "Copyr

Re: Creating a .layout file with two command arguments

2006-01-16 Thread Jeremy Daily
Mael, Thanks for the suggestion. The logic made sense, but your suggestion did not work. LyX generated an extra line between the commands in the tex file. Another question: How can I get the Date environment to display "Copyright: 2006" in LyX? The final output is correct so this display is

Re: Creating a .layout file with two command arguments

2006-01-16 Thread Mael Hilléreau
in the LyX .layout file, an error is given. I cannot figure out a way to include two two values for one command in LyX. This is not possible in a dynamic way (i.e. you only can specify one parameter into LyX window). Perhaps, a workaround could consist in using two layout styles as the folowin

Creating a .layout file with two command arguments

2006-01-16 Thread Jeremy Daily
Group, I'm trying to make a .layout file for sae.cls. I have everything working except the authors. In the sae class, the authors are added using the command: \AddAuthor{Author name}{Affiliation} If I try: Style Author MarginStatic LatexTypeCommand InTitle1 LatexName

Re: Creating a .layout file

2003-10-14 Thread Hassoun Karam
Follow up from yesterday: attached are the class .cls (that i am trying to build a .layout for) and the .lyx files. thanks for your help Andre Poenitz wrote: On Tue, Oct 14, 2003 at 03:31:51PM +0200, Hassoun Karam wrote: same as when the code is included: there is a part of the .lyx document t

Re: Creating a .layout file

2003-10-14 Thread Andre Poenitz
On Tue, Oct 14, 2003 at 03:31:51PM +0200, Hassoun Karam wrote: > same as when the code is included: > > there is a part of the .lyx document that is not read (i.e. ERT that is > defined with \newcommand). > > No errors are signaled when View|DVI; just the ERT is ignored. So please send an examp

Re: Creating a .layout file

2003-10-14 Thread Jean-Marc Lasgouttes
> "Hassoun" == Hassoun Karam <[EMAIL PROTECTED]> writes: Hassoun> same as when the code is included: there is a part of the Hassoun> .lyx document that is not read (i.e. ERT that is defined with Hassoun> \newcommand). Hassoun> No errors are signaled when View|DVI; just the ERT is Hassoun> ign

Re: Creating a .layout file

2003-10-14 Thread Andre Poenitz
On Tue, Oct 14, 2003 at 03:17:50PM +0200, Jean-Marc Lasgouttes wrote: > > "Hassoun" == Hassoun Karam <[EMAIL PROTECTED]> writes: > > Hassoun> certainly! there you go. > > So, I guess that the code you put in preamble is some theseul.cls (I > tried to find it on the ulaval.ca site, but it is i

Re: Creating a .layout file

2003-10-14 Thread Hassoun Karam
same as when the code is included: there is a part of the .lyx document that is not read (i.e. ERT that is defined with \newcommand). No errors are signaled when View|DVI; just the ERT is ignored. Hassoun Jean-Marc Lasgouttes wrote: "Hassoun" == Hassoun Karam <[EMAIL PROTECTED]> writes: Has

Re: Creating a .layout file

2003-10-14 Thread Jean-Marc Lasgouttes
> "Hassoun" == Hassoun Karam <[EMAIL PROTECTED]> writes: Hassoun> certainly! there you go. So, I guess that the code you put in preamble is some theseul.cls (I tried to find it on the ulaval.ca site, but it is in the intranet...). In this case, I would just use -- #% Do not d

Re: Creating a .layout file

2003-10-14 Thread Hassoun Karam
certainly! there you go. Hassoun Jean-Marc Lasgouttes wrote: "Hassoun" == Hassoun Karam <[EMAIL PROTECTED]> writes: Hassoun> Hi Andre thanks for your reply. Hassoun> I have tried what you recommend before posting and i got a Hassoun> lot of errors in Lyx. I have checked the tetex hierrarchy, H

Re: Creating a .layout file

2003-10-14 Thread Jean-Marc Lasgouttes
> "Hassoun" == Hassoun Karam <[EMAIL PROTECTED]> writes: Hassoun> Hi Andre thanks for your reply. Hassoun> I have tried what you recommend before posting and i got a Hassoun> lot of errors in Lyx. I have checked the tetex hierrarchy, Hassoun> texhash-ed after the installation of the .cls file

Re: Creating a .layout file

2003-10-14 Thread Hassoun Karam
Hi Andre thanks for your reply. I have tried what you recommend before posting and i got a lot of errors in Lyx. I have checked the tetex hierrarchy, texhash-ed after the installation of the .cls file, rechecked the lexmf.cnf, chkconfig.ltx files. I guess I am still missing something, maybe Ly

Re: Creating a .layout file

2003-10-14 Thread Andre Poenitz
On Tue, Oct 14, 2003 at 12:33:19PM +0200, Hassoun Karam wrote: > I am using Lyx 1.3.3 on MacOsX and very satisfied with it. I am trying > to create a .layout file for a .cls one. > > Though having read the Customization file in the Help menu (and most of > the mailings related to layout, cls, cu

Creating a .layout file

2003-10-14 Thread Hassoun Karam
Hi I am using Lyx 1.3.3 on MacOsX and very satisfied with it. I am trying to create a .layout file for a .cls one. Though having read the Customization file in the Help menu (and most of the mailings related to layout, cls, customization, and some web sites), I still could not find the solutio