RE: [graphics preview] known problem but...

2002-09-18 Thread Robert Spee

see http://bugzilla.lyx.org/show_bug.cgi?id=39

I think you can upgarding safely to 1.1.6fix4 and still using the same
document. 

I use Redhat 7.2 and the ghostscript package ghostscript-6.51-17.i386.rpm
with lyx 1.1.6fix4 and it works fine since I upgraded to this ghostscript
version.

Good luck

Robert

 -Original Message-
 From: Martijn Brouwer [mailto:[EMAIL PROTECTED]]
 Sent: dinsdag 17 september 2002 21:23
 To: [EMAIL PROTECTED]
 Subject: [graphics preview] known problem but...
 
 
 Hi,
 Included graphics is not shown in LyX with lyx 1.6-fix2. (I am still
 using 1.6 for an important document, that was created with 1.6).
 Searching docs an mailinglist archives learned that this was a bug in
 ghostscript that has been fixed in 6.53, so I have upgraded 
 to 6.53. Now
 part of my pictures (Grace graphs) are shown, but more are not. LaTeX
 output is OK. When I open the usersguide, esher-lsd.eps is shown,
 platypus.eps is not. Has anybody a solution for this?
 In 1.2 preview works, but for this document I do not want to use 1.2
 yet, it is too important and I would not like to break compatibility
 with 1.6. LyX 1.2 crashed a few times when scrolling through this
 document, complaining about memory, but I cannot reproduce this.
 
 Bye,
 
 Martijn
 
 
 



Re: Graphics in Lyx DocBook

2002-09-18 Thread David Cussans

José,
Many thanks for your help. I can get things to work now. The 
sequence I use is

at command line: lyx foo.lyx
in Lyx:  File-Export-DOCBOOK
at command line:  db2dvi foo.sgml
followed by:  dvips foo.dvi

In Lyx if I try File-Export-PDF, db2dvi can't find the graphics file 
( see lyx_graphics_errors.log (command line transcript) ).

If I export DocBook SGML from Lyx and try db2pdf foo.sgml from the 
command line, I find that Jade can't cope with included EPS files ( but 
PDF is OK ) - see db2pdf_errors.log and graphics_test.log. Looking at 
graphics_test.log, graphics file-formats for db2pdf seems to be limited 
to .png,.pdf,.jpg,.mps,.tif . Obviously this isn't a Lyx problem, but 
certainly had me confused. The command db2dvi seems to cope with EPS 
with no problems.

Thanks again for your help. I have a solution that works

David



José Abílio Oliveira Matos wrote:

On Tuesday 17 September 2002 15:57, David Cussans wrote:
  

Hi,
I would like to use Lyx to output DocBook SGML. I have installed Lyx
1.2.1 on my RH 7.3 system and have the docbook tool-set installed



  I have the same toolchain.

  

Creating a new document using the Docbook template works, and
writing *text* works fine. Troubles start when I try to include
graphics. Jade gives errors when processing the SGML produced by Lyx.

I have attached a test Lyx file, the Docbook SGML produced by Lyx,
and the error message produced by Jade.



  The attached file should fix it. The only change is that the paragraph where 
the figure is was changed from Standard to SGML.

  

It is pretty easy to hand-edit the SGML to sort out the problem, but
how do I get Lyx to produce the correct SGML in the first place?

In addition Lyx does not produce an size attributes to the graphics
element ( e.g. WIDTH, SCALE ) - which  means that the figure must be the
right size for the page, and won't be scaled. ( Mind you, jade seems to
ignore size attributes in any case ).



  I have been lazy here. Since I usually don't have problems with scaling I 
never had the ouptut correct for it. The patch for it is simple and it spans 
few lines. I will send it to the list soon and propose it for inclusion for 
future 1.2.2

  

Another irritation is that the only file-format for graphics that
seems to work with Jade is PDF - am I missing something obvious ?



  I don't know. I don't remember to have problems here.

  

Does anybody know how include graphics in Docbook with Lyx?

Cheers,
David



  


-- 
David Cussans   University of Bristol,
H.H. Wills Physics Laboratory,
tel: +44-(117)-928 8772 Tyndall Avenue,
fax: +44-(117)-925 5624 Bristol BS8 1TL, UK




Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-14.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print
Working on: /tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.sgml
This is TeX, Version 3.14159 (Web2C 7.3.1)
(/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.tex
JadeTeX 2002/01/25: 3.12
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled
Jade begin document sequence at 21
(/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.aux)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty)
(/usr/share/texmf/tex/latex/psnfss/t1ppl.fd)
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd)

LaTeX Warning: Reference `12' on page 1 undefined on input line 245.


LaTeX Warning: Reference `20' on page 1 undefined on input line 277.


LaTeX Warning: Reference `25' on page 1 undefined on input line 309.


LaTeX Warning: Reference `30' on page 1 undefined on input line 341.

[1.0.26] [2.0.26]

! LaTeX Error: File `jtag_bus_sketch_small' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.549 {}}
 \endPar{}\endNode{}\endPar{}\Node%
[3.0.26] [4.0.26] (/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.aux)

LaTeX Warning: There were undefined references.

 )
(see the transcript file for additional information)
Output written on jtag_backplane.dvi (4 pages, 21628 bytes).
Transcript written on jtag_backplane.log.


Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-14.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print
Working on: /users/phdgc/sgml/graphics_test.sgml
This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1)
(/users/phdgc/sgml/graphics_test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
JadeTeX 2002/01/25: 3.12
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled
Jade begin document sequence at 21
(/users/phdgc/sgml/graphics_test.aux)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)

Pb with ERT

2002-09-18 Thread Olivier Meplan

Hello
I have a problem with the new Lyx version (1.2.0 or 1.2.1) on RedHat
7.3.
All is working well...except the ERT mode: I can't convert a selected
word in TeX mode ; it just open a new ERT box after the selected part of
text. This was not the case on previous versions.
What is the problem and its solution ?
Thank you very much
Olivier Meplan




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Jean-Pierre.Chretien


Date: Tue, 17 Sep 2002 19:51:24 -0400
To: [EMAIL PROTECTED]
From: Kevin Middleton [EMAIL PROTECTED]
Subject: Removing CONTENTS header from ToC pages (LoF also)


This may be more of a LaTeX question, but here goes.  I have been using the 
following in my preamble to set page numbers on non-first page of chapters 
in the upper right hand corner of the page, rather than centered in the 
bottom.  This works very well.

%%% Set up page number headings
\newcommand{\ps@pnum}{
 \renewcommand{\@oddhead}{\hfil{\thepage}}
 \renewcommand{\@evenhead}{\@oddhead}
 \renewcommand{\@oddfoot}{}
 \renewcommand{\@evenfoot}{}
 }
%%% End of heading definition

However, when I use the standard LyX Table of Contents and List of Figure 
commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like to 
remove these headers (I have to conform to my university's thesis 
preparation guidelines).

I have this working here too change force running headers:

\renewcommand\tableofcontents{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{%
   \textsc{\contentsname}}{\textsc{\contentsname}}}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}

\renewcommand\listoffigures{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\listfigurename
\addcontentsline{toc}{chapter}{\protect\numberline{}\listfigurename}%
  \@mkboth{\textsc{\listfigurename}}%
  {\textsc{\listfigurename}}}%
\@starttoc{lof}%
\if@restonecol\twocolumn\fi
}

To get empty headers. you may replace the {\textsc{\contentsname}}
and {\textsc{\listfigurename}} by {}.

-- 
Jean-Pierre





Re: can't install it under SuSE 7.2

2002-09-18 Thread Andre Poenitz

On Mon, Sep 16, 2002 at 09:53:53PM +0200, Vinay Ramnath wrote:
 Ok, I'll remove my current installation of teTeX and install the one
 supplied with SuSE. I thought I'd better get the latest one, but if it
 doesn't work like that, I'll remove that. Is it safe to just remove
 /usr/local/teTeX/ with everything in it?

I don't know. I've never installed teTeX in any other way then as .rpm.
I think you would have to remove a few binaries from /usr/local/bin, too...

 formats. Also, I can't remove it, using rpm -e lyx*.
 
 What does 'rpm -qa | grep lyx' say?  'rpm -e lyx-exact-name' should work.
 
 rpm -qa | grep lyx says nothing.

So it's not installed anymore according to rpm's thinking. So this is
either true, or the rpm database is broken.

 Also, rpm -e replies with package lyx not installed. I tried it before
 and I got some errors, but I forgot to write them down and forgot them,
 sorry, stupid indeed. However, it seems removed. At least, when I run lyx
 from command line, it replies with
 command not found.

Ok.

 So, if you think it is a good idea, I'll first remove /usr/local/teTeX/
 and its contents.

Try to figure out what else goth installed by tetex's install.sh and remove
this as well.

 Then I'll install an other teTeX package with YaST2 and
 then install the rpm of LyX 1.2.1, using rpm -Uvh --nodeps
 lyx-1.2.1-1.i386.rpm as described in the installation manual of LyX
 1.2.0.

Exactly.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: libXpm causing problems?

2002-09-18 Thread Takashi Soma


 
 | IDL is a programming environment marketed by Research Systems Inc.
 | (www.researchsystems.com).  Cygwin Lyx 1.2 accepts EPS file from IDL but
 | Linux Lyx 1.2 gives Xpm pixmap error for the same EPS file.  Why?
Help
 | me!

 We then need a eps file from IDL, and perhaps also a xpm generated
 from it. Without this it is pretty much impossible...

 --
 Lgb



Here are a sample EPS file from IDL and LyX error message.  I don't know how
to save the xpm file.  Thank you in advance.

T. Soma




testeps.eps
Description: PostScript document

[soma@localhost idl.d]$ lyx -dbg 2097152
Setting debug level to 2097152
Debugging `graphics' (Graphics conversion and loading)
update:: no BoundingBox
[FormGraphics]out_name: testeps.eps
update:: no BoundingBox
eps detected - test for an epsi ...
Recognised Fileformat: eps
eps detected - test for an epsi ...
Recognised Fileformat: eps
eps detected - test for an epsi ...
Recognised Fileformat: eps
Attempting to convert image file: ~/paper.d/idl.d/testeps.eps
with recognised extension: eps.
eps detected - test for an epsi ...
Recognised Fileformat: eps
eps detected - test for an epsi ...
Recognised Fileformat: eps

The file contains eps format data.
Converting it to xpm format.
Conversion script:

#!/bin/sh
infile='/home/soma/paper.d/idl.d/testeps.eps'
infile_base='/home/soma/paper.d/idl.d/testeps'
outfile='/tmp/lyx_tmpdir1229liUu3C/gconvert01229GStvrY.xpm'

convert EPS:${infile} XPM:${outfile}

if [ $? -ne 0 ]; then
'rm' -f ${outfile}
exit 1
fi

if [ ! -f ${outfile} ]; then
if [ -f ${outfile}.0 ]; then
'mv' -f ${outfile}.0 ${outfile}
'rm' -f ${outfile}.?
else
exit 1
fi
fi

fromfile=${outfile}
tofile='/tmp/lyx_tmpdir1229liUu3C/testeps12293fQuKi.xpm'

'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi


Image conversion succeeded.
Loading image.
Image loading succeeded.
Error creating pixmap from xpm_image 'XpmColorFailed'





Re: Pb with ERT

2002-09-18 Thread Nirmal Govind

 word in TeX mode ; it just open a new ERT box after the selected part
 of text. This was not the case on previous versions.
 What is the problem and its solution ?

I think this was an intentional change made in the newer versions.. the
way to insert ERT is to hit Ctrl-L (or the Tex button) which will open
the box, and then put your latex code inside the box. It will
automatically be red inside the box..

Hope this helps..

nirmal



Re: Pb with ERT

2002-09-18 Thread Jean-Marc Lasgouttes

 Nirmal == Nirmal Govind [EMAIL PROTECTED] writes:

 word in TeX mode ; it just open a new ERT box after the selected
 part of text. This was not the case on previous versions. What is
 the problem and its solution ?

Nirmal I think this was an intentional change made in the newer
Nirmal versions.. the way to insert ERT is to hit Ctrl-L (or the Tex
Nirmal button) which will open the box, and then put your latex code
Nirmal inside the box. It will automatically be red inside the box..

And this behaviour is fixed in 1.3.0cvs. Select a text, insert some
inset that contains text (ERT, footnote...) and you will have this
inset with your text inside.

JMarc



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
 However, when I use the standard LyX Table of Contents and List of Figure 
 commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like to 
 remove these headers (I have to conform to my university's thesis 
 preparation guidelines).
 
 To get empty headers. you may replace the {\textsc{\contentsname}}
 and {\textsc{\listfigurename}} by {}.

A shorter solution:

\let\oldtableofcontents=\tableofcontents
\def\tableofcontents{{\let\@mkboth=\gobbletwo\oldtableofcontents}}
\let\oldlistoffigures=\listoffigures
\def\listoffigures{{\let\@mkboth=\gobbletwo\oldlistoffigures}}



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Jean-Pierre.Chretien


Date: Wed, 18 Sep 2002 15:58:29 +0300
From: Dekel Tsur [EMAIL PROTECTED]
To: Kevin Middleton [EMAIL PROTECTED], LyX users [EMAIL PROTECTED]
Subject: Re: Removing CONTENTS header from ToC pages (LoF also)

On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
 However, when I use the standard LyX Table of Contents and List of Figure 
 commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like 
to 
 remove these headers (I have to conform to my university's thesis 
 preparation guidelines).
 
 To get empty headers. you may replace the {\textsc{\contentsname}}
 and {\textsc{\listfigurename}} by {}.

A shorter solution:

\let\oldtableofcontents=\tableofcontents
\def\tableofcontents{{\let\@mkboth=\@gobbletwo\oldtableofcontents}}
\let\oldlistoffigures=\listoffigures
\def\listoffigures{{\let\@mkboth=\@gobbletwo\oldlistoffigures}}

TeX code is more compact than LaTeX code, sure :-)

But the LaTeX way requires only to search for the code
in the report class and edit it. 

-- 
Jean-Pierre




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Rem

Is this more specifically what you are looking for? ;)

- Original Message -
From: Kevin Middleton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 5:51 PM
Subject: Removing CONTENTS header from ToC pages (LoF also)



 This may be more of a LaTeX question, but here goes.  I have been using
the
 following in my preamble to set page numbers on non-first page of chapters
 in the upper right hand corner of the page, rather than centered in the
 bottom.  This works very well.

 %%% Set up page number headings
 \newcommand{\ps@pnum}{
  \renewcommand{\@oddhead}{\hfil{\thepage}}
  \renewcommand{\@evenhead}{\@oddhead}
  \renewcommand{\@oddfoot}{}
  \renewcommand{\@evenfoot}{}
  }
 %%% End of heading definition

 However, when I use the standard LyX Table of Contents and List of Figure
 commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like
to
 remove these headers (I have to conform to my university's thesis
 preparation guidelines).

 I have tried:

 \contentsname{}
 \listfigurename{}

 But the output is the same.

 Any suggestions would be greatly appreciated.

 Kevin




fancynum.lyx
Description: Binary data


Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Steve Litt

On Wednesday 18 September 2002 08:58 am, Dekel Tsur wrote:
 On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
  However, when I use the standard LyX Table of Contents and List of
   Figure commands, the headers CONTENTS and LIST OF FIGURES appear.  I
   would like to remove these headers (I have to conform to my
   university's thesis preparation guidelines).
 
  To get empty headers. you may replace the {\textsc{\contentsname}}
  and {\textsc{\listfigurename}} by {}.

 A shorter solution:

 \let\oldtableofcontents=\tableofcontents
 \def\tableofcontents{{\let\@mkboth=\gobbletwo\oldtableofcontents}}
 \let\oldlistoffigures=\listoffigures
 \def\listoffigures{{\let\@mkboth=\gobbletwo\oldlistoffigures}}

Dekel,

Where have you learned commands like mkboth and gobbletwo? I've been all 
through the latex2e.dvi and lshort.dvi, but I never saw these commands.

Thanks

Steve

-- 
_
Steve Litt
Author: 
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-






Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
 Dekel,
 
 Where have you learned commands like mkboth and gobbletwo? I've been all 
 through the latex2e.dvi and lshort.dvi, but I never saw these commands.

Looking at the latex sources.



Support for listing package

2002-09-18 Thread Pedro Tejedor

Hello, LyX-users,

does anybody know if the support for listings package has improved in 
1.2.x or even in the forthcoming 1.3?

I am beginning to use it in 1.1.6 and I have to apply lyx-code and 
TeX-mode to use lstlisting, and to be allowed to input free spaces, 
which is kind of annoying. I heard long ago about supporting this 
package, but I never knew what happened of it.

If there is no change about it, how can I fill a feature request?

TIA

Pedro



Re: Support for listing package

2002-09-18 Thread John Levon

On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:

 does anybody know if the support for listings package has improved in 
 1.2.x or even in the forthcoming 1.3?

Herbert Voss has made a patch for decent listings support. Unfortunately
it wasn't ready in time and has now missed the 1.3 feature freeze.

regards
john

-- 
Please crack down on the Chinaman's friends and Hitler's commander.  Mother is
the best bet and don't let Satan draw you too fast.  A boy has never wept ...
nor dashed a thousand kim. Did you hear me?
- Dutch Schultz



Re: Support for listing package

2002-09-18 Thread Pedro Tejedor

Oh, I see. Thank you. But it seems that Herbert is no more online. It 
is a terrible loss IMHO.

Pedro

On 2002.09.18 16:48 John Levon wrote:
 On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
 
  does anybody know if the support for listings package has improved
 in
  1.2.x or even in the forthcoming 1.3?
 
 Herbert Voss has made a patch for decent listings support.
 Unfortunately
 it wasn't ready in time and has now missed the 1.3 feature freeze.
 
 regards
 john
 
 --
 Please crack down on the Chinaman's friends and Hitler's commander.
 Mother is
 the best bet and don't let Satan draw you too fast.  A boy has never
 wept ...
 nor dashed a thousand kim. Did you hear me?
   - Dutch Schultz
 



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Steve Litt

On Wednesday 18 September 2002 09:58 am, Dekel Tsur wrote:
 On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
  Dekel,
 
  Where have you learned commands like mkboth and gobbletwo? I've been all
  through the latex2e.dvi and lshort.dvi, but I never saw these commands.

 Looking at the latex sources.

Thanks Dekel. That's good to know. Do you mean the source code that compiles 
to the latex2e executable, or do you mean something else?

Thanks

Steve

-- 
_
Steve Litt
Author: 
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-






Re: Support for listing package

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
 does anybody know if the support for listings package has improved in 
 1.2.x or even in the forthcoming 1.3?
 
 I am beginning to use it in 1.1.6 and I have to apply lyx-code and 
 TeX-mode to use lstlisting, and to be allowed to input free spaces, 
 which is kind of annoying. I heard long ago about supporting this 
 package, but I never knew what happened of it.

In 1.2.x, LaTeX-mode is free-spacing, so lstlisting is easier to use.



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 12:01:42PM -0400, Steve Litt wrote:
 On Wednesday 18 September 2002 09:58 am, Dekel Tsur wrote:
  On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
   Dekel,
  
   Where have you learned commands like mkboth and gobbletwo? I've been all
   through the latex2e.dvi and lshort.dvi, but I never saw these commands.
 
  Looking at the latex sources.
 
 Thanks Dekel. That's good to know. Do you mean the source code that compiles 
 to the latex2e executable, or do you mean something else?

I just look at the files latex.ltx, article.cls, book.cls etc.
However, there is a documentation for these files, which can be generated from
the latex sources (.dtx files).



No status bar on GNU/Debian woody in KDE 2.2

2002-09-18 Thread Matej Cepl

Does anybody has an explanation for the %subj% (lyx 1.1.6fix4)?

Thanks.

Matej
-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
All parts should go together without forcing. You must remember
that the parts you are reassembling were disassembled by you.
Therefore, if you can't get them together again, there must be a
reason. By all means, do not use a hammer.
-- IBM maintenance manual, 1925




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Matej Cepl

On Wed, Sep 18, 2002 at 12:01:42PM -0400, Steve Litt wrote:
 Thanks Dekel. That's good to know. Do you mean the source code that compiles 
 to the latex2e executable, or do you mean something else?

Yes, which is latex.ltx in your $TEXMF/tex/latex/base directory
(and possible article.cls or whichever document style you use).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
We are told that [St. Anthony] once fell into dejection, finding
uninterrupted contemplation above his strength; but was taught to
apply himself at intervals to manual labour by a vision of an
angel who appeared platting mats of palm-tree leaves, then rising
to pray, and after some time sitting down again to work; and who
at length said to him, Do thus, and thou shalt be saved.
-- Life of St. Anthony




parallel installation of 1.1.6fix4 crashes

2002-09-18 Thread Amir Seginer

Hello,

I'm trying to install Lyx-1.1.6fix4 in parallel to Lyx-1.2 (inorder to 
work on an older file), however right after starting the program it 
crashes with the message:

lyx-1.1.6fix4: /usr/include/g++-3/std/bastring.cc:126: 
basic_stringcharT, traits, Allocator basic_stringcharT, traits, 
Allocator::replace (unsigned int, unsigned int, const 
basic_stringcharT, traits, Allocator , unsigned int, unsigned int) 
[with charT = char, traits = string_char_traitschar, Allocator = 
__default_alloc_templatetrue, 0]: Assertion `!(pos2  len2)' failed.
Aborted


I'm using RedHat-7.3, and installed it using:

./configure --with-version-suffix=-1.1.6fix4
make
make install

I should mention that I also tried to use:

./configure
make

and run from appropriate directory. This worked only after deleting my 
.lyx library, but crashed again after rerunning.

If more information is needed please tell me.

Thanks for any help.

Amir.






Redhat install: libforms RPM

2002-09-18 Thread Lars Jensen

When I try to install lyx1.2.1 on my Redhat 6.2, I get the
following error:

libforms.so.088 is needed by lyx-1.2.1-1
libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1

What rpm's do I need for this? I can't seem to find them on the lyx
related software site.

I already installed xforms on my system. There seem to be more
dependencies than simply xforms that must be satisfied to install lyx.

Thanks,
Lars.


%%%
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]




Re: Support for listing package

2002-09-18 Thread Pedro Tejedor

On 2002.09.18 19:16 Dekel Tsur wrote:
 On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
  does anybody know if the support for listings package has improved
 in
  1.2.x or even in the forthcoming 1.3?
 
  I am beginning to use it in 1.1.6 and I have to apply lyx-code and
  TeX-mode to use lstlisting, and to be allowed to input free spaces,
  which is kind of annoying. I heard long ago about supporting this
  package, but I never knew what happened of it.
 
 In 1.2.x, LaTeX-mode is free-spacing, so lstlisting is easier to use.
 
Thanks, Dekel. That is certainly an improvement.



Re: Redhat install: libforms RPM

2002-09-18 Thread Thomas Schönhoff

Hello,

Lars Jensen schrieb:
 When I try to install lyx1.2.1 on my Redhat 6.2, I get the
 following error:
 
 libforms.so.088 is needed by lyx-1.2.1-1
 libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1
 
 What rpm's do I need for this? I can't seem to find them on the lyx
 related software site.
 
 I already installed xforms on my system. There seem to be more
 dependencies than simply xforms that must be satisfied to install lyx.
 
 Thanks,
 Lars.
 
 
 %%%
 Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
 Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]
 

Did you also install liXpm and xforms-devel ?
Are these packages also installed:

libstdc++ and libstdc++-devel

Perhaps you also need compat-libstdc++.rpm

Thomas




Re: Redhat install: libforms RPM

2002-09-18 Thread Tino van Uffelen

Lars Jensen wrote:

When I try to install lyx1.2.1 on my Redhat 6.2, I get the
following error:

libforms.so.088 is needed by lyx-1.2.1-1
libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1

What rpm's do I need for this? I can't seem to find them on the lyx
related software site.

I already installed xforms on my system. There seem to be more
dependencies than simply xforms that must be satisfied to install lyx.

Thanks,
Lars.


%%%
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]


I think I had the same problem with my installation of lyx on RedHat 7.2 
and I found the answer on the link below

http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg20035.html

but I'm not sure it is the exact same problem. Maybe you should try a 
search on
http://www.rpmfind.net for the packages your supposed to need If they 
don't install because you have newer packages installed follow 
instructions on the first link

Hope this helps/works

Tino van Uffelen




changing language does not apply to tables

2002-09-18 Thread Matthias Bunk

Hello!

When I write a document in any language (e.g. german) with a tabular
in it and then I'm changing the language to another one (e.g.
ngerman) the text inside the table will be remain in the old language.
All of the other text will be converted to the new language. The
underlined words in the table and the LaTeX code shows the usage of both
languages instead of using only the new one.

This behaviour is surely not the desired one. Is it fixed in newer
versions?

Greetings,
Matthias.




lyx 1.2.1 on RedHat 6.2? How?

2002-09-18 Thread Lars Jensen

Has anyone succeeded in installing lyx 1.2.1 on Redhat 6.2? If so,
exactly what RPMs were needed to satisfy the dependencies. I havem't
been able to get 1.2.1 installed on my 6.2 system.

Thanks for any help.

Lars.


%%%
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]




RE: [graphics preview] known problem but...

2002-09-18 Thread Robert Spee

see http://bugzilla.lyx.org/show_bug.cgi?id=39

I think you can upgarding safely to 1.1.6fix4 and still using the same
document. 

I use Redhat 7.2 and the ghostscript package ghostscript-6.51-17.i386.rpm
with lyx 1.1.6fix4 and it works fine since I upgraded to this ghostscript
version.

Good luck

Robert

 -Original Message-
 From: Martijn Brouwer [mailto:[EMAIL PROTECTED]]
 Sent: dinsdag 17 september 2002 21:23
 To: [EMAIL PROTECTED]
 Subject: [graphics preview] known problem but...
 
 
 Hi,
 Included graphics is not shown in LyX with lyx 1.6-fix2. (I am still
 using 1.6 for an important document, that was created with 1.6).
 Searching docs an mailinglist archives learned that this was a bug in
 ghostscript that has been fixed in 6.53, so I have upgraded 
 to 6.53. Now
 part of my pictures (Grace graphs) are shown, but more are not. LaTeX
 output is OK. When I open the usersguide, esher-lsd.eps is shown,
 platypus.eps is not. Has anybody a solution for this?
 In 1.2 preview works, but for this document I do not want to use 1.2
 yet, it is too important and I would not like to break compatibility
 with 1.6. LyX 1.2 crashed a few times when scrolling through this
 document, complaining about memory, but I cannot reproduce this.
 
 Bye,
 
 Martijn
 
 
 



Re: Graphics in Lyx DocBook

2002-09-18 Thread David Cussans

José,
Many thanks for your help. I can get things to work now. The 
sequence I use is

at command line: lyx foo.lyx
in Lyx:  File-Export-DOCBOOK
at command line:  db2dvi foo.sgml
followed by:  dvips foo.dvi

In Lyx if I try File-Export-PDF, db2dvi can't find the graphics file 
( see lyx_graphics_errors.log (command line transcript) ).

If I export DocBook SGML from Lyx and try db2pdf foo.sgml from the 
command line, I find that Jade can't cope with included EPS files ( but 
PDF is OK ) - see db2pdf_errors.log and graphics_test.log. Looking at 
graphics_test.log, graphics file-formats for db2pdf seems to be limited 
to .png,.pdf,.jpg,.mps,.tif . Obviously this isn't a Lyx problem, but 
certainly had me confused. The command db2dvi seems to cope with EPS 
with no problems.

Thanks again for your help. I have a solution that works

David



José Abílio Oliveira Matos wrote:

On Tuesday 17 September 2002 15:57, David Cussans wrote:
  

Hi,
I would like to use Lyx to output DocBook SGML. I have installed Lyx
1.2.1 on my RH 7.3 system and have the docbook tool-set installed



  I have the same toolchain.

  

Creating a new document using the Docbook template works, and
writing *text* works fine. Troubles start when I try to include
graphics. Jade gives errors when processing the SGML produced by Lyx.

I have attached a test Lyx file, the Docbook SGML produced by Lyx,
and the error message produced by Jade.



  The attached file should fix it. The only change is that the paragraph where 
the figure is was changed from Standard to SGML.

  

It is pretty easy to hand-edit the SGML to sort out the problem, but
how do I get Lyx to produce the correct SGML in the first place?

In addition Lyx does not produce an size attributes to the graphics
element ( e.g. WIDTH, SCALE ) - which  means that the figure must be the
right size for the page, and won't be scaled. ( Mind you, jade seems to
ignore size attributes in any case ).



  I have been lazy here. Since I usually don't have problems with scaling I 
never had the ouptut correct for it. The patch for it is simple and it spans 
few lines. I will send it to the list soon and propose it for inclusion for 
future 1.2.2

  

Another irritation is that the only file-format for graphics that
seems to work with Jade is PDF - am I missing something obvious ?



  I don't know. I don't remember to have problems here.

  

Does anybody know how include graphics in Docbook with Lyx?

Cheers,
David



  


-- 
David Cussans   University of Bristol,
H.H. Wills Physics Laboratory,
tel: +44-(117)-928 8772 Tyndall Avenue,
fax: +44-(117)-925 5624 Bristol BS8 1TL, UK




Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-14.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print
Working on: /tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.sgml
This is TeX, Version 3.14159 (Web2C 7.3.1)
(/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.tex
JadeTeX 2002/01/25: 3.12
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled
Jade begin document sequence at 21
(/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.aux)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty)
(/usr/share/texmf/tex/latex/psnfss/t1ppl.fd)
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd)

LaTeX Warning: Reference `12' on page 1 undefined on input line 245.


LaTeX Warning: Reference `20' on page 1 undefined on input line 277.


LaTeX Warning: Reference `25' on page 1 undefined on input line 309.


LaTeX Warning: Reference `30' on page 1 undefined on input line 341.

[1.0.26] [2.0.26]

! LaTeX Error: File `jtag_bus_sketch_small' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.549 {}}
 \endPar{}\endNode{}\endPar{}\Node%
[3.0.26] [4.0.26] (/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.aux)

LaTeX Warning: There were undefined references.

 )
(see the transcript file for additional information)
Output written on jtag_backplane.dvi (4 pages, 21628 bytes).
Transcript written on jtag_backplane.log.


Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-14.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print
Working on: /users/phdgc/sgml/graphics_test.sgml
This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1)
(/users/phdgc/sgml/graphics_test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
JadeTeX 2002/01/25: 3.12
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled
Jade begin document sequence at 21
(/users/phdgc/sgml/graphics_test.aux)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)

Pb with ERT

2002-09-18 Thread Olivier Meplan

Hello
I have a problem with the new Lyx version (1.2.0 or 1.2.1) on RedHat
7.3.
All is working well...except the ERT mode: I can't convert a selected
word in TeX mode ; it just open a new ERT box after the selected part of
text. This was not the case on previous versions.
What is the problem and its solution ?
Thank you very much
Olivier Meplan




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Jean-Pierre.Chretien


Date: Tue, 17 Sep 2002 19:51:24 -0400
To: [EMAIL PROTECTED]
From: Kevin Middleton [EMAIL PROTECTED]
Subject: Removing CONTENTS header from ToC pages (LoF also)


This may be more of a LaTeX question, but here goes.  I have been using the 
following in my preamble to set page numbers on non-first page of chapters 
in the upper right hand corner of the page, rather than centered in the 
bottom.  This works very well.

%%% Set up page number headings
\newcommand{\ps@pnum}{
 \renewcommand{\@oddhead}{\hfil{\thepage}}
 \renewcommand{\@evenhead}{\@oddhead}
 \renewcommand{\@oddfoot}{}
 \renewcommand{\@evenfoot}{}
 }
%%% End of heading definition

However, when I use the standard LyX Table of Contents and List of Figure 
commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like to 
remove these headers (I have to conform to my university's thesis 
preparation guidelines).

I have this working here too change force running headers:

\renewcommand\tableofcontents{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{%
   \textsc{\contentsname}}{\textsc{\contentsname}}}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}

\renewcommand\listoffigures{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\listfigurename
\addcontentsline{toc}{chapter}{\protect\numberline{}\listfigurename}%
  \@mkboth{\textsc{\listfigurename}}%
  {\textsc{\listfigurename}}}%
\@starttoc{lof}%
\if@restonecol\twocolumn\fi
}

To get empty headers. you may replace the {\textsc{\contentsname}}
and {\textsc{\listfigurename}} by {}.

-- 
Jean-Pierre





Re: can't install it under SuSE 7.2

2002-09-18 Thread Andre Poenitz

On Mon, Sep 16, 2002 at 09:53:53PM +0200, Vinay Ramnath wrote:
 Ok, I'll remove my current installation of teTeX and install the one
 supplied with SuSE. I thought I'd better get the latest one, but if it
 doesn't work like that, I'll remove that. Is it safe to just remove
 /usr/local/teTeX/ with everything in it?

I don't know. I've never installed teTeX in any other way then as .rpm.
I think you would have to remove a few binaries from /usr/local/bin, too...

 formats. Also, I can't remove it, using rpm -e lyx*.
 
 What does 'rpm -qa | grep lyx' say?  'rpm -e lyx-exact-name' should work.
 
 rpm -qa | grep lyx says nothing.

So it's not installed anymore according to rpm's thinking. So this is
either true, or the rpm database is broken.

 Also, rpm -e replies with package lyx not installed. I tried it before
 and I got some errors, but I forgot to write them down and forgot them,
 sorry, stupid indeed. However, it seems removed. At least, when I run lyx
 from command line, it replies with
 command not found.

Ok.

 So, if you think it is a good idea, I'll first remove /usr/local/teTeX/
 and its contents.

Try to figure out what else goth installed by tetex's install.sh and remove
this as well.

 Then I'll install an other teTeX package with YaST2 and
 then install the rpm of LyX 1.2.1, using rpm -Uvh --nodeps
 lyx-1.2.1-1.i386.rpm as described in the installation manual of LyX
 1.2.0.

Exactly.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: libXpm causing problems?

2002-09-18 Thread Takashi Soma


 
 | IDL is a programming environment marketed by Research Systems Inc.
 | (www.researchsystems.com).  Cygwin Lyx 1.2 accepts EPS file from IDL but
 | Linux Lyx 1.2 gives Xpm pixmap error for the same EPS file.  Why?
Help
 | me!

 We then need a eps file from IDL, and perhaps also a xpm generated
 from it. Without this it is pretty much impossible...

 --
 Lgb



Here are a sample EPS file from IDL and LyX error message.  I don't know how
to save the xpm file.  Thank you in advance.

T. Soma




testeps.eps
Description: PostScript document

[soma@localhost idl.d]$ lyx -dbg 2097152
Setting debug level to 2097152
Debugging `graphics' (Graphics conversion and loading)
update:: no BoundingBox
[FormGraphics]out_name: testeps.eps
update:: no BoundingBox
eps detected - test for an epsi ...
Recognised Fileformat: eps
eps detected - test for an epsi ...
Recognised Fileformat: eps
eps detected - test for an epsi ...
Recognised Fileformat: eps
Attempting to convert image file: ~/paper.d/idl.d/testeps.eps
with recognised extension: eps.
eps detected - test for an epsi ...
Recognised Fileformat: eps
eps detected - test for an epsi ...
Recognised Fileformat: eps

The file contains eps format data.
Converting it to xpm format.
Conversion script:

#!/bin/sh
infile='/home/soma/paper.d/idl.d/testeps.eps'
infile_base='/home/soma/paper.d/idl.d/testeps'
outfile='/tmp/lyx_tmpdir1229liUu3C/gconvert01229GStvrY.xpm'

convert EPS:${infile} XPM:${outfile}

if [ $? -ne 0 ]; then
'rm' -f ${outfile}
exit 1
fi

if [ ! -f ${outfile} ]; then
if [ -f ${outfile}.0 ]; then
'mv' -f ${outfile}.0 ${outfile}
'rm' -f ${outfile}.?
else
exit 1
fi
fi

fromfile=${outfile}
tofile='/tmp/lyx_tmpdir1229liUu3C/testeps12293fQuKi.xpm'

'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi


Image conversion succeeded.
Loading image.
Image loading succeeded.
Error creating pixmap from xpm_image 'XpmColorFailed'





Re: Pb with ERT

2002-09-18 Thread Nirmal Govind

 word in TeX mode ; it just open a new ERT box after the selected part
 of text. This was not the case on previous versions.
 What is the problem and its solution ?

I think this was an intentional change made in the newer versions.. the
way to insert ERT is to hit Ctrl-L (or the Tex button) which will open
the box, and then put your latex code inside the box. It will
automatically be red inside the box..

Hope this helps..

nirmal



Re: Pb with ERT

2002-09-18 Thread Jean-Marc Lasgouttes

 Nirmal == Nirmal Govind [EMAIL PROTECTED] writes:

 word in TeX mode ; it just open a new ERT box after the selected
 part of text. This was not the case on previous versions. What is
 the problem and its solution ?

Nirmal I think this was an intentional change made in the newer
Nirmal versions.. the way to insert ERT is to hit Ctrl-L (or the Tex
Nirmal button) which will open the box, and then put your latex code
Nirmal inside the box. It will automatically be red inside the box..

And this behaviour is fixed in 1.3.0cvs. Select a text, insert some
inset that contains text (ERT, footnote...) and you will have this
inset with your text inside.

JMarc



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
 However, when I use the standard LyX Table of Contents and List of Figure 
 commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like to 
 remove these headers (I have to conform to my university's thesis 
 preparation guidelines).
 
 To get empty headers. you may replace the {\textsc{\contentsname}}
 and {\textsc{\listfigurename}} by {}.

A shorter solution:

\let\oldtableofcontents=\tableofcontents
\def\tableofcontents{{\let\@mkboth=\gobbletwo\oldtableofcontents}}
\let\oldlistoffigures=\listoffigures
\def\listoffigures{{\let\@mkboth=\gobbletwo\oldlistoffigures}}



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Jean-Pierre.Chretien


Date: Wed, 18 Sep 2002 15:58:29 +0300
From: Dekel Tsur [EMAIL PROTECTED]
To: Kevin Middleton [EMAIL PROTECTED], LyX users [EMAIL PROTECTED]
Subject: Re: Removing CONTENTS header from ToC pages (LoF also)

On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
 However, when I use the standard LyX Table of Contents and List of Figure 
 commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like 
to 
 remove these headers (I have to conform to my university's thesis 
 preparation guidelines).
 
 To get empty headers. you may replace the {\textsc{\contentsname}}
 and {\textsc{\listfigurename}} by {}.

A shorter solution:

\let\oldtableofcontents=\tableofcontents
\def\tableofcontents{{\let\@mkboth=\@gobbletwo\oldtableofcontents}}
\let\oldlistoffigures=\listoffigures
\def\listoffigures{{\let\@mkboth=\@gobbletwo\oldlistoffigures}}

TeX code is more compact than LaTeX code, sure :-)

But the LaTeX way requires only to search for the code
in the report class and edit it. 

-- 
Jean-Pierre




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Rem

Is this more specifically what you are looking for? ;)

- Original Message -
From: Kevin Middleton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 5:51 PM
Subject: Removing CONTENTS header from ToC pages (LoF also)



 This may be more of a LaTeX question, but here goes.  I have been using
the
 following in my preamble to set page numbers on non-first page of chapters
 in the upper right hand corner of the page, rather than centered in the
 bottom.  This works very well.

 %%% Set up page number headings
 \newcommand{\ps@pnum}{
  \renewcommand{\@oddhead}{\hfil{\thepage}}
  \renewcommand{\@evenhead}{\@oddhead}
  \renewcommand{\@oddfoot}{}
  \renewcommand{\@evenfoot}{}
  }
 %%% End of heading definition

 However, when I use the standard LyX Table of Contents and List of Figure
 commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like
to
 remove these headers (I have to conform to my university's thesis
 preparation guidelines).

 I have tried:

 \contentsname{}
 \listfigurename{}

 But the output is the same.

 Any suggestions would be greatly appreciated.

 Kevin




fancynum.lyx
Description: Binary data


Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Steve Litt

On Wednesday 18 September 2002 08:58 am, Dekel Tsur wrote:
 On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
  However, when I use the standard LyX Table of Contents and List of
   Figure commands, the headers CONTENTS and LIST OF FIGURES appear.  I
   would like to remove these headers (I have to conform to my
   university's thesis preparation guidelines).
 
  To get empty headers. you may replace the {\textsc{\contentsname}}
  and {\textsc{\listfigurename}} by {}.

 A shorter solution:

 \let\oldtableofcontents=\tableofcontents
 \def\tableofcontents{{\let\@mkboth=\gobbletwo\oldtableofcontents}}
 \let\oldlistoffigures=\listoffigures
 \def\listoffigures{{\let\@mkboth=\gobbletwo\oldlistoffigures}}

Dekel,

Where have you learned commands like mkboth and gobbletwo? I've been all 
through the latex2e.dvi and lshort.dvi, but I never saw these commands.

Thanks

Steve

-- 
_
Steve Litt
Author: 
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-






Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
 Dekel,
 
 Where have you learned commands like mkboth and gobbletwo? I've been all 
 through the latex2e.dvi and lshort.dvi, but I never saw these commands.

Looking at the latex sources.



Support for listing package

2002-09-18 Thread Pedro Tejedor

Hello, LyX-users,

does anybody know if the support for listings package has improved in 
1.2.x or even in the forthcoming 1.3?

I am beginning to use it in 1.1.6 and I have to apply lyx-code and 
TeX-mode to use lstlisting, and to be allowed to input free spaces, 
which is kind of annoying. I heard long ago about supporting this 
package, but I never knew what happened of it.

If there is no change about it, how can I fill a feature request?

TIA

Pedro



Re: Support for listing package

2002-09-18 Thread John Levon

On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:

 does anybody know if the support for listings package has improved in 
 1.2.x or even in the forthcoming 1.3?

Herbert Voss has made a patch for decent listings support. Unfortunately
it wasn't ready in time and has now missed the 1.3 feature freeze.

regards
john

-- 
Please crack down on the Chinaman's friends and Hitler's commander.  Mother is
the best bet and don't let Satan draw you too fast.  A boy has never wept ...
nor dashed a thousand kim. Did you hear me?
- Dutch Schultz



Re: Support for listing package

2002-09-18 Thread Pedro Tejedor

Oh, I see. Thank you. But it seems that Herbert is no more online. It 
is a terrible loss IMHO.

Pedro

On 2002.09.18 16:48 John Levon wrote:
 On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
 
  does anybody know if the support for listings package has improved
 in
  1.2.x or even in the forthcoming 1.3?
 
 Herbert Voss has made a patch for decent listings support.
 Unfortunately
 it wasn't ready in time and has now missed the 1.3 feature freeze.
 
 regards
 john
 
 --
 Please crack down on the Chinaman's friends and Hitler's commander.
 Mother is
 the best bet and don't let Satan draw you too fast.  A boy has never
 wept ...
 nor dashed a thousand kim. Did you hear me?
   - Dutch Schultz
 



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Steve Litt

On Wednesday 18 September 2002 09:58 am, Dekel Tsur wrote:
 On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
  Dekel,
 
  Where have you learned commands like mkboth and gobbletwo? I've been all
  through the latex2e.dvi and lshort.dvi, but I never saw these commands.

 Looking at the latex sources.

Thanks Dekel. That's good to know. Do you mean the source code that compiles 
to the latex2e executable, or do you mean something else?

Thanks

Steve

-- 
_
Steve Litt
Author: 
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-






Re: Support for listing package

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
 does anybody know if the support for listings package has improved in 
 1.2.x or even in the forthcoming 1.3?
 
 I am beginning to use it in 1.1.6 and I have to apply lyx-code and 
 TeX-mode to use lstlisting, and to be allowed to input free spaces, 
 which is kind of annoying. I heard long ago about supporting this 
 package, but I never knew what happened of it.

In 1.2.x, LaTeX-mode is free-spacing, so lstlisting is easier to use.



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 12:01:42PM -0400, Steve Litt wrote:
 On Wednesday 18 September 2002 09:58 am, Dekel Tsur wrote:
  On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
   Dekel,
  
   Where have you learned commands like mkboth and gobbletwo? I've been all
   through the latex2e.dvi and lshort.dvi, but I never saw these commands.
 
  Looking at the latex sources.
 
 Thanks Dekel. That's good to know. Do you mean the source code that compiles 
 to the latex2e executable, or do you mean something else?

I just look at the files latex.ltx, article.cls, book.cls etc.
However, there is a documentation for these files, which can be generated from
the latex sources (.dtx files).



No status bar on GNU/Debian woody in KDE 2.2

2002-09-18 Thread Matej Cepl

Does anybody has an explanation for the %subj% (lyx 1.1.6fix4)?

Thanks.

Matej
-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
All parts should go together without forcing. You must remember
that the parts you are reassembling were disassembled by you.
Therefore, if you can't get them together again, there must be a
reason. By all means, do not use a hammer.
-- IBM maintenance manual, 1925




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Matej Cepl

On Wed, Sep 18, 2002 at 12:01:42PM -0400, Steve Litt wrote:
 Thanks Dekel. That's good to know. Do you mean the source code that compiles 
 to the latex2e executable, or do you mean something else?

Yes, which is latex.ltx in your $TEXMF/tex/latex/base directory
(and possible article.cls or whichever document style you use).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
We are told that [St. Anthony] once fell into dejection, finding
uninterrupted contemplation above his strength; but was taught to
apply himself at intervals to manual labour by a vision of an
angel who appeared platting mats of palm-tree leaves, then rising
to pray, and after some time sitting down again to work; and who
at length said to him, Do thus, and thou shalt be saved.
-- Life of St. Anthony




parallel installation of 1.1.6fix4 crashes

2002-09-18 Thread Amir Seginer

Hello,

I'm trying to install Lyx-1.1.6fix4 in parallel to Lyx-1.2 (inorder to 
work on an older file), however right after starting the program it 
crashes with the message:

lyx-1.1.6fix4: /usr/include/g++-3/std/bastring.cc:126: 
basic_stringcharT, traits, Allocator basic_stringcharT, traits, 
Allocator::replace (unsigned int, unsigned int, const 
basic_stringcharT, traits, Allocator , unsigned int, unsigned int) 
[with charT = char, traits = string_char_traitschar, Allocator = 
__default_alloc_templatetrue, 0]: Assertion `!(pos2  len2)' failed.
Aborted


I'm using RedHat-7.3, and installed it using:

./configure --with-version-suffix=-1.1.6fix4
make
make install

I should mention that I also tried to use:

./configure
make

and run from appropriate directory. This worked only after deleting my 
.lyx library, but crashed again after rerunning.

If more information is needed please tell me.

Thanks for any help.

Amir.






Redhat install: libforms RPM

2002-09-18 Thread Lars Jensen

When I try to install lyx1.2.1 on my Redhat 6.2, I get the
following error:

libforms.so.088 is needed by lyx-1.2.1-1
libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1

What rpm's do I need for this? I can't seem to find them on the lyx
related software site.

I already installed xforms on my system. There seem to be more
dependencies than simply xforms that must be satisfied to install lyx.

Thanks,
Lars.


%%%
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]




Re: Support for listing package

2002-09-18 Thread Pedro Tejedor

On 2002.09.18 19:16 Dekel Tsur wrote:
 On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
  does anybody know if the support for listings package has improved
 in
  1.2.x or even in the forthcoming 1.3?
 
  I am beginning to use it in 1.1.6 and I have to apply lyx-code and
  TeX-mode to use lstlisting, and to be allowed to input free spaces,
  which is kind of annoying. I heard long ago about supporting this
  package, but I never knew what happened of it.
 
 In 1.2.x, LaTeX-mode is free-spacing, so lstlisting is easier to use.
 
Thanks, Dekel. That is certainly an improvement.



Re: Redhat install: libforms RPM

2002-09-18 Thread Thomas Schönhoff

Hello,

Lars Jensen schrieb:
 When I try to install lyx1.2.1 on my Redhat 6.2, I get the
 following error:
 
 libforms.so.088 is needed by lyx-1.2.1-1
 libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1
 
 What rpm's do I need for this? I can't seem to find them on the lyx
 related software site.
 
 I already installed xforms on my system. There seem to be more
 dependencies than simply xforms that must be satisfied to install lyx.
 
 Thanks,
 Lars.
 
 
 %%%
 Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
 Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]
 

Did you also install liXpm and xforms-devel ?
Are these packages also installed:

libstdc++ and libstdc++-devel

Perhaps you also need compat-libstdc++.rpm

Thomas




Re: Redhat install: libforms RPM

2002-09-18 Thread Tino van Uffelen

Lars Jensen wrote:

When I try to install lyx1.2.1 on my Redhat 6.2, I get the
following error:

libforms.so.088 is needed by lyx-1.2.1-1
libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1

What rpm's do I need for this? I can't seem to find them on the lyx
related software site.

I already installed xforms on my system. There seem to be more
dependencies than simply xforms that must be satisfied to install lyx.

Thanks,
Lars.


%%%
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]


I think I had the same problem with my installation of lyx on RedHat 7.2 
and I found the answer on the link below

http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg20035.html

but I'm not sure it is the exact same problem. Maybe you should try a 
search on
http://www.rpmfind.net for the packages your supposed to need If they 
don't install because you have newer packages installed follow 
instructions on the first link

Hope this helps/works

Tino van Uffelen




changing language does not apply to tables

2002-09-18 Thread Matthias Bunk

Hello!

When I write a document in any language (e.g. german) with a tabular
in it and then I'm changing the language to another one (e.g.
ngerman) the text inside the table will be remain in the old language.
All of the other text will be converted to the new language. The
underlined words in the table and the LaTeX code shows the usage of both
languages instead of using only the new one.

This behaviour is surely not the desired one. Is it fixed in newer
versions?

Greetings,
Matthias.




lyx 1.2.1 on RedHat 6.2? How?

2002-09-18 Thread Lars Jensen

Has anyone succeeded in installing lyx 1.2.1 on Redhat 6.2? If so,
exactly what RPMs were needed to satisfy the dependencies. I havem't
been able to get 1.2.1 installed on my 6.2 system.

Thanks for any help.

Lars.


%%%
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]




RE: [graphics preview] known problem but...

2002-09-18 Thread Robert Spee

see http://bugzilla.lyx.org/show_bug.cgi?id=39

I think you can upgarding safely to 1.1.6fix4 and still using the same
document. 

I use Redhat 7.2 and the ghostscript package ghostscript-6.51-17.i386.rpm
with lyx 1.1.6fix4 and it works fine since I upgraded to this ghostscript
version.

Good luck

Robert

> -Original Message-
> From: Martijn Brouwer [mailto:[EMAIL PROTECTED]]
> Sent: dinsdag 17 september 2002 21:23
> To: [EMAIL PROTECTED]
> Subject: [graphics preview] known problem but...
> 
> 
> Hi,
> Included graphics is not shown in LyX with lyx 1.6-fix2. (I am still
> using 1.6 for an important document, that was created with 1.6).
> Searching docs an mailinglist archives learned that this was a bug in
> ghostscript that has been fixed in 6.53, so I have upgraded 
> to 6.53. Now
> part of my pictures (Grace graphs) are shown, but more are not. LaTeX
> output is OK. When I open the usersguide, esher-lsd.eps is shown,
> platypus.eps is not. Has anybody a solution for this?
> In 1.2 preview works, but for this document I do not want to use 1.2
> yet, it is too important and I would not like to break compatibility
> with 1.6. LyX 1.2 crashed a few times when scrolling through this
> document, complaining about memory, but I cannot reproduce this.
> 
> Bye,
> 
> Martijn
> 
> 
> 



Re: Graphics in Lyx "DocBook"

2002-09-18 Thread David Cussans

José,
Many thanks for your help. I can get things to work now. The 
sequence I use is

at command line: lyx foo.lyx
in Lyx:  "File->Export->DOCBOOK"
at command line:  db2dvi foo.sgml
followed by:  dvips foo.dvi

In Lyx if I try "File->Export->PDF", db2dvi can't find the graphics file 
( see lyx_graphics_errors.log (command line transcript) ).

If I export DocBook SGML from Lyx and try "db2pdf foo.sgml" from the 
command line, I find that Jade can't cope with included EPS files ( but 
PDF is OK ) - see db2pdf_errors.log and graphics_test.log. Looking at 
graphics_test.log, graphics file-formats for db2pdf seems to be limited 
to .png,.pdf,.jpg,.mps,.tif . Obviously this isn't a Lyx problem, but 
certainly had me confused. The command "db2dvi" seems to cope with EPS 
with no problems.

Thanks again for your help. I have a solution that works

David



José Abílio Oliveira Matos wrote:

>On Tuesday 17 September 2002 15:57, David Cussans wrote:
>  
>
>>Hi,
>>I would like to use Lyx to output DocBook SGML. I have installed Lyx
>>1.2.1 on my RH 7.3 system and have the docbook tool-set installed
>>
>>
>
>  I have the same toolchain.
>
>  
>
>>Creating a new document using the Docbook template works, and
>>writing *text* works fine. Troubles start when I try to include
>>graphics. Jade gives errors when processing the SGML produced by Lyx.
>>
>>I have attached a test Lyx file, the Docbook SGML produced by Lyx,
>>and the error message produced by Jade.
>>
>>
>
>  The attached file should fix it. The only change is that the paragraph where 
>the figure is was changed from Standard to SGML.
>
>  
>
>>It is pretty easy to hand-edit the SGML to sort out the problem, but
>>how do I get Lyx to produce the correct SGML in the first place?
>>
>>In addition Lyx does not produce an size attributes to the graphics
>>element ( e.g. WIDTH, SCALE ) - which  means that the figure must be the
>>right size for the page, and won't be scaled. ( Mind you, jade seems to
>>ignore size attributes in any case ).
>>
>>
>
>  I have been lazy here. Since I usually don't have problems with scaling I 
>never had the ouptut correct for it. The patch for it is simple and it spans 
>few lines. I will send it to the list soon and propose it for inclusion for 
>future 1.2.2
>
>  
>
>>Another irritation is that the only file-format for graphics that
>>seems to work with Jade is PDF - am I missing something obvious ?
>>
>>
>
>  I don't know. I don't remember to have problems here.
>
>  
>
>>Does anybody know how include graphics in Docbook with Lyx?
>>
>>Cheers,
>>David
>>
>>
>
>  
>

-- 
David Cussans   University of Bristol,
H.H. Wills Physics Laboratory,
tel: +44-(117)-928 8772 Tyndall Avenue,
fax: +44-(117)-925 5624 Bristol BS8 1TL, UK




Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-14.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print
Working on: /tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.sgml
This is TeX, Version 3.14159 (Web2C 7.3.1)
(/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.tex
JadeTeX 2002/01/25: 3.12
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled
Jade begin document sequence at 21
(/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.aux)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty)
(/usr/share/texmf/tex/latex/psnfss/t1ppl.fd)
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd)

LaTeX Warning: Reference `12' on page 1 undefined on input line 245.


LaTeX Warning: Reference `20' on page 1 undefined on input line 277.


LaTeX Warning: Reference `25' on page 1 undefined on input line 309.


LaTeX Warning: Reference `30' on page 1 undefined on input line 341.

[1.0.26] [2.0.26]

! LaTeX Error: File `jtag_bus_sketch_small' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...  
  
l.549 {}}
 \endPar{}\endNode{}\endPar{}\Node%
[3.0.26] [4.0.26] (/tmp/lyx_tmpdir12943gRAwEL/lyx_tmpbuf0/jtag_backplane.aux)

LaTeX Warning: There were undefined references.

 )
(see the transcript file for additional information)
Output written on jtag_backplane.dvi (4 pages, 21628 bytes).
Transcript written on jtag_backplane.log.


Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-14.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#print
Working on: /users/phdgc/sgml/graphics_test.sgml
This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1)
(/users/phdgc/sgml/graphics_test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
JadeTeX 2002/01/25: 3.12
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled
Jade begin document sequence at 21

Pb with ERT

2002-09-18 Thread Olivier Meplan

Hello
I have a problem with the new Lyx version (1.2.0 or 1.2.1) on RedHat
7.3.
All is working well...except the ERT mode: I can't convert a selected
word in TeX mode ; it just open a new ERT box after the selected part of
text. This was not the case on previous versions.
What is the problem and its solution ?
Thank you very much
Olivier Meplan




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Jean-Pierre.Chretien


>>Date: Tue, 17 Sep 2002 19:51:24 -0400
>>To: [EMAIL PROTECTED]
>>From: Kevin Middleton <[EMAIL PROTECTED]>
>>Subject: Removing CONTENTS header from ToC pages (LoF also)
>>
>>
>>This may be more of a LaTeX question, but here goes.  I have been using the 
>>following in my preamble to set page numbers on non-first page of chapters 
>>in the upper right hand corner of the page, rather than centered in the 
>>bottom.  This works very well.
>>
>>%%% Set up page number headings
>>\newcommand{\ps@pnum}{
>> \renewcommand{\@oddhead}{\hfil{\thepage}}
>> \renewcommand{\@evenhead}{\@oddhead}
>> \renewcommand{\@oddfoot}{}
>> \renewcommand{\@evenfoot}{}
>> }
>>%%% End of heading definition
>>
>>However, when I use the standard LyX Table of Contents and List of Figure 
>>commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like to 
>>remove these headers (I have to conform to my university's thesis 
>>preparation guidelines).

I have this working here too change force running headers:

\renewcommand\tableofcontents{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{%
   \textsc{\contentsname}}{\textsc{\contentsname}}}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}

\renewcommand\listoffigures{%
\if@twocolumn
  \@restonecoltrue\onecolumn
\else
  \@restonecolfalse
\fi
\chapter*{\listfigurename
\addcontentsline{toc}{chapter}{\protect\numberline{}\listfigurename}%
  \@mkboth{\textsc{\listfigurename}}%
  {\textsc{\listfigurename}}}%
\@starttoc{lof}%
\if@restonecol\twocolumn\fi
}

To get empty headers. you may replace the {\textsc{\contentsname}}
and {\textsc{\listfigurename}} by {}.

-- 
Jean-Pierre





Re: can't install it under SuSE 7.2

2002-09-18 Thread Andre Poenitz

On Mon, Sep 16, 2002 at 09:53:53PM +0200, Vinay Ramnath wrote:
> Ok, I'll remove my current installation of teTeX and install the one
> supplied with SuSE. I thought I'd better get the latest one, but if it
> doesn't work like that, I'll remove that. Is it safe to just remove
> /usr/local/teTeX/ with everything in it?

I don't know. I've never installed teTeX in any other way then as .rpm.
I think you would have to remove a few binaries from /usr/local/bin, too...

> >>formats. Also, I can't remove it, using rpm -e lyx*.
> >
> >What does 'rpm -qa | grep lyx' say?  'rpm -e lyx-exact-name' should work.
> >
> rpm -qa | grep lyx says nothing.

So it's not installed anymore according to rpm's thinking. So this is
either true, or the rpm database is broken.

> Also, rpm -e replies with package lyx not installed. I tried it before
> and I got some errors, but I forgot to write them down and forgot them,
> sorry, stupid indeed. However, it seems removed. At least, when I run lyx
> from command line, it replies with
> command not found.

Ok.

> So, if you think it is a good idea, I'll first remove /usr/local/teTeX/
> and its contents.

Try to figure out what else goth installed by tetex's install.sh and remove
this as well.

> Then I'll install an other teTeX package with YaST2 and
> then install the rpm of LyX 1.2.1, using rpm -Uvh --nodeps
> lyx-1.2.1-1.i386.rpm as described in the installation manual of LyX
> 1.2.0.

Exactly.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: libXpm causing problems?

2002-09-18 Thread Takashi Soma


> >
> | IDL is a programming environment marketed by Research Systems Inc.
> | (www.researchsystems.com).  Cygwin Lyx 1.2 accepts EPS file from IDL but
> | Linux Lyx 1.2 gives "Xpm pixmap" error for the same EPS file.  Why?
Help
> | me!
>
> We then need a eps file from IDL, and perhaps also a xpm generated
> from it. Without this it is pretty much impossible...
>
> --
> Lgb
>
>

Here are a sample EPS file from IDL and LyX error message.  I don't know how
to save the xpm file.  Thank you in advance.

T. Soma




testeps.eps
Description: PostScript document

[soma@localhost idl.d]$ lyx -dbg 2097152
Setting debug level to 2097152
Debugging `graphics' (Graphics conversion and loading)
update:: no BoundingBox
[FormGraphics]out_name: testeps.eps
update:: no BoundingBox
eps detected -> test for an epsi ...
Recognised Fileformat: eps
eps detected -> test for an epsi ...
Recognised Fileformat: eps
eps detected -> test for an epsi ...
Recognised Fileformat: eps
Attempting to convert image file: ~/paper.d/idl.d/testeps.eps
with recognised extension: eps.
eps detected -> test for an epsi ...
Recognised Fileformat: eps
eps detected -> test for an epsi ...
Recognised Fileformat: eps

The file contains eps format data.
Converting it to xpm format.
Conversion script:

#!/bin/sh
infile='/home/soma/paper.d/idl.d/testeps.eps'
infile_base='/home/soma/paper.d/idl.d/testeps'
outfile='/tmp/lyx_tmpdir1229liUu3C/gconvert01229GStvrY.xpm'

convert EPS:${infile} XPM:${outfile}

if [ $? -ne 0 ]; then
'rm' -f ${outfile}
exit 1
fi

if [ ! -f ${outfile} ]; then
if [ -f ${outfile}.0 ]; then
'mv' -f ${outfile}.0 ${outfile}
'rm' -f ${outfile}.?
else
exit 1
fi
fi

fromfile=${outfile}
tofile='/tmp/lyx_tmpdir1229liUu3C/testeps12293fQuKi.xpm'

'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi


Image conversion succeeded.
Loading image.
Image loading succeeded.
Error creating pixmap from xpm_image 'XpmColorFailed'





Re: Pb with ERT

2002-09-18 Thread Nirmal Govind

> word in TeX mode ; it just open a new ERT box after the selected part
> of text. This was not the case on previous versions.
> What is the problem and its solution ?

I think this was an intentional change made in the newer versions.. the
way to insert ERT is to hit Ctrl-L (or the Tex button) which will open
the box, and then put your latex code inside the box. It will
automatically be red inside the box..

Hope this helps..

nirmal



Re: Pb with ERT

2002-09-18 Thread Jean-Marc Lasgouttes

> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes:

>> word in TeX mode ; it just open a new ERT box after the selected
>> part of text. This was not the case on previous versions. What is
>> the problem and its solution ?

Nirmal> I think this was an intentional change made in the newer
Nirmal> versions.. the way to insert ERT is to hit Ctrl-L (or the Tex
Nirmal> button) which will open the box, and then put your latex code
Nirmal> inside the box. It will automatically be red inside the box..

And this behaviour is fixed in 1.3.0cvs. Select a text, insert some
inset that contains text (ERT, footnote...) and you will have this
inset with your text inside.

JMarc



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
> >>However, when I use the standard LyX Table of Contents and List of Figure 
> >>commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like to 
> >>remove these headers (I have to conform to my university's thesis 
> >>preparation guidelines).
> 
> To get empty headers. you may replace the {\textsc{\contentsname}}
> and {\textsc{\listfigurename}} by {}.

A shorter solution:

\let\oldtableofcontents=\tableofcontents
\def\tableofcontents{{\let\@mkboth=\@gobbletwo\oldtableofcontents}}
\let\oldlistoffigures=\listoffigures
\def\listoffigures{{\let\@mkboth=\@gobbletwo\oldlistoffigures}}



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Jean-Pierre.Chretien


>>Date: Wed, 18 Sep 2002 15:58:29 +0300
>>From: Dekel Tsur <[EMAIL PROTECTED]>
>>To: Kevin Middleton <[EMAIL PROTECTED]>, LyX users <[EMAIL PROTECTED]>
>>Subject: Re: Removing CONTENTS header from ToC pages (LoF also)
>>
>>On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
>>> >>However, when I use the standard LyX Table of Contents and List of Figure 
>>> >>commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like 
to 
>>> >>remove these headers (I have to conform to my university's thesis 
>>> >>preparation guidelines).
>>> 
>>> To get empty headers. you may replace the {\textsc{\contentsname}}
>>> and {\textsc{\listfigurename}} by {}.
>>
>>A shorter solution:
>>
>>\let\oldtableofcontents=\tableofcontents
>>\def\tableofcontents{{\let\@mkboth=\@gobbletwo\oldtableofcontents}}
>>\let\oldlistoffigures=\listoffigures
>>\def\listoffigures{{\let\@mkboth=\@gobbletwo\oldlistoffigures}}

TeX code is more compact than LaTeX code, sure :-)

But the LaTeX way requires only to search for the code
in the report class and edit it. 

-- 
Jean-Pierre




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Rem

Is this more specifically what you are looking for? ;)

- Original Message -
From: "Kevin Middleton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 5:51 PM
Subject: Removing CONTENTS header from ToC pages (LoF also)


>
> This may be more of a LaTeX question, but here goes.  I have been using
the
> following in my preamble to set page numbers on non-first page of chapters
> in the upper right hand corner of the page, rather than centered in the
> bottom.  This works very well.
>
> %%% Set up page number headings
> \newcommand{\ps@pnum}{
>  \renewcommand{\@oddhead}{\hfil{\thepage}}
>  \renewcommand{\@evenhead}{\@oddhead}
>  \renewcommand{\@oddfoot}{}
>  \renewcommand{\@evenfoot}{}
>  }
> %%% End of heading definition
>
> However, when I use the standard LyX Table of Contents and List of Figure
> commands, the headers CONTENTS and LIST OF FIGURES appear.  I would like
to
> remove these headers (I have to conform to my university's thesis
> preparation guidelines).
>
> I have tried:
>
> \contentsname{}
> \listfigurename{}
>
> But the output is the same.
>
> Any suggestions would be greatly appreciated.
>
> Kevin
>



fancynum.lyx
Description: Binary data


Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Steve Litt

On Wednesday 18 September 2002 08:58 am, Dekel Tsur wrote:
> On Wed, Sep 18, 2002 at 11:55:37AM +0200, Jean-Pierre.Chretien wrote:
> > >>However, when I use the standard LyX Table of Contents and List of
> > >> Figure commands, the headers CONTENTS and LIST OF FIGURES appear.  I
> > >> would like to remove these headers (I have to conform to my
> > >> university's thesis preparation guidelines).
> >
> > To get empty headers. you may replace the {\textsc{\contentsname}}
> > and {\textsc{\listfigurename}} by {}.
>
> A shorter solution:
>
> \let\oldtableofcontents=\tableofcontents
> \def\tableofcontents{{\let\@mkboth=\@gobbletwo\oldtableofcontents}}
> \let\oldlistoffigures=\listoffigures
> \def\listoffigures{{\let\@mkboth=\@gobbletwo\oldlistoffigures}}

Dekel,

Where have you learned commands like mkboth and gobbletwo? I've been all 
through the latex2e.dvi and lshort.dvi, but I never saw these commands.

Thanks

Steve

-- 
_
Steve Litt
Author: 
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-






Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
> Dekel,
> 
> Where have you learned commands like mkboth and gobbletwo? I've been all 
> through the latex2e.dvi and lshort.dvi, but I never saw these commands.

Looking at the latex sources.



Support for listing package

2002-09-18 Thread Pedro Tejedor

Hello, LyX-users,

does anybody know if the support for listings package has improved in 
1.2.x or even in the forthcoming 1.3?

I am beginning to use it in 1.1.6 and I have to apply lyx-code and 
TeX-mode to use lstlisting, and to be allowed to input free spaces, 
which is kind of annoying. I heard long ago about supporting this 
package, but I never knew what happened of it.

If there is no change about it, how can I fill a feature request?

TIA

Pedro



Re: Support for listing package

2002-09-18 Thread John Levon

On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:

> does anybody know if the support for listings package has improved in 
> 1.2.x or even in the forthcoming 1.3?

Herbert Voss has made a patch for decent listings support. Unfortunately
it wasn't ready in time and has now missed the 1.3 feature freeze.

regards
john

-- 
"Please crack down on the Chinaman's friends and Hitler's commander.  Mother is
the best bet and don't let Satan draw you too fast.  A boy has never wept ...
nor dashed a thousand kim. Did you hear me?"
- Dutch Schultz



Re: Support for listing package

2002-09-18 Thread Pedro Tejedor

Oh, I see. Thank you. But it seems that Herbert is no more online. It 
is a terrible loss IMHO.

Pedro

On 2002.09.18 16:48 John Levon wrote:
> On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
> 
> > does anybody know if the support for listings package has improved
> in
> > 1.2.x or even in the forthcoming 1.3?
> 
> Herbert Voss has made a patch for decent listings support.
> Unfortunately
> it wasn't ready in time and has now missed the 1.3 feature freeze.
> 
> regards
> john
> 
> --
> "Please crack down on the Chinaman's friends and Hitler's commander.
> Mother is
> the best bet and don't let Satan draw you too fast.  A boy has never
> wept ...
> nor dashed a thousand kim. Did you hear me?"
>   - Dutch Schultz
> 



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Steve Litt

On Wednesday 18 September 2002 09:58 am, Dekel Tsur wrote:
> On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
> > Dekel,
> >
> > Where have you learned commands like mkboth and gobbletwo? I've been all
> > through the latex2e.dvi and lshort.dvi, but I never saw these commands.
>
> Looking at the latex sources.

Thanks Dekel. That's good to know. Do you mean the source code that compiles 
to the latex2e executable, or do you mean something else?

Thanks

Steve

-- 
_
Steve Litt
Author: 
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-






Re: Support for listing package

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
> does anybody know if the support for listings package has improved in 
> 1.2.x or even in the forthcoming 1.3?
> 
> I am beginning to use it in 1.1.6 and I have to apply lyx-code and 
> TeX-mode to use lstlisting, and to be allowed to input free spaces, 
> which is kind of annoying. I heard long ago about supporting this 
> package, but I never knew what happened of it.

In 1.2.x, LaTeX-mode is free-spacing, so lstlisting is easier to use.



Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Dekel Tsur

On Wed, Sep 18, 2002 at 12:01:42PM -0400, Steve Litt wrote:
> On Wednesday 18 September 2002 09:58 am, Dekel Tsur wrote:
> > On Wed, Sep 18, 2002 at 09:33:35AM -0400, Steve Litt wrote:
> > > Dekel,
> > >
> > > Where have you learned commands like mkboth and gobbletwo? I've been all
> > > through the latex2e.dvi and lshort.dvi, but I never saw these commands.
> >
> > Looking at the latex sources.
> 
> Thanks Dekel. That's good to know. Do you mean the source code that compiles 
> to the latex2e executable, or do you mean something else?

I just look at the files latex.ltx, article.cls, book.cls etc.
However, there is a documentation for these files, which can be generated from
the latex sources (.dtx files).



No status bar on GNU/Debian woody in KDE 2.2

2002-09-18 Thread Matej Cepl

Does anybody has an explanation for the %subj% (lyx 1.1.6fix4)?

Thanks.

Matej
-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
All parts should go together without forcing. You must remember
that the parts you are reassembling were disassembled by you.
Therefore, if you can't get them together again, there must be a
reason. By all means, do not use a hammer.
-- IBM maintenance manual, 1925




Re: Removing CONTENTS header from ToC pages (LoF also)

2002-09-18 Thread Matej Cepl

On Wed, Sep 18, 2002 at 12:01:42PM -0400, Steve Litt wrote:
> Thanks Dekel. That's good to know. Do you mean the source code that compiles 
> to the latex2e executable, or do you mean something else?

Yes, which is latex.ltx in your $TEXMF/tex/latex/base directory
(and possible article.cls or whichever document style you use).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
We are told that [St. Anthony] once fell into dejection, finding
uninterrupted contemplation above his strength; but was taught to
apply himself at intervals to manual labour by a vision of an
angel who appeared platting mats of palm-tree leaves, then rising
to pray, and after some time sitting down again to work; and who
at length said to him, "Do thus, and thou shalt be saved."
-- Life of St. Anthony




parallel installation of 1.1.6fix4 crashes

2002-09-18 Thread Amir Seginer

Hello,

I'm trying to install Lyx-1.1.6fix4 in parallel to Lyx-1.2 (inorder to 
work on an older file), however right after starting the program it 
crashes with the message:

lyx-1.1.6fix4: /usr/include/g++-3/std/bastring.cc:126: 
basic_string _string::replace (unsigned int, unsigned int, const 
basic_string &, unsigned int, unsigned int) 
[with charT = char, traits = string_char_traits, Allocator = 
__default_alloc_template]: Assertion `!(pos2 > len2)' failed.
Aborted


I'm using RedHat-7.3, and installed it using:

./configure --with-version-suffix=-1.1.6fix4
make
make install

I should mention that I also tried to use:

./configure
make

and run from appropriate directory. This worked only after deleting my 
.lyx library, but crashed again after rerunning.

If more information is needed please tell me.

Thanks for any help.

Amir.






Redhat install: libforms RPM

2002-09-18 Thread Lars Jensen

When I try to install lyx1.2.1 on my Redhat 6.2, I get the
following error:

libforms.so.088 is needed by lyx-1.2.1-1
libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1

What rpm's do I need for this? I can't seem to find them on the lyx
"related software" site.

I already installed xforms on my system. There seem to be more
dependencies than simply xforms that must be satisfied to install lyx.

Thanks,
Lars.


%%%
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]




Re: Support for listing package

2002-09-18 Thread Pedro Tejedor

On 2002.09.18 19:16 Dekel Tsur wrote:
> On Wed, Sep 18, 2002 at 04:15:01PM +0200, Pedro Tejedor wrote:
> > does anybody know if the support for listings package has improved
> in
> > 1.2.x or even in the forthcoming 1.3?
> >
> > I am beginning to use it in 1.1.6 and I have to apply lyx-code and
> > TeX-mode to use lstlisting, and to be allowed to input free spaces,
> > which is kind of annoying. I heard long ago about supporting this
> > package, but I never knew what happened of it.
> 
> In 1.2.x, LaTeX-mode is free-spacing, so lstlisting is easier to use.
> 
Thanks, Dekel. That is certainly an improvement.



Re: Redhat install: libforms RPM

2002-09-18 Thread Thomas Schönhoff

Hello,

Lars Jensen schrieb:
> When I try to install lyx1.2.1 on my Redhat 6.2, I get the
> following error:
> 
> libforms.so.088 is needed by lyx-1.2.1-1
> libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1
> 
> What rpm's do I need for this? I can't seem to find them on the lyx
> "related software" site.
> 
> I already installed xforms on my system. There seem to be more
> dependencies than simply xforms that must be satisfied to install lyx.
> 
> Thanks,
> Lars.
> 
> 
> %%%
> Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
> Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]
> 

Did you also install liXpm and xforms-devel ?
Are these packages also installed:

libstdc++ and libstdc++-devel

Perhaps you also need compat-libstdc++.rpm

Thomas




Re: Redhat install: libforms RPM

2002-09-18 Thread Tino van Uffelen

Lars Jensen wrote:

>When I try to install lyx1.2.1 on my Redhat 6.2, I get the
>following error:
>
>libforms.so.088 is needed by lyx-1.2.1-1
>libstdc++-libc6.1-2.so3 is needed by lyx-1.2.1-1
>
>What rpm's do I need for this? I can't seem to find them on the lyx
>"related software" site.
>
>I already installed xforms on my system. There seem to be more
>dependencies than simply xforms that must be satisfied to install lyx.
>
>Thanks,
>Lars.
>
>
>%%%
>Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
>Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]
>
>
I think I had the same problem with my installation of lyx on RedHat 7.2 
and I found the answer on the link below

http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg20035.html

but I'm not sure it is the exact same problem. Maybe you should try a 
search on
http://www.rpmfind.net for the packages your supposed to need If they 
don't install because you have newer packages installed follow 
instructions on the first link

Hope this helps/works

Tino van Uffelen




changing language does not apply to tables

2002-09-18 Thread Matthias Bunk

Hello!

When I write a document in any language (e.g. "german") with a tabular
in it and then I'm changing the language to another one (e.g.
"ngerman") the text inside the table will be remain in the old language.
All of the other text will be converted to the new language. The
underlined words in the table and the LaTeX code shows the usage of both
languages instead of using only the new one.

This behaviour is surely not the desired one. Is it fixed in newer
versions?

Greetings,
Matthias.




lyx 1.2.1 on RedHat 6.2? How?

2002-09-18 Thread Lars Jensen

Has anyone succeeded in installing lyx 1.2.1 on Redhat 6.2? If so,
exactly what RPMs were needed to satisfy the dependencies. I havem't
been able to get 1.2.1 installed on my 6.2 system.

Thanks for any help.

Lars.


%%%
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]