Re: Using a new class

2000-09-16 Thread John Culleton

Frederic Leymarie wrote:
 
 Greetings
 
 I have to use a class provided by Springer Verlag for LaTeX2e
 llncs.cls
 
 I am only given this class file; from:
 
 http://www.springer.de/comp/lncs/authors.html
 
 I have tried input this file from my preamble in LyX but that does not do the trick.
 
 What do I need to do to make this class features available in my LyX (article) 
document?
 e.g., the command \institute is defined in there.
 
 thanks
 
 --
 

One option, tedious but foolproof. Create the doc as an article, export
it as a LaTeX file, and then change the class header. Enter special
commands like \institute as regular text in the Lyx original; then edit
them to real commands in the LaTeX output. With Vim this is just doing a
single mass change, i.e.,

:%s/textbackslash{}//g

This preserves much of the value of Lyx in that you do on screen WYSIWYM
editing. But the final step is reediting the LaTeX output in a text
editor to use your required class. Remember Lyx is at the bottom just a
front end to LaTeX. You can output the text and deal with LaTeX directly
if needed.
-- 
John Culleton - Please visit http://ccpl.carr.org/~john/



Re: Using a new class

2000-09-16 Thread Herbert Voss

Frederic Leymarie wrote:
 
 Greetings
 
 I have to use a class provided by Springer Verlag for LaTeX2e
 llncs.cls
 
 I am only given this class file; from:
 
 http://www.springer.de/comp/lncs/authors.html
 
 I have tried input this file from my preamble in LyX but that does not do the trick.
 
 What do I need to do to make this class features available in my LyX (article) 
document?
 e.g., the command \institute is defined in there.

llncs.cls is very similar to ejour2.cls, which is also powered by
Springer and it's part of lyx!
have a look at it.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss/lyx/



Re: Optional short headings

2000-09-16 Thread Herbert Voss

Ben Marriage wrote:
 
 Hi everyone,
 
 Is it possible to get optional short headings into LyX somehow. e.g. if
 I have a chapter title: Summary  Conclusions, and a section heading
 called: An operational system, then when I use fancy headings, the text
 for each heading over-run each other. In Latex it is possible to use an
 optional argument to the heading title (in sqr brackets) which will be
 used in the contents page and in the page header.
 i.e.
 
 \section[Short]{Very long winded title that might over-run}
 
 Is it possible to supply a short header title within LyX (without
 resorting to raw Latex)

just under your chapter write in tex(red)
\chaptermark{My very short, sometimes extrashort Sectiontitle ...}  
:-))

or for a section

\sectionmark{myTitle}

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss/lyx/



\bind american keymap-primary in lyxrc seems broken

2000-09-16 Thread Christopher

Version: LyX 1.1.5fix1

Subject says it all: the line,

\bind "american" "keymap-primary" 

in my lyxrc file provokes the following message at startup:

LyX: Invalid key sequence "american" [around line ...] 
LyXComm: Pipe /home.../.lyxpipe.in already exists.
If no other LyX program...

(that last bit is something else, but I included it for good measure)

Is there a trick to this? If it's a bug, then is there a workaround?




Re: Using a new class

2000-09-16 Thread John Culleton

Frederic Leymarie wrote:
 
 Greetings
 
 I have to use a class provided by Springer Verlag for LaTeX2e
 llncs.cls
 
 I am only given this class file; from:
 
 http://www.springer.de/comp/lncs/authors.html
 
 I have tried input this file from my preamble in LyX but that does not do the trick.
 
 What do I need to do to make this class features available in my LyX (article) 
document?
 e.g., the command \institute is defined in there.
 
 thanks
 
 --
 

One option, tedious but foolproof. Create the doc as an article, export
it as a LaTeX file, and then change the class header. Enter special
commands like \institute as regular text in the Lyx original; then edit
them to real commands in the LaTeX output. With Vim this is just doing a
single mass change, i.e.,

:%s/textbackslash{}//g

This preserves much of the value of Lyx in that you do on screen WYSIWYM
editing. But the final step is reediting the LaTeX output in a text
editor to use your required class. Remember Lyx is at the bottom just a
front end to LaTeX. You can output the text and deal with LaTeX directly
if needed.
-- 
John Culleton - Please visit http://ccpl.carr.org/~john/



Re: Using a new class

2000-09-16 Thread Herbert Voss

Frederic Leymarie wrote:
 
 Greetings
 
 I have to use a class provided by Springer Verlag for LaTeX2e
 llncs.cls
 
 I am only given this class file; from:
 
 http://www.springer.de/comp/lncs/authors.html
 
 I have tried input this file from my preamble in LyX but that does not do the trick.
 
 What do I need to do to make this class features available in my LyX (article) 
document?
 e.g., the command \institute is defined in there.

llncs.cls is very similar to ejour2.cls, which is also powered by
Springer and it's part of lyx!
have a look at it.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss/lyx/



Re: Optional short headings

2000-09-16 Thread Herbert Voss

Ben Marriage wrote:
 
 Hi everyone,
 
 Is it possible to get optional short headings into LyX somehow. e.g. if
 I have a chapter title: Summary  Conclusions, and a section heading
 called: An operational system, then when I use fancy headings, the text
 for each heading over-run each other. In Latex it is possible to use an
 optional argument to the heading title (in sqr brackets) which will be
 used in the contents page and in the page header.
 i.e.
 
 \section[Short]{Very long winded title that might over-run}
 
 Is it possible to supply a short header title within LyX (without
 resorting to raw Latex)

just under your chapter write in tex(red)
\chaptermark{My very short, sometimes extrashort Sectiontitle ...}  
:-))

or for a section

\sectionmark{myTitle}

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss/lyx/



\bind american keymap-primary in lyxrc seems broken

2000-09-16 Thread Christopher

Version: LyX 1.1.5fix1

Subject says it all: the line,

\bind "american" "keymap-primary" 

in my lyxrc file provokes the following message at startup:

LyX: Invalid key sequence "american" [around line ...] 
LyXComm: Pipe /home.../.lyxpipe.in already exists.
If no other LyX program...

(that last bit is something else, but I included it for good measure)

Is there a trick to this? If it's a bug, then is there a workaround?




Re: Using a new class

2000-09-16 Thread John Culleton

Frederic Leymarie wrote:
> 
> Greetings
> 
> I have to use a class provided by Springer Verlag for LaTeX2e
> llncs.cls
> 
> I am only given this class file; from:
> 
> http://www.springer.de/comp/lncs/authors.html
> 
> I have tried input this file from my preamble in LyX but that does not do the trick.
> 
> What do I need to do to make this class features available in my LyX (article) 
>document?
> e.g., the command \institute is defined in there.
> 
> thanks
> 
> --
> 

One option, tedious but foolproof. Create the doc as an article, export
it as a LaTeX file, and then change the class header. Enter special
commands like \institute as regular text in the Lyx original; then edit
them to real commands in the LaTeX output. With Vim this is just doing a
single mass change, i.e.,

:%s/textbackslash{}//g

This preserves much of the value of Lyx in that you do on screen WYSIWYM
editing. But the final step is reediting the LaTeX output in a text
editor to use your required class. Remember Lyx is at the bottom just a
front end to LaTeX. You can output the text and deal with LaTeX directly
if needed.
-- 
John Culleton -> Please visit http://ccpl.carr.org/~john/



Re: Using a new class

2000-09-16 Thread Herbert Voss

Frederic Leymarie wrote:
> 
> Greetings
> 
> I have to use a class provided by Springer Verlag for LaTeX2e
> llncs.cls
> 
> I am only given this class file; from:
> 
> http://www.springer.de/comp/lncs/authors.html
> 
> I have tried input this file from my preamble in LyX but that does not do the trick.
> 
> What do I need to do to make this class features available in my LyX (article) 
>document?
> e.g., the command \institute is defined in there.

llncs.cls is very similar to ejour2.cls, which is also powered by
Springer and it's part of lyx!
have a look at it.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss/lyx/



Re: Optional short headings

2000-09-16 Thread Herbert Voss

Ben Marriage wrote:
> 
> Hi everyone,
> 
> Is it possible to get optional short headings into LyX somehow. e.g. if
> I have a chapter title: Summary & Conclusions, and a section heading
> called: An operational system, then when I use fancy headings, the text
> for each heading over-run each other. In Latex it is possible to use an
> optional argument to the heading title (in sqr brackets) which will be
> used in the contents page and in the page header.
> i.e.
> 
> \section[Short]{Very long winded title that might over-run}
> 
> Is it possible to supply a short header title within LyX (without
> resorting to raw Latex)

just under your chapter write in tex(red)
\chaptermark{My very short, sometimes extrashort Sectiontitle ...}  
:-))

or for a section

\sectionmark{myTitle}

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss/lyx/



\bind "american" "keymap-primary" in lyxrc seems broken

2000-09-16 Thread Christopher

Version: LyX 1.1.5fix1

Subject says it all: the line,

\bind "american" "keymap-primary" 

in my lyxrc file provokes the following message at startup:

LyX: Invalid key sequence "american" [around line ...] 
LyXComm: Pipe /home.../.lyxpipe.in already exists.
If no other LyX program...

(that last bit is something else, but I included it for good measure)

Is there a trick to this? If it's a bug, then is there a workaround?