page numbering

2000-06-27 Thread Staffan Ringbom

Hi I have a (probably) simple LaTeX question

Page style plain puts the page number on the bottom of the page
How do I get a plain number on the top of the page.

I do not want any other text in the heading, wich appears
there if I use the heading option in the page style

use default article.


Any suggestions?

Best,

Staffan




Re: page numbering

2000-06-27 Thread Jean-Pierre.Chretien


Date: Tue, 27 Jun 2000 09:22:06 +0300
From: Staffan Ringbom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: page numbering

Hi I have a (probably) simple LaTeX question

Page style plain puts the page number on the bottom of the page
How do I get a plain number on the top of the page.

I do not want any other text in the heading, wich appears
there if I use the heading option in the page style

use default article.


Any suggestions?

Use Layout-Document-Pagestyle   fancy
Then in preamble
\cfoot{}\rfoot{}\lfoot{}
\chead{\rm\thepage}\rhead{}\lhead{}
or any other customization.
It's a bit more intricated if for a twosided document,
needs a look at the fancyhdr.sty doc.

-- 
Jean-Pierre





Re: table and linebreak

2000-06-27 Thread Alexander Bauer


I tried
\flushright
and
\raggedright
but they both do something with the next line of the table, too.
I´ve attached my lyx-file. Maybe I´m doing something wrong?

Alexander

 Alexander Bauer wrote:
 I'm trying to do a table with a linebreak in one cell
 (a long headline). This would be no problem, but I need to
 have the cell-content aligned to the right. If the option linebreak
 in the table-dialogue box is switched, you can only chose left.

 choose

 \flushright bla bla bla

 in the cells.

 Herbert

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


 Table.lyx


Re: Converting .lyx to .ps

2000-06-27 Thread Jean-Marc Lasgouttes

 "Ryan" == Ryan Wahle [EMAIL PROTECTED] writes:

Ryan How can I convert .lyx to .ps ?? I can do it from LyX, but I
Ryan need to do it automatically from another program. I don't know
Ryan what utility to use. I have tried serveral like latex but they
Ryan give me an error for some reason.. Can someone give me the
Ryan commands that LyX does to convert to a .ps file from the .lyx
Ryan file?

You have to call LyX for that, something like
lyx -e ps file.lyx

This will bring up the lyx window, though. To avoid that, you will
need to use tricks with Xvfb. You can find an example at
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg10889.html

JMarc



Re: Problem with Meta-Key

2000-06-27 Thread Rick Janda

[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

 Rick Janda [EMAIL PROTECTED] writes:
 
 | On Keyboard with 104 or 105 Caps you can use the Windows-Key to
 | separate Meta from Alt. I know many people who use Alt for the whole
 | windowmanager stuff and private shortcuts and Meta for the "normal"
 | programs to do not get a conflict. On XFree86 configuration for
 | 104/105 keys PC-keyboards, Meta get mod 4 and Alt get mod 1.
 
 And in Emacs Meta-x will give "M-x" in the minibuffer?
yes, it does (since Version 19).
 
 LyX currently uses Mod-1.
 Other uses of modifiers must give a keysym lyx can react upon.
 
 If I understand how other programms handeled this I am sure we could
 find a solution.
 
 But it does not seem correct to look at keysym, imho we must look at
 modifier number. (I should be allowed to have my F1 key as mod-1 if I
 want that and F2 as mod-4, how to handle Alt/Meta then?)
Then you must bind Meta_L or Meta_R to the keycode auf F1 and Alt_L or
 Alt_R to the keycode of F2.

This is part of the xkeycaps manpage:

"The  remaining modifier bits (Mod1 through Mod5)
 have semantics which are  defined  by  the  keys
 with which they are associated.
...

 That  is,  the Control modifier means Control if
 it is attached to Control_L or Control_R, and is
 illegal elsewhere.

 But  Mod1 means Meta if it is attached to Meta_L
 or Meta_R; but it would  mean  Alt  if  it  were
 attached  to  Alt_L  or  Alt_R;  or  Hyper  with
 Hyper_L or Hyper_R; and so on.  (It  could  not,
 however,  be  attached  to  Control_L, since the
 Control modifier has already  spoken  for  those
 keysyms.) 
...
   A client needing to use an extra modifier,  for  exam­
   ple Meta,  should:

 Scan  the existing modifier mappings.  If it finds a
 modifier  that  contains  a  keycode  whose  set  of
 keysyms  includes  XK_Meta_L or XK_Meta_R, it should
 use that modifier bit.

 If there  is  no  existing  modifier  controlled  by
 XK_Meta_L  or  XK_Meta_R, it should select an unused
 modifier bit (one with  an  empty  controlling  set)
 and:

   If there is a keycode with XL_Meta_L in its set of
   keysyms, add that keycode to the set for the  cho­
   sen modifier, then

   if there is a keycode with XL_Meta_R in its set of
   keysyms, add that keycode to the set for the  cho­
   sen modifier, then

   if  the  controlling set is still empty,  interact
   with the user to select one or  more  keys  to  be
   Meta.

 If  there  are no unused modifier bits, ask the user
 to take corrective action.


"
If you need more explanation, please read the xkeycap manpage, it
explain the internals of keyboard settings very well, I think.
 
 Lgb


Rick Janda



[Fwd: LyX to PDF]

2000-06-27 Thread Stephan E. Schlierf

Niklas asked me to forward the following message:


Niklas Werner wrote:
 
 Well,
 after reading the news on lyx.org I'd suggest the following which works
 just fine!
 
 Preamble:
 \usepackage{ae}
 this uses the computer ,modern fonts built-in in acrobat, so they
 really look good on ANY platform
 There may be some modifications to your //texmf/../config.ps needed
 I don't recall at the moment, so please make sure latex finds the fonts
 the rest is:
 \usepackage[pdftex=true,colorlinks=true,urlcolor=blue,pdftitle={whatever
 your title will
 be},pdfauthor={whoami?},pdfotherdirectives={whatever}]{hyperref}
 
 this makes your document navigationable(is that a word?) in acrobat and
 links all sections, chapters, pictures, references and sets some
 pdfinfo stuff.
 
 Then edit your document as usual but don't include eps-graphics, but png
 or pdf or latex- graphics (easiliy done in LyX, just toggle the "don't
 show"-button in the graphics-popup).
 export as LaTeX and run pdflatex on the resulting yourfile.tex.
 
 pdf made thus result in much smaller filesizes than via ps2pdf and
 enable all the neat indexing and linking LaTeX provides!
 
 Have fun*
 
 Niklas
 
 *
 
 Niklas Werner
 
 http://www.user.tu-berlin.de/~nickgfec/
 
 *

--
Stephan E. Schlierf M.A.
-  Product Management  -
PHONE:  ++49 9254 960673
FAX:++49 9254 960674
CSE GmbH Germany



Re: table and linebreak

2000-06-27 Thread Herbert Voss

Alexander Bauer wrote:
 
 I tried
 \flushright
 and
 \raggedright
 but they both do something with the next line of the table, too.
 I´ve attached my lyx-file. Maybe I´m doing something wrong?
 
put the cursor in the right column and choose withright mouse
button the table menu, than choose extra button and put in 
"special column format" a "r" for right.

Herbert


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



Re: LyX 1.1.5 for sgi IRIX

2000-06-27 Thread Jean-Marc Lasgouttes

 "Ralf" == Ralf Plaenkers [EMAIL PROTECTED] writes:

Ralf Some precompiled binaries for the major platforms (Linux,
Ralf Solaris, Aix, HPUX, IRIX, Win32) wouldn't do any harm to the LyX
Ralf ftp site, I'd guess! It was common practice for the older
Ralf versions but it somehow got lost after 1.0.

It happens that the support for making binary distribution got broken
(OK, disappeared) in lyx 1.1.x. I finally took the time to re-write
it, so that it should be possible to do that starting from version
1.1.5fix1.

JMarc



Re: LyX and styles

2000-06-27 Thread Jean-Marc Lasgouttes

 "Tommi" == Tommi Rintala [EMAIL PROTECTED] writes:

Tommi 1) Can I create a new style (or command), which I use inside of
Tommi normal paragraph. The functionality I have in mind is same than
Tommi with LaTeX macro like this:
Tommi\newcommand{\ExampleFormat}[1]{{\sl\ss #1}}

This is not yet possible, but planned. Actually, Lars has written some
description of how we should do that, but it has not been yet done.

Tommi 2) Can I bound this style in to a toolbar button? So that I
Tommi could use it as a toggle button for formatting a text
Tommi selection?

Once the facility exists, it will be possible to bind it to an key
sequence, menu or toolbar button.

JMarc



Re: Converting .lyx to .ps

2000-06-27 Thread Baruch Even

On 27 Jun 2000, Jean-Marc Lasgouttes wrote:

  "Ryan" == Ryan Wahle [EMAIL PROTECTED] writes:
 
 Ryan How can I convert .lyx to .ps ?? I can do it from LyX, but I
 Ryan need to do it automatically from another program. I don't know
 Ryan what utility to use. I have tried serveral like latex but they
 Ryan give me an error for some reason.. Can someone give me the
 Ryan commands that LyX does to convert to a .ps file from the .lyx
 Ryan file?
 
 You have to call LyX for that, something like
 lyx -e ps file.lyx
 
 This will bring up the lyx window, though. To avoid that, you will
 need to use tricks with Xvfb. You can find an example at
 http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg10889.html

At least in 1.1.5cvs (probably one of the latest of the 1.1.5cvs versions)
it doesn't work. LyX pops, asks if to export to file or printer, doesn't
wait for an answer, closes the questioning pop-up and closes, no
postscript is done, no latexing is done.

Exporting to latex works ok though (this is what I use now), my problem is
that it asks for the confirmation since there is a .tex file present, this
should be avoided when doing it from command line.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/ (My brothers ADD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: Export as HTML...

2000-06-27 Thread noyes

I hate to keep bugging list members about this, but I'm still unable to 
properly "Export as HTML" with latex2html. The URL's in the document aren't 
converted into hyper-links.

I know I've done something wrong, but I can't seem to figure out how to fix 
the problem. Would one of you kind souls take a look at the document, and 
give me a hint?

The "Linux Router Questions and Answers" document is available as 
individual files or tarball at:

http://www.mindspring.com/~pnoyes/

--
Mike Noyes| lyx-1.1.5-1.i386.rpm - alien - .deb
[EMAIL PROTECTED] | Debian 2.2




Conversion Error using ieice.cls

2000-06-27 Thread Koh, YounSuk


Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file, so article(ieice)
are shown in Layout => Class.
But using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
--
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
 Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909




Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file, so article(ieice)
are shown in Layout => Class.
But using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
--
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
 Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909




Conversion Error using ieice.cls

2000-06-27 Thread Koh, YounSuk


Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file, so article(ieice)
are shown in Layout => Class.
But using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
--
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
 Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909



Can't preview or print or even export anything other than TeX

2000-06-27 Thread Rachel Greenham

Subject says it:

I'm having a problem with LyX. When I try to view DVI or view postscript
or export as DVI etc., it fails to actually do anything. If I launch it
from a console I get error output thus:

Attempting to view DVI
file:randomfile.dvi: No such file or directory

Attempting to view Postscript, or print
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software
(www.radicaleye.com)
dvips: ! DVI file can't be opened.

Attempting to export DVI
sh: ./randomfile.tex: Permission denied

... and so on.

Exporting as TeX works fine, and on the output from that I can manually
run all the latex/tetex tools eg: texi2dvi, texi2pdf, dvips, xdvi etc.,
all those work fine, but LyX seems incapable of running them properly.

BTW, if I export as TeX and *then* try to view DVI or Postscript, I
still get the same errors.

Now:

I'm running all this under Linux using SuSE 6.4. At first, naturally, I
tried it with the versions of tetex, LyX etc. supplied with SuSE, and
when it failed, thinking it might be an error in their distribution, I
removed it and built both tetex and LyX up from source, from the latest
available stable versions (teTeX 1.0.2, LyX 1.1.5, though still using
the XForms, Ghostscript etc. supplied by SuSE (the LyX GUI is fine with
that btw)). The exact same errors occur but, again, the command-line
tools in teTeX are working fine.

Help! :-)

-- 
Rachel



Re: Can't preview or print or even export anything other than TeX

2000-06-27 Thread Kayvan A. Sylvan

Try doing Options-Reconfigure

Then try again.

This may fix the problem...

-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory



Re: Can't preview or print or even export anything other than TeX

2000-06-27 Thread Rachel Greenham

"Kayvan A. Sylvan" wrote:
 
 Try doing Options-Reconfigure
 
 Then try again.
 
 This may fix the problem...

Whoah, that works! Thanks! :-)

-- 
Rachel



LyX and styles

2000-06-27 Thread Tommi Rintala


Dear list members,

At our company we deciced to use LyX to write software manuals for 
our software. I have some experience of LaTeX. Because our tech-writers
don't know LaTeX at all, I'm writing them a template, layout and an
appropriate document class (.cls) to use. The base is normal book
layout, but I think I'll need to add some things to that.

We are using version 1.1.5. I have one problem (how to make work as easy 
as possible for writers), which arises couple of questions:


1) Can I create a new style (or command), which I use inside of
   normal paragraph. The functionality I have in mind is same than 
   with LaTeX macro like this:

   \newcommand{\ExampleFormat}[1]{{\sl\ss #1}}

   And as resulting LaTeX source it would look like:

   "..this is a \ExampleFormat{example} paragraph of formatting..."

   and after evaluation it would be:

   "..this is a {\sl\ss example} paragraph of formatting..."

   If I create this as a new style, it is used as a paragraph style.
   Or is this still on "todo-list" of LyX?

2) Can I bound this style in to a toolbar button? So that I could use 
   it as a toggle button for formatting a text selection? 

yours,

Tommi Rintala



page numbering

2000-06-27 Thread Staffan Ringbom

Hi I have a (probably) simple LaTeX question

Page style plain puts the page number on the bottom of the page
How do I get a plain number on the top of the page.

I do not want any other text in the heading, wich appears
there if I use the heading option in the page style

use default article.


Any suggestions?

Best,

Staffan




Re: page numbering

2000-06-27 Thread Jean-Pierre.Chretien


Date: Tue, 27 Jun 2000 09:22:06 +0300
From: Staffan Ringbom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: page numbering

Hi I have a (probably) simple LaTeX question

Page style plain puts the page number on the bottom of the page
How do I get a plain number on the top of the page.

I do not want any other text in the heading, wich appears
there if I use the heading option in the page style

use default article.


Any suggestions?

Use Layout-Document-Pagestyle   fancy
Then in preamble
\cfoot{}\rfoot{}\lfoot{}
\chead{\rm\thepage}\rhead{}\lhead{}
or any other customization.
It's a bit more intricated if for a twosided document,
needs a look at the fancyhdr.sty doc.

-- 
Jean-Pierre





Re: table and linebreak

2000-06-27 Thread Alexander Bauer


I tried
\flushright
and
\raggedright
but they both do something with the next line of the table, too.
I´ve attached my lyx-file. Maybe I´m doing something wrong?

Alexander

 Alexander Bauer wrote:
 I'm trying to do a table with a linebreak in one cell
 (a long headline). This would be no problem, but I need to
 have the cell-content aligned to the right. If the option linebreak
 in the table-dialogue box is switched, you can only chose left.

 choose

 \flushright bla bla bla

 in the cells.

 Herbert

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


 Table.lyx


Re: Converting .lyx to .ps

2000-06-27 Thread Jean-Marc Lasgouttes

 "Ryan" == Ryan Wahle [EMAIL PROTECTED] writes:

Ryan How can I convert .lyx to .ps ?? I can do it from LyX, but I
Ryan need to do it automatically from another program. I don't know
Ryan what utility to use. I have tried serveral like latex but they
Ryan give me an error for some reason.. Can someone give me the
Ryan commands that LyX does to convert to a .ps file from the .lyx
Ryan file?

You have to call LyX for that, something like
lyx -e ps file.lyx

This will bring up the lyx window, though. To avoid that, you will
need to use tricks with Xvfb. You can find an example at
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg10889.html

JMarc



LyX 1.1.5 for sgi IRIX

2000-06-27 Thread Ralf Plaenkers

Anybody got a precompiled version of the latest LyX for sgi IRIX?
I never made it compile myself. Always the same problems with xforms not
found etc.

Some precompiled binaries for the major platforms (Linux, Solaris, Aix,
HPUX, IRIX, Win32) wouldn't do any harm to the LyX ftp site, I'd guess!
It was common practice for the older versions but it somehow got lost
after 1.0.

Cheers
Ralf






Re: Problem with Meta-Key

2000-06-27 Thread Rick Janda

[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

 Rick Janda [EMAIL PROTECTED] writes:
 
 | On Keyboard with 104 or 105 Caps you can use the Windows-Key to
 | separate Meta from Alt. I know many people who use Alt for the whole
 | windowmanager stuff and private shortcuts and Meta for the "normal"
 | programs to do not get a conflict. On XFree86 configuration for
 | 104/105 keys PC-keyboards, Meta get mod 4 and Alt get mod 1.
 
 And in Emacs Meta-x will give "M-x" in the minibuffer?
yes, it does (since Version 19).
 
 LyX currently uses Mod-1.
 Other uses of modifiers must give a keysym lyx can react upon.
 
 If I understand how other programms handeled this I am sure we could
 find a solution.
 
 But it does not seem correct to look at keysym, imho we must look at
 modifier number. (I should be allowed to have my F1 key as mod-1 if I
 want that and F2 as mod-4, how to handle Alt/Meta then?)
Then you must bind Meta_L or Meta_R to the keycode auf F1 and Alt_L or
 Alt_R to the keycode of F2.

This is part of the xkeycaps manpage:

"The  remaining modifier bits (Mod1 through Mod5)
 have semantics which are  defined  by  the  keys
 with which they are associated.
...

 That  is,  the Control modifier means Control if
 it is attached to Control_L or Control_R, and is
 illegal elsewhere.

 But  Mod1 means Meta if it is attached to Meta_L
 or Meta_R; but it would  mean  Alt  if  it  were
 attached  to  Alt_L  or  Alt_R;  or  Hyper  with
 Hyper_L or Hyper_R; and so on.  (It  could  not,
 however,  be  attached  to  Control_L, since the
 Control modifier has already  spoken  for  those
 keysyms.) 
...
   A client needing to use an extra modifier,  for  exam­
   ple Meta,  should:

 Scan  the existing modifier mappings.  If it finds a
 modifier  that  contains  a  keycode  whose  set  of
 keysyms  includes  XK_Meta_L or XK_Meta_R, it should
 use that modifier bit.

 If there  is  no  existing  modifier  controlled  by
 XK_Meta_L  or  XK_Meta_R, it should select an unused
 modifier bit (one with  an  empty  controlling  set)
 and:

   If there is a keycode with XL_Meta_L in its set of
   keysyms, add that keycode to the set for the  cho­
   sen modifier, then

   if there is a keycode with XL_Meta_R in its set of
   keysyms, add that keycode to the set for the  cho­
   sen modifier, then

   if  the  controlling set is still empty,  interact
   with the user to select one or  more  keys  to  be
   Meta.

 If  there  are no unused modifier bits, ask the user
 to take corrective action.


"
If you need more explanation, please read the xkeycap manpage, it
explain the internals of keyboard settings very well, I think.
 
 Lgb


Rick Janda



[Fwd: LyX to PDF]

2000-06-27 Thread Stephan E. Schlierf

Niklas asked me to forward the following message:


Niklas Werner wrote:
 
 Well,
 after reading the news on lyx.org I'd suggest the following which works
 just fine!
 
 Preamble:
 \usepackage{ae}
 this uses the computer ,modern fonts built-in in acrobat, so they
 really look good on ANY platform
 There may be some modifications to your //texmf/../config.ps needed
 I don't recall at the moment, so please make sure latex finds the fonts
 the rest is:
 \usepackage[pdftex=true,colorlinks=true,urlcolor=blue,pdftitle={whatever
 your title will
 be},pdfauthor={whoami?},pdfotherdirectives={whatever}]{hyperref}
 
 this makes your document navigationable(is that a word?) in acrobat and
 links all sections, chapters, pictures, references and sets some
 pdfinfo stuff.
 
 Then edit your document as usual but don't include eps-graphics, but png
 or pdf or latex- graphics (easiliy done in LyX, just toggle the "don't
 show"-button in the graphics-popup).
 export as LaTeX and run pdflatex on the resulting yourfile.tex.
 
 pdf made thus result in much smaller filesizes than via ps2pdf and
 enable all the neat indexing and linking LaTeX provides!
 
 Have fun*
 
 Niklas
 
 *
 
 Niklas Werner
 
 http://www.user.tu-berlin.de/~nickgfec/
 
 *

--
Stephan E. Schlierf M.A.
-  Product Management  -
PHONE:  ++49 9254 960673
FAX:++49 9254 960674
CSE GmbH Germany



Re: table and linebreak

2000-06-27 Thread Herbert Voss

Alexander Bauer wrote:
 
 I tried
 \flushright
 and
 \raggedright
 but they both do something with the next line of the table, too.
 I´ve attached my lyx-file. Maybe I´m doing something wrong?
 
put the cursor in the right column and choose withright mouse
button the table menu, than choose extra button and put in 
"special column format" a "r" for right.

Herbert


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



Re: LyX 1.1.5 for sgi IRIX

2000-06-27 Thread Jean-Marc Lasgouttes

 "Ralf" == Ralf Plaenkers [EMAIL PROTECTED] writes:

Ralf Some precompiled binaries for the major platforms (Linux,
Ralf Solaris, Aix, HPUX, IRIX, Win32) wouldn't do any harm to the LyX
Ralf ftp site, I'd guess! It was common practice for the older
Ralf versions but it somehow got lost after 1.0.

It happens that the support for making binary distribution got broken
(OK, disappeared) in lyx 1.1.x. I finally took the time to re-write
it, so that it should be possible to do that starting from version
1.1.5fix1.

JMarc



Re: LyX and styles

2000-06-27 Thread Jean-Marc Lasgouttes

 "Tommi" == Tommi Rintala [EMAIL PROTECTED] writes:

Tommi 1) Can I create a new style (or command), which I use inside of
Tommi normal paragraph. The functionality I have in mind is same than
Tommi with LaTeX macro like this:
Tommi\newcommand{\ExampleFormat}[1]{{\sl\ss #1}}

This is not yet possible, but planned. Actually, Lars has written some
description of how we should do that, but it has not been yet done.

Tommi 2) Can I bound this style in to a toolbar button? So that I
Tommi could use it as a toggle button for formatting a text
Tommi selection?

Once the facility exists, it will be possible to bind it to an key
sequence, menu or toolbar button.

JMarc



Re: Converting .lyx to .ps

2000-06-27 Thread Baruch Even

On 27 Jun 2000, Jean-Marc Lasgouttes wrote:

  "Ryan" == Ryan Wahle [EMAIL PROTECTED] writes:
 
 Ryan How can I convert .lyx to .ps ?? I can do it from LyX, but I
 Ryan need to do it automatically from another program. I don't know
 Ryan what utility to use. I have tried serveral like latex but they
 Ryan give me an error for some reason.. Can someone give me the
 Ryan commands that LyX does to convert to a .ps file from the .lyx
 Ryan file?
 
 You have to call LyX for that, something like
 lyx -e ps file.lyx
 
 This will bring up the lyx window, though. To avoid that, you will
 need to use tricks with Xvfb. You can find an example at
 http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg10889.html

At least in 1.1.5cvs (probably one of the latest of the 1.1.5cvs versions)
it doesn't work. LyX pops, asks if to export to file or printer, doesn't
wait for an answer, closes the questioning pop-up and closes, no
postscript is done, no latexing is done.

Exporting to latex works ok though (this is what I use now), my problem is
that it asks for the confirmation since there is a .tex file present, this
should be avoided when doing it from command line.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/ (My brothers ADD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: Export as HTML...

2000-06-27 Thread noyes

I hate to keep bugging list members about this, but I'm still unable to 
properly "Export as HTML" with latex2html. The URL's in the document aren't 
converted into hyper-links.

I know I've done something wrong, but I can't seem to figure out how to fix 
the problem. Would one of you kind souls take a look at the document, and 
give me a hint?

The "Linux Router Questions and Answers" document is available as 
individual files or tarball at:

http://www.mindspring.com/~pnoyes/

--
Mike Noyes| lyx-1.1.5-1.i386.rpm - alien - .deb
[EMAIL PROTECTED] | Debian 2.2




Conversion Error using ieice.cls

2000-06-27 Thread Koh, YounSuk


Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file, so article(ieice)
are shown in Layout => Class.
But using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
--
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
 Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909




Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file, so article(ieice)
are shown in Layout => Class.
But using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
--
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
 Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909




Conversion Error using ieice.cls

2000-06-27 Thread Koh, YounSuk


Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file, so article(ieice)
are shown in Layout => Class.
But using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
--
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
 Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909



Can't preview or print or even export anything other than TeX

2000-06-27 Thread Rachel Greenham

Subject says it:

I'm having a problem with LyX. When I try to view DVI or view postscript
or export as DVI etc., it fails to actually do anything. If I launch it
from a console I get error output thus:

Attempting to view DVI
file:randomfile.dvi: No such file or directory

Attempting to view Postscript, or print
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software
(www.radicaleye.com)
dvips: ! DVI file can't be opened.

Attempting to export DVI
sh: ./randomfile.tex: Permission denied

... and so on.

Exporting as TeX works fine, and on the output from that I can manually
run all the latex/tetex tools eg: texi2dvi, texi2pdf, dvips, xdvi etc.,
all those work fine, but LyX seems incapable of running them properly.

BTW, if I export as TeX and *then* try to view DVI or Postscript, I
still get the same errors.

Now:

I'm running all this under Linux using SuSE 6.4. At first, naturally, I
tried it with the versions of tetex, LyX etc. supplied with SuSE, and
when it failed, thinking it might be an error in their distribution, I
removed it and built both tetex and LyX up from source, from the latest
available stable versions (teTeX 1.0.2, LyX 1.1.5, though still using
the XForms, Ghostscript etc. supplied by SuSE (the LyX GUI is fine with
that btw)). The exact same errors occur but, again, the command-line
tools in teTeX are working fine.

Help! :-)

-- 
Rachel



Re: Can't preview or print or even export anything other than TeX

2000-06-27 Thread Kayvan A. Sylvan

Try doing Options-Reconfigure

Then try again.

This may fix the problem...

-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory



Re: Can't preview or print or even export anything other than TeX

2000-06-27 Thread Rachel Greenham

"Kayvan A. Sylvan" wrote:
 
 Try doing Options-Reconfigure
 
 Then try again.
 
 This may fix the problem...

Whoah, that works! Thanks! :-)

-- 
Rachel



LyX and styles

2000-06-27 Thread Tommi Rintala


Dear list members,

At our company we deciced to use LyX to write software manuals for 
our software. I have some experience of LaTeX. Because our tech-writers
don't know LaTeX at all, I'm writing them a template, layout and an
appropriate document class (.cls) to use. The base is normal book
layout, but I think I'll need to add some things to that.

We are using version 1.1.5. I have one problem (how to make work as easy 
as possible for writers), which arises couple of questions:


1) Can I create a new style (or command), which I use inside of
   normal paragraph. The functionality I have in mind is same than 
   with LaTeX macro like this:

   \newcommand{\ExampleFormat}[1]{{\sl\ss #1}}

   And as resulting LaTeX source it would look like:

   "..this is a \ExampleFormat{example} paragraph of formatting..."

   and after evaluation it would be:

   "..this is a {\sl\ss example} paragraph of formatting..."

   If I create this as a new style, it is used as a paragraph style.
   Or is this still on "todo-list" of LyX?

2) Can I bound this style in to a toolbar button? So that I could use 
   it as a toggle button for formatting a text selection? 

yours,

Tommi Rintala



page numbering

2000-06-27 Thread Staffan Ringbom

Hi I have a (probably) simple LaTeX question

Page style plain puts the page number on the bottom of the page
How do I get a plain number on the top of the page.

I do not want any other text in the heading, wich appears
there if I use the heading option in the page style

use default article.


Any suggestions?

Best,

Staffan




Re: page numbering

2000-06-27 Thread Jean-Pierre.Chretien


>>Date: Tue, 27 Jun 2000 09:22:06 +0300
>>From: Staffan Ringbom <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: page numbering
>>
>>Hi I have a (probably) simple LaTeX question
>>
>>Page style plain puts the page number on the bottom of the page
>>How do I get a plain number on the top of the page.
>>
>>I do not want any other text in the heading, wich appears
>>there if I use the heading option in the page style
>>
>>use default article.
>>
>>
>>Any suggestions?

Use Layout->Document->Pagestyle   fancy
Then in preamble
\cfoot{}\rfoot{}\lfoot{}
\chead{\rm\thepage}\rhead{}\lhead{}
or any other customization.
It's a bit more intricated if for a twosided document,
needs a look at the fancyhdr.sty doc.

-- 
Jean-Pierre





Re: table and linebreak

2000-06-27 Thread Alexander Bauer


I tried
\flushright
and
\raggedright
but they both do something with the next line of the table, too.
I´ve attached my lyx-file. Maybe I´m doing something wrong?

Alexander

> Alexander Bauer wrote:
> >I'm trying to do a table with a linebreak in one cell
> >(a long headline). This would be no problem, but I need to
> >have the cell-content aligned to the right. If the option linebreak
> >in the table-dialogue box is switched, you can only chose left.
>
> choose
>
> \flushright bla bla bla
>
> in the cells.
>
> Herbert
>
> --
> [EMAIL PROTECTED]
> http://perce.de/voss


 Table.lyx


Re: Converting .lyx to .ps

2000-06-27 Thread Jean-Marc Lasgouttes

> "Ryan" == Ryan Wahle <[EMAIL PROTECTED]> writes:

Ryan> How can I convert .lyx to .ps ?? I can do it from LyX, but I
Ryan> need to do it automatically from another program. I don't know
Ryan> what utility to use. I have tried serveral like latex but they
Ryan> give me an error for some reason.. Can someone give me the
Ryan> commands that LyX does to convert to a .ps file from the .lyx
Ryan> file?

You have to call LyX for that, something like
lyx -e ps file.lyx

This will bring up the lyx window, though. To avoid that, you will
need to use tricks with Xvfb. You can find an example at
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg10889.html

JMarc



LyX 1.1.5 for sgi IRIX

2000-06-27 Thread Ralf Plaenkers

Anybody got a precompiled version of the latest LyX for sgi IRIX?
I never made it compile myself. Always the same problems with xforms not
found etc.

Some precompiled binaries for the major platforms (Linux, Solaris, Aix,
HPUX, IRIX, Win32) wouldn't do any harm to the LyX ftp site, I'd guess!
It was common practice for the older versions but it somehow got lost
after 1.0.

Cheers
Ralf






Re: Problem with Meta-Key

2000-06-27 Thread Rick Janda

[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

> Rick Janda <[EMAIL PROTECTED]> writes:
> 
> | On Keyboard with 104 or 105 Caps you can use the Windows-Key to
> | separate Meta from Alt. I know many people who use Alt for the whole
> | windowmanager stuff and private shortcuts and Meta for the "normal"
> | programs to do not get a conflict. On XFree86 configuration for
> | 104/105 keys PC-keyboards, Meta get mod 4 and Alt get mod 1.
> 
> And in Emacs Meta-x will give "M-x" in the minibuffer?
yes, it does (since Version 19).
> 
> LyX currently uses Mod-1.
> Other uses of modifiers must give a keysym lyx can react upon.
> 
> If I understand how other programms handeled this I am sure we could
> find a solution.
> 
> But it does not seem correct to look at keysym, imho we must look at
> modifier number. (I should be allowed to have my F1 key as mod-1 if I
> want that and F2 as mod-4, how to handle Alt/Meta then?)
Then you must bind Meta_L or Meta_R to the keycode auf F1 and Alt_L or
 Alt_R to the keycode of F2.

This is part of the xkeycaps manpage:

"The  remaining modifier bits (Mod1 through Mod5)
 have semantics which are  defined  by  the  keys
 with which they are associated.
...

 That  is,  the Control modifier means Control if
 it is attached to Control_L or Control_R, and is
 illegal elsewhere.

 But  Mod1 means Meta if it is attached to Meta_L
 or Meta_R; but it would  mean  Alt  if  it  were
 attached  to  Alt_L  or  Alt_R;  or  Hyper  with
 Hyper_L or Hyper_R; and so on.  (It  could  not,
 however,  be  attached  to  Control_L, since the
 Control modifier has already  spoken  for  those
 keysyms.) 
...
   A client needing to use an extra modifier,  for  exam­
   ple Meta,  should:

 Scan  the existing modifier mappings.  If it finds a
 modifier  that  contains  a  keycode  whose  set  of
 keysyms  includes  XK_Meta_L or XK_Meta_R, it should
 use that modifier bit.

 If there  is  no  existing  modifier  controlled  by
 XK_Meta_L  or  XK_Meta_R, it should select an unused
 modifier bit (one with  an  empty  controlling  set)
 and:

   If there is a keycode with XL_Meta_L in its set of
   keysyms, add that keycode to the set for the  cho­
   sen modifier, then

   if there is a keycode with XL_Meta_R in its set of
   keysyms, add that keycode to the set for the  cho­
   sen modifier, then

   if  the  controlling set is still empty,  interact
   with the user to select one or  more  keys  to  be
   Meta.

 If  there  are no unused modifier bits, ask the user
 to take corrective action.


"
If you need more explanation, please read the xkeycap manpage, it
explain the internals of keyboard settings very well, I think.
> 
> Lgb


Rick Janda



[Fwd: LyX to PDF]

2000-06-27 Thread Stephan E. Schlierf

Niklas asked me to forward the following message:


Niklas Werner wrote:
> 
> Well,
> after reading the news on lyx.org I'd suggest the following which works
> just fine!
> 
> Preamble:
> \usepackage{ae}
> this uses the computer ,modern fonts built-in in acrobat, so they<
> really look good on ANY platform
> There may be some modifications to your //texmf/../config.ps needed
> I don't recall at the moment, so please make sure latex finds the fonts
> the rest is:
> \usepackage[pdftex=true,colorlinks=true,urlcolor=blue,pdftitle={whatever
> your title will
> be},pdfauthor={whoami?},pdfotherdirectives={whatever}]{hyperref}
> 
> this makes your document navigationable(is that a word?) in acrobat and
> links all sections, chapters, pictures, references and sets some
> pdfinfo stuff.
> 
> Then edit your document as usual but don't include eps-graphics, but png
> or pdf or latex- graphics (easiliy done in LyX, just toggle the "don't
> show"-button in the graphics-popup).
> export as LaTeX and run pdflatex on the resulting yourfile.tex.
> 
> pdf made thus result in much smaller filesizes than via ps2pdf and
> enable all the neat indexing and linking LaTeX provides!
> 
> Have fun*
> 
> Niklas
> 
> *
> 
> Niklas Werner
> 
> http://www.user.tu-berlin.de/~nickgfec/
> 
> *

--
Stephan E. Schlierf M.A.
-  Product Management  -
PHONE:  ++49 9254 960673
FAX:++49 9254 960674
CSE GmbH Germany



Re: table and linebreak

2000-06-27 Thread Herbert Voss

Alexander Bauer wrote:
> 
> I tried
> \flushright
> and
> \raggedright
> but they both do something with the next line of the table, too.
> I´ve attached my lyx-file. Maybe I´m doing something wrong?
> 
put the cursor in the right column and choose withright mouse
button the table menu, than choose extra button and put in 
"special column format" a "r" for right.

Herbert


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



Re: LyX 1.1.5 for sgi IRIX

2000-06-27 Thread Jean-Marc Lasgouttes

> "Ralf" == Ralf Plaenkers <[EMAIL PROTECTED]> writes:

Ralf> Some precompiled binaries for the major platforms (Linux,
Ralf> Solaris, Aix, HPUX, IRIX, Win32) wouldn't do any harm to the LyX
Ralf> ftp site, I'd guess! It was common practice for the older
Ralf> versions but it somehow got lost after 1.0.

It happens that the support for making binary distribution got broken
(OK, disappeared) in lyx 1.1.x. I finally took the time to re-write
it, so that it should be possible to do that starting from version
1.1.5fix1.

JMarc



Re: LyX and styles

2000-06-27 Thread Jean-Marc Lasgouttes

> "Tommi" == Tommi Rintala <[EMAIL PROTECTED]> writes:

Tommi> 1) Can I create a new style (or command), which I use inside of
Tommi> normal paragraph. The functionality I have in mind is same than
Tommi> with LaTeX macro like this:
Tommi>\newcommand{\ExampleFormat}[1]{{\sl\ss #1}}

This is not yet possible, but planned. Actually, Lars has written some
description of how we should do that, but it has not been yet done.

Tommi> 2) Can I bound this style in to a toolbar button? So that I
Tommi> could use it as a toggle button for formatting a text
Tommi> selection?

Once the facility exists, it will be possible to bind it to an key
sequence, menu or toolbar button.

JMarc



Re: Converting .lyx to .ps

2000-06-27 Thread Baruch Even

On 27 Jun 2000, Jean-Marc Lasgouttes wrote:

> > "Ryan" == Ryan Wahle <[EMAIL PROTECTED]> writes:
> 
> Ryan> How can I convert .lyx to .ps ?? I can do it from LyX, but I
> Ryan> need to do it automatically from another program. I don't know
> Ryan> what utility to use. I have tried serveral like latex but they
> Ryan> give me an error for some reason.. Can someone give me the
> Ryan> commands that LyX does to convert to a .ps file from the .lyx
> Ryan> file?
> 
> You have to call LyX for that, something like
> lyx -e ps file.lyx
> 
> This will bring up the lyx window, though. To avoid that, you will
> need to use tricks with Xvfb. You can find an example at
> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg10889.html

At least in 1.1.5cvs (probably one of the latest of the 1.1.5cvs versions)
it doesn't work. LyX pops, asks if to export to file or printer, doesn't
wait for an answer, closes the questioning pop-up and closes, no
postscript is done, no latexing is done.

Exporting to latex works ok though (this is what I use now), my problem is
that it asks for the confirmation since there is a .tex file present, this
should be avoided when doing it from command line.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/ (My brothers AD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: Export as HTML...

2000-06-27 Thread noyes

I hate to keep bugging list members about this, but I'm still unable to 
properly "Export as HTML" with latex2html. The URL's in the document aren't 
converted into hyper-links.

I know I've done something wrong, but I can't seem to figure out how to fix 
the problem. Would one of you kind souls take a look at the document, and 
give me a hint?

The "Linux Router Questions and Answers" document is available as 
individual files or tarball at:

http://www.mindspring.com/~pnoyes/

--
Mike Noyes| lyx-1.1.5-1.i386.rpm -> alien -> .deb
[EMAIL PROTECTED] | Debian 2.2




Conversion Error using ieice.cls

2000-06-27 Thread Koh, YounSuk


Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file,  so article(ieice)
are shown in Layout  => Class.
But  using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document  class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
-- 
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
   Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909
 



Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file,  so article(ieice)
are shown in Layout  => Class.
But  using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document  class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
-- 
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
   Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909
 



Conversion Error using ieice.cls

2000-06-27 Thread Koh, YounSuk


Hi.
I was trying to make a paper using LyX to send to IEICE .
IEICE provides the style and class files for its own papers on "ftp://ftp.ieice.org/pub/tex/ieice/".
So I was trying to read the files with LyX according to customizing
procedure.
LyX recognizes the existence of the class file,  so article(ieice)
are shown in Layout  => Class.
But  using the class, LyX give out the following message.
"Conversion Errors! "
"Unable to switch to new document  class. Reverting to original
document class."
What did I mistake ? and What should I do for solving this problem?
Bye.
-- 
Koh, Youn-Suk
Organization : Kwangh-Ju Intitute of Science and Technology
   Department of Information and Communication
Email : [EMAIL PROTECTED]
TEL : 062-970-2265
PCS : 016-762-6909
 


Can't preview or print or even export anything other than TeX

2000-06-27 Thread Rachel Greenham

Subject says it:

I'm having a problem with LyX. When I try to view DVI or view postscript
or export as DVI etc., it fails to actually do anything. If I launch it
from a console I get error output thus:

Attempting to view DVI
file:randomfile.dvi: No such file or directory

Attempting to view Postscript, or print
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software
(www.radicaleye.com)
dvips: ! DVI file can't be opened.

Attempting to export DVI
sh: ./randomfile.tex: Permission denied

... and so on.

Exporting as TeX works fine, and on the output from that I can manually
run all the latex/tetex tools eg: texi2dvi, texi2pdf, dvips, xdvi etc.,
all those work fine, but LyX seems incapable of running them properly.

BTW, if I export as TeX and *then* try to view DVI or Postscript, I
still get the same errors.

Now:

I'm running all this under Linux using SuSE 6.4. At first, naturally, I
tried it with the versions of tetex, LyX etc. supplied with SuSE, and
when it failed, thinking it might be an error in their distribution, I
removed it and built both tetex and LyX up from source, from the latest
available stable versions (teTeX 1.0.2, LyX 1.1.5, though still using
the XForms, Ghostscript etc. supplied by SuSE (the LyX GUI is fine with
that btw)). The exact same errors occur but, again, the command-line
tools in teTeX are working fine.

Help! :-)

-- 
Rachel



Re: Can't preview or print or even export anything other than TeX

2000-06-27 Thread Kayvan A. Sylvan

Try doing Options->Reconfigure

Then try again.

This may fix the problem...

-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory



Re: Can't preview or print or even export anything other than TeX

2000-06-27 Thread Rachel Greenham

"Kayvan A. Sylvan" wrote:
> 
> Try doing Options->Reconfigure
> 
> Then try again.
> 
> This may fix the problem...

Whoah, that works! Thanks! :-)

-- 
Rachel