Re: lyc-code and latex2html

2002-11-26 Thread Robin Turner
Manfred Wischin wrote:

Hi!

How do I make latex2html output lyx-code sections correctly (single
linespace and typewriter font)?

I spent the last nine hours searching the web, the mailingslist archives,
google groups, etc, and tried anything i could think of, but no avail!
Maybe i missed something because it seems to me that this problem should be
common to everybody writing some technical documentation with lyx.

Has anybody got this working?



I did it with CSS.  latex2html generates a style sheet, so you can just 
alter the settings for whatever CSS paragraph type your code is rendered 
in. Inserting
font-family: Courier; typewriter;
should do the trick.

Robin


--
Do unto others what you would like others to do unto you. And have fun 
doing it.
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: lyc-code and latex2html

2002-11-26 Thread Robin Turner
Manfred Wischin wrote:

Hi!

How do I make latex2html output lyx-code sections correctly (single
linespace and typewriter font)?

I spent the last nine hours searching the web, the mailingslist archives,
google groups, etc, and tried anything i could think of, but no avail!
Maybe i missed something because it seems to me that this problem should be
common to everybody writing some technical documentation with lyx.

Has anybody got this working?



I did it with CSS.  latex2html generates a style sheet, so you can just 
alter the settings for whatever CSS paragraph type your code is rendered 
in. Inserting
font-family: Courier; typewriter;
should do the trick.

Robin


--
Do unto others what you would like others to do unto you. And have fun 
doing it.
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: lyc-code and latex2html

2002-11-26 Thread Robin Turner
Manfred Wischin wrote:

Hi!

How do I make latex2html output lyx-code sections correctly (single
linespace and typewriter font)?

I spent the last nine hours searching the web, the mailingslist archives,
google groups, etc, and tried anything i could think of, but no avail!
Maybe i missed something because it seems to me that this problem should be
common to everybody writing some technical documentation with lyx.

Has anybody got this working?



I did it with CSS.  latex2html generates a style sheet, so you can just 
alter the settings for whatever CSS paragraph type your code is rendered 
in. Inserting
font-family: Courier; typewriter;
should do the trick.

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



lyc-code and latex2html

2002-11-25 Thread Manfred Wischin
Hi!

How do I make latex2html output lyx-code sections correctly (single
linespace and typewriter font)?

I spent the last nine hours searching the web, the mailingslist archives,
google groups, etc, and tried anything i could think of, but no avail!
Maybe i missed something because it seems to me that this problem should be
common to everybody writing some technical documentation with lyx.

Has anybody got this working?

Thanks in advance
Manfred








Re: lyc-code and latex2html

2002-11-25 Thread Bo Peng
On Tue, Nov 26, 2002 at 03:17:39AM +0100, Manfred Wischin wrote:
 How do I make latex2html output lyx-code sections correctly (single
 linespace and typewriter font)?

When I had the same problem, I turned to quote environment and applied 
tt font manually. I guess that latex2html only recognize standard latex 
environments.

-- 
Bo Peng



Re: lyc-code and latex2html

2002-11-25 Thread Manfred Wischin
Thanks a lot! You saved my day er.. night!!!

Changing individual words to typewriter does not work, but applying it to
whole paragraphs is running perfectly!

I tried to incoperate this in layouts/lyxmacros.inc for Lyx-code but on one
hand I cannot set a font for a whole environment and if a change it to a
command i have the spaces again because then each paragraph is individually
assigned to \lyxcode. Its a pitty. Maybe the Lyx Tex Output for Lyx-Code is
ok and latex2html is faulty.

Anyway I can happily live with your suggested solution.
thanks
Manfred


- Original Message -
From: Bo Peng [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 3:30 AM
Subject: Re: lyc-code and latex2html


 On Tue, Nov 26, 2002 at 03:17:39AM +0100, Manfred Wischin wrote:
  How do I make latex2html output lyx-code sections correctly (single
  linespace and typewriter font)?

 When I had the same problem, I turned to quote environment and applied
 tt font manually. I guess that latex2html only recognize standard latex
 environments.

 --
 Bo Peng







lyc-code and latex2html

2002-11-25 Thread Manfred Wischin
Hi!

How do I make latex2html output lyx-code sections correctly (single
linespace and typewriter font)?

I spent the last nine hours searching the web, the mailingslist archives,
google groups, etc, and tried anything i could think of, but no avail!
Maybe i missed something because it seems to me that this problem should be
common to everybody writing some technical documentation with lyx.

Has anybody got this working?

Thanks in advance
Manfred








Re: lyc-code and latex2html

2002-11-25 Thread Bo Peng
On Tue, Nov 26, 2002 at 03:17:39AM +0100, Manfred Wischin wrote:
 How do I make latex2html output lyx-code sections correctly (single
 linespace and typewriter font)?

When I had the same problem, I turned to quote environment and applied 
tt font manually. I guess that latex2html only recognize standard latex 
environments.

-- 
Bo Peng



Re: lyc-code and latex2html

2002-11-25 Thread Manfred Wischin
Thanks a lot! You saved my day er.. night!!!

Changing individual words to typewriter does not work, but applying it to
whole paragraphs is running perfectly!

I tried to incoperate this in layouts/lyxmacros.inc for Lyx-code but on one
hand I cannot set a font for a whole environment and if a change it to a
command i have the spaces again because then each paragraph is individually
assigned to \lyxcode. Its a pitty. Maybe the Lyx Tex Output for Lyx-Code is
ok and latex2html is faulty.

Anyway I can happily live with your suggested solution.
thanks
Manfred


- Original Message -
From: Bo Peng [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 3:30 AM
Subject: Re: lyc-code and latex2html


 On Tue, Nov 26, 2002 at 03:17:39AM +0100, Manfred Wischin wrote:
  How do I make latex2html output lyx-code sections correctly (single
  linespace and typewriter font)?

 When I had the same problem, I turned to quote environment and applied
 tt font manually. I guess that latex2html only recognize standard latex
 environments.

 --
 Bo Peng







lyc-code and latex2html

2002-11-25 Thread Manfred Wischin
Hi!

How do I make latex2html output lyx-code sections correctly (single
linespace and typewriter font)?

I spent the last nine hours searching the web, the mailingslist archives,
google groups, etc, and tried anything i could think of, but no avail!
Maybe i missed something because it seems to me that this problem should be
common to everybody writing some technical documentation with lyx.

Has anybody got this working?

Thanks in advance
Manfred








Re: lyc-code and latex2html

2002-11-25 Thread Bo Peng
On Tue, Nov 26, 2002 at 03:17:39AM +0100, Manfred Wischin wrote:
> How do I make latex2html output lyx-code sections correctly (single
> linespace and typewriter font)?

When I had the same problem, I turned to quote environment and applied 
tt font manually. I guess that latex2html only recognize standard latex 
environments.

-- 
Bo Peng



Re: lyc-code and latex2html

2002-11-25 Thread Manfred Wischin
Thanks a lot! You saved my day er.. night!!!

Changing individual words to typewriter does not work, but applying it to
whole paragraphs is running perfectly!

I tried to incoperate this in layouts/lyxmacros.inc for Lyx-code but on one
hand I cannot set a font for a whole environment and if a change it to a
command i have the spaces again because then each paragraph is individually
assigned to \lyxcode. Its a pitty. Maybe the Lyx Tex Output for Lyx-Code is
ok and latex2html is faulty.

Anyway I can happily live with your suggested solution.
thanks
Manfred


- Original Message -
From: "Bo Peng" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 3:30 AM
Subject: Re: lyc-code and latex2html


> On Tue, Nov 26, 2002 at 03:17:39AM +0100, Manfred Wischin wrote:
> > How do I make latex2html output lyx-code sections correctly (single
> > linespace and typewriter font)?
>
> When I had the same problem, I turned to quote environment and applied
> tt font manually. I guess that latex2html only recognize standard latex
> environments.
>
> --
> Bo Peng
>
>