Re: debian and the latex file structure

2001-09-11 Thread Baruch Even

First, if you'll go to http://packages.debian.org you can see at the
bottom a form to search for file names in packages, specifically for
a4.sty you can find that tetex-extra includes a4.sty, just
apt-get install tetex-extra
and you'll be fine.

.dtx and .ins are the latex package, you need to run it through latex
and they will produce the .sty file and anything else necessary.

* Alexis Wiasmitinow [EMAIL PROTECTED] [010911 10:14]:
 Hi
 
 if I want to make a A4-small margins format, lyx (or latex) says file a4.sty 
 not found. I know from the latex configuration file that the package is not 
 installed. so I tried to get it from  ctan.tug.org but there is only a 
 a4.dtx and a a4.ins file. 
 so where do I get the a4.sty file?
 
 I got lyx from debian by apt-get, and so I have no idea what is the system 
 between all the folders I have in my /usr/share/texmf directory.
 so what has to be put where?
 
 what is the debian package with a4.sty in it?
 the geometry package would also be nice, but my problems are the same than 
 above...
 
 thanksAlexis  Wiasmitinow

-- 
Baruch Even
http://baruch.ev-en.org/



Re: no wrap using LyxCode?

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 03:10:14PM +0200, Giovanni Tummarello wrote:
 same thing happens to 1 long url i have pasted somewhere (not lyxcode)

URLs should be inserted using Insert-URL.



Re: HFill with leading periods?

2001-09-11 Thread Dekel Tsur

On Tue, Sep 11, 2001 at 12:20:43AM +0200, Niklaus Giger wrote:
 I have found in my A guide to LaTeX the TeX-function \dotfill which does 
 the job for me.
 
 Is there a LyX-way to use this feature (except the trivial solution to insert 
 it using the TeX-style)? (I fear that the LaTeX-solution is not very 
 appealing to newbie's).

No.



Re: Only one LyX source document for all exports

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 11:47:00PM +0200, Adolfo Pachón wrote:
 Hi all!!
 
 I've one LyX document with figure floats  PS figures. I want to produce
 the HTML  PDF versions, but the PDF version do not produce the images.
 
 My question is:
 
 How can I export the same source LyX document to HTML (with LaTeX2HTML)
 and to PDF (with pdflatex) with quality?

Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.

If you really want to use pdflatex, then convert all EPS files to PDF using
epstopdf, and when you insert an EPS file to the lyx document, enter its
name without its suffix, namely for foo.eps, write foo in the dialog. 



Re: Can I name a font?

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote:

 By the way, if \textsf is sans, and \textbf is bold, anyone know how to make 
 underline?

\underline{text}.
However, underlined text won't break at line end.
For a breakable underline text, use the \ul command from soul.sty.




Re: Only one LyX source document for all exports

2001-09-11 Thread Jean-Pierre.Chretien


Date: Tue, 11 Sep 2001 10:52:08 +0300
From: Dekel Tsur [EMAIL PROTECTED]
To: Adolfo Pachón [EMAIL PROTECTED], LyX users [EMAIL PROTECTED]
Subject: Re: Only one LyX source document for all exports

On Mon, Sep 10, 2001 at 11:47:00PM +0200, Adolfo Pachón wrote:
 Hi all!!
 
 I've one LyX document with figure floats  PS figures. I want to produce
 the HTML  PDF versions, but the PDF version do not produce the images.
 
 My question is:
 
 How can I export the same source LyX document to HTML (with LaTeX2HTML)
 and to PDF (with pdflatex) with quality?

Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.

If you really want to use pdflatex, then convert all EPS files to PDF using
epstopdf, and when you insert an EPS file to the lyx document, enter its
name without its suffix, namely for foo.eps, write foo in the dialog. 

Or try tex2pdf on lyx or tex file (don't remove extensions then).
(final) bash or new (beta) perl port available at
http://tex2pdf.berlios.de/
Uses pdflatex to provide similar functionalities as ps2pdf, deals with
multipart docs (input/include), manages the needed translations from eps to pdf,
uses original bitmaps when available, leaves the original files
untouched, provides thumbnails on request.

Tried on a medium sized doc with success, failed on nested hyperlinks
on a big doc with lot and lof (needs a recent version of hyperref
to deal with that).

-- 
Jean-Pierre


-- 
Jean-Pierre




Re: Can I name a font?

2001-09-11 Thread Robin Turner

On Tuesday 11 September 2001 11:08, Dekel Tsur wrote:
 On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote:
  By the way, if \textsf is sans, and \textbf is bold, anyone know how to
  make underline?

 \underline{text}.
 However, underlined text won't break at line end.
 For a breakable underline text, use the \ul command from soul.sty.

On the subject of font packages, a couple of questions:

1.  Is there any documentation for the lucida packages? I've been trying 
sticking things in my preamble, but the results are pretty hit or miss.

2.  Does anyone know how to get shadow and outline effects? I assume these 
are raw TeX commands, as I can't find any LaTeX command to do this.

Robin



Re: Hello, and my first problem.

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 06:07:16PM -0400, Ben Logan wrote:
 The other problems occur in section 4.1 Arithmatic Operators. The
 snippet of PHP code in the code paragraph environment wraps in the
 output even thought the lines aren't too long, and don't wrap within
 LyX.  Some of the shorter lines wrap while longer ones don't!
 
 The last problem occurs in the next-to-last paragraph.  There is a
 mysterious line break between 10%3 and is 1 in the output even
 though LyX doesn't show one.

Both of these problems are due to a bug in lyx.
I've attached a patch (for 1.1.6fix3) that fixes it (you will need to compile
lyx yourself).


Index: ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v
retrieving revision 1.757.2.110
diff -u -p -r1.757.2.110 ChangeLog
--- ChangeLog   2001/09/06 14:16:02 1.757.2.110
+++ ChangeLog   2001/09/11 09:29:52
@@ -1,3 +1,8 @@
+2001-09-11  Dekel Tsur  [EMAIL PROTECTED]
+
+   * src/buffer.C (SimpleLinuxDocOnePar): Remove extra character
+   after an inset.
+
 2001-09-06  Jean-Marc Lasgouttes  [EMAIL PROTECTED]
 
* lib/examples/da_splash.lyx: new translation from Claus Hindsgaul
Index: src/buffer.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/buffer.C,v
retrieving revision 1.162.2.9
diff -u -p -r1.162.2.9 buffer.C
--- src/buffer.C2001/07/18 13:31:20 1.162.2.9
+++ src/buffer.C2001/09/11 09:29:54
@@ -2802,9 +2802,7 @@ void Buffer::SimpleLinuxDocOnePar(ostrea
if (c == LyXParagraph::META_INSET) {
inset = par-GetInset(i);
inset-Linuxdoc(this, os);
-   }
-
-   if (font2.latex() == LyXFont::ON) {
+   } else if (font2.latex() == LyXFont::ON) {
// TeX-Mode on ==  SGML-Mode on.
if (c != '\0')
os  c; // see LaTeX-Generation...



Re: Hello, and my first problem.

2001-09-11 Thread Dekel Tsur

On Tue, Sep 11, 2001 at 12:36:46PM +0300, Dekel Tsur wrote:
 On Mon, Sep 10, 2001 at 06:07:16PM -0400, Ben Logan wrote:
  The other problems occur in section 4.1 Arithmatic Operators. The
  snippet of PHP code in the code paragraph environment wraps in the
  output even thought the lines aren't too long, and don't wrap within
  LyX.  Some of the shorter lines wrap while longer ones don't!
  
  The last problem occurs in the next-to-last paragraph.  There is a
  mysterious line break between 10%3 and is 1 in the output even
  though LyX doesn't show one.
 
 Both of these problems are due to a bug in lyx.
 I've attached a patch (for 1.1.6fix3) that fixes it (you will need to compile
 lyx yourself).

I've noticed that you use a table in your document. However, Linuxdoc doesn't
support tables. If you need tables, use Docbook.
(also the bug I mentioned above does not occur with Docbook, so you won't
need to compile lyx yourself).



RE: Only one LyX source document for all exports

2001-09-11 Thread morten


On 10-Sep-2001 Adolfo Pachón wrote:
 Hi all!!
 
 I've one LyX document with figure floats  PS figures. I want to produce
 the HTML  PDF versions, but the PDF version do not produce the images.
 
 My question is:
 
 How can I export the same source LyX document to HTML (with LaTeX2HTML)
 and to PDF (with pdflatex) with quality?

personally I use tex2pdf, since it gave the least problems with ugly fonts. But
I had a huge problem with certain ps-images. The images in the pdf was
unrecognisable - but it was solved by upgrading to ghostview 7.00

What do mean by do not produce the images?
mo

-- 
--
E-Mail: morten [EMAIL PROTECTED]
Date: 11-Sep-2001
Time: 12:40:27

Currently working hard for the LAI at INSA-lyon
--



RE: Only one LyX source document for all exports

2001-09-11 Thread Jean-Pierre.Chretien


Date: Tue, 11 Sep 2001 12:45:58 +0200 (CEST)
From: morten [EMAIL PROTECTED]
To: Adolfo Pachón [EMAIL PROTECTED]
Subject: RE: Only one LyX source document for all exports
Cc: LyX users [EMAIL PROTECTED]


On 10-Sep-2001 Adolfo Pachón wrote:
 Hi all!!
 
 I've one LyX document with figure floats  PS figures. I want to produce
 the HTML  PDF versions, but the PDF version do not produce the images.
 
 My question is:
 
 How can I export the same source LyX document to HTML (with LaTeX2HTML)
 and to PDF (with pdflatex) with quality?

personally I use tex2pdf, since it gave the least problems with ugly fonts. 
But
I had a huge problem with certain ps-images. The images in the pdf was
unrecognisable - but it was solved by upgrading to ghostview 7.00

epstopdf fails with bitmapped images unless you add
-dCompatibilityLevel=1.1
to the GS options in the script (here gs version 6.01).
Main reason to come back to bitmaps when available IMHO
(another one is resizing problems with vector-like
bitmapped images like screenshots).


-- 
Jean-Pierre




Re: Problem with sun5t latin1 keyboard

2001-09-11 Thread Dave Chapeskie

[Format recovered--see http://www.lemis.com/email/email-format.html]
On Mon, Sep 10, 2001 at 04:13:41PM +0200, Yann MORERE wrote:
 I compiled the 1.1.6fix 3 release on a sun sparc station 5 under
 debian potato. I'm using the sun5t latin 1 keyboard.

 I got the following problem :

 I can't make an ê in lyx. pressing simultaneously ^ and e gives me
 an e. In fact the ^ key seems to have no effect.

 Using xev to show the key I got
 
  KeyPress event, serial 20, synthetic NO, window 0x281,
 root 0x2b, subw 0x0, time 3699913641, (158,468), root:(727,555),
 state 0x40, keycode 71 (keysym 0x1005ff01, SunFA_Circum), same_screen YES,
 XLookupString gives 0 characters:  

I believe your problem is with your X keyboard mapping.  And can be
fixed by using xmodmap in your X startup file (~/.xinitrc and/or
~/.xsession).  I'm not a keyboard expert and I rarely use accented
characters however.


I used xkeycaps (http://www.jwz.org/xkeycaps/) to set my Scroll Lock key
to make the SunFA_Circum keysym.  After doing so xev reports similar to
what you give but I was unable to do anything useful with the key.  I
then set it to the dead_circumflex keysym (under the ISO submenu in
xkeycaps) and I was able to get ê by typing Scroll Lock e (*not*
holding scroll lock down but releasing if before typing the e).

I recommend xkeycaps as a useful tool when doing things with keyboard
setup under X windows.  There is lots of useful information about
keyboard mappings in the xkeycaps manpage.  In fact the it mentions
SuSE Linux having many problems with their default keymap.

For the rare occasion when I need accented or special characters I use
a compose key (the Multi_key keysym mapped with an unused modifier
to one of the otherwise useless winblows keys on my keyboard with an
xkeycaps produce xmodmap file).  So for an ê I type Composee^.

Assuming you use XFree86 then the file
/usr/X11R6/lib/X11/locale/iso8859-1/Compose lists the available compose
and dead key combinations.  Substitute the appropriate encoding for
iso8859-1.

For example grepping for ecircumflex gives:
Multi_key e asciicircum   : \352ecircumflex
Multi_key asciicircum e   : \352ecircumflex
Multi_key e greater   : \352ecircumflex
Multi_key greater e   : \352ecircumflex
dead_circumflex e   : \352ecircumflex

I did notice that some of the other encoding's Compose files lacked
lines for ecircumflex for some reason (again I know nothing about
these iso8859 encoding things).


So in summary:

- get xkeycaps from http://www.jwz.org/xkeycaps/

- edit the keysym of your existing SunFA_Circum key making sure it
  has an otherwise unused modifier

- have xkeycaps write the file, it will use ~/.xmodmap-$HOSTNAME

- xkeycaps will tell you to add something like xmodmap
  ~/.xmodmap-`uname -n` to your ~/.xinitrc and/or ~/.xsession files

If you want to write the .xmodmap file by hand it will look something
like this:

keycode 0x47 = dead_circumflex
add Mod3 = dead_circumflex

(assuming the key doesn't already have a modifier and Mod3 isn't already
used).

Hope this helped,
-- 
Dave Chapeskie
OpenPGP Key KeyId: 3D2B6B34



Re: Only one LyX source document for all exports

2001-09-11 Thread Dave Chapeskie

On Tue, Sep 11, 2001 at 10:52:08AM +0300, Dekel Tsur wrote:
 Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.

For what it's worth, I've gotten better quality using dvipdfm instead of
ps2pdf.

-- 
Dave Chapeskie [EMAIL PROTECTED]
OpenPGP Key KeyId: 3D2B6B34



caption in longtables

2001-09-11 Thread pkutne

Hi,

In my document I have a table which is longer than one page, so I can´t use a 
float-environment.
 
If I use a longtable-environment instead of a float, how can I place a 
caption in lyx?

In Latex you simlpy add \caption{blabla}.

I use lyx 1.1.6fix2.


Peter Kutne
[EMAIL PROTECTED]





Underlined text walks right off the page

2001-09-11 Thread Steve Litt

I have a short sentence of underlined text following a short normal sentence 
at the beginning of a paragraph, on a normal page of text. One would think 
the underlined text, which remains together instead of linebreaking, would 
all go on a line of its own.

But no, it goes at the end of the normal text and therefore walks off the 
right margin and clear off the page.

Is this a bug, or is it intended. If a bug, is it just a 1.1.6fix1 thing, or 
it in all versions?

I've included a short file to demonstrate the problem.

Thanks

Steve
-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.






#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

The first time I saw Linux I was unimpressed, to say the least.

\bar under 
 But as time went on the potential for hyperproductivity became obvious
\bar default 
.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\the_end



Re: adding classes

2001-09-11 Thread Renaud MICHEL

Le Mardi 11 Septembre 2001 14:17, vous avez écrit :
 hi
 This ought to be a simple question.

 I want to add a new class (prosper) to make slides. I copy the files to
 /usr/shar/texmf/tex/latex/prosper and run mktexlsr
 and then i reconfigure lyx.

 but it doesn't find the new class.
 Any ideas
 mo

You have added a new LaTeX class, so you can now create LaTeX document using 
it, but if you want to be able to use it with LyX you must create a layout 
document for that class, search the doc for more information about layout 
files. The easiest way to create a new one is to copy an existing one (the 
one that look more like your new class) and to modify it to match your class.

-- 
 AB J'ai demandé à Rémi de le faire.
 Pourquoi moi ? Mais qu'avez-vous donc contre moi ? Je ne vous ai rien
 fait à la fin!
 -+-RL in GNU - Tu connais la différence entre Neuneu et un Pitbull ?-+-

Renaud MICHEL



Re: adding classes

2001-09-11 Thread Herbert Voss

morten wrote:
 
 I want to add a new class (prosper) to make slides. I copy the files to
 /usr/shar/texmf/tex/latex/prosper and run mktexlsr
 and then i reconfigure lyx.

have a look at chapter six of
help-customization

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: caption in longtables

2001-09-11 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
 
 In my document I have a table which is longer than one page, so I can´t use a
 float-environment.
 
 If I use a longtable-environment instead of a float, how can I place a
 caption in lyx?
 
 In Latex you simlpy add \caption{blabla}.


http://www.educat.hu-berlin.de/~voss/lyx/floats/nonFloat.html#table

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: Underlined text walks right off the page

2001-09-11 Thread Steve Litt


Hi Herbert,

I placed:

\usepackage{ulem}
\let\underbar\uline
\let\underline\uline

between Preamble and EndPreamble in my layout file -- no change.

I then placed the same in Layout-Preamble, and once again no change.

I do have file /usr/share/texmf/tex/latex/misc/ulem.sty

Thanks

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.



On Tuesday 11 September 2001 10:48, Herbert Voss wrote:
 Steve Litt wrote:
  I have a short sentence of underlined text following a short normal
  sentence at the beginning of a paragraph, on a normal page of text. One
  would think the underlined text, which remains together instead of
  linebreaking, would all go on a line of its own.
 
  But no, it goes at the end of the normal text and therefore walks off the
  right margin and clear off the page.
 
  Is this a bug, or is it intended. If a bug, is it just a 1.1.6fix1 thing,
  or it in all versions?

 it's latex, therefore in preamble:

 \usepackage{ulem}
 \let\underbar\uline
 \let\underline\uline

 Herbert




Re: Underlined text walks right off the page

2001-09-11 Thread Herbert Voss

Steve Litt wrote:
 
 Hi Herbert,
 
 I placed:
 
 \usepackage{ulem}
 \let\underbar\uline
 \let\underline\uline
 
 between Preamble and EndPreamble in my layout file -- no change.
 
 I then placed the same in Layout-Preamble, and once again no change.
 
 I do have file /usr/share/texmf/tex/latex/misc/ulem.sty

look at attached dvi

HErbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/
 bug.dvi


overheads

2001-09-11 Thread morten

I have been through the steps of chap. 6 of costumization (from the help menu).
but I still don't succeed in installing prosper.

How do you do slides? I find the slides-class to be inaccessible (even with the
users guide). I found pdfscreen which gives me a lot of error when I try to use
it with lyx
mo
-- 
--
E-Mail: morten [EMAIL PROTECTED]
Date: 11-Sep-2001
Time: 19:14:05

Currently working hard for the LAI at INSA-lyon
--



Re: overheads

2001-09-11 Thread Herbert Voss

morten wrote:
 
 I have been through the steps of chap. 6 of costumization (from the help menu).
 but I still don't succeed in installing prosper.
 
 How do you do slides? I find the slides-class to be inaccessible (even with the
 users guide). I found pdfscreen which gives me a lot of error when I try to use
 it with lyx

http://www.educat.hu-berlin.de/~voss/lyx/index.html#seminar

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: overheads

2001-09-11 Thread morten

thanks herbert I had the feeling you would sent me that link.
That was how I found prosper in the first place.

I have followed the links and found dekel's homepage. He had done what I would
like to do. that why I tried prosper. 
I have placed prosper.cls with all the other .cls files and having
rehashed and reconfigured lyx still don't find it.

Am I to conlude that the problem lies in the prosper.cls file? 
mo


On 11-Sep-2001 Herbert Voss wrote:
 morten wrote:
 
 I have been through the steps of chap. 6 of costumization (from the help
 menu).
 but I still don't succeed in installing prosper.
 
 How do you do slides? I find the slides-class to be inaccessible (even with
 the
 users guide). I found pdfscreen which gives me a lot of error when I try to
 use
 it with lyx
 
 http://www.educat.hu-berlin.de/~voss/lyx/index.html#seminar
 
 Herbert
 
 
 -- 
 http://www.educat.hu-berlin.de/~voss/lyx/

-- 
--
E-Mail: morten [EMAIL PROTECTED]
Date: 11-Sep-2001
Time: 20:12:08

Currently working hard for the LAI at INSA-lyon
--



Re: Underlined text walks right off the page

2001-09-11 Thread Steve Litt

On Tuesday 11 September 2001 13:10, Herbert Voss wrote:
 Steve Litt wrote:
  Hi Herbert,
 
  I placed:
 
  \usepackage{ulem}
  \let\underbar\uline
  \let\underline\uline
 
  between Preamble and EndPreamble in my layout file -- no change.
 
  I then placed the same in Layout-Preamble, and once again no change.
 
  I do have file /usr/share/texmf/tex/latex/misc/ulem.sty

 look at attached dvi

 HErbert

Hi Herbert,

I assume you used ulem.sty to achieve the correct wrap. So there's something 
different between my system and yours. To confirm that infact ulem.sty was 
brought to bear, I changed the \underline in the doc itself to \\uuline, and 
verified that the underlines were now doubleunderlines, and that it still 
walked off to the right.

So there's something different between your machine and mine, because we do 
the same things but get different results.

Thanks

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







Re: adding classes

2001-09-11 Thread robin

morten wrote:
 
 hi
 This ought to be a simple question.
 
 I want to add a new class (prosper) to make slides. I copy the files to
 /usr/shar/texmf/tex/latex/prosper and run mktexlsr
 and then i reconfigure lyx.
 
 but it doesn't find the new class.
 Any ideas
 mo

Dumb question, but did you run texhash?

Robin



IEEE Latex Configuration

2001-09-11 Thread nakedmind

Hello, LyX'ers

1. I have 1.1.6.fix1. Linux redhat 6.2. I never was able to export my lyx to ps files 
with the program. I did it always by a shell interaction.
2. I was not able to compile 1.1.6.fix3. Message:
collect2: ld terminated with signal 11 [Segmentation fault]
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make: *** [all-recursive] Error 1
3. The reason why I tried to compile fix3 is:
I need to submit a paper to IEEE, so I did the following:
a. I download the file: ieeetran.tar.Z from ieee.org
b. Gunzip it: I get IEEEtran.cls (in capitals!)
c. I did a texhash in the directory just created: /usr/share/texmf/tex/latex/IEEEtran/
d. In lyx I run reconfigure and restarted it.
e. So I check my latex configuration file, but IEEE were not found!
So, i repeat the whole process, but:
a. I download  IEEEtran_v15.cls, from:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/
and rename it to IEEEtran.cls
c., d., and e. were the same:-(

What about give me a hand

Jean Pierre Charalambos

The Priest's grey nimbus in a niche where he dressed discreetly.
I will not sleep here tonight. Home also I cannot go.
A voice, sweetened and sustained, called to him from the sea.
Turning the curve he waved his hand.  A sleek brown head, a seal's, far out on the 
water, round.  Usurper.
-- James Joyce, Ulysses  

Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours!



IEEE Latex Configuration

2001-09-11 Thread nakedmind

Hello LyX'rs

1. I was not able to compile 1.1.6.fix3. Message:
collect2: ld terminated with signal 11 [Segmentation fault]
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make: *** [all-recursive] Error 1
2. The reason why I tried to compile fix3 is that I need to submit a paper to IEEE, so 
I did the following:
a. I download the file: ieeetran.tar.Z from ieee.org
b. Gunzip it: I get IEEEtran.cls (in capitals!)
c. I did a texhash in the directory just created: /usr/share/texmf/tex/latex/IEEEtran/
d. In lyx I run reconfigure and restarted it.
e. So I check my latex configuration file, but IEEE were not found!
So, i repeat the whole process, but:
a. I download  IEEEtran_v15.cls, from:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/
and rename it to IEEEtran.cls
c., d., and e. were the same :-(

Suggestions...

Jean Pierre Charalambos

Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours!



Re: IEEE Latex Configuration

2001-09-11 Thread John Levon

On Tue, Sep 11, 2001 at 08:27:12PM -0700, [EMAIL PROTECTED] wrote:

 1. I have 1.1.6.fix1. Linux redhat 6.2. I never was able to export my lyx to ps 
files with the program. I did it always by a shell interaction.
 2. I was not able to compile 1.1.6.fix3. Message:
 collect2: ld terminated with signal 11 [Segmentation fault]

this indicates you have bad hardware or a fault binutils.

upgrade binutils to the recommended version, and test your RAM with
http://www.memtest86.com/

regards
john

-- 
Since when would the sizeof any kind of pointer be zero ? 
 Have you built a zero-bit CPU ?
- Jeffrey Turner



Re: debian and the latex file structure

2001-09-11 Thread Baruch Even

First, if you'll go to http://packages.debian.org you can see at the
bottom a form to search for file names in packages, specifically for
a4.sty you can find that tetex-extra includes a4.sty, just
apt-get install tetex-extra
and you'll be fine.

.dtx and .ins are the latex package, you need to run it through latex
and they will produce the .sty file and anything else necessary.

* Alexis Wiasmitinow [EMAIL PROTECTED] [010911 10:14]:
 Hi
 
 if I want to make a A4-small margins format, lyx (or latex) says file a4.sty 
 not found. I know from the latex configuration file that the package is not 
 installed. so I tried to get it from  ctan.tug.org but there is only a 
 a4.dtx and a a4.ins file. 
 so where do I get the a4.sty file?
 
 I got lyx from debian by apt-get, and so I have no idea what is the system 
 between all the folders I have in my /usr/share/texmf directory.
 so what has to be put where?
 
 what is the debian package with a4.sty in it?
 the geometry package would also be nice, but my problems are the same than 
 above...
 
 thanksAlexis  Wiasmitinow

-- 
Baruch Even
http://baruch.ev-en.org/



Re: no wrap using LyxCode?

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 03:10:14PM +0200, Giovanni Tummarello wrote:
 same thing happens to 1 long url i have pasted somewhere (not lyxcode)

URLs should be inserted using Insert-URL.



Re: HFill with leading periods?

2001-09-11 Thread Dekel Tsur

On Tue, Sep 11, 2001 at 12:20:43AM +0200, Niklaus Giger wrote:
 I have found in my A guide to LaTeX the TeX-function \dotfill which does 
 the job for me.
 
 Is there a LyX-way to use this feature (except the trivial solution to insert 
 it using the TeX-style)? (I fear that the LaTeX-solution is not very 
 appealing to newbie's).

No.



Re: Only one LyX source document for all exports

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 11:47:00PM +0200, Adolfo Pachón wrote:
 Hi all!!
 
 I've one LyX document with figure floats  PS figures. I want to produce
 the HTML  PDF versions, but the PDF version do not produce the images.
 
 My question is:
 
 How can I export the same source LyX document to HTML (with LaTeX2HTML)
 and to PDF (with pdflatex) with quality?

Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.

If you really want to use pdflatex, then convert all EPS files to PDF using
epstopdf, and when you insert an EPS file to the lyx document, enter its
name without its suffix, namely for foo.eps, write foo in the dialog. 



Re: Can I name a font?

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote:

 By the way, if \textsf is sans, and \textbf is bold, anyone know how to make 
 underline?

\underline{text}.
However, underlined text won't break at line end.
For a breakable underline text, use the \ul command from soul.sty.




Re: Only one LyX source document for all exports

2001-09-11 Thread Jean-Pierre.Chretien


Date: Tue, 11 Sep 2001 10:52:08 +0300
From: Dekel Tsur [EMAIL PROTECTED]
To: Adolfo Pachón [EMAIL PROTECTED], LyX users [EMAIL PROTECTED]
Subject: Re: Only one LyX source document for all exports

On Mon, Sep 10, 2001 at 11:47:00PM +0200, Adolfo Pachón wrote:
 Hi all!!
 
 I've one LyX document with figure floats  PS figures. I want to produce
 the HTML  PDF versions, but the PDF version do not produce the images.
 
 My question is:
 
 How can I export the same source LyX document to HTML (with LaTeX2HTML)
 and to PDF (with pdflatex) with quality?

Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.

If you really want to use pdflatex, then convert all EPS files to PDF using
epstopdf, and when you insert an EPS file to the lyx document, enter its
name without its suffix, namely for foo.eps, write foo in the dialog. 

Or try tex2pdf on lyx or tex file (don't remove extensions then).
(final) bash or new (beta) perl port available at
http://tex2pdf.berlios.de/
Uses pdflatex to provide similar functionalities as ps2pdf, deals with
multipart docs (input/include), manages the needed translations from eps to pdf,
uses original bitmaps when available, leaves the original files
untouched, provides thumbnails on request.

Tried on a medium sized doc with success, failed on nested hyperlinks
on a big doc with lot and lof (needs a recent version of hyperref
to deal with that).

-- 
Jean-Pierre


-- 
Jean-Pierre




Re: Can I name a font?

2001-09-11 Thread Robin Turner

On Tuesday 11 September 2001 11:08, Dekel Tsur wrote:
 On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote:
  By the way, if \textsf is sans, and \textbf is bold, anyone know how to
  make underline?

 \underline{text}.
 However, underlined text won't break at line end.
 For a breakable underline text, use the \ul command from soul.sty.

On the subject of font packages, a couple of questions:

1.  Is there any documentation for the lucida packages? I've been trying 
sticking things in my preamble, but the results are pretty hit or miss.

2.  Does anyone know how to get shadow and outline effects? I assume these 
are raw TeX commands, as I can't find any LaTeX command to do this.

Robin



Re: Hello, and my first problem.

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 06:07:16PM -0400, Ben Logan wrote:
 The other problems occur in section 4.1 Arithmatic Operators. The
 snippet of PHP code in the code paragraph environment wraps in the
 output even thought the lines aren't too long, and don't wrap within
 LyX.  Some of the shorter lines wrap while longer ones don't!
 
 The last problem occurs in the next-to-last paragraph.  There is a
 mysterious line break between 10%3 and is 1 in the output even
 though LyX doesn't show one.

Both of these problems are due to a bug in lyx.
I've attached a patch (for 1.1.6fix3) that fixes it (you will need to compile
lyx yourself).


Index: ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v
retrieving revision 1.757.2.110
diff -u -p -r1.757.2.110 ChangeLog
--- ChangeLog   2001/09/06 14:16:02 1.757.2.110
+++ ChangeLog   2001/09/11 09:29:52
@@ -1,3 +1,8 @@
+2001-09-11  Dekel Tsur  [EMAIL PROTECTED]
+
+   * src/buffer.C (SimpleLinuxDocOnePar): Remove extra character
+   after an inset.
+
 2001-09-06  Jean-Marc Lasgouttes  [EMAIL PROTECTED]
 
* lib/examples/da_splash.lyx: new translation from Claus Hindsgaul
Index: src/buffer.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/buffer.C,v
retrieving revision 1.162.2.9
diff -u -p -r1.162.2.9 buffer.C
--- src/buffer.C2001/07/18 13:31:20 1.162.2.9
+++ src/buffer.C2001/09/11 09:29:54
@@ -2802,9 +2802,7 @@ void Buffer::SimpleLinuxDocOnePar(ostrea
if (c == LyXParagraph::META_INSET) {
inset = par-GetInset(i);
inset-Linuxdoc(this, os);
-   }
-
-   if (font2.latex() == LyXFont::ON) {
+   } else if (font2.latex() == LyXFont::ON) {
// TeX-Mode on ==  SGML-Mode on.
if (c != '\0')
os  c; // see LaTeX-Generation...



Re: Hello, and my first problem.

2001-09-11 Thread Dekel Tsur

On Tue, Sep 11, 2001 at 12:36:46PM +0300, Dekel Tsur wrote:
 On Mon, Sep 10, 2001 at 06:07:16PM -0400, Ben Logan wrote:
  The other problems occur in section 4.1 Arithmatic Operators. The
  snippet of PHP code in the code paragraph environment wraps in the
  output even thought the lines aren't too long, and don't wrap within
  LyX.  Some of the shorter lines wrap while longer ones don't!
  
  The last problem occurs in the next-to-last paragraph.  There is a
  mysterious line break between 10%3 and is 1 in the output even
  though LyX doesn't show one.
 
 Both of these problems are due to a bug in lyx.
 I've attached a patch (for 1.1.6fix3) that fixes it (you will need to compile
 lyx yourself).

I've noticed that you use a table in your document. However, Linuxdoc doesn't
support tables. If you need tables, use Docbook.
(also the bug I mentioned above does not occur with Docbook, so you won't
need to compile lyx yourself).



RE: Only one LyX source document for all exports

2001-09-11 Thread morten


On 10-Sep-2001 Adolfo Pachón wrote:
 Hi all!!
 
 I've one LyX document with figure floats  PS figures. I want to produce
 the HTML  PDF versions, but the PDF version do not produce the images.
 
 My question is:
 
 How can I export the same source LyX document to HTML (with LaTeX2HTML)
 and to PDF (with pdflatex) with quality?

personally I use tex2pdf, since it gave the least problems with ugly fonts. But
I had a huge problem with certain ps-images. The images in the pdf was
unrecognisable - but it was solved by upgrading to ghostview 7.00

What do mean by do not produce the images?
mo

-- 
--
E-Mail: morten [EMAIL PROTECTED]
Date: 11-Sep-2001
Time: 12:40:27

Currently working hard for the LAI at INSA-lyon
--



RE: Only one LyX source document for all exports

2001-09-11 Thread Jean-Pierre.Chretien


Date: Tue, 11 Sep 2001 12:45:58 +0200 (CEST)
From: morten [EMAIL PROTECTED]
To: Adolfo Pachón [EMAIL PROTECTED]
Subject: RE: Only one LyX source document for all exports
Cc: LyX users [EMAIL PROTECTED]


On 10-Sep-2001 Adolfo Pachón wrote:
 Hi all!!
 
 I've one LyX document with figure floats  PS figures. I want to produce
 the HTML  PDF versions, but the PDF version do not produce the images.
 
 My question is:
 
 How can I export the same source LyX document to HTML (with LaTeX2HTML)
 and to PDF (with pdflatex) with quality?

personally I use tex2pdf, since it gave the least problems with ugly fonts. 
But
I had a huge problem with certain ps-images. The images in the pdf was
unrecognisable - but it was solved by upgrading to ghostview 7.00

epstopdf fails with bitmapped images unless you add
-dCompatibilityLevel=1.1
to the GS options in the script (here gs version 6.01).
Main reason to come back to bitmaps when available IMHO
(another one is resizing problems with vector-like
bitmapped images like screenshots).


-- 
Jean-Pierre




Re: Problem with sun5t latin1 keyboard

2001-09-11 Thread Dave Chapeskie

[Format recovered--see http://www.lemis.com/email/email-format.html]
On Mon, Sep 10, 2001 at 04:13:41PM +0200, Yann MORERE wrote:
 I compiled the 1.1.6fix 3 release on a sun sparc station 5 under
 debian potato. I'm using the sun5t latin 1 keyboard.

 I got the following problem :

 I can't make an ê in lyx. pressing simultaneously ^ and e gives me
 an e. In fact the ^ key seems to have no effect.

 Using xev to show the key I got
 
  KeyPress event, serial 20, synthetic NO, window 0x281,
 root 0x2b, subw 0x0, time 3699913641, (158,468), root:(727,555),
 state 0x40, keycode 71 (keysym 0x1005ff01, SunFA_Circum), same_screen YES,
 XLookupString gives 0 characters:  

I believe your problem is with your X keyboard mapping.  And can be
fixed by using xmodmap in your X startup file (~/.xinitrc and/or
~/.xsession).  I'm not a keyboard expert and I rarely use accented
characters however.


I used xkeycaps (http://www.jwz.org/xkeycaps/) to set my Scroll Lock key
to make the SunFA_Circum keysym.  After doing so xev reports similar to
what you give but I was unable to do anything useful with the key.  I
then set it to the dead_circumflex keysym (under the ISO submenu in
xkeycaps) and I was able to get ê by typing Scroll Lock e (*not*
holding scroll lock down but releasing if before typing the e).

I recommend xkeycaps as a useful tool when doing things with keyboard
setup under X windows.  There is lots of useful information about
keyboard mappings in the xkeycaps manpage.  In fact the it mentions
SuSE Linux having many problems with their default keymap.

For the rare occasion when I need accented or special characters I use
a compose key (the Multi_key keysym mapped with an unused modifier
to one of the otherwise useless winblows keys on my keyboard with an
xkeycaps produce xmodmap file).  So for an ê I type Composee^.

Assuming you use XFree86 then the file
/usr/X11R6/lib/X11/locale/iso8859-1/Compose lists the available compose
and dead key combinations.  Substitute the appropriate encoding for
iso8859-1.

For example grepping for ecircumflex gives:
Multi_key e asciicircum   : \352ecircumflex
Multi_key asciicircum e   : \352ecircumflex
Multi_key e greater   : \352ecircumflex
Multi_key greater e   : \352ecircumflex
dead_circumflex e   : \352ecircumflex

I did notice that some of the other encoding's Compose files lacked
lines for ecircumflex for some reason (again I know nothing about
these iso8859 encoding things).


So in summary:

- get xkeycaps from http://www.jwz.org/xkeycaps/

- edit the keysym of your existing SunFA_Circum key making sure it
  has an otherwise unused modifier

- have xkeycaps write the file, it will use ~/.xmodmap-$HOSTNAME

- xkeycaps will tell you to add something like xmodmap
  ~/.xmodmap-`uname -n` to your ~/.xinitrc and/or ~/.xsession files

If you want to write the .xmodmap file by hand it will look something
like this:

keycode 0x47 = dead_circumflex
add Mod3 = dead_circumflex

(assuming the key doesn't already have a modifier and Mod3 isn't already
used).

Hope this helped,
-- 
Dave Chapeskie
OpenPGP Key KeyId: 3D2B6B34



Re: Only one LyX source document for all exports

2001-09-11 Thread Dave Chapeskie

On Tue, Sep 11, 2001 at 10:52:08AM +0300, Dekel Tsur wrote:
 Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.

For what it's worth, I've gotten better quality using dvipdfm instead of
ps2pdf.

-- 
Dave Chapeskie [EMAIL PROTECTED]
OpenPGP Key KeyId: 3D2B6B34



caption in longtables

2001-09-11 Thread pkutne

Hi,

In my document I have a table which is longer than one page, so I can´t use a 
float-environment.
 
If I use a longtable-environment instead of a float, how can I place a 
caption in lyx?

In Latex you simlpy add \caption{blabla}.

I use lyx 1.1.6fix2.


Peter Kutne
[EMAIL PROTECTED]





Underlined text walks right off the page

2001-09-11 Thread Steve Litt

I have a short sentence of underlined text following a short normal sentence 
at the beginning of a paragraph, on a normal page of text. One would think 
the underlined text, which remains together instead of linebreaking, would 
all go on a line of its own.

But no, it goes at the end of the normal text and therefore walks off the 
right margin and clear off the page.

Is this a bug, or is it intended. If a bug, is it just a 1.1.6fix1 thing, or 
it in all versions?

I've included a short file to demonstrate the problem.

Thanks

Steve
-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.






#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

The first time I saw Linux I was unimpressed, to say the least.

\bar under 
 But as time went on the potential for hyperproductivity became obvious
\bar default 
.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\the_end



Re: adding classes

2001-09-11 Thread Renaud MICHEL

Le Mardi 11 Septembre 2001 14:17, vous avez écrit :
 hi
 This ought to be a simple question.

 I want to add a new class (prosper) to make slides. I copy the files to
 /usr/shar/texmf/tex/latex/prosper and run mktexlsr
 and then i reconfigure lyx.

 but it doesn't find the new class.
 Any ideas
 mo

You have added a new LaTeX class, so you can now create LaTeX document using 
it, but if you want to be able to use it with LyX you must create a layout 
document for that class, search the doc for more information about layout 
files. The easiest way to create a new one is to copy an existing one (the 
one that look more like your new class) and to modify it to match your class.

-- 
 AB J'ai demandé à Rémi de le faire.
 Pourquoi moi ? Mais qu'avez-vous donc contre moi ? Je ne vous ai rien
 fait à la fin!
 -+-RL in GNU - Tu connais la différence entre Neuneu et un Pitbull ?-+-

Renaud MICHEL



Re: adding classes

2001-09-11 Thread Herbert Voss

morten wrote:
 
 I want to add a new class (prosper) to make slides. I copy the files to
 /usr/shar/texmf/tex/latex/prosper and run mktexlsr
 and then i reconfigure lyx.

have a look at chapter six of
help-customization

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: caption in longtables

2001-09-11 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
 
 In my document I have a table which is longer than one page, so I can´t use a
 float-environment.
 
 If I use a longtable-environment instead of a float, how can I place a
 caption in lyx?
 
 In Latex you simlpy add \caption{blabla}.


http://www.educat.hu-berlin.de/~voss/lyx/floats/nonFloat.html#table

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: Underlined text walks right off the page

2001-09-11 Thread Steve Litt


Hi Herbert,

I placed:

\usepackage{ulem}
\let\underbar\uline
\let\underline\uline

between Preamble and EndPreamble in my layout file -- no change.

I then placed the same in Layout-Preamble, and once again no change.

I do have file /usr/share/texmf/tex/latex/misc/ulem.sty

Thanks

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.



On Tuesday 11 September 2001 10:48, Herbert Voss wrote:
 Steve Litt wrote:
  I have a short sentence of underlined text following a short normal
  sentence at the beginning of a paragraph, on a normal page of text. One
  would think the underlined text, which remains together instead of
  linebreaking, would all go on a line of its own.
 
  But no, it goes at the end of the normal text and therefore walks off the
  right margin and clear off the page.
 
  Is this a bug, or is it intended. If a bug, is it just a 1.1.6fix1 thing,
  or it in all versions?

 it's latex, therefore in preamble:

 \usepackage{ulem}
 \let\underbar\uline
 \let\underline\uline

 Herbert




Re: Underlined text walks right off the page

2001-09-11 Thread Herbert Voss

Steve Litt wrote:
 
 Hi Herbert,
 
 I placed:
 
 \usepackage{ulem}
 \let\underbar\uline
 \let\underline\uline
 
 between Preamble and EndPreamble in my layout file -- no change.
 
 I then placed the same in Layout-Preamble, and once again no change.
 
 I do have file /usr/share/texmf/tex/latex/misc/ulem.sty

look at attached dvi

HErbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/
 bug.dvi


overheads

2001-09-11 Thread morten

I have been through the steps of chap. 6 of costumization (from the help menu).
but I still don't succeed in installing prosper.

How do you do slides? I find the slides-class to be inaccessible (even with the
users guide). I found pdfscreen which gives me a lot of error when I try to use
it with lyx
mo
-- 
--
E-Mail: morten [EMAIL PROTECTED]
Date: 11-Sep-2001
Time: 19:14:05

Currently working hard for the LAI at INSA-lyon
--



Re: overheads

2001-09-11 Thread Herbert Voss

morten wrote:
 
 I have been through the steps of chap. 6 of costumization (from the help menu).
 but I still don't succeed in installing prosper.
 
 How do you do slides? I find the slides-class to be inaccessible (even with the
 users guide). I found pdfscreen which gives me a lot of error when I try to use
 it with lyx

http://www.educat.hu-berlin.de/~voss/lyx/index.html#seminar

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: overheads

2001-09-11 Thread morten

thanks herbert I had the feeling you would sent me that link.
That was how I found prosper in the first place.

I have followed the links and found dekel's homepage. He had done what I would
like to do. that why I tried prosper. 
I have placed prosper.cls with all the other .cls files and having
rehashed and reconfigured lyx still don't find it.

Am I to conlude that the problem lies in the prosper.cls file? 
mo


On 11-Sep-2001 Herbert Voss wrote:
 morten wrote:
 
 I have been through the steps of chap. 6 of costumization (from the help
 menu).
 but I still don't succeed in installing prosper.
 
 How do you do slides? I find the slides-class to be inaccessible (even with
 the
 users guide). I found pdfscreen which gives me a lot of error when I try to
 use
 it with lyx
 
 http://www.educat.hu-berlin.de/~voss/lyx/index.html#seminar
 
 Herbert
 
 
 -- 
 http://www.educat.hu-berlin.de/~voss/lyx/

-- 
--
E-Mail: morten [EMAIL PROTECTED]
Date: 11-Sep-2001
Time: 20:12:08

Currently working hard for the LAI at INSA-lyon
--



Re: Underlined text walks right off the page

2001-09-11 Thread Steve Litt

On Tuesday 11 September 2001 13:10, Herbert Voss wrote:
 Steve Litt wrote:
  Hi Herbert,
 
  I placed:
 
  \usepackage{ulem}
  \let\underbar\uline
  \let\underline\uline
 
  between Preamble and EndPreamble in my layout file -- no change.
 
  I then placed the same in Layout-Preamble, and once again no change.
 
  I do have file /usr/share/texmf/tex/latex/misc/ulem.sty

 look at attached dvi

 HErbert

Hi Herbert,

I assume you used ulem.sty to achieve the correct wrap. So there's something 
different between my system and yours. To confirm that infact ulem.sty was 
brought to bear, I changed the \underline in the doc itself to \\uuline, and 
verified that the underlines were now doubleunderlines, and that it still 
walked off to the right.

So there's something different between your machine and mine, because we do 
the same things but get different results.

Thanks

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







Re: adding classes

2001-09-11 Thread robin

morten wrote:
 
 hi
 This ought to be a simple question.
 
 I want to add a new class (prosper) to make slides. I copy the files to
 /usr/shar/texmf/tex/latex/prosper and run mktexlsr
 and then i reconfigure lyx.
 
 but it doesn't find the new class.
 Any ideas
 mo

Dumb question, but did you run texhash?

Robin



IEEE Latex Configuration

2001-09-11 Thread nakedmind

Hello, LyX'ers

1. I have 1.1.6.fix1. Linux redhat 6.2. I never was able to export my lyx to ps files 
with the program. I did it always by a shell interaction.
2. I was not able to compile 1.1.6.fix3. Message:
collect2: ld terminated with signal 11 [Segmentation fault]
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make: *** [all-recursive] Error 1
3. The reason why I tried to compile fix3 is:
I need to submit a paper to IEEE, so I did the following:
a. I download the file: ieeetran.tar.Z from ieee.org
b. Gunzip it: I get IEEEtran.cls (in capitals!)
c. I did a texhash in the directory just created: /usr/share/texmf/tex/latex/IEEEtran/
d. In lyx I run reconfigure and restarted it.
e. So I check my latex configuration file, but IEEE were not found!
So, i repeat the whole process, but:
a. I download  IEEEtran_v15.cls, from:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/
and rename it to IEEEtran.cls
c., d., and e. were the same:-(

What about give me a hand

Jean Pierre Charalambos

The Priest's grey nimbus in a niche where he dressed discreetly.
I will not sleep here tonight. Home also I cannot go.
A voice, sweetened and sustained, called to him from the sea.
Turning the curve he waved his hand.  A sleek brown head, a seal's, far out on the 
water, round.  Usurper.
-- James Joyce, Ulysses  

Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours!



IEEE Latex Configuration

2001-09-11 Thread nakedmind

Hello LyX'rs

1. I was not able to compile 1.1.6.fix3. Message:
collect2: ld terminated with signal 11 [Segmentation fault]
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make: *** [all-recursive] Error 1
2. The reason why I tried to compile fix3 is that I need to submit a paper to IEEE, so 
I did the following:
a. I download the file: ieeetran.tar.Z from ieee.org
b. Gunzip it: I get IEEEtran.cls (in capitals!)
c. I did a texhash in the directory just created: /usr/share/texmf/tex/latex/IEEEtran/
d. In lyx I run reconfigure and restarted it.
e. So I check my latex configuration file, but IEEE were not found!
So, i repeat the whole process, but:
a. I download  IEEEtran_v15.cls, from:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/
and rename it to IEEEtran.cls
c., d., and e. were the same :-(

Suggestions...

Jean Pierre Charalambos

Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours!



Re: IEEE Latex Configuration

2001-09-11 Thread John Levon

On Tue, Sep 11, 2001 at 08:27:12PM -0700, [EMAIL PROTECTED] wrote:

 1. I have 1.1.6.fix1. Linux redhat 6.2. I never was able to export my lyx to ps 
files with the program. I did it always by a shell interaction.
 2. I was not able to compile 1.1.6.fix3. Message:
 collect2: ld terminated with signal 11 [Segmentation fault]

this indicates you have bad hardware or a fault binutils.

upgrade binutils to the recommended version, and test your RAM with
http://www.memtest86.com/

regards
john

-- 
Since when would the sizeof any kind of pointer be zero ? 
 Have you built a zero-bit CPU ?
- Jeffrey Turner



Re: debian and the latex file structure

2001-09-11 Thread Baruch Even

First, if you'll go to http://packages.debian.org you can see at the
bottom a form to search for file names in packages, specifically for
a4.sty you can find that tetex-extra includes a4.sty, just
apt-get install tetex-extra
and you'll be fine.

.dtx and .ins are the latex "package", you need to run it through latex
and they will produce the .sty file and anything else necessary.

* Alexis Wiasmitinow <[EMAIL PROTECTED]> [010911 10:14]:
> Hi
> 
> if I want to make a A4-small margins format, lyx (or latex) says "file a4.sty 
> not found". I know from the latex configuration file that the package is not 
> installed. so I tried to get it from  ctan.tug.org but there is only a 
> "a4.dtx" and a "a4.ins" file. 
> so where do I get the a4.sty file?
> 
> I got lyx from debian by apt-get, and so I have no idea what is the system 
> between all the folders I have in my /usr/share/texmf directory.
> so what has to be put where?
> 
> what is the debian package with a4.sty in it?
> the geometry package would also be nice, but my problems are the same than 
> above...
> 
> thanksAlexis  Wiasmitinow

-- 
Baruch Even
http://baruch.ev-en.org/



Re: no wrap using LyxCode?

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 03:10:14PM +0200, Giovanni Tummarello wrote:
> same thing happens to 1 long url i have pasted somewhere (not lyxcode)

URLs should be inserted using Insert->URL.



Re: HFill with leading periods?

2001-09-11 Thread Dekel Tsur

On Tue, Sep 11, 2001 at 12:20:43AM +0200, Niklaus Giger wrote:
> I have found in my "A guide to LaTeX" the TeX-function \dotfill which does 
> the job for me.
> 
> Is there a LyX-way to use this feature (except the trivial solution to insert 
> it using the TeX-style)? (I fear that the LaTeX-solution is not very 
> appealing to newbie's).

No.



Re: Only one LyX source document for all exports

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 11:47:00PM +0200, Adolfo Pachón wrote:
> Hi all!!
> 
> I've one LyX document with figure floats & PS figures. I want to produce
> the HTML & PDF versions, but the PDF version do not produce the images.
> 
> My question is:
> 
> How can I export the same source LyX document to HTML (with LaTeX2HTML)
> and to PDF (with pdflatex) with quality?

Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.

If you really want to use pdflatex, then convert all EPS files to PDF using
epstopdf, and when you insert an EPS file to the lyx document, enter its
name without its suffix, namely for foo.eps, write foo in the dialog. 



Re: Can I name a font?

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote:

> By the way, if \textsf is sans, and \textbf is bold, anyone know how to make 
> underline?

\underline{text}.
However, underlined text won't break at line end.
For a breakable underline text, use the \ul command from soul.sty.




Re: Only one LyX source document for all exports

2001-09-11 Thread Jean-Pierre.Chretien


>>Date: Tue, 11 Sep 2001 10:52:08 +0300
>>From: Dekel Tsur <[EMAIL PROTECTED]>
>>To: Adolfo Pachón <[EMAIL PROTECTED]>, LyX users <[EMAIL PROTECTED]>
>>Subject: Re: Only one LyX source document for all exports
>>
>>On Mon, Sep 10, 2001 at 11:47:00PM +0200, Adolfo Pachón wrote:
>>> Hi all!!
>>> 
>>> I've one LyX document with figure floats & PS figures. I want to produce
>>> the HTML & PDF versions, but the PDF version do not produce the images.
>>> 
>>> My question is:
>>> 
>>> How can I export the same source LyX document to HTML (with LaTeX2HTML)
>>> and to PDF (with pdflatex) with quality?
>>
>>Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.
>>
>>If you really want to use pdflatex, then convert all EPS files to PDF using
>>epstopdf, and when you insert an EPS file to the lyx document, enter its
>>name without its suffix, namely for foo.eps, write foo in the dialog. 

Or try tex2pdf on lyx or tex file (don't remove extensions then).
(final) bash or new (beta) perl port available at
http://tex2pdf.berlios.de/
Uses pdflatex to provide similar functionalities as ps2pdf, deals with
multipart docs (input/include), manages the needed translations from eps to pdf,
uses original bitmaps when available, leaves the original files
untouched, provides thumbnails on request.

Tried on a medium sized doc with success, failed on nested hyperlinks
on a big doc with lot and lof (needs a recent version of hyperref
to deal with that).

-- 
Jean-Pierre


-- 
Jean-Pierre




Re: Can I name a font?

2001-09-11 Thread Robin Turner

On Tuesday 11 September 2001 11:08, Dekel Tsur wrote:
> On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote:
> > By the way, if \textsf is sans, and \textbf is bold, anyone know how to
> > make underline?
>
> \underline{text}.
> However, underlined text won't break at line end.
> For a breakable underline text, use the \ul command from soul.sty.

On the subject of font packages, a couple of questions:

1.  Is there any documentation for the lucida packages? I've been trying 
sticking things in my preamble, but the results are pretty hit or miss.

2.  Does anyone know how to get shadow and outline effects? I assume these 
are raw TeX commands, as I can't find any LaTeX command to do this.

Robin



Re: Hello, and my first problem.

2001-09-11 Thread Dekel Tsur

On Mon, Sep 10, 2001 at 06:07:16PM -0400, Ben Logan wrote:
> The other problems occur in section "4.1 Arithmatic Operators". The
> snippet of PHP code in the "code" paragraph environment wraps in the
> output even thought the lines aren't too long, and don't wrap within
> LyX.  Some of the shorter lines wrap while longer ones don't!
> 
> The last problem occurs in the next-to-last paragraph.  There is a
> mysterious line break between "10%3" and "is 1" in the output even
> though LyX doesn't show one.

Both of these problems are due to a bug in lyx.
I've attached a patch (for 1.1.6fix3) that fixes it (you will need to compile
lyx yourself).


Index: ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v
retrieving revision 1.757.2.110
diff -u -p -r1.757.2.110 ChangeLog
--- ChangeLog   2001/09/06 14:16:02 1.757.2.110
+++ ChangeLog   2001/09/11 09:29:52
@@ -1,3 +1,8 @@
+2001-09-11  Dekel Tsur  <[EMAIL PROTECTED]>
+
+   * src/buffer.C (SimpleLinuxDocOnePar): Remove extra character
+   after an inset.
+
 2001-09-06  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
* lib/examples/da_splash.lyx: new translation from Claus Hindsgaul
Index: src/buffer.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/buffer.C,v
retrieving revision 1.162.2.9
diff -u -p -r1.162.2.9 buffer.C
--- src/buffer.C2001/07/18 13:31:20 1.162.2.9
+++ src/buffer.C2001/09/11 09:29:54
@@ -2802,9 +2802,7 @@ void Buffer::SimpleLinuxDocOnePar(ostrea
if (c == LyXParagraph::META_INSET) {
inset = par->GetInset(i);
inset->Linuxdoc(this, os);
-   }
-
-   if (font2.latex() == LyXFont::ON) {
+   } else if (font2.latex() == LyXFont::ON) {
// "TeX"-Mode on == > SGML-Mode on.
if (c != '\0')
os << c; // see LaTeX-Generation...



Re: Hello, and my first problem.

2001-09-11 Thread Dekel Tsur

On Tue, Sep 11, 2001 at 12:36:46PM +0300, Dekel Tsur wrote:
> On Mon, Sep 10, 2001 at 06:07:16PM -0400, Ben Logan wrote:
> > The other problems occur in section "4.1 Arithmatic Operators". The
> > snippet of PHP code in the "code" paragraph environment wraps in the
> > output even thought the lines aren't too long, and don't wrap within
> > LyX.  Some of the shorter lines wrap while longer ones don't!
> > 
> > The last problem occurs in the next-to-last paragraph.  There is a
> > mysterious line break between "10%3" and "is 1" in the output even
> > though LyX doesn't show one.
> 
> Both of these problems are due to a bug in lyx.
> I've attached a patch (for 1.1.6fix3) that fixes it (you will need to compile
> lyx yourself).

I've noticed that you use a table in your document. However, Linuxdoc doesn't
support tables. If you need tables, use Docbook.
(also the bug I mentioned above does not occur with Docbook, so you won't
need to compile lyx yourself).



RE: Only one LyX source document for all exports

2001-09-11 Thread morten


On 10-Sep-2001 Adolfo Pachón wrote:
> Hi all!!
> 
> I've one LyX document with figure floats & PS figures. I want to produce
> the HTML & PDF versions, but the PDF version do not produce the images.
> 
> My question is:
> 
> How can I export the same source LyX document to HTML (with LaTeX2HTML)
> and to PDF (with pdflatex) with quality?

personally I use tex2pdf, since it gave the least problems with ugly fonts. But
I had a huge problem with certain ps-images. The images in the pdf was
unrecognisable - but it was solved by upgrading to ghostview 7.00

What do mean by "do not produce the images"?
mo

-- 
--
E-Mail: morten <[EMAIL PROTECTED]>
Date: 11-Sep-2001
Time: 12:40:27

Currently working hard for the LAI at INSA-lyon
--



RE: Only one LyX source document for all exports

2001-09-11 Thread Jean-Pierre.Chretien


>>Date: Tue, 11 Sep 2001 12:45:58 +0200 (CEST)
>>From: morten <[EMAIL PROTECTED]>
>>To: Adolfo Pachón <[EMAIL PROTECTED]>
>>Subject: RE: Only one LyX source document for all exports
>>Cc: LyX users <[EMAIL PROTECTED]>
>>
>>
>>On 10-Sep-2001 Adolfo Pachón wrote:
>>> Hi all!!
>>> 
>>> I've one LyX document with figure floats & PS figures. I want to produce
>>> the HTML & PDF versions, but the PDF version do not produce the images.
>>> 
>>> My question is:
>>> 
>>> How can I export the same source LyX document to HTML (with LaTeX2HTML)
>>> and to PDF (with pdflatex) with quality?
>>
>>personally I use tex2pdf, since it gave the least problems with ugly fonts. 
But
>>I had a huge problem with certain ps-images. The images in the pdf was
>>unrecognisable - but it was solved by upgrading to ghostview 7.00

epstopdf fails with bitmapped images unless you add
-dCompatibilityLevel=1.1
to the GS options in the script (here gs version 6.01).
Main reason to come back to bitmaps when available IMHO
(another one is resizing problems with vector-like
bitmapped images like screenshots).


-- 
Jean-Pierre




Re: Problem with sun5t latin1 keyboard

2001-09-11 Thread Dave Chapeskie

[Format recovered--see http://www.lemis.com/email/email-format.html]
On Mon, Sep 10, 2001 at 04:13:41PM +0200, Yann MORERE wrote:
> I compiled the 1.1.6fix 3 release on a sun sparc station 5 under
> debian potato. I'm using the sun5t latin 1 keyboard.
>
> I got the following problem :
>
> I can't make an "ê" in lyx. pressing simultaneously ^ and e gives me
> an e. In fact the ^ key seems to have no effect.

> Using "xev" to show the key I got
> 
>  KeyPress event, serial 20, synthetic NO, window 0x281,
> root 0x2b, subw 0x0, time 3699913641, (158,468), root:(727,555),
> state 0x40, keycode 71 (keysym 0x1005ff01, SunFA_Circum), same_screen YES,
> XLookupString gives 0 characters:  ""

I believe your problem is with your X keyboard mapping.  And can be
fixed by using xmodmap in your X startup file (~/.xinitrc and/or
~/.xsession).  I'm not a keyboard expert and I rarely use accented
characters however.


I used xkeycaps (http://www.jwz.org/xkeycaps/) to set my Scroll Lock key
to make the SunFA_Circum keysym.  After doing so xev reports similar to
what you give but I was unable to do anything useful with the key.  I
then set it to the "dead_circumflex" keysym (under the ISO submenu in
xkeycaps) and I was able to get "ê" by typing   (*not*
holding scroll lock down but releasing if before typing the ).

I recommend xkeycaps as a useful tool when doing things with keyboard
setup under X windows.  There is lots of useful information about
keyboard mappings in the xkeycaps manpage.  In fact the it mentions
SuSE Linux having many problems with their default keymap.

For the rare occasion when I need accented or special characters I use
a compose key (the "Multi_key" keysym mapped with an unused modifier
to one of the otherwise useless winblows keys on my keyboard with an
xkeycaps produce xmodmap file).  So for an "ê" I type <^>.

Assuming you use XFree86 then the file
/usr/X11R6/lib/X11/locale/iso8859-1/Compose lists the available compose
and dead key combinations.  Substitute the appropriate encoding for
iso8859-1.

For example grepping for "ecircumflex" gives:
 : "\352"ecircumflex
 : "\352"ecircumflex
 : "\352"ecircumflex
 : "\352"ecircumflex
: "\352"ecircumflex

I did notice that some of the other encoding's "Compose" files lacked
lines for "ecircumflex" for some reason (again I know nothing about
these iso8859 encoding things).


So in summary:

- get xkeycaps from http://www.jwz.org/xkeycaps/

- edit the keysym of your existing "SunFA_Circum" key making sure it
  has an otherwise unused modifier

- have xkeycaps write the file, it will use ~/.xmodmap-$HOSTNAME

- xkeycaps will tell you to add something like "xmodmap
  ~/.xmodmap-`uname -n`" to your ~/.xinitrc and/or ~/.xsession files

If you want to write the .xmodmap file by hand it will look something
like this:

keycode 0x47 = dead_circumflex
add Mod3 = dead_circumflex

(assuming the key doesn't already have a modifier and Mod3 isn't already
used).

Hope this helped,
-- 
Dave Chapeskie
OpenPGP Key KeyId: 3D2B6B34



Re: Only one LyX source document for all exports

2001-09-11 Thread Dave Chapeskie

On Tue, Sep 11, 2001 at 10:52:08AM +0300, Dekel Tsur wrote:
> Why do you need to use pdflatex ? You can generate the PDF using ps2pdf.

For what it's worth, I've gotten better quality using dvipdfm instead of
ps2pdf.

-- 
Dave Chapeskie <[EMAIL PROTECTED]>
OpenPGP Key KeyId: 3D2B6B34



caption in longtables

2001-09-11 Thread pkutne

Hi,

In my document I have a table which is longer than one page, so I can´t use a 
float-environment.
 
If I use a longtable-environment instead of a float, how can I place a 
caption in lyx?

In Latex you simlpy add \caption{blabla}.

I use lyx 1.1.6fix2.


Peter Kutne
[EMAIL PROTECTED]





Underlined text walks right off the page

2001-09-11 Thread Steve Litt

I have a short sentence of underlined text following a short normal sentence 
at the beginning of a paragraph, on a normal page of text. One would think 
the underlined text, which remains together instead of linebreaking, would 
all go on a line of its own.

But no, it goes at the end of the normal text and therefore walks off the 
right margin and clear off the page.

Is this a bug, or is it intended. If a bug, is it just a 1.1.6fix1 thing, or 
it in all versions?

I've included a short file to demonstrate the problem.

Thanks

Steve
-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.






#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

The first time I saw Linux I was unimpressed, to say the least.

\bar under 
 But as time went on the potential for hyperproductivity became obvious
\bar default 
.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\layout Standard

The first time I saw Linux I yawned.
 But as time went on the potential for hyperproductivity became ever more
 obvious, especially because of the LyX software.
 The time had come to go --- I waved goodbye to Bill Gates and began my
 transition.
\the_end



Re: adding classes

2001-09-11 Thread Renaud MICHEL

Le Mardi 11 Septembre 2001 14:17, vous avez écrit :
> hi
> This ought to be a simple question.
>
> I want to add a new class (prosper) to make slides. I copy the files to
> /usr/shar/texmf/tex/latex/prosper and run mktexlsr
> and then i "reconfigure" lyx.
>
> but it doesn't find the new class.
> Any ideas
> mo

You have added a new LaTeX class, so you can now create LaTeX document using 
it, but if you want to be able to use it with LyX you must create a layout 
document for that class, search the doc for more information about layout 
files. The easiest way to create a new one is to copy an existing one (the 
one that look more like your new class) and to modify it to match your class.

-- 
 AB> J'ai demandé à Rémi de le faire.
 Pourquoi moi ? Mais qu'avez-vous donc contre moi ? Je ne vous ai rien
 fait à la fin!
 -+-RL in GNU - Tu connais la différence entre Neuneu et un Pitbull ?-+-

Renaud MICHEL



Re: adding classes

2001-09-11 Thread Herbert Voss

morten wrote:
> 
> I want to add a new class (prosper) to make slides. I copy the files to
> /usr/shar/texmf/tex/latex/prosper and run mktexlsr
> and then i "reconfigure" lyx.

have a look at chapter six of
help->customization

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: caption in longtables

2001-09-11 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
> 
> In my document I have a table which is longer than one page, so I can´t use a
> float-environment.
> 
> If I use a longtable-environment instead of a float, how can I place a
> caption in lyx?
> 
> In Latex you simlpy add \caption{blabla}.


http://www.educat.hu-berlin.de/~voss/lyx/floats/nonFloat.html#table

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: Underlined text walks right off the page

2001-09-11 Thread Steve Litt


Hi Herbert,

I placed:

\usepackage{ulem}
\let\underbar\uline
\let\underline\uline

between Preamble and EndPreamble in my layout file -- no change.

I then placed the same in Layout->Preamble, and once again no change.

I do have file /usr/share/texmf/tex/latex/misc/ulem.sty

Thanks

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.



On Tuesday 11 September 2001 10:48, Herbert Voss wrote:
> Steve Litt wrote:
> > I have a short sentence of underlined text following a short normal
> > sentence at the beginning of a paragraph, on a normal page of text. One
> > would think the underlined text, which remains together instead of
> > linebreaking, would all go on a line of its own.
> >
> > But no, it goes at the end of the normal text and therefore walks off the
> > right margin and clear off the page.
> >
> > Is this a bug, or is it intended. If a bug, is it just a 1.1.6fix1 thing,
> > or it in all versions?
>
> it's latex, therefore in preamble:
>
> \usepackage{ulem}
> \let\underbar\uline
> \let\underline\uline
>
> Herbert




Re: Underlined text walks right off the page

2001-09-11 Thread Herbert Voss

Steve Litt wrote:
> 
> Hi Herbert,
> 
> I placed:
> 
> \usepackage{ulem}
> \let\underbar\uline
> \let\underline\uline
> 
> between Preamble and EndPreamble in my layout file -- no change.
> 
> I then placed the same in Layout->Preamble, and once again no change.
> 
> I do have file /usr/share/texmf/tex/latex/misc/ulem.sty

look at attached dvi

HErbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/
 bug.dvi


overheads

2001-09-11 Thread morten

I have been through the steps of chap. 6 of costumization (from the help menu).
but I still don't succeed in installing prosper.

How do you do slides? I find the slides-class to be inaccessible (even with the
users guide). I found pdfscreen which gives me a lot of error when I try to use
it with lyx
mo
-- 
--
E-Mail: morten <[EMAIL PROTECTED]>
Date: 11-Sep-2001
Time: 19:14:05

Currently working hard for the LAI at INSA-lyon
--



Re: overheads

2001-09-11 Thread Herbert Voss

morten wrote:
> 
> I have been through the steps of chap. 6 of costumization (from the help menu).
> but I still don't succeed in installing prosper.
> 
> How do you do slides? I find the slides-class to be inaccessible (even with the
> users guide). I found pdfscreen which gives me a lot of error when I try to use
> it with lyx

http://www.educat.hu-berlin.de/~voss/lyx/index.html#seminar

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: overheads

2001-09-11 Thread morten

thanks herbert I had the feeling you would sent me that link.
That was how I found prosper in the first place.

I have followed the links and found dekel's homepage. He had done what I would
like to do. that why I tried prosper. 
I have placed prosper.cls with all the other .cls files and having
rehashed and reconfigured lyx still don't find it.

Am I to conlude that the problem lies in the prosper.cls file? 
mo


On 11-Sep-2001 Herbert Voss wrote:
> morten wrote:
>> 
>> I have been through the steps of chap. 6 of costumization (from the help
>> menu).
>> but I still don't succeed in installing prosper.
>> 
>> How do you do slides? I find the slides-class to be inaccessible (even with
>> the
>> users guide). I found pdfscreen which gives me a lot of error when I try to
>> use
>> it with lyx
> 
> http://www.educat.hu-berlin.de/~voss/lyx/index.html#seminar
> 
> Herbert
> 
> 
> -- 
> http://www.educat.hu-berlin.de/~voss/lyx/

-- 
--
E-Mail: morten <[EMAIL PROTECTED]>
Date: 11-Sep-2001
Time: 20:12:08

Currently working hard for the LAI at INSA-lyon
--



Re: Underlined text walks right off the page

2001-09-11 Thread Steve Litt

On Tuesday 11 September 2001 13:10, Herbert Voss wrote:
> Steve Litt wrote:
> > Hi Herbert,
> >
> > I placed:
> >
> > \usepackage{ulem}
> > \let\underbar\uline
> > \let\underline\uline
> >
> > between Preamble and EndPreamble in my layout file -- no change.
> >
> > I then placed the same in Layout->Preamble, and once again no change.
> >
> > I do have file /usr/share/texmf/tex/latex/misc/ulem.sty
>
> look at attached dvi
>
> HErbert

Hi Herbert,

I assume you used ulem.sty to achieve the correct wrap. So there's something 
different between my system and yours. To confirm that infact ulem.sty was 
brought to bear, I changed the \underline in the doc itself to \\uuline, and 
verified that the underlines were now doubleunderlines, and that it still 
walked off to the right.

So there's something different between your machine and mine, because we do 
the same things but get different results.

Thanks

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







Re: adding classes

2001-09-11 Thread robin

morten wrote:
> 
> hi
> This ought to be a simple question.
> 
> I want to add a new class (prosper) to make slides. I copy the files to
> /usr/shar/texmf/tex/latex/prosper and run mktexlsr
> and then i "reconfigure" lyx.
> 
> but it doesn't find the new class.
> Any ideas
> mo

Dumb question, but did you run texhash?

Robin



IEEE Latex Configuration

2001-09-11 Thread nakedmind

Hello, LyX'ers

1. I have 1.1.6.fix1. Linux redhat 6.2. I never was able to export my lyx to ps files 
with the program. I did it always by a shell interaction.
2. I was not able to compile 1.1.6.fix3. Message:
collect2: ld terminated with signal 11 [Segmentation fault]
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make: *** [all-recursive] Error 1
3. The reason why I tried to compile fix3 is:
I need to submit a paper to IEEE, so I did the following:
a. I download the file: ieeetran.tar.Z from ieee.org
b. Gunzip it: I get IEEEtran.cls (in capitals!)
c. I did a texhash in the directory just created: /usr/share/texmf/tex/latex/IEEEtran/
d. In lyx I run reconfigure and restarted it.
e. So I check my latex configuration file, but IEEE were not found!
So, i repeat the whole process, but:
a. I download  IEEEtran_v15.cls, from:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/
and rename it to IEEEtran.cls
c., d., and e. were the same:-(

What about give me a hand

Jean Pierre Charalambos

The Priest's grey nimbus in a niche where he dressed discreetly.
I will not sleep here tonight. Home also I cannot go.
A voice, sweetened and sustained, called to him from the sea.
Turning the curve he waved his hand.  A sleek brown head, a seal's, far out on the 
water, round.  Usurper.
-- James Joyce, "Ulysses"  

Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours!



IEEE Latex Configuration

2001-09-11 Thread nakedmind

Hello LyX'rs

1. I was not able to compile 1.1.6.fix3. Message:
collect2: ld terminated with signal 11 [Segmentation fault]
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/lyx-1.1.6fix3/src'
make: *** [all-recursive] Error 1
2. The reason why I tried to compile fix3 is that I need to submit a paper to IEEE, so 
I did the following:
a. I download the file: ieeetran.tar.Z from ieee.org
b. Gunzip it: I get IEEEtran.cls (in capitals!)
c. I did a texhash in the directory just created: /usr/share/texmf/tex/latex/IEEEtran/
d. In lyx I run reconfigure and restarted it.
e. So I check my latex configuration file, but IEEE were not found!
So, i repeat the whole process, but:
a. I download  IEEEtran_v15.cls, from:
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/
and rename it to IEEEtran.cls
c., d., and e. were the same :-(

Suggestions...

Jean Pierre Charalambos

Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours!



Re: IEEE Latex Configuration

2001-09-11 Thread John Levon

On Tue, Sep 11, 2001 at 08:27:12PM -0700, [EMAIL PROTECTED] wrote:

> 1. I have 1.1.6.fix1. Linux redhat 6.2. I never was able to export my lyx to ps 
>files with the program. I did it always by a shell interaction.
> 2. I was not able to compile 1.1.6.fix3. Message:
> collect2: ld terminated with signal 11 [Segmentation fault]

this indicates you have bad hardware or a fault binutils.

upgrade binutils to the recommended version, and test your RAM with
http://www.memtest86.com/

regards
john

-- 
"Since when would the sizeof any kind of pointer be zero ? 
 Have you built a zero-bit CPU ?"
- Jeffrey Turner