Re: seminar.layout and lyx-devel
>>>>> "Staffan" == Staffan Ringbom <[EMAIL PROTECTED]> writes: Staffan> Hello, Seems like the seminar.layout would not be updated and Staffan> I suspect an error in the seminar.layout. When I try to Staffan> reconfigure a document to seminar I get an error message Staffan> Error reading `~/.lyx-cvs/layouts/seminar.layout' (Check Staffan> 'seminar') Is it fixed now? I did a change a few hours ago. JMarc
seminar.layout and lyx-devel
Hello, Seems like the seminar.layout would not be updated and I suspect an error in the seminar.layout. When I try to reconfigure a document to seminar I get an error message Error reading `~/.lyx-cvs/layouts/seminar.layout' (Check 'seminar') Thank you very much, Staffan Ringbom -- Dr Staffan Ringbom Address: Swedish School of Economics & BA, and HECER PO Box 479, FIN-00101 Helsingfors Phone: +358-9-43133416 Fax: +358-9-43133382
Re: new versions of seminar.layout and dinbrief.layout
On Fri, 19 Dec 2003, Günter Milde wrote: > Also, it would be nice to have the Contributed Stuff page > http://www.lyx.org/download/contrib.php3 > updated with a link from "Additional layout files" to the layout wiki. I've attached a patch with changes the text so that it refers to the wiki-wiki instead, see here for how it looks: http://www.lyx.org/~chr/www-user/download/contrib.php3 /Christian PS. I am not able to commit this, because my account on baywatch.lyx.org does not belong to the group 'cvsusers' (this is what I think is the problem anyway, the account also does not have a home directory on that machine, but I don't know if that actually matters). -- Christian Ridderström http://www.md.kth.se/~chr ? contrib.diff Index: download/contrib.php3 === RCS file: /cvs/lyx/www-user/download/contrib.php3,v retrieving revision 1.3 diff -u -r1.3 contrib.php3 --- download/contrib.php3 2002/10/29 13:14:09 1.3 +++ download/contrib.php3 2003/12/22 13:34:33 @@ -53,17 +53,7 @@ Additional layout files - - Guenter Milde has contributed a textclass for the seminar - document class. It has not been added to the main - distribution because it is not very clean (due to LyX - shortcomings), but you can find it - ftp://ftp.lyx.org/pub/lyx/contrib/seminar.tar.gz";>in - the contrib section of the ftp site. - - - - +Look in the http://wiki.lyx.org/pmwiki.php/Layouts/Layouts";>layouts-section of the LyX http://wiki.lyx.org/pmwiki.php";>wiki-wiki site. Useful scripts
Re: new versions of seminar.layout and dinbrief.layout
On Friday 19 December 2003 09:30, Günter Milde wrote: > > For backwards compatibility, the name "Environment" should be kept for > the InEnvironment and a new one (ContainerEnvironment?, > EnvironmentParagraph?, ...) found for the "tru" environment type. You can make that isEnvironment obsoletes Environment. Why not? Style Environment ObsoletedBy isEnvironment End > Günter -- José Abílio LyX and docbook, a perfect match. :-)
new versions of seminar.layout and dinbrief.layout
I did a review/update of my seminar.layout and the dinbrief.layout. Both are now at the LyX layout wiki http://wiki.lyx.org/pmwiki.php/Layouts/Layouts. I would be happy to see them included into the "mainstream" lyx. Also, it would be nice to have the Contributed Stuff page http://www.lyx.org/download/contrib.php3 updated with a link from "Additional layout files" to the layout wiki. The current content of "Additional layout files" is outdated: Guenter Milde has contributed a textclass for the seminar document class. It has not been added to the main distribution because it is not very clean (due to LyX shortcomings), but you can find it in the contrib section of the ftp site. 1. I made a new version (http://wiki.lyx.org/pmwiki.php/Layouts/Seminar) 2. The seminar.layout that comes currently with LyX has the same problems with LyX shortcomings¹ ¹ the current LatexType "Environment" is actually "InEnvironment" (as it sets subsequent paragraphs of same type into just one Environment). A true "Environment" LatexType (include the paragraph (and nested stuff) in a \begin-\end-pair) is still missing. For backwards compatibility, the name "Environment" should be kept for the InEnvironment and a new one (ContainerEnvironment?, EnvironmentParagraph?, ...) found for the "tru" environment type. Günter -- G.Milde at web.de
Re: Re: seminar.layout doesn't work as expected
On 30 Jul 2002 10:37:28 +0200 wrote Jean-Marc Lasgouttes <[EMAIL PROTECTED]>: > > On 17 Jul 2002 11:33:15 -0400 wrote German Poo Caaman~o > >> Since lyx-1.1.6-fix (AFAIR) I've been having some problems with > >> seminar.layout. I defined frames on my slides, but now one slide > >> appears with frame and empty, the second one appears with text > >> (without frame), etc. > > Guenter> From the attached file I guess, that the problem arises in > Guenter> LyX 1.2.0 I have written seminar.layout for 1.1.6. I just had another look at the example file from the LyX-tips: It is for 1.2.0 and it uses a seminar.layout that is different from mine, i.e. the one in the contributed stuff section. (I wonder, if the new layout is included in the standard 1.2.0 distribution. Also, I wonder whether it was written based on my layout or not knowing it (or even before)...) The two layouts have a different philosopy in dealing with the bug 341: environment style vs. command styles for \begin{slide}, \end{slide} -> the two are non-compatible and must not be confused! :-( -> documents writtem with my seminar.layout will not work with the 1.2.0 layout and vice versa. :-( Guenter -- G.Milde at physik.tu-dresden.de
Re: seminar.layout
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> My problem is not really the new seminar layout but the that it Lars> is introduced in 1.1.6fixX Agreed. Lars> IMO _no_ development should be done for 1.1.6, no code, no Lars> features, no enhanced layouts. _only_ bugfixing. The only exception I see to that is new documentation, translation, keymaps or textclasses (provided we now they cause absolutely no problem). JMarc
Re: seminar.layout
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Mon, Feb 05, 2001 at 09:53:16PM +0100, Lars Gullik Bjønnes wrote: | > Dekel Tsur <[EMAIL PROTECTED]> writes: | > | > | On Mon, Feb 05, 2001 at 09:31:34PM +0100, Lars Gullik Bj?nnes wrote: | > | > | > | > And why isn't it soon enough to provide this in 1.2.x? | > | | > | It is better sooner than later (so fewer people will have documents with the | > | old layout). | > | > And what then about the even newer and better layout in 1.2.x? | | Then you will also have a new slides.layout. but the slides stayed unchanged through 1.1.6. | The problem of converting from old to new slides.layout, | is the same as the problem for converting new to newer seminar.layout. My problem is not really the new seminar layout but the that it is introduced in 1.1.6fixX I'd like it a lot more if this effort were directed at making 1.2.x happen sooner and to have better (core) support for different latex documentclasses. IMO _no_ development should be done for 1.1.6, no code, no features, no enhanced layouts. _only_ bugfixing. And all changes to 1.1.6 that is not strictly a bug fix should go through Jean-Marc. Lgb
Re: seminar.layout
On Mon, Feb 05, 2001 at 09:53:16PM +0100, Lars Gullik Bjønnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > > | On Mon, Feb 05, 2001 at 09:31:34PM +0100, Lars Gullik Bj?nnes wrote: > | > > | > And why isn't it soon enough to provide this in 1.2.x? > | > | It is better sooner than later (so fewer people will have documents with the > | old layout). > > And what then about the even newer and better layout in 1.2.x? Then you will also have a new slides.layout. The problem of converting from old to new slides.layout, is the same as the problem for converting new to newer seminar.layout.
Re: seminar.layout
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Mon, Feb 05, 2001 at 09:31:34PM +0100, Lars Gullik Bjønnes wrote: | > | > And why isn't it soon enough to provide this in 1.2.x? | | It is better sooner than later (so fewer people will have documents with the | old layout). And what then about the even newer and better layout in 1.2.x? Lgb
Re: seminar.layout
On Mon, Feb 05, 2001 at 09:31:34PM +0100, Lars Gullik Bjønnes wrote: > > And why isn't it soon enough to provide this in 1.2.x? It is better sooner than later (so fewer people will have documents with the old layout).
Re: seminar.layout
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Mon, Feb 05, 2001 at 12:46:25PM +0100, Lars Gullik Bjønnes wrote: | > | | > | If there are no objections, I will put my new layout in CVS (HEAD and 1.1.6). | > | > Why in 1.1.6? Is it backwards compabible with the old lyout? | | Because the current layout is very hard to use, and we should provide a | better one. (the new layout is not backwards compatible) And why isn't it soon enough to provide this in 1.2.x? And at that point we should have better support for the features that seminar really require. Lgb
Re: seminar.layout
On Mon, Feb 05, 2001 at 12:46:25PM +0100, Lars Gullik Bjønnes wrote: > | > | If there are no objections, I will put my new layout in CVS (HEAD and 1.1.6). > > Why in 1.1.6? Is it backwards compabible with the old lyout? Because the current layout is very hard to use, and we should provide a better one. (the new layout is not backwards compatible)
Re: seminar.layout
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Fri, Jan 05, 2001 at 08:59:03PM +0200, Dekel Tsur wrote: | > The current layout file for the seminar class is very awkward to use: | > 1. A comment paragraph is needed between every two slides | > 2. It is hard to put slide headings (they need to be nested) | > | > I've tried to make a better layout file by using the same hack used in | > slides.layout. However, the new layout is incompatible with the old one, | > but I don't think this should be a great problem because I conjecture that | > not many people have used the old layout. | | If there are no objections, I will put my new layout in CVS (HEAD and 1.1.6). Why in 1.1.6? Is it backwards compabible with the old lyout? Lgb
Re: seminar.layout
On Fri, Jan 05, 2001 at 08:59:03PM +0200, Dekel Tsur wrote: > The current layout file for the seminar class is very awkward to use: > 1. A comment paragraph is needed between every two slides > 2. It is hard to put slide headings (they need to be nested) > > I've tried to make a better layout file by using the same hack used in > slides.layout. However, the new layout is incompatible with the old one, > but I don't think this should be a great problem because I conjecture that > not many people have used the old layout. If there are no objections, I will put my new layout in CVS (HEAD and 1.1.6).
Re: seminar.layout
John jumbled, > On Wed, Jan 10, 2001 at 01:26:25PM -0500, hawk wrote: > > I've never been able to get this one to work, eiher way. I've > > always ended up giving them to secretaries to separate the > > slides and notes :) > Well, it *used* to work a couple of years ago. Don't know what's > changed in the interim... I want to say that I first tried to use it for a conference paper in summer '97, but I'm not certain. I know that by Fall 2000 I was trying again, "hoping against hope" because I hadn't been able to get it to work in the past. I've also tried exporting to latex, but that didn't work either. rick
Re: seminar.layout
On Sun, Jan 07, 2001 at 12:16:08AM +0100, Lars Gullik Bjønnes wrote: > but note that slides is also lacking a lot and that is because of > lacking featrues in LyX. In fact, when I last tried to use "slides" in LyX, the "\onlyslide" and "\onlynote" features of "slides.cls" flat-out refused to work. The file wouldn't LaTeX, due to some mysterious error. Comment out "\onlyslide" and/or "\onlynote" from the preamble, and the file LaTeX's just fine. I was looking over the "slides.layout" file. The TeX looks okay, but it may not be what I originally wrote many moons ago. Even if it is, it seems that some change ... someplace ... creates a "*.tex" file that breaks "slides.cls". -- John Weiss "Not through coersion. Not by force. But by compassion. By affection. And, a small fish." -His Holiness, the 14th Dalai Lama
Re: seminar.layout
On Sun, Jan 07, 2001 at 12:16:08AM +0100, Lars Gullik Bj&resh;nnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > | > I'd rather enhance lyx to give better support for these kinds of > | > documentclasses. > | > | But how much time this will take ? > > The NEW_INSETS will pave the way for this. Do you mean we will have a slide insets ? Also, will the current paragraph style mechanism be replaced by insets ? (i.e, title inset, abstract inset, enumerate inset etc.) ? > | Until we have this, we should make seminar layout work as the slides layout > | for consistency. We also get the ability to switch a document from slides to > | seminar preserving the structure. > > please. I've already sent an improved layout for seminar, and I think it should go in.
Re: seminar.layout
Dekel Tsur <[EMAIL PROTECTED]> writes: | > | I've tried to make a better layout file by using the same hack used in | > | slides.layout. When I wrote seminar.layout it was just to show that seminar could also be used with LyX, I didn't put much effort in and actually hoped that somebody woudld refine it. | > | > I'd rather enhance lyx to give better support for these kinds of | > documentclasses. | | But how much time this will take ? The NEW_INSETS will pave the way for this. | Until we have this, we should make seminar layout work as the slides layout | for consistency. We also get the ability to switch a document from slides to | seminar preserving the structure. please. but note that slides is also lacking a lot and that is because of lacking featrues in LyX. Lgb
Re: seminar.layout
On Sat, Jan 06, 2001 at 09:17:55PM +0100, Lars Gullik Bj&resh;nnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > > | The current layout file for the seminar class is very awkward to use: > | 1. A comment paragraph is needed between every two slides > | 2. It is hard to put slide headings (they need to be nested) > | > | I've tried to make a better layout file by using the same hack used in > | slides.layout. > > I'd rather enhance lyx to give better support for these kinds of > documentclasses. But how much time this will take ? Until we have this, we should make seminar layout work as the slides layout for consistency. We also get the ability to switch a document from slides to seminar preserving the structure.
Re: seminar.layout
Dekel Tsur <[EMAIL PROTECTED]> writes: | The current layout file for the seminar class is very awkward to use: | 1. A comment paragraph is needed between every two slides | 2. It is hard to put slide headings (they need to be nested) | | I've tried to make a better layout file by using the same hack used in | slides.layout. I'd rather enhance lyx to give better support for these kinds of documentclasses. Lgb
seminar.layout
The current layout file for the seminar class is very awkward to use: 1. A comment paragraph is needed between every two slides 2. It is hard to put slide headings (they need to be nested) I've tried to make a better layout file by using the same hack used in slides.layout. However, the new layout is incompatible with the old one, but I don't think this should be a great problem because I conjecture that not many people have used the old layout. #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{seminar} # Author : Lars Gullik Bj&resh;nnes <[EMAIL PROTECTED]> # Heavily modified by Dekel Tsur <[EMAIL PROTECTED]> # General textclass parameters Sides 1 Columns 1 ClassOptions FontSize 8|9|10|11|12|14|17 Other slidesec End # # Layout-specific preamble # # Preamble \noxcomment \newcounter{slidetype} \setcounter{slidetype}{0} \newcommand{\lyxendslide}{ \ifcase \value{slidetype}% \or % no action for 0 \end{slide} \or% \end{slide*} \or% \end{note} \fi% \setcounter{slidetype}{0} } \AtEndDocument{\lyxendslide} EndPreamble # # Standard style definition # Always comes first. # Style Standard MarginStatic LatexType Paragraph LatexName dummy ParIndent M ParSkip 0.4 Align Block AlignPossible Block, Left, Right, Center LabelType No_Label End ## # # New Definitions for Slides # ## Style LandscapeSlide LatexType Command LatexName lyxnewslide KeepEmpty 1 MarginStatic NextNoIndent 1 ParSkip 0.4 TopSep1.0 BottomSep 1.0 ParSep0.5 Align Left AlignPossible Left LabelType Static LabelBottomSep0.5 LeftMargin"MMLandscape Slide" LabelString "__Landscape Slide: " Font Family Typewriter Series Bold SizeLarge Color Blue EndFont LabelFont Family Typewriter SizeLarge Color Blue EndFont Preamble \newcommand{\lyxnewslide}[1]{ \lyxendslide \setcounter{slidetype}{1} \begin{slide} } EndPreamble End Style PortraitSlide LatexType Command LatexName lyxnewportraitslide KeepEmpty 1 MarginStatic NextNoIndent 1 ParSkip 0.4 TopSep1.0 BottomSep 1.0 ParSep0.5 Align Left AlignPossible Left LabelType Static LabelBottomSep0.5 LeftMargin"MMPortrait Slide" LabelString "__Portrait Slide: " Font Family Typewriter Series Bold SizeLarge Color Blue EndFont LabelFont Family Typewriter SizeLarge Color Blue EndFont Preamble \newcommand{\lyxnewportraitslide}[1]{ \lyxendslide \setcounter{slidetype}{2} \begin{slide*} } EndPreamble End Style Note LatexType Command LatexName lyxnewnote KeepEmpty 1 MarginStatic NextNoIndent 1 ParSkip 0.4 TopSep1.0 BottomSep 1.0 ParSep0.5 Align Left AlignPossible Left LabelType Static LabelBottomSep0.5 LeftMarginMMNote LabelString "..Note: " Font Family Typewriter Series Bold SizeLarge Shape Italic Color Magenta EndFont LabelFont Family Typewriter Series Bold SizeLarge Shape Italic Color Magenta EndFont Preamble \newcommand{\lyxnewnote}[1]{ \lyxendslide \setcounter{slidetype}{3} \begin{note} } EndPreamble End Style SlideHeading MarginDynamic LatexType Command LatexName slideheading NeedProtect 1 NextNoIndent 1 ParSkip 0.4 TopSep1.3 BottomSep 0.7 ParSep0.7 Align Center AlignPossible Block, Center, Left LabelType No_Label Font Series Bold SizeLarger EndFont End Style SlideSubHeading MarginDynamic LatexType Command LatexName slidesubheading NeedProtect 1 NextNoIndent 1 ParSkip 0.4 TopSep0.9 BottomSep 0.5 ParSep0.5 Align
Re: seminar.layout
Larry Marso <[EMAIL PROTECTED]> writes: | Incorporation of this package would be *much* appreciated here. | | On Fri, Mar 03, 2000 at 07:49:07PM +0100, Lars Gullik Bjønnes wrote: | > | > I had a quick look at this class and realized that to support this is | > LyX is very _easy_, albeit _very_ simple support. To have a simple support for seminar is quite easy. To have _good_ support with the correct visual clues and the option to set options (bla bla) will require some exensive changes (additions) to LyX. Lgb
Re: seminar.layout
Incorporation of this package would be *much* appreciated here. On Fri, Mar 03, 2000 at 07:49:07PM +0100, Lars Gullik Bjønnes wrote: > > I had a quick look at this class and realized that to support this is > LyX is very _easy_, albeit _very_ simple support.
seminar.layout
I had a quick look at this class and realized that to support this is LyX is very _easy_, albeit _very_ simple support. The seminar class is in effect just a article class with two environments added: slide and slide* (Landscape and Portrait slides) To make a simple text slide in latex you do: \begin{slide} This is a short and simple slide. \end{slide} The problem arises when you have to have a latex command or environment as the first item in the slide \begin{slide} \slideheading{This Seminar is About} ... \end{slide} In the lyx layout file this has to be resolved by KeepEmpty 1 or a protected space in the LyX file. Also the depth button has be genrously(?) used to put the paragraphs/environments you want inside the float. To support the more advanced features of seminar we need a more powerfull layout "format". This means that we must be able in the layout file to specify options that the user can choose between (for seminar this would be for class options: article,slidesonly,notesonly)) This would make the Layout->Document be dynamic in respect to the layout file. Have a look at seminar.cls and the documentation and think on how this could be done in LyX. Seminar seems to me to give very nice slides and it is really easy to use. (we need some more visual clues on the LyX workarea too...) Lgb