Re: URLs for html?

2000-09-05 Thread Jean-Pierre.Chretien


Date: Mon, 4 Sep 2000 14:34:56 -0500
To: [EMAIL PROTECTED]
Subject: URLs for html?
User-Agent: Mutt/1.2.5i
From: Lance Simmons [EMAIL PROTECTED]

When I turn a lyx-generated .tex file into an html file
using latex2html, the URL's don't come out right. Is
there some better tool for turning latex files, or
preferably .lyx files, into html files with properly
formed urls?

Lance Simmons

The point is that the translation requires TWO arguments
(one for the anchor and one for the URL) which exist in the
LyX URL popup, but are not readily used by the LaTeX export,
which simply uses url.sty for a correct typography of long
words.

latex2html provides html.sty which allows fancier typesetting
both in LaTeX and HTML: typically, typeset URLs as footnotes pointed
out by the anchor in the LaTeX typesetting, and « normal » anchor/URL
HTML mechnism in the HTML document.

Postprocessing seems currently the only way to use the full potential
of latex2html. I have a script here, not extensively tested I fear.

-- 
Jean-Pierre




RE: LyX tables

2000-09-05 Thread Juergen Vigna

Hello John!

On 05-Sep-2000 John O'Gorman wrote:
 I am trying to generate lyx documents as standard letters from an
 application.
 
 Can anyone explain to me the arrays of numbers in the .lyx file that
 appear with the  \LyXTable statement. e.g.
 3 5 0 0 -1 -1 -1 -1
[snip]
 0 8 1 0 0 0 0 "" ""
[snip]
 
 Where can I find a detailed explanation?

Bad NEWS:

  nowhere (well I know but it's a secret ;)!

Good NEWS:

  you shouldn't use that format for making a filter program anymore. From
  1.1.6 the LyXTable will vanish and there's only the LyXTabular and the
  InsetTabular. You'll want to try out the latest cvs version and have a
  look at the new xml-like format for tabulars, which is IMO self explaining!

Greets Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

I was at this restaurant.  The sign said "Breakfast Anytime."  So I
ordered French Toast in the Rennaissance.
-- Steven Wright




Re: bullets AND French language

2000-09-05 Thread Jean-Marc Lasgouttes

 "Herbert" == Herbert Voss [EMAIL PROTECTED] writes:

Herbert Lorint HENDSCHEL wrote:
 Is there any way to force items to appear with bullets instead?

layout- document-bullets

No, it does not work with french package, which overrides the bullets
at \begin{document} time. After studying a bit the source of
frenchb.ldf, it seems that using the option "noextrasfrancais" (use
"francais" as language) in Layout-Document-Extra_Options should do
the trick.

JMarc



Re: bullets AND French language

2000-09-05 Thread Jean-Marc Lasgouttes

 "ben" == ben  [EMAIL PROTECTED] writes:

ben Well, a possibility is to use a patched french package.

Why? the noextrasfrench command seems to do the trick.

JMarc 



Re: hollywood template.

2000-09-05 Thread John Culleton

"Garst R. Reese" wrote:
 
 Allan Rae wrote:
 
  You should take direct to the master: Garst Reece.
  He built all the Hollywood and Broadway stuff.
 
  On Mon, 4 Sep 2000, John Culleton wrote:
 
   Thanks to Herb V. I have the hollywood template working now. I increased
   the right margin to one inch, to meet the standards I have read.
   Hollywood (the place) is very fussy about format.
 Yes, I'll check the margin issue.
  
   I still have one major problem with the hollywood class. The header has
   a rule! That is verboten in Hollywood. I tried uncommenting some lines
   in the hollywood.cls file but that gave me errors. I am a long time
   TeXer but LaTeX is not my best friend. So I don't know what to do to
   kill the rule. Any suggestions?
 I was told that the title was supposed to be underlined. To change it,
 Edit the hollywood.cls file.
 Search for the word underline.
 replace \underline{\@title}
 with
 \@title
 then texhash and reconfigure lyx.
   --
   John Culleton - Please visit http://ccpl.carr.org/~john/
 
 Thanks,
 Garst

I wrote you separately about the margins. My authorities want 1 inch on
the right, not .75 inch. I can fix that.

 It is the horizontal bar on each subsequent page in the header where
the pagenumber appears that is the problem. I know how to reconfigure
the headline in TeX but not in LaTeX.

 AFAIK underlining the title is optional. My example from the academy
folks does not show it. 

That texhash--reconfigure sequence should be writ large in the install
instructions! That was the first problem I overcame thanks to Herb V.
-- 
John Culleton - Please visit http://ccpl.carr.org/~john/



Re: hollywood template.

2000-09-05 Thread Herbert Voss

John Culleton wrote:
 
 Thanks to Herb V. I have the hollywood template working now. I increased
 the right margin to one inch, to meet the standards I have read.
 Hollywood (the place) is very fussy about format.
 
 I still have one major problem with the hollywood class. The header has
 a rule! That is verboten in Hollywood. I tried uncommenting some lines
 in the hollywood.cls file but that gave me errors. I am a long time
 TeXer but LaTeX is not my best friend. So I don't know what to do to
 kill the rule. Any suggestions?

\renewcommand\headrulewidth{0pt}

Herbert

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




Key binding map

2000-09-05 Thread John Culleton

I have a key binding map "hollywood.bind" in the appropriate directory.
When I try to activate this map via options- keyboard I get the error
message "error keymap not found."

Obviously there is a trick to it. I just wish all this kind of stuff was
handled by a default at installation. I don't find any other files
(other than in Lyx that is) with a .bind suffix so moving files around
and re-texhashing probably won't help.  Any suggestions?


-- 
John Culleton - Please visit http://ccpl.carr.org/~john/



New Templates

2000-09-05 Thread Murilo Juchem

Hi.

I have a short experience using LyX and I need to
install another document class, since I have the
.cls and .layout files.

Thank you,

Murilo Juchem
[EMAIL PROTECTED]
Ms.C. Student



Re: New Templates

2000-09-05 Thread Jean-Marc Lasgouttes

 "Murilo" == Murilo Juchem [EMAIL PROTECTED] writes:

Murilo Hi. I have a short experience using LyX and I need to install
Murilo another document class, since I have the .cls and .layout
Murilo files.

This is explained in the Cistomization document, provided you have a
new enough version of LyX.

JMarc



Re: hollywood template.

2000-09-05 Thread John Culleton

Herbert Voss wrote:
 
 John Culleton wrote:
 
  Thanks to Herb V. I have the hollywood template working now. I increased
  the right margin to one inch, to meet the standards I have read.
  Hollywood (the place) is very fussy about format.
 
  I still have one major problem with the hollywood class. The header has
  a rule! That is verboten in Hollywood. I tried uncommenting some lines
  in the hollywood.cls file but that gave me errors. I am a long time
  TeXer but LaTeX is not my best friend. So I don't know what to do to
  kill the rule. Any suggestions?
 
 \renewcommand\headrulewidth{0pt}
 
 Herbert
 
 --
 [EMAIL PROTECTED]
 http://perce.de/voss/lyx/

Two commands  like that are commented out in hollywood.lyx. I
uncommented the first, went through texhash and reconfigure, called up
my document, and when I attempted to print a page got two errors. At the
very beginning I get the error:

 LaTeX Error: Command headrulewidth already defined
  \newcommand{headrulewidth}{0.4pt}

...and at what is probably a page break I get the error

LaTeX Error: \headrulewidth undefined
\renewcommand{\headrulewidth}{0pt}

In the hollywood.cls file there are only two references to
headrulewidth, both of the form: 

%\renewcommand{\headrulewidth}{0pt} 

...and both commented out. I uncommented one of these and that causes
the errors. BTW one of the instances of this command (the one I left as
a comment) is mispelled. 

There are no other references to headrulewidth in hollywood.cls so the
original setting (0.4pt) must be described in some other cls file or
whatever. 

If all else fails I will try a \def command and see if that works :-|



-- 
John Culleton - Please visit http://ccpl.carr.org/~john/



Re: hollywood template.

2000-09-05 Thread Jean-Pierre.Chretien


Date: Tue, 05 Sep 2000 10:52:19 -0400
From: John Culleton [EMAIL PROTECTED]
To: Herbert Voss [EMAIL PROTECTED], "[EMAIL PROTECTED]" 
[EMAIL PROTECTED]
Subject: Re: hollywood template.

Herbert Voss wrote:
[snip]

Two commands  like that are commented out in hollywood.lyx. I
uncommented the first, went through texhash and reconfigure, called up
my document, and when I attempted to print a page got two errors. At the
very beginning I get the error:

 LaTeX Error: Command headrulewidth already defined
  \newcommand{headrulewidth}{0.4pt}

...and at what is probably a page break I get the error

LaTeX Error: \headrulewidth undefined
  \renewcommand{\headrulewidth}{0pt}

In the hollywood.cls file there are only two references to
headrulewidth, both of the form: 

%\renewcommand{\headrulewidth}{0pt} 

...and both commented out. I uncommented one of these and that causes
the errors. BTW one of the instances of this command (the one I left as
a comment) is mispelled. 

There are no other references to headrulewidth in hollywood.cls so the
original setting (0.4pt) must be described in some other cls file or
whatever. 

If all else fails I will try a \def command and see if that works :-|

\headrulewith is a fancyhdr.sty command, so \renewcommand will fail
if fancyhdr is not called by hollywood.cls
If this class calls the older fancyheadings.sty, then the command is AFAIR
\setlength{\headrulewidth}{0pt}

-- 
Jean-Pierre






How to use gziped ps file?

2000-09-05 Thread Zailong Bian

Hello.

The size of ps file can be really huge.  I read long time ago, an external
program can be hooked up to latex so it will do gzip -dc when a *.gz file is
called.

Thanks.



Re: hollywood template.

2000-09-05 Thread Herbert Voss

John Culleton wrote:
 
 Herbert Voss wrote:
 
  John Culleton wrote:
  
   Thanks to Herb V. I have the hollywood template working now. I increased
   the right margin to one inch, to meet the standards I have read.
   Hollywood (the place) is very fussy about format.
  
   I still have one major problem with the hollywood class. The header has
   a rule! That is verboten in Hollywood. I tried uncommenting some lines
   in the hollywood.cls file but that gave me errors. I am a long time
   TeXer but LaTeX is not my best friend. So I don't know what to do to
   kill the rule. Any suggestions?
 
  \renewcommand\headrulewidth{0pt}
 
  Herbert
 
  --
  [EMAIL PROTECTED]
  http://perce.de/voss/lyx/
 
 Two commands  like that are commented out in hollywood.lyx. I
 uncommented the first, went through texhash and reconfigure, called up
 my document, and when I attempted to print a page got two errors. At the
 very beginning I get the error:
 
  LaTeX Error: Command headrulewidth already defined
   \newcommand{headrulewidth}{0.4pt}
 
 ...and at what is probably a page break I get the error
 
 LaTeX Error: \headrulewidth undefined
 \renewcommand{\headrulewidth}{0pt}
 
 In the hollywood.cls file there are only two references to
 headrulewidth, both of the form:
 
 %\renewcommand{\headrulewidth}{0pt}
 
 ...and both commented out. I uncommented one of these and that causes
 the errors. BTW one of the instances of this command (the one I left as
 a comment) is mispelled.

two solutions, both worked for me!

1. the \renewcommand in latex preamble of the lyx-file!!
not in the class-file, because this has (from my point of view)
a little bug.

2. choose the attached hollywood.class -file and try
again. i changed the postion of some commands, like 
\usepackage{fancyhdr}, and put the \renewcommand at the end,
so that everything works.

Herbert

p.s.: john,i'll send the class file with private mail to you,
so i save bandwidth, because it's not important for all.


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





Re: hollywood template.

2000-09-05 Thread Herbert Voss

"Jean-Pierre.Chretien" wrote:
 
 \headrulewith is a fancyhdr.sty command, so \renewcommand will fail
 if fancyhdr is not called by hollywood.cls

from hollywood.class:

...
\usepackage{fancyhdr}
\usepackage{extramarks}
\usepackage{ifthen}
\usepackage{lastpage}
\pagestyle{fancy}
...

but these commands were not at the beginning of the class-file.
i think, that this might be the problem, because it works
when i changed this. anyway ...

Herbert


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



Re: bullets AND French language

2000-09-05 Thread ben

Jean-Marc Lasgouttes a écrit :

  "ben" == ben  [EMAIL PROTECTED] writes:

 ben Well, a possibility is to use a patched french package.

 Why? the noextrasfrench command seems to do the trick.

 JMarc

What do you write exactly as extra option ?

With the francais package, I've tried "noextrasfrancais",
"noextrasfrench", "noextrafrenchb",
and nothing happenned.

When I exported the document as latex, there is the following at the top
of the latex output:
\documentclass[francais,noextrasfrancais]{book}

A latex compilation on this gives the following warning:

LaTeX Warning: Unused global option(s):
[noextrasfrancais].

The version I use is lyx-1.1.4.
Any idea ?





Re: Call for feature

2000-09-05 Thread Dekel Tsur

On Mon, Sep 04, 2000 at 02:42:34PM +0200, Aleksandr Konstantinov wrote:
 Hello, All.
 
  I finally moved from lyx-1.1.4 to lyx-1.1.5fix1  and liked it very
 much.
  Especially I liked the possibility to create multilingual documents.
 But
 this feature is not full without possibility to change inputencoding as
 well.
 Is it possible to include such feature in upcoming version ? 

I've already added this feature :)
However, the inputenc package allows changing the input encoding
only between paragraphs, (not inside paragraphs).
I tried to change the package to remove my limitations, but since I don't
know much about latex programming, I couldn't managed to do it without
adding some side-effects.
Does anyone knows how to do it correctly ?

I also want to add support for Omega, which I think allows processing of
utf8 encoded files. A patch from you will be welcomed.

 For 1.1.5 i can suggest the patch to add this feature and also to
 provide the 
 possibility to add more encoding and languages than precompiled in LyX.

I have planned to have the languages definition in a file and not hard-coded,
but I haven't done it yet. Again, a patch will be welcomed.



Ragged Right -- Possible?

2000-09-05 Thread Will Fischer

Is it possible to make Lyx or LaTex output ragged right (unjustified)
text?  Although I realize it is totally foreign to the spirit of
LaTex to do it, the journal to which I am submitting insists upon
it. (Why?  I can't say).

advanTHANKSce,
 
Will Fischer   
Biology Department  [EMAIL PROTECTED]
Indiana University  Lab:812-855-2549
Jordan Hall 142 FAX:812-855-6705
1001 E. Third Street
Bloomington, IN  47405-3700 USA



Re: Ragged Right -- Possible?

2000-09-05 Thread Andreas Deininger

On Tue, 5 Sep 2000, Will Fischer wrote:

 Is it possible to make Lyx or LaTex output ragged right (unjustified)
 text?

Yes, it is!

Just write \usepackage[ragged2e]{raggedr} in the preamble of your document
(Layout-Latex-Preamble), that's it!

(Of course you have to install ragged2e.sty and raggedr.sty if they are
not part of your distribution).

Or: Use Format-Paragraph, choose Alignment: Left for all parapraphs of
your document.

Hope that helps!

Andreas


University of Kassel
Department of Agricultural Engineering
Germany




Re: Key binding map

2000-09-05 Thread Allan Rae

On Tue, 5 Sep 2000, John Culleton wrote:

 I have a key binding map "hollywood.bind" in the appropriate directory.
 When I try to activate this map via options- keyboard I get the error
 message "error keymap not found."

that's because its a LyX bind file not a keymap.

 Obviously there is a trick to it. I just wish all this kind of stuff was
 handled by a default at installation. I don't find any other files
 (other than in Lyx that is) with a .bind suffix so moving files around
 and re-texhashing probably won't help.  Any suggestions?

Try adding a line like:

\bind_file "hollywood.bind"

to your ~/.lyx/lyxrc

Allan. (ARRae)




Building LyX for HP-UX 10.20 (gcc): menus flicker

2000-09-05 Thread Bruce Foster

I've built LyX 1.1.5 fix1 from source using gcc 2.95.2 and Xforms 
0.88 on HP-UX 10.20. I am able to run the program, but none of the 
pull-down menus work properly.

The menus pull down, but they flicker rapidly and the flickering 
makes it difficult to select an item within a menu using the mouse.

Also, if I hold down the mouse button long enough (as if I'm using 
MacOS menus), I can generate a fatal error (see below).

If I choose File - Import, the additional menu appears, and the 
flickering gets worse. It's impossible to read the additional menu 
options, and the title of the Import tab is garbage as if two things 
are overwriting that space. In this case, if I leave the menu up, 
eventually defpup will fail again in the same place as below, but 
with 32 menus allocated to "Notitle".  Additional messages repeatedly 
appear with "In pupshortcut [xpopup.c 569] Bad popup index -1" 
terminating with one line of "In dopup [xpopup.c 1023] bad pupID: -1" 
and then "LyX: This shouldn't happen..." !!!

Sometimes when I try to choose a menu item, an Alert box appears: 
"Error! Couldn't delete temporary directory: /tmp/lyx_tmp1249aaa  No 
such file or directory." When I dismiss the alert box, the menu item 
might work, or it might not. On occasion, the alerts will continue to 
appear, seemingly forever.

The mini-buffer shows shortcut keys for the menu items if I position 
the mouse properly.

I am able to navigate within the program using shortcuts of key 
combinations. The toolbar entries also work properly.

I'm not sure where to go from here. How should I approach this problem?

Thanks,
Bruce Foster

Here is the error traceback that appears when I press button 1 too long:

In defpup [xpopup.c 171] Exceeded FL_MAXPUP (32)
Please check for leaks. Current allocated menus are:
 0: Import
 1: Export
 2: Notitle
 3: Import
 4: Export
 5: Notitle
 6: Import
 7: Export
 8: Notitle
 9: Import
 10: Export
 11: Notitle
 12: Import
 13: Export
 14: Notitle
 15: Import
 16: Export
 17: Notitle
 18: Import
 19: Export
 20: Notitle
 21: Import
 22: Export
 23: Notitle
 24: Import
 25: Export
 26: Notitle
 27: Import
 28: Export
 29: Notitle
 30: Import
 31: Export
In XPopUP [util.c 43] Can't Allocate
---
Northwestern University | Academic Technologies | Research Technologies
1603 Orrington Ave Suite 1400 | Evanston IL 60201-5064
847/491-4055 (voice) 847/467-7705 (fax)  http://charlotte.acns.nwu.edu/bef/

"The purpose of computation is insight, not numbers." -- Richard Hamming



Re: URLs for html?

2000-09-05 Thread Jean-Pierre.Chretien


Date: Mon, 4 Sep 2000 14:34:56 -0500
To: [EMAIL PROTECTED]
Subject: URLs for html?
User-Agent: Mutt/1.2.5i
From: Lance Simmons [EMAIL PROTECTED]

When I turn a lyx-generated .tex file into an html file
using latex2html, the URL's don't come out right. Is
there some better tool for turning latex files, or
preferably .lyx files, into html files with properly
formed urls?

Lance Simmons

The point is that the translation requires TWO arguments
(one for the anchor and one for the URL) which exist in the
LyX URL popup, but are not readily used by the LaTeX export,
which simply uses url.sty for a correct typography of long
words.

latex2html provides html.sty which allows fancier typesetting
both in LaTeX and HTML: typically, typeset URLs as footnotes pointed
out by the anchor in the LaTeX typesetting, and « normal » anchor/URL
HTML mechnism in the HTML document.

Postprocessing seems currently the only way to use the full potential
of latex2html. I have a script here, not extensively tested I fear.

-- 
Jean-Pierre




RE: LyX tables

2000-09-05 Thread Juergen Vigna

Hello John!

On 05-Sep-2000 John O'Gorman wrote:
 I am trying to generate lyx documents as standard letters from an
 application.
 
 Can anyone explain to me the arrays of numbers in the .lyx file that
 appear with the  \LyXTable statement. e.g.
 3 5 0 0 -1 -1 -1 -1
[snip]
 0 8 1 0 0 0 0 "" ""
[snip]
 
 Where can I find a detailed explanation?

Bad NEWS:

  nowhere (well I know but it's a secret ;)!

Good NEWS:

  you shouldn't use that format for making a filter program anymore. From
  1.1.6 the LyXTable will vanish and there's only the LyXTabular and the
  InsetTabular. You'll want to try out the latest cvs version and have a
  look at the new xml-like format for tabulars, which is IMO self explaining!

Greets Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

I was at this restaurant.  The sign said "Breakfast Anytime."  So I
ordered French Toast in the Rennaissance.
-- Steven Wright




Re: bullets AND French language

2000-09-05 Thread Jean-Marc Lasgouttes

 "Herbert" == Herbert Voss [EMAIL PROTECTED] writes:

Herbert Lorint HENDSCHEL wrote:
 Is there any way to force items to appear with bullets instead?

layout- document-bullets

No, it does not work with french package, which overrides the bullets
at \begin{document} time. After studying a bit the source of
frenchb.ldf, it seems that using the option "noextrasfrancais" (use
"francais" as language) in Layout-Document-Extra_Options should do
the trick.

JMarc



Re: bullets AND French language

2000-09-05 Thread Jean-Marc Lasgouttes

 "ben" == ben  [EMAIL PROTECTED] writes:

ben Well, a possibility is to use a patched french package.

Why? the noextrasfrench command seems to do the trick.

JMarc 



Re: hollywood template.

2000-09-05 Thread John Culleton

"Garst R. Reese" wrote:
 
 Allan Rae wrote:
 
  You should take direct to the master: Garst Reece.
  He built all the Hollywood and Broadway stuff.
 
  On Mon, 4 Sep 2000, John Culleton wrote:
 
   Thanks to Herb V. I have the hollywood template working now. I increased
   the right margin to one inch, to meet the standards I have read.
   Hollywood (the place) is very fussy about format.
 Yes, I'll check the margin issue.
  
   I still have one major problem with the hollywood class. The header has
   a rule! That is verboten in Hollywood. I tried uncommenting some lines
   in the hollywood.cls file but that gave me errors. I am a long time
   TeXer but LaTeX is not my best friend. So I don't know what to do to
   kill the rule. Any suggestions?
 I was told that the title was supposed to be underlined. To change it,
 Edit the hollywood.cls file.
 Search for the word underline.
 replace \underline{\@title}
 with
 \@title
 then texhash and reconfigure lyx.
   --
   John Culleton - Please visit http://ccpl.carr.org/~john/
 
 Thanks,
 Garst

I wrote you separately about the margins. My authorities want 1 inch on
the right, not .75 inch. I can fix that.

 It is the horizontal bar on each subsequent page in the header where
the pagenumber appears that is the problem. I know how to reconfigure
the headline in TeX but not in LaTeX.

 AFAIK underlining the title is optional. My example from the academy
folks does not show it. 

That texhash--reconfigure sequence should be writ large in the install
instructions! That was the first problem I overcame thanks to Herb V.
-- 
John Culleton - Please visit http://ccpl.carr.org/~john/



Re: hollywood template.

2000-09-05 Thread Herbert Voss

John Culleton wrote:
 
 Thanks to Herb V. I have the hollywood template working now. I increased
 the right margin to one inch, to meet the standards I have read.
 Hollywood (the place) is very fussy about format.
 
 I still have one major problem with the hollywood class. The header has
 a rule! That is verboten in Hollywood. I tried uncommenting some lines
 in the hollywood.cls file but that gave me errors. I am a long time
 TeXer but LaTeX is not my best friend. So I don't know what to do to
 kill the rule. Any suggestions?

\renewcommand\headrulewidth{0pt}

Herbert

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




Key binding map

2000-09-05 Thread John Culleton

I have a key binding map "hollywood.bind" in the appropriate directory.
When I try to activate this map via options- keyboard I get the error
message "error keymap not found."

Obviously there is a trick to it. I just wish all this kind of stuff was
handled by a default at installation. I don't find any other files
(other than in Lyx that is) with a .bind suffix so moving files around
and re-texhashing probably won't help.  Any suggestions?


-- 
John Culleton - Please visit http://ccpl.carr.org/~john/



New Templates

2000-09-05 Thread Murilo Juchem

Hi.

I have a short experience using LyX and I need to
install another document class, since I have the
.cls and .layout files.

Thank you,

Murilo Juchem
[EMAIL PROTECTED]
Ms.C. Student



Re: New Templates

2000-09-05 Thread Jean-Marc Lasgouttes

 "Murilo" == Murilo Juchem [EMAIL PROTECTED] writes:

Murilo Hi. I have a short experience using LyX and I need to install
Murilo another document class, since I have the .cls and .layout
Murilo files.

This is explained in the Cistomization document, provided you have a
new enough version of LyX.

JMarc



Re: hollywood template.

2000-09-05 Thread John Culleton

Herbert Voss wrote:
 
 John Culleton wrote:
 
  Thanks to Herb V. I have the hollywood template working now. I increased
  the right margin to one inch, to meet the standards I have read.
  Hollywood (the place) is very fussy about format.
 
  I still have one major problem with the hollywood class. The header has
  a rule! That is verboten in Hollywood. I tried uncommenting some lines
  in the hollywood.cls file but that gave me errors. I am a long time
  TeXer but LaTeX is not my best friend. So I don't know what to do to
  kill the rule. Any suggestions?
 
 \renewcommand\headrulewidth{0pt}
 
 Herbert
 
 --
 [EMAIL PROTECTED]
 http://perce.de/voss/lyx/

Two commands  like that are commented out in hollywood.lyx. I
uncommented the first, went through texhash and reconfigure, called up
my document, and when I attempted to print a page got two errors. At the
very beginning I get the error:

 LaTeX Error: Command headrulewidth already defined
  \newcommand{headrulewidth}{0.4pt}

...and at what is probably a page break I get the error

LaTeX Error: \headrulewidth undefined
\renewcommand{\headrulewidth}{0pt}

In the hollywood.cls file there are only two references to
headrulewidth, both of the form: 

%\renewcommand{\headrulewidth}{0pt} 

...and both commented out. I uncommented one of these and that causes
the errors. BTW one of the instances of this command (the one I left as
a comment) is mispelled. 

There are no other references to headrulewidth in hollywood.cls so the
original setting (0.4pt) must be described in some other cls file or
whatever. 

If all else fails I will try a \def command and see if that works :-|



-- 
John Culleton - Please visit http://ccpl.carr.org/~john/



Re: hollywood template.

2000-09-05 Thread Jean-Pierre.Chretien


Date: Tue, 05 Sep 2000 10:52:19 -0400
From: John Culleton [EMAIL PROTECTED]
To: Herbert Voss [EMAIL PROTECTED], "[EMAIL PROTECTED]" 
[EMAIL PROTECTED]
Subject: Re: hollywood template.

Herbert Voss wrote:
[snip]

Two commands  like that are commented out in hollywood.lyx. I
uncommented the first, went through texhash and reconfigure, called up
my document, and when I attempted to print a page got two errors. At the
very beginning I get the error:

 LaTeX Error: Command headrulewidth already defined
  \newcommand{headrulewidth}{0.4pt}

...and at what is probably a page break I get the error

LaTeX Error: \headrulewidth undefined
  \renewcommand{\headrulewidth}{0pt}

In the hollywood.cls file there are only two references to
headrulewidth, both of the form: 

%\renewcommand{\headrulewidth}{0pt} 

...and both commented out. I uncommented one of these and that causes
the errors. BTW one of the instances of this command (the one I left as
a comment) is mispelled. 

There are no other references to headrulewidth in hollywood.cls so the
original setting (0.4pt) must be described in some other cls file or
whatever. 

If all else fails I will try a \def command and see if that works :-|

\headrulewith is a fancyhdr.sty command, so \renewcommand will fail
if fancyhdr is not called by hollywood.cls
If this class calls the older fancyheadings.sty, then the command is AFAIR
\setlength{\headrulewidth}{0pt}

-- 
Jean-Pierre






How to use gziped ps file?

2000-09-05 Thread Zailong Bian

Hello.

The size of ps file can be really huge.  I read long time ago, an external
program can be hooked up to latex so it will do gzip -dc when a *.gz file is
called.

Thanks.



Re: hollywood template.

2000-09-05 Thread Herbert Voss

John Culleton wrote:
 
 Herbert Voss wrote:
 
  John Culleton wrote:
  
   Thanks to Herb V. I have the hollywood template working now. I increased
   the right margin to one inch, to meet the standards I have read.
   Hollywood (the place) is very fussy about format.
  
   I still have one major problem with the hollywood class. The header has
   a rule! That is verboten in Hollywood. I tried uncommenting some lines
   in the hollywood.cls file but that gave me errors. I am a long time
   TeXer but LaTeX is not my best friend. So I don't know what to do to
   kill the rule. Any suggestions?
 
  \renewcommand\headrulewidth{0pt}
 
  Herbert
 
  --
  [EMAIL PROTECTED]
  http://perce.de/voss/lyx/
 
 Two commands  like that are commented out in hollywood.lyx. I
 uncommented the first, went through texhash and reconfigure, called up
 my document, and when I attempted to print a page got two errors. At the
 very beginning I get the error:
 
  LaTeX Error: Command headrulewidth already defined
   \newcommand{headrulewidth}{0.4pt}
 
 ...and at what is probably a page break I get the error
 
 LaTeX Error: \headrulewidth undefined
 \renewcommand{\headrulewidth}{0pt}
 
 In the hollywood.cls file there are only two references to
 headrulewidth, both of the form:
 
 %\renewcommand{\headrulewidth}{0pt}
 
 ...and both commented out. I uncommented one of these and that causes
 the errors. BTW one of the instances of this command (the one I left as
 a comment) is mispelled.

two solutions, both worked for me!

1. the \renewcommand in latex preamble of the lyx-file!!
not in the class-file, because this has (from my point of view)
a little bug.

2. choose the attached hollywood.class -file and try
again. i changed the postion of some commands, like 
\usepackage{fancyhdr}, and put the \renewcommand at the end,
so that everything works.

Herbert

p.s.: john,i'll send the class file with private mail to you,
so i save bandwidth, because it's not important for all.


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





Re: hollywood template.

2000-09-05 Thread Herbert Voss

"Jean-Pierre.Chretien" wrote:
 
 \headrulewith is a fancyhdr.sty command, so \renewcommand will fail
 if fancyhdr is not called by hollywood.cls

from hollywood.class:

...
\usepackage{fancyhdr}
\usepackage{extramarks}
\usepackage{ifthen}
\usepackage{lastpage}
\pagestyle{fancy}
...

but these commands were not at the beginning of the class-file.
i think, that this might be the problem, because it works
when i changed this. anyway ...

Herbert


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



Re: bullets AND French language

2000-09-05 Thread ben

Jean-Marc Lasgouttes a écrit :

  "ben" == ben  [EMAIL PROTECTED] writes:

 ben Well, a possibility is to use a patched french package.

 Why? the noextrasfrench command seems to do the trick.

 JMarc

What do you write exactly as extra option ?

With the francais package, I've tried "noextrasfrancais",
"noextrasfrench", "noextrafrenchb",
and nothing happenned.

When I exported the document as latex, there is the following at the top
of the latex output:
\documentclass[francais,noextrasfrancais]{book}

A latex compilation on this gives the following warning:

LaTeX Warning: Unused global option(s):
[noextrasfrancais].

The version I use is lyx-1.1.4.
Any idea ?





Re: Call for feature

2000-09-05 Thread Dekel Tsur

On Mon, Sep 04, 2000 at 02:42:34PM +0200, Aleksandr Konstantinov wrote:
 Hello, All.
 
  I finally moved from lyx-1.1.4 to lyx-1.1.5fix1  and liked it very
 much.
  Especially I liked the possibility to create multilingual documents.
 But
 this feature is not full without possibility to change inputencoding as
 well.
 Is it possible to include such feature in upcoming version ? 

I've already added this feature :)
However, the inputenc package allows changing the input encoding
only between paragraphs, (not inside paragraphs).
I tried to change the package to remove my limitations, but since I don't
know much about latex programming, I couldn't managed to do it without
adding some side-effects.
Does anyone knows how to do it correctly ?

I also want to add support for Omega, which I think allows processing of
utf8 encoded files. A patch from you will be welcomed.

 For 1.1.5 i can suggest the patch to add this feature and also to
 provide the 
 possibility to add more encoding and languages than precompiled in LyX.

I have planned to have the languages definition in a file and not hard-coded,
but I haven't done it yet. Again, a patch will be welcomed.



Ragged Right -- Possible?

2000-09-05 Thread Will Fischer

Is it possible to make Lyx or LaTex output ragged right (unjustified)
text?  Although I realize it is totally foreign to the spirit of
LaTex to do it, the journal to which I am submitting insists upon
it. (Why?  I can't say).

advanTHANKSce,
 
Will Fischer   
Biology Department  [EMAIL PROTECTED]
Indiana University  Lab:812-855-2549
Jordan Hall 142 FAX:812-855-6705
1001 E. Third Street
Bloomington, IN  47405-3700 USA



Re: Ragged Right -- Possible?

2000-09-05 Thread Andreas Deininger

On Tue, 5 Sep 2000, Will Fischer wrote:

 Is it possible to make Lyx or LaTex output ragged right (unjustified)
 text?

Yes, it is!

Just write \usepackage[ragged2e]{raggedr} in the preamble of your document
(Layout-Latex-Preamble), that's it!

(Of course you have to install ragged2e.sty and raggedr.sty if they are
not part of your distribution).

Or: Use Format-Paragraph, choose Alignment: Left for all parapraphs of
your document.

Hope that helps!

Andreas


University of Kassel
Department of Agricultural Engineering
Germany




Re: Key binding map

2000-09-05 Thread Allan Rae

On Tue, 5 Sep 2000, John Culleton wrote:

 I have a key binding map "hollywood.bind" in the appropriate directory.
 When I try to activate this map via options- keyboard I get the error
 message "error keymap not found."

that's because its a LyX bind file not a keymap.

 Obviously there is a trick to it. I just wish all this kind of stuff was
 handled by a default at installation. I don't find any other files
 (other than in Lyx that is) with a .bind suffix so moving files around
 and re-texhashing probably won't help.  Any suggestions?

Try adding a line like:

\bind_file "hollywood.bind"

to your ~/.lyx/lyxrc

Allan. (ARRae)




Building LyX for HP-UX 10.20 (gcc): menus flicker

2000-09-05 Thread Bruce Foster

I've built LyX 1.1.5 fix1 from source using gcc 2.95.2 and Xforms 
0.88 on HP-UX 10.20. I am able to run the program, but none of the 
pull-down menus work properly.

The menus pull down, but they flicker rapidly and the flickering 
makes it difficult to select an item within a menu using the mouse.

Also, if I hold down the mouse button long enough (as if I'm using 
MacOS menus), I can generate a fatal error (see below).

If I choose File - Import, the additional menu appears, and the 
flickering gets worse. It's impossible to read the additional menu 
options, and the title of the Import tab is garbage as if two things 
are overwriting that space. In this case, if I leave the menu up, 
eventually defpup will fail again in the same place as below, but 
with 32 menus allocated to "Notitle".  Additional messages repeatedly 
appear with "In pupshortcut [xpopup.c 569] Bad popup index -1" 
terminating with one line of "In dopup [xpopup.c 1023] bad pupID: -1" 
and then "LyX: This shouldn't happen..." !!!

Sometimes when I try to choose a menu item, an Alert box appears: 
"Error! Couldn't delete temporary directory: /tmp/lyx_tmp1249aaa  No 
such file or directory." When I dismiss the alert box, the menu item 
might work, or it might not. On occasion, the alerts will continue to 
appear, seemingly forever.

The mini-buffer shows shortcut keys for the menu items if I position 
the mouse properly.

I am able to navigate within the program using shortcuts of key 
combinations. The toolbar entries also work properly.

I'm not sure where to go from here. How should I approach this problem?

Thanks,
Bruce Foster

Here is the error traceback that appears when I press button 1 too long:

In defpup [xpopup.c 171] Exceeded FL_MAXPUP (32)
Please check for leaks. Current allocated menus are:
 0: Import
 1: Export
 2: Notitle
 3: Import
 4: Export
 5: Notitle
 6: Import
 7: Export
 8: Notitle
 9: Import
 10: Export
 11: Notitle
 12: Import
 13: Export
 14: Notitle
 15: Import
 16: Export
 17: Notitle
 18: Import
 19: Export
 20: Notitle
 21: Import
 22: Export
 23: Notitle
 24: Import
 25: Export
 26: Notitle
 27: Import
 28: Export
 29: Notitle
 30: Import
 31: Export
In XPopUP [util.c 43] Can't Allocate
---
Northwestern University | Academic Technologies | Research Technologies
1603 Orrington Ave Suite 1400 | Evanston IL 60201-5064
847/491-4055 (voice) 847/467-7705 (fax)  http://charlotte.acns.nwu.edu/bef/

"The purpose of computation is insight, not numbers." -- Richard Hamming



Re: URLs for html?

2000-09-05 Thread Jean-Pierre.Chretien


>>Date: Mon, 4 Sep 2000 14:34:56 -0500
>>To: [EMAIL PROTECTED]
>>Subject: URLs for html?
>>User-Agent: Mutt/1.2.5i
>>From: Lance Simmons <[EMAIL PROTECTED]>
>>
>>When I turn a lyx-generated .tex file into an html file
>>using latex2html, the URL's don't come out right. Is
>>there some better tool for turning latex files, or
>>preferably .lyx files, into html files with properly
>>formed urls?
>>
>>Lance Simmons

The point is that the translation requires TWO arguments
(one for the anchor and one for the URL) which exist in the
LyX URL popup, but are not readily used by the LaTeX export,
which simply uses url.sty for a correct typography of long
words.

latex2html provides html.sty which allows fancier typesetting
both in LaTeX and HTML: typically, typeset URLs as footnotes pointed
out by the anchor in the LaTeX typesetting, and « normal » anchor/URL
HTML mechnism in the HTML document.

Postprocessing seems currently the only way to use the full potential
of latex2html. I have a script here, not extensively tested I fear.

-- 
Jean-Pierre




RE: LyX tables

2000-09-05 Thread Juergen Vigna

Hello John!

On 05-Sep-2000 John O'Gorman wrote:
> I am trying to generate lyx documents as standard letters from an
> application.
> 
> Can anyone explain to me the arrays of numbers in the .lyx file that
> appear with the  \LyXTable statement. e.g.
> 3 5 0 0 -1 -1 -1 -1
[snip]
> 0 8 1 0 0 0 0 "" ""
[snip]
> 
> Where can I find a detailed explanation?

Bad NEWS:

  nowhere (well I know but it's a secret ;)!

Good NEWS:

  you shouldn't use that format for making a filter program anymore. From
  1.1.6 the LyXTable will vanish and there's only the LyXTabular and the
  InsetTabular. You'll want to try out the latest cvs version and have a
  look at the new xml-like format for tabulars, which is IMO self explaining!

Greets Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

I was at this restaurant.  The sign said "Breakfast Anytime."  So I
ordered French Toast in the Rennaissance.
-- Steven Wright




Re: bullets AND French language

2000-09-05 Thread Jean-Marc Lasgouttes

> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:

Herbert> Lorint HENDSCHEL wrote:
>> Is there any way to force items to appear with bullets instead?

layout-> document->bullets

No, it does not work with french package, which overrides the bullets
at \begin{document} time. After studying a bit the source of
frenchb.ldf, it seems that using the option "noextrasfrancais" (use
"francais" as language) in Layout->Document->Extra_Options should do
the trick.

JMarc



Re: bullets AND French language

2000-09-05 Thread Jean-Marc Lasgouttes

> "ben" == ben  <[EMAIL PROTECTED]> writes:

ben> Well, a possibility is to use a patched french package.

Why? the noextrasfrench command seems to do the trick.

JMarc 



Re: hollywood template.

2000-09-05 Thread John Culleton

"Garst R. Reese" wrote:
> 
> Allan Rae wrote:
> >
> > You should take direct to the master: Garst Reece.
> > He built all the Hollywood and Broadway stuff.
> >
> > On Mon, 4 Sep 2000, John Culleton wrote:
> >
> > > Thanks to Herb V. I have the hollywood template working now. I increased
> > > the right margin to one inch, to meet the standards I have read.
> > > Hollywood (the place) is very fussy about format.
> Yes, I'll check the margin issue.
> > >
> > > I still have one major problem with the hollywood class. The header has
> > > a rule! That is verboten in Hollywood. I tried uncommenting some lines
> > > in the hollywood.cls file but that gave me errors. I am a long time
> > > TeXer but LaTeX is not my best friend. So I don't know what to do to
> > > kill the rule. Any suggestions?
> I was told that the title was supposed to be underlined. To change it,
> Edit the hollywood.cls file.
> Search for the word underline.
> replace \underline{\@title}
> with
> \@title
> then texhash and reconfigure lyx.
> > > --
> > > John Culleton -> Please visit http://ccpl.carr.org/~john/
> >
> Thanks,
> Garst

I wrote you separately about the margins. My authorities want 1 inch on
the right, not .75 inch. I can fix that.

 It is the horizontal bar on each subsequent page in the header where
the pagenumber appears that is the problem. I know how to reconfigure
the headline in TeX but not in LaTeX.

 AFAIK underlining the title is optional. My example from the academy
folks does not show it. 

That texhash--reconfigure sequence should be writ large in the install
instructions! That was the first problem I overcame thanks to Herb V.
-- 
John Culleton -> Please visit http://ccpl.carr.org/~john/



Re: hollywood template.

2000-09-05 Thread Herbert Voss

John Culleton wrote:
> 
> Thanks to Herb V. I have the hollywood template working now. I increased
> the right margin to one inch, to meet the standards I have read.
> Hollywood (the place) is very fussy about format.
> 
> I still have one major problem with the hollywood class. The header has
> a rule! That is verboten in Hollywood. I tried uncommenting some lines
> in the hollywood.cls file but that gave me errors. I am a long time
> TeXer but LaTeX is not my best friend. So I don't know what to do to
> kill the rule. Any suggestions?

\renewcommand\headrulewidth{0pt}

Herbert

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




Key binding map

2000-09-05 Thread John Culleton

I have a key binding map "hollywood.bind" in the appropriate directory.
When I try to activate this map via options-> keyboard I get the error
message "error keymap not found."

Obviously there is a trick to it. I just wish all this kind of stuff was
handled by a default at installation. I don't find any other files
(other than in Lyx that is) with a .bind suffix so moving files around
and re-texhashing probably won't help.  Any suggestions?


-- 
John Culleton -> Please visit http://ccpl.carr.org/~john/



New Templates

2000-09-05 Thread Murilo Juchem

Hi.

I have a short experience using LyX and I need to
install another document class, since I have the
.cls and .layout files.

Thank you,

Murilo Juchem
[EMAIL PROTECTED]
Ms.C. Student



Re: New Templates

2000-09-05 Thread Jean-Marc Lasgouttes

> "Murilo" == Murilo Juchem <[EMAIL PROTECTED]> writes:

Murilo> Hi. I have a short experience using LyX and I need to install
Murilo> another document class, since I have the .cls and .layout
Murilo> files.

This is explained in the Cistomization document, provided you have a
new enough version of LyX.

JMarc



Re: hollywood template.

2000-09-05 Thread John Culleton

Herbert Voss wrote:
> 
> John Culleton wrote:
> >
> > Thanks to Herb V. I have the hollywood template working now. I increased
> > the right margin to one inch, to meet the standards I have read.
> > Hollywood (the place) is very fussy about format.
> >
> > I still have one major problem with the hollywood class. The header has
> > a rule! That is verboten in Hollywood. I tried uncommenting some lines
> > in the hollywood.cls file but that gave me errors. I am a long time
> > TeXer but LaTeX is not my best friend. So I don't know what to do to
> > kill the rule. Any suggestions?
> 
> \renewcommand\headrulewidth{0pt}
> 
> Herbert
> 
> --
> [EMAIL PROTECTED]
> http://perce.de/voss/lyx/

Two commands  like that are commented out in hollywood.lyx. I
uncommented the first, went through texhash and reconfigure, called up
my document, and when I attempted to print a page got two errors. At the
very beginning I get the error:

 LaTeX Error: Command headrulewidth already defined
  \newcommand{headrulewidth}{0.4pt}

...and at what is probably a page break I get the error

LaTeX Error: \headrulewidth undefined
\renewcommand{\headrulewidth}{0pt}

In the hollywood.cls file there are only two references to
headrulewidth, both of the form: 

%\renewcommand{\headrulewidth}{0pt} 

...and both commented out. I uncommented one of these and that causes
the errors. BTW one of the instances of this command (the one I left as
a comment) is mispelled. 

There are no other references to headrulewidth in hollywood.cls so the
original setting (0.4pt) must be described in some other cls file or
whatever. 

If all else fails I will try a \def command and see if that works :-|



-- 
John Culleton -> Please visit http://ccpl.carr.org/~john/



Re: hollywood template.

2000-09-05 Thread Jean-Pierre.Chretien


>>Date: Tue, 05 Sep 2000 10:52:19 -0400
>>From: John Culleton <[EMAIL PROTECTED]>
>>To: Herbert Voss <[EMAIL PROTECTED]>, "[EMAIL PROTECTED]" 
<[EMAIL PROTECTED]>
>>Subject: Re: hollywood template.
>>
>>Herbert Voss wrote:
[snip]
>>
>>Two commands  like that are commented out in hollywood.lyx. I
>>uncommented the first, went through texhash and reconfigure, called up
>>my document, and when I attempted to print a page got two errors. At the
>>very beginning I get the error:
>>
>> LaTeX Error: Command headrulewidth already defined
>>  \newcommand{headrulewidth}{0.4pt}
>>
>>...and at what is probably a page break I get the error
>>
>>LaTeX Error: \headrulewidth undefined
>>  \renewcommand{\headrulewidth}{0pt}
>>
>>In the hollywood.cls file there are only two references to
>>headrulewidth, both of the form: 
>>
>>%\renewcommand{\headrulewidth}{0pt} 
>>
>>...and both commented out. I uncommented one of these and that causes
>>the errors. BTW one of the instances of this command (the one I left as
>>a comment) is mispelled. 
>>
>>There are no other references to headrulewidth in hollywood.cls so the
>>original setting (0.4pt) must be described in some other cls file or
>>whatever. 
>>
>>If all else fails I will try a \def command and see if that works :-|

\headrulewith is a fancyhdr.sty command, so \renewcommand will fail
if fancyhdr is not called by hollywood.cls
If this class calls the older fancyheadings.sty, then the command is AFAIR
\setlength{\headrulewidth}{0pt}

-- 
Jean-Pierre






How to use gziped ps file?

2000-09-05 Thread Zailong Bian

Hello.

The size of ps file can be really huge.  I read long time ago, an external
program can be hooked up to latex so it will do gzip -dc when a *.gz file is
called.

Thanks.



Re: hollywood template.

2000-09-05 Thread Herbert Voss

John Culleton wrote:
> 
> Herbert Voss wrote:
> >
> > John Culleton wrote:
> > >
> > > Thanks to Herb V. I have the hollywood template working now. I increased
> > > the right margin to one inch, to meet the standards I have read.
> > > Hollywood (the place) is very fussy about format.
> > >
> > > I still have one major problem with the hollywood class. The header has
> > > a rule! That is verboten in Hollywood. I tried uncommenting some lines
> > > in the hollywood.cls file but that gave me errors. I am a long time
> > > TeXer but LaTeX is not my best friend. So I don't know what to do to
> > > kill the rule. Any suggestions?
> >
> > \renewcommand\headrulewidth{0pt}
> >
> > Herbert
> >
> > --
> > [EMAIL PROTECTED]
> > http://perce.de/voss/lyx/
> 
> Two commands  like that are commented out in hollywood.lyx. I
> uncommented the first, went through texhash and reconfigure, called up
> my document, and when I attempted to print a page got two errors. At the
> very beginning I get the error:
> 
>  LaTeX Error: Command headrulewidth already defined
>   \newcommand{headrulewidth}{0.4pt}
> 
> ...and at what is probably a page break I get the error
> 
> LaTeX Error: \headrulewidth undefined
> \renewcommand{\headrulewidth}{0pt}
> 
> In the hollywood.cls file there are only two references to
> headrulewidth, both of the form:
> 
> %\renewcommand{\headrulewidth}{0pt}
> 
> ...and both commented out. I uncommented one of these and that causes
> the errors. BTW one of the instances of this command (the one I left as
> a comment) is mispelled.

two solutions, both worked for me!

1. the \renewcommand in latex preamble of the lyx-file!!
not in the class-file, because this has (from my point of view)
a little bug.

2. choose the attached hollywood.class -file and try
again. i changed the postion of some commands, like 
\usepackage{fancyhdr}, and put the \renewcommand at the end,
so that everything works.

Herbert

p.s.: john,i'll send the class file with private mail to you,
so i save bandwidth, because it's not important for all.


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





Re: hollywood template.

2000-09-05 Thread Herbert Voss

"Jean-Pierre.Chretien" wrote:
> 
> \headrulewith is a fancyhdr.sty command, so \renewcommand will fail
> if fancyhdr is not called by hollywood.cls

from hollywood.class:

...
\usepackage{fancyhdr}
\usepackage{extramarks}
\usepackage{ifthen}
\usepackage{lastpage}
\pagestyle{fancy}
...

but these commands were not at the beginning of the class-file.
i think, that this might be the problem, because it works
when i changed this. anyway ...

Herbert


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



Re: bullets AND French language

2000-09-05 Thread ben

Jean-Marc Lasgouttes a écrit :

> > "ben" == ben  <[EMAIL PROTECTED]> writes:
>
> ben> Well, a possibility is to use a patched french package.
>
> Why? the noextrasfrench command seems to do the trick.
>
> JMarc

What do you write exactly as extra option ?

With the francais package, I've tried "noextrasfrancais",
"noextrasfrench", "noextrafrenchb",
and nothing happenned.

When I exported the document as latex, there is the following at the top
of the latex output:
\documentclass[francais,noextrasfrancais]{book}

A latex compilation on this gives the following warning:

LaTeX Warning: Unused global option(s):
[noextrasfrancais].

The version I use is lyx-1.1.4.
Any idea ?





Re: Call for feature

2000-09-05 Thread Dekel Tsur

On Mon, Sep 04, 2000 at 02:42:34PM +0200, Aleksandr Konstantinov wrote:
> Hello, All.
> 
>  I finally moved from lyx-1.1.4 to lyx-1.1.5fix1  and liked it very
> much.
>  Especially I liked the possibility to create multilingual documents.
> But
> this feature is not full without possibility to change inputencoding as
> well.
> Is it possible to include such feature in upcoming version ? 

I've already added this feature :)
However, the inputenc package allows changing the input encoding
only between paragraphs, (not inside paragraphs).
I tried to change the package to remove my limitations, but since I don't
know much about latex programming, I couldn't managed to do it without
adding some side-effects.
Does anyone knows how to do it correctly ?

I also want to add support for Omega, which I think allows processing of
utf8 encoded files. A patch from you will be welcomed.

> For 1.1.5 i can suggest the patch to add this feature and also to
> provide the 
> possibility to add more encoding and languages than precompiled in LyX.

I have planned to have the languages definition in a file and not hard-coded,
but I haven't done it yet. Again, a patch will be welcomed.



Ragged Right -- Possible?

2000-09-05 Thread Will Fischer

Is it possible to make Lyx or LaTex output ragged right (unjustified)
text?  Although I realize it is totally foreign to the spirit of
LaTex to do it, the journal to which I am submitting insists upon
it. (Why?  I can't say).

advanTHANKSce,
 
Will Fischer   
Biology Department  [EMAIL PROTECTED]
Indiana University  Lab:812-855-2549
Jordan Hall 142 FAX:812-855-6705
1001 E. Third Street
Bloomington, IN  47405-3700 USA



Re: Ragged Right -- Possible?

2000-09-05 Thread Andreas Deininger

On Tue, 5 Sep 2000, Will Fischer wrote:

> Is it possible to make Lyx or LaTex output ragged right (unjustified)
> text?

Yes, it is!

Just write \usepackage[ragged2e]{raggedr} in the preamble of your document
(Layout-Latex-Preamble), that's it!

(Of course you have to install ragged2e.sty and raggedr.sty if they are
not part of your distribution).

Or: Use Format-Paragraph, choose Alignment: Left for all parapraphs of
your document.

Hope that helps!

Andreas


University of Kassel
Department of Agricultural Engineering
Germany




Re: Key binding map

2000-09-05 Thread Allan Rae

On Tue, 5 Sep 2000, John Culleton wrote:

> I have a key binding map "hollywood.bind" in the appropriate directory.
> When I try to activate this map via options-> keyboard I get the error
> message "error keymap not found."

that's because its a LyX bind file not a keymap.

> Obviously there is a trick to it. I just wish all this kind of stuff was
> handled by a default at installation. I don't find any other files
> (other than in Lyx that is) with a .bind suffix so moving files around
> and re-texhashing probably won't help.  Any suggestions?

Try adding a line like:

\bind_file "hollywood.bind"

to your ~/.lyx/lyxrc

Allan. (ARRae)




Building LyX for HP-UX 10.20 (gcc): menus flicker

2000-09-05 Thread Bruce Foster

I've built LyX 1.1.5 fix1 from source using gcc 2.95.2 and Xforms 
0.88 on HP-UX 10.20. I am able to run the program, but none of the 
pull-down menus work properly.

The menus pull down, but they flicker rapidly and the flickering 
makes it difficult to select an item within a menu using the mouse.

Also, if I hold down the mouse button long enough (as if I'm using 
MacOS menus), I can generate a fatal error (see below).

If I choose File -> Import, the additional menu appears, and the 
flickering gets worse. It's impossible to read the additional menu 
options, and the title of the Import tab is garbage as if two things 
are overwriting that space. In this case, if I leave the menu up, 
eventually defpup will fail again in the same place as below, but 
with 32 menus allocated to "Notitle".  Additional messages repeatedly 
appear with "In pupshortcut [xpopup.c 569] Bad popup index -1" 
terminating with one line of "In dopup [xpopup.c 1023] bad pupID: -1" 
and then "LyX: This shouldn't happen..." !!!

Sometimes when I try to choose a menu item, an Alert box appears: 
"Error! Couldn't delete temporary directory: /tmp/lyx_tmp1249aaa  No 
such file or directory." When I dismiss the alert box, the menu item 
might work, or it might not. On occasion, the alerts will continue to 
appear, seemingly forever.

The mini-buffer shows shortcut keys for the menu items if I position 
the mouse properly.

I am able to navigate within the program using shortcuts of key 
combinations. The toolbar entries also work properly.

I'm not sure where to go from here. How should I approach this problem?

Thanks,
Bruce Foster

Here is the error traceback that appears when I press button 1 too long:

In defpup [xpopup.c 171] Exceeded FL_MAXPUP (32)
Please check for leaks. Current allocated menus are:
 0: Import
 1: Export
 2: Notitle
 3: Import
 4: Export
 5: Notitle
 6: Import
 7: Export
 8: Notitle
 9: Import
 10: Export
 11: Notitle
 12: Import
 13: Export
 14: Notitle
 15: Import
 16: Export
 17: Notitle
 18: Import
 19: Export
 20: Notitle
 21: Import
 22: Export
 23: Notitle
 24: Import
 25: Export
 26: Notitle
 27: Import
 28: Export
 29: Notitle
 30: Import
 31: Export
In XPopUP [util.c 43] Can't Allocate
---
Northwestern University | Academic Technologies | Research Technologies
1603 Orrington Ave Suite 1400 | Evanston IL 60201-5064
847/491-4055 (voice) 847/467-7705 (fax)  http://charlotte.acns.nwu.edu/bef/

"The purpose of computation is insight, not numbers." -- Richard Hamming