Re: BibTeX references and several bibfiles

2003-11-20 Thread Wolfgang Engelmann
On Tuesday 18 November 2003 20:35, Andres Becerra Sandoval wrote:
 Hello,
 En Tue, 18 Nov 2003 18:40:55 +0100, Wolfgang Engelmann

 [EMAIL PROTECTED] escribi:
  Does somebody know, how a particular reference is searched for if it is
  found
  in let's say bib1.bib and bib2.bib and bib5.bib? According to the
  sequence in
  the  BibTeX data bank (which is, let's say 1,2,3,4,5)?

 make, in a shell:

 cat bib1.bib and bib2.bib and bib5.bib | sort  all_refs.bib



 then edit (with any tool or manually ) the file and erase the duplicates.

 THen, in the lyx file use all_refs.bib only as the bib database.

Thanks for the proposal. 
Pybliographic has a merge function. 

However, I am afraid I have not explained well enough my problem. 
Out of a few thousand citations (in the different .bib-files) I want only the 
ones which are actually cited in my book (perhaps 20 or so) and get them in a 
new (pybliographic-) file. 


-- 
Wolfgang Engelmann
Schlossgartenstr. 22
D72070 TBINGEN (Germany)
Tel. (0)7071-68324/5

Time flies like an arrow,
but fruitflies like a banana




Re: Newbie's question: what is the input box at the bottom of lyx

2003-11-20 Thread Andre Poenitz
On Wed, Nov 19, 2003 at 11:51:39PM +, John Levon wrote:
 On Wed, Nov 19, 2003 at 06:47:01PM -0500, Wei Zhou wrote:
 
  Could any one tell me what is the input box at the bottom used for?
  
  If I try to type something, it says unknown function.
 
 It's for entering commands, for example lyx-quit. It's  not
 particulalrly useful most of the time

It's pretty useful for 'advanced' stuff that's not easily accessible by
menus or for repeated actions.

At the beginning it usually can be ignored, though.

Andre'


Re: BibTeX references and several bibfiles

2003-11-20 Thread Angus Leeming
Wolfgang Engelmann wrote:
 However, I am afraid I have not explained well enough my problem.
 Out of a few thousand citations (in the different .bib-files) I want
 only the ones which are actually cited in my book (perhaps 20 or so)
 and get them in a new (pybliographic-) file.

Export to latex, run the latex compiler 'by hand' and look in the 
generated .aux file to see which citations you're using. To proceed 
further we could probably write a shell script but I think it would 
be simpler to just use cut-n-paste from your favourite text editor.

-- 
Angus



Re: BibTeX references and several bibfiles

2003-11-20 Thread Gareth Jenkins
Using sixpack you can mark entries according to the .aux file. Then just
export to a separate bibfile.
IMO sixpack is a most excellent piece of software!
Gareth

Angus Leeming wrote:
Wolfgang Engelmann wrote:

However, I am afraid I have not explained well enough my problem.
Out of a few thousand citations (in the different .bib-files) I want
only the ones which are actually cited in my book (perhaps 20 or so)
and get them in a new (pybliographic-) file.


Export to latex, run the latex compiler 'by hand' and look in the 
generated .aux file to see which citations you're using. To proceed 
further we could probably write a shell script but I think it would 
be simpler to just use cut-n-paste from your favourite text editor.





large algorithms

2003-11-20 Thread Jihène Krichène
Hi everybody
Large floats are supposed to be printed on two pages if they overpass the page size. 
However, in the algorithm case, the large algorithm does not use more than one page. 
Do any one know why and how to solve this problem ?
Tkanks in advance



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005


Re: running head on title page

2003-11-20 Thread Nirmal Govind
the page number is on the same line though. After setting the 
document heading to  fancy I've modified the preamble 
\pagestyle{fancy}\lhead{} \chead{}
\rhead{foo is good \thepage}
To get the page number below foo is good you want to modify the above 
as \rhead{foo is good \\ \thepage} which will add a line after the text.

2. I want to get the running head onto the titlepage. It's clear the 
running head is not in teh header area. When I add anything above the 
title I end up making an additional page.
Try \thispagestyle{fancyplain} somewhere on your title page or try 
putting in \pagestyle{fancyplain} in your preamble.. it may work, I'm 
not sure...

nirmal



Cannot view file No information for viewing PDF (pdflatex)

2003-11-20 Thread Munzir Taha
In my Mandrake 9.2. If I type something in LyX then

View-PDF (pdflatex) gives this error:

Cannot view file
No information for viewing PDF (pdflatex)

What's wrong? Do you want me to send any debugging info or is it a known 
issue?

-- 
  __/__/  _/  _/  _/
 _/ _\  _/ _\_/
_/\ /   _\ unzir_/ aha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Linux Registered User #279362 at http://counter.li.org
Mandrake Club member
Maintainer of Mandrake Arabization Project Status (MAPS)
http://www.arabeyes.org/download/documents/distro/mdkarabicsupport.html
CIW Designer, ICDL, MOUS
New Horizons CLC
Riyadh, SA



Re: Cannot view file No information for viewing PDF (pdflatex)

2003-11-20 Thread Paul A. Rubin
Munzir Taha [EMAIL PROTECTED] wrote in 
news:[EMAIL PROTECTED]:

 In my Mandrake 9.2. If I type something in LyX then
 
 View-PDF (pdflatex) gives this error:
 
 Cannot view file
 No information for viewing PDF (pdflatex)
 
 What's wrong? Do you want me to send any debugging info or is it a known 
 issue?
 

What do you have filled in for Edit | Preferences | File formats | PDF 
(pdflatex) | Viewer?

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University  http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Making layouts more flexible

2003-11-20 Thread Diab Jerius
One of my frustrations using LyX (and there are very few!) is finding an
elegant way to easily mix layouts.  I may simply be ignorant of how to
do it correctly.

Here's an example.  As a long time (La)TeX user I've developed my own
set of handy environments that I use in addition to the standard ones.
I simply \input{macros}, and I'm off.  I'd like that same functionality
in LyX, but with the ability to use those environments without resorting
to ERT.

The way I've been doing this so far, and it's really a kludge, is to
create a local layout (in ~/.lyx/layouts) called stdlists.inc. I
create a symbolic link to the real stdlists.inc ones and call it
dist-stdlists.inc.  My stdlists.inc contains my environments, and
Includes dist-stdlists.inc. That way my environments are available in
all layouts (assuming I use layouts which include stdlists.inc), and the
symbolic link ensures that I'm never out of sync with the real
stdlists.inc.

This makes my life easier, but makes it almost impossible to work
collaboratively on a document, as all of my the collaborators would have
to perform this behind the scenes configuration.  This is just not
practical.  

I could  create a layout specifically for each document that I need to
share, but that's nuts! I couldn't recommend this approach to my
colleagues who are just starting out with LyX either.  It really really
steepens the learning curve.

I think that a practical solution would be to allow the user to
interactively select multiple layouts. LyX would essentially build a
wrapper layout file which would include them.  That way one could create
a library of sub-layouts which could be used interchangeably with
very little effort.


Thanks,
Diab








Re: BibTeX references and several bibfiles

2003-11-20 Thread Oscar Lpez
Wolfgang Engelmann wrote:
I use several .bib-files in the BibTeX references at the end of my document. 
They are all quite large (beyond 1000 entries each). Some references are 
listed in two or more of the bibfiles and have the same marks (e.g. AMC+99). 

Does somebody know, how a particular reference is searched for if it is found 
in let's say bib1.bib and bib2.bib and bib5.bib? According to the sequence in 
the  BibTeX data bank (which is, let's say 1,2,3,4,5)? 

What is the best way to extract the cited references only and put them in a 
new .bib- file which can be read by pybliographic? 

Sorry that this is slightly off topic, but I was encouraged by recent requests 
re bibliography.
I am using Lyx version 1.3.2
I don't know if somebody mentioned it, but what about bibtool? I've used 
it and I found it extremely useful,
http://lml.ls.fi.upm.es/manuales/bibtool/

more particularly
http://lml.ls.fi.upm.es/manuales/bibtool/m_1_2_4.html
Best wishes
--
http://www.iit.upco.es/~oscar
User hostile.


Re: BibTeX references and several bibfiles

2003-11-20 Thread Günter Milde
On Wed, Nov 19, 2003 at 09:14:25AM +0100, Jean-Pierre.Chretien wrote:
 
 From: Wolfgang Engelmann [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: BibTeX references and several bibfiles
 Date: Tue, 18 Nov 2003 18:40:55 +0100
 X-AntiVirus: checked by AntiVir Milter 1.0.4; AVE 6.22.0.1; VDF 6.22.0.40
 
 I use several .bib-files in the BibTeX references at the end of my document. 
 They are all quite large (beyond 1000 entries each). Some references are 
 listed in two or more of the bibfiles and have the same marks (e.g. AMC+99). 
 
 Does somebody know, how a particular reference is searched for if it is found 
 in let's say bib1.bib and bib2.bib and bib5.bib? According to the sequence in 
 the  BibTeX data bank (which is, let's say 1,2,3,4,5)? 
 
 What is the best way to extract the cited references only and put them in a 
 new .bib- file which can be read by pybliographic? 
 
 tkbibtex
 http://www.cat.csiro.au/cmst/staff/pic/tkbibtex.html
 has a merge function which may help.

tkbibtex has a search and an export function that help even more. However,
with large databases, tkbibtex becomes slow :-(

My recommandation would be bibtool (on CTAN (and included in many LinuX
distributions)). In the excelent documentation you will find a command to
extract all citates giving a latex *.aux file, a command to delete
doublettes, a command to create unique keys etc...

Günter

-- 
G.Milde at web.de


[announce] german description of LyX-mathed is available

2003-11-20 Thread Uwe Stöhr
Hello list,
I wrote a documentation of LyX's mathed.
It's a supplementation for the userguide and based on the 
LaTeX-commands, because writing formulas with the commands is much 
faster than doing it with the math-panel. And mathed supports many 
commands directly.
The documentation contains also a tipps'n'tricks section.

You can download it from

http://fkurth.de/uwest/LyX/Dokumentation
or
http://prozess.imtek.uni-freiburg.de/stoehr
in pdf, dvi, ps, lyx or tex-format.
(The file Hinweis_zur_Datei_LyXMathebefehle.tex.txt gives some 
instruction how to use the tex-format file.)

(There is also a hint in the actual german userguide (chapter 5.9).)

I hope the documentation is useful for someone.

regards Uwe



Re: BibTeX references and several bibfiles

2003-11-20 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wolfgang Engelmann wrote:
 However, I am afraid I have not explained well enough my
 problem. Out of a few thousand citations (in the different
 .bib-files) I want only the ones which are actually cited in my
 book (perhaps 20 or so) and get them in a new (pybliographic-)
 file.

'bibtool -x' is what you are looking for.

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/vQyV4J/vJdlkhKwRApAcAJ9jblR8K2ZYf02AkVAs0D4zPSBtLQCfZwmo
ZYpmWEsHio+IhoyMZKifxS0=
=AtV5
-END PGP SIGNATURE-



Re: integrate source code snippets (verbatim text?) into document

2003-11-20 Thread Mike Barnsley
 I'd like to put short source code snippets (from 1 to 10 lines max) into my
 text, in typewriter font (I am writing a coding styleguide). I tried to
 just tweak the font settings but was not happy with it because lyx/latex
 still treats it as normal text, and creates margins at the beginning of a
 paragraph etc; I also could not find a way to integrate tabs or spaces for
 source code indentation like this:

I've found the 'listings' package to be very useful for this purpose. It's 
similar to 'verbatim' but you can define blocks of code as a float or 
otherwise, put various types of frame around the code, put line numbers 
alongside the code and perform syntax highlighting on the code. Also, you can 
keep the code separate from the LyX file by using the 
\lstinputlisting{filename} directive to insert all or part of the code at the 
relevant location.

The listings package is available from CTAN.

Good luck,

Mike


Default display mode for ERT inset

2003-11-20 Thread Kim Roland Rasmussen

Hi!

Is there any way I can set the default display mode of an ERT inset to 'inline' 
instead of 'open'?

I have a LaTeX heavy document and it's becoming quite a pain to change every 
inset.

Thanks,
Kim






Re: win32 QT version latex configuration

2003-11-20 Thread Milos Komarcevic

Can you run the reconfiguration manually please as
share\lyx\configure --keep-temps
and then have a look at the generated chkconfig.sed file.
I've had to edit the batch file configure.bat and add the switch --keep-temps
to get it to work.
Here, the first line of the file is:
[EMAIL [EMAIL PROTECTED] 7, 2003!g
Perhaps your version of sed is choking on the '!' delimiters? Change this
line to:
s/@chk_date@/August 7, 2003/g
and see if you get to line 2.
No, still fails on line 1 with the same message

s/@chk_date@/November 20, 2003/g
...snip...
\share\lyxsed -f chkconfig.sed
sed: file chkconfig.sed line 1: Unknown option to 's'
Regards,

Milos



version 1.3.3.

2003-11-20 Thread Vani Cheruvu
Hi,

I have Red hat linux 7.2 on my laptop. I want to load lyx 1.3.3 on my
laptop. Can I
do that or should I upgrade my linux version to 8 or higher and then I  load
lyx 1.3.3.
Kindly let me know.

thank you
Vani


Vertical spacing before and after chapter headings

2003-11-20 Thread Bradley Navarro
Hello,

I need to have control over the vertical spacing between the top of the 
page and the chapter headings and the vertical spacing after the chapter 
headings for all pages with chapter headings on them. All other pages 
can remain at the default.

For example:

[space]
Chapter 1
[space]
Introduction
[space]
where I need to be able to define the amount of space in the areas 
labeled [space].

I have tried various solutions given to me by individuals on this list, 
but without success. Some of this may be my inexperience in dealing with 
LATEX. If anyone could help me solve this problem, it would be greatly 
appreciated.

I am using the report class in lyx 1.3.3.

Thanks,
Brad


Re: version 1.3.3.

2003-11-20 Thread Nirmal Govind
I have Red hat linux 7.2 on my laptop. I want to load lyx 1.3.3 on my
laptop. Can I
do that or should I upgrade my linux version to 8 or higher and then I  
load
lyx 1.3.3.

Hi... you should be able to compile l.3.3 on your current system. I'm 
guessing you checked the bin folder on the lyx ftp site and couldn't 
find binaries for RH7.2. Someone on this list may have a binary for this 
(or may be able to package one for you) and hopefully they'll respond...

nirmal



Re: [announce] german description of LyX-mathed is available

2003-11-20 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Donnerstag, 20. November 2003 18:03, Uwe Stöhr wrote:
 Hello list,
 I wrote a documentation of LyX's mathed.
 It's a supplementation for the userguide and based on the 
 LaTeX-commands, because writing formulas with the commands is much 
 faster than doing it with the math-panel. And mathed supports many 
 commands directly.
 The documentation contains also a tipps'n'tricks section.
 
 You can download it from
 
 http://fkurth.de/uwest/LyX/Dokumentation
 or
 http://prozess.imtek.uni-freiburg.de/stoehr
 
 in pdf, dvi, ps, lyx or tex-format.
 (The file Hinweis_zur_Datei_LyXMathebefehle.tex.txt gives some 
 instruction how to use the tex-format file.)
 
 (There is also a hint in the actual german userguide (chapter 5.9).)
 
 I hope the documentation is useful for someone.
 regards Uwe

It is. Nice work. Very nice to look at with preview enabled.

Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBP70qlbewfbDGmeqhAQF13QP/TZJnbqkg/CM+QFRItOzsI+fb7apua8AD
s3HDAthHUlCPBJF3yoyslfTMeEfKH1sKOgzyTuqXhX0lvK9tb0hD5lxV+kaEhJ8D
aa7hGDCcBX2N8jTxYSZtzbA5kA8RzhqciM2oy2zrmZykFvG2OV0bweRQIYmnlD3y
lJvIltvuHPo=
=mGMV
-END PGP SIGNATURE-



Re: Vertical spacing before and after chapter headings

2003-11-20 Thread Herbert Voß
Bradley Navarro schrieb:

For example:

[space]
Chapter 1
[space]
Introduction
[space]
where I need to be able to define the amount of space in the areas 
labeled [space].
http://www.educat.hu-berlin.de/~voss/LaTeX/space/space.phtml#chapter

Herbert




lyx1.3.3

2003-11-20 Thread Vani Cheruvu
Hi,

Is anyone using lyx 1.3.3 on redhat linux 7.2 ? If so, can you please 
send me the
necessary binary .

thank you
Vani



Re: lyx1.3.3

2003-11-20 Thread Rich Shepard
On Thu, 20 Nov 2003, Vani Cheruvu wrote:

 Is anyone using lyx 1.3.3 on redhat linux 7.2 ? If so, can you please send
 me the necessary binary .

Vani,

  I had a lot of difficulty trying to get the package for 1.3.3 to work on
Red Hat 7.3. What worked was building from the tarball and using
'checkinstall' to build/upgrade the LyX installation.

  It's been running fine ever since.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: xforms 1.0.2

2003-11-20 Thread Owen Lucas
I downloaded it and installed it but I dont know if its 1.0.2 as it provided

/usr/X11R6/lib/libforms.a
/usr/X11R6/lib/libformsGL.so.1
/usr/X11R6/lib/libforms.so
/usr/X11R6/lib/libformsGL.a
/usr/X11R6/lib/libformsGL.so.1.0
/usr/X11R6/lib/libforms.so.1
/usr/X11R6/lib/libformsGL.la
/usr/X11R6/lib/libformsGL.so.1.0.0
/usr/X11R6/lib/libforms.so.1.0
/usr/X11R6/lib/libformsGL.so
/usr/X11R6/lib/libforms.la
/usr/X11R6/lib/libforms.so.1.0.0
and when lyx compiles it still says xforms 1.0.0

is this correct or have I done something wong

thanks
Owen
Marcin Bukat wrote:
Uz.ytkownik Owen Lucas napisa?:

does anyone know where I can get xforms 1.0.2 from. The lyx 1.3.2 
announcement said from http://www.nongnu.org/xforms/ but this points 
to another site that only has xforms 0.89  . I have found RPM's for 
suse and spark but not RH9. Someone was saying that the source code 
isnt out there but could get a CSV.

any ideas
thanks
Oz


I've got CVS snapshot if You are interested:
ftp://ftp.slack.com.pl/pub/source/wodz/xforms/xforms-07102003.tar.bz2
Regards
wo




Re: Default display mode for ERT inset

2003-11-20 Thread Paul Medwell
G'Day Kimbo,

One solution may be to open your file in Emacs, and do a 
search-and-replace for:

\begin_inset ERT
status Open
and replace with;

\begin_inset ERT
status Collapsed
I guess that there's a better way, but this should (?) work.

Lata,
Paul
--
Kim Roland Rasmussen wrote:
Hi!

Is there any way I can set the default display mode of an ERT inset to 'inline' 
instead of 'open'?

I have a LaTeX heavy document and it's becoming quite a pain to change every 
inset.

Thanks,
Kim




Re: Default display mode for ERT inset

2003-11-20 Thread Rich Shepard
On Fri, 21 Nov 2003, Paul Medwell wrote:

 One solution may be to open your file in Emacs, and do a
 search-and-replace for:

 \begin_inset ERT
 status Open

 and replace with;

 \begin_inset ERT
 status Collapsed

  I've run into this same time-consuming operation after I run the spelling
checker on the file. That opens all the ERT boxes, but doesn't close them
afterwards. It would be nice to add closing to the process.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Default display mode for ERT inset

2003-11-20 Thread Kim Roland Rasmussen
On Fri, 21 Nov 2003, Paul Medwell wrote:

 One solution may be to open your file in Emacs, and do a
 search-and-replace for:

Yes, but that won't help me during the editing.

My question was more along the lines of whether or not there exists some
configuration setting such that insertion of a new ERT will _always_ be in
inline mode. As it is now, it will always create a new ERT in 'open' mode.
(for those who don't know the difference: try right-clicking in an ERT)

I've looked at the lyxrc's but didn't find anything.


-Kim




Re: BibTeX references and several bibfiles

2003-11-20 Thread Wolfgang Engelmann
On Tuesday 18 November 2003 20:35, Andres Becerra Sandoval wrote:
 Hello,
 En Tue, 18 Nov 2003 18:40:55 +0100, Wolfgang Engelmann

 [EMAIL PROTECTED] escribi:
  Does somebody know, how a particular reference is searched for if it is
  found
  in let's say bib1.bib and bib2.bib and bib5.bib? According to the
  sequence in
  the  BibTeX data bank (which is, let's say 1,2,3,4,5)?

 make, in a shell:

 cat bib1.bib and bib2.bib and bib5.bib | sort  all_refs.bib



 then edit (with any tool or manually ) the file and erase the duplicates.

 THen, in the lyx file use all_refs.bib only as the bib database.

Thanks for the proposal. 
Pybliographic has a merge function. 

However, I am afraid I have not explained well enough my problem. 
Out of a few thousand citations (in the different .bib-files) I want only the 
ones which are actually cited in my book (perhaps 20 or so) and get them in a 
new (pybliographic-) file. 


-- 
Wolfgang Engelmann
Schlossgartenstr. 22
D72070 TBINGEN (Germany)
Tel. (0)7071-68324/5

Time flies like an arrow,
but fruitflies like a banana




Re: Newbie's question: what is the input box at the bottom of lyx

2003-11-20 Thread Andre Poenitz
On Wed, Nov 19, 2003 at 11:51:39PM +, John Levon wrote:
 On Wed, Nov 19, 2003 at 06:47:01PM -0500, Wei Zhou wrote:
 
  Could any one tell me what is the input box at the bottom used for?
  
  If I try to type something, it says unknown function.
 
 It's for entering commands, for example lyx-quit. It's  not
 particulalrly useful most of the time

It's pretty useful for 'advanced' stuff that's not easily accessible by
menus or for repeated actions.

At the beginning it usually can be ignored, though.

Andre'


Re: BibTeX references and several bibfiles

2003-11-20 Thread Angus Leeming
Wolfgang Engelmann wrote:
 However, I am afraid I have not explained well enough my problem.
 Out of a few thousand citations (in the different .bib-files) I want
 only the ones which are actually cited in my book (perhaps 20 or so)
 and get them in a new (pybliographic-) file.

Export to latex, run the latex compiler 'by hand' and look in the 
generated .aux file to see which citations you're using. To proceed 
further we could probably write a shell script but I think it would 
be simpler to just use cut-n-paste from your favourite text editor.

-- 
Angus



Re: BibTeX references and several bibfiles

2003-11-20 Thread Gareth Jenkins
Using sixpack you can mark entries according to the .aux file. Then just
export to a separate bibfile.
IMO sixpack is a most excellent piece of software!
Gareth

Angus Leeming wrote:
Wolfgang Engelmann wrote:

However, I am afraid I have not explained well enough my problem.
Out of a few thousand citations (in the different .bib-files) I want
only the ones which are actually cited in my book (perhaps 20 or so)
and get them in a new (pybliographic-) file.


Export to latex, run the latex compiler 'by hand' and look in the 
generated .aux file to see which citations you're using. To proceed 
further we could probably write a shell script but I think it would 
be simpler to just use cut-n-paste from your favourite text editor.





large algorithms

2003-11-20 Thread Jihène Krichène
Hi everybody
Large floats are supposed to be printed on two pages if they overpass the page size. 
However, in the algorithm case, the large algorithm does not use more than one page. 
Do any one know why and how to solve this problem ?
Tkanks in advance



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005


Re: running head on title page

2003-11-20 Thread Nirmal Govind
the page number is on the same line though. After setting the 
document heading to  fancy I've modified the preamble 
\pagestyle{fancy}\lhead{} \chead{}
\rhead{foo is good \thepage}
To get the page number below foo is good you want to modify the above 
as \rhead{foo is good \\ \thepage} which will add a line after the text.

2. I want to get the running head onto the titlepage. It's clear the 
running head is not in teh header area. When I add anything above the 
title I end up making an additional page.
Try \thispagestyle{fancyplain} somewhere on your title page or try 
putting in \pagestyle{fancyplain} in your preamble.. it may work, I'm 
not sure...

nirmal



Cannot view file No information for viewing PDF (pdflatex)

2003-11-20 Thread Munzir Taha
In my Mandrake 9.2. If I type something in LyX then

View-PDF (pdflatex) gives this error:

Cannot view file
No information for viewing PDF (pdflatex)

What's wrong? Do you want me to send any debugging info or is it a known 
issue?

-- 
  __/__/  _/  _/  _/
 _/ _\  _/ _\_/
_/\ /   _\ unzir_/ aha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Linux Registered User #279362 at http://counter.li.org
Mandrake Club member
Maintainer of Mandrake Arabization Project Status (MAPS)
http://www.arabeyes.org/download/documents/distro/mdkarabicsupport.html
CIW Designer, ICDL, MOUS
New Horizons CLC
Riyadh, SA



Re: Cannot view file No information for viewing PDF (pdflatex)

2003-11-20 Thread Paul A. Rubin
Munzir Taha [EMAIL PROTECTED] wrote in 
news:[EMAIL PROTECTED]:

 In my Mandrake 9.2. If I type something in LyX then
 
 View-PDF (pdflatex) gives this error:
 
 Cannot view file
 No information for viewing PDF (pdflatex)
 
 What's wrong? Do you want me to send any debugging info or is it a known 
 issue?
 

What do you have filled in for Edit | Preferences | File formats | PDF 
(pdflatex) | Viewer?

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University  http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Making layouts more flexible

2003-11-20 Thread Diab Jerius
One of my frustrations using LyX (and there are very few!) is finding an
elegant way to easily mix layouts.  I may simply be ignorant of how to
do it correctly.

Here's an example.  As a long time (La)TeX user I've developed my own
set of handy environments that I use in addition to the standard ones.
I simply \input{macros}, and I'm off.  I'd like that same functionality
in LyX, but with the ability to use those environments without resorting
to ERT.

The way I've been doing this so far, and it's really a kludge, is to
create a local layout (in ~/.lyx/layouts) called stdlists.inc. I
create a symbolic link to the real stdlists.inc ones and call it
dist-stdlists.inc.  My stdlists.inc contains my environments, and
Includes dist-stdlists.inc. That way my environments are available in
all layouts (assuming I use layouts which include stdlists.inc), and the
symbolic link ensures that I'm never out of sync with the real
stdlists.inc.

This makes my life easier, but makes it almost impossible to work
collaboratively on a document, as all of my the collaborators would have
to perform this behind the scenes configuration.  This is just not
practical.  

I could  create a layout specifically for each document that I need to
share, but that's nuts! I couldn't recommend this approach to my
colleagues who are just starting out with LyX either.  It really really
steepens the learning curve.

I think that a practical solution would be to allow the user to
interactively select multiple layouts. LyX would essentially build a
wrapper layout file which would include them.  That way one could create
a library of sub-layouts which could be used interchangeably with
very little effort.


Thanks,
Diab








Re: BibTeX references and several bibfiles

2003-11-20 Thread Oscar Lpez
Wolfgang Engelmann wrote:
I use several .bib-files in the BibTeX references at the end of my document. 
They are all quite large (beyond 1000 entries each). Some references are 
listed in two or more of the bibfiles and have the same marks (e.g. AMC+99). 

Does somebody know, how a particular reference is searched for if it is found 
in let's say bib1.bib and bib2.bib and bib5.bib? According to the sequence in 
the  BibTeX data bank (which is, let's say 1,2,3,4,5)? 

What is the best way to extract the cited references only and put them in a 
new .bib- file which can be read by pybliographic? 

Sorry that this is slightly off topic, but I was encouraged by recent requests 
re bibliography.
I am using Lyx version 1.3.2
I don't know if somebody mentioned it, but what about bibtool? I've used 
it and I found it extremely useful,
http://lml.ls.fi.upm.es/manuales/bibtool/

more particularly
http://lml.ls.fi.upm.es/manuales/bibtool/m_1_2_4.html
Best wishes
--
http://www.iit.upco.es/~oscar
User hostile.


Re: BibTeX references and several bibfiles

2003-11-20 Thread Günter Milde
On Wed, Nov 19, 2003 at 09:14:25AM +0100, Jean-Pierre.Chretien wrote:
 
 From: Wolfgang Engelmann [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: BibTeX references and several bibfiles
 Date: Tue, 18 Nov 2003 18:40:55 +0100
 X-AntiVirus: checked by AntiVir Milter 1.0.4; AVE 6.22.0.1; VDF 6.22.0.40
 
 I use several .bib-files in the BibTeX references at the end of my document. 
 They are all quite large (beyond 1000 entries each). Some references are 
 listed in two or more of the bibfiles and have the same marks (e.g. AMC+99). 
 
 Does somebody know, how a particular reference is searched for if it is found 
 in let's say bib1.bib and bib2.bib and bib5.bib? According to the sequence in 
 the  BibTeX data bank (which is, let's say 1,2,3,4,5)? 
 
 What is the best way to extract the cited references only and put them in a 
 new .bib- file which can be read by pybliographic? 
 
 tkbibtex
 http://www.cat.csiro.au/cmst/staff/pic/tkbibtex.html
 has a merge function which may help.

tkbibtex has a search and an export function that help even more. However,
with large databases, tkbibtex becomes slow :-(

My recommandation would be bibtool (on CTAN (and included in many LinuX
distributions)). In the excelent documentation you will find a command to
extract all citates giving a latex *.aux file, a command to delete
doublettes, a command to create unique keys etc...

Günter

-- 
G.Milde at web.de


[announce] german description of LyX-mathed is available

2003-11-20 Thread Uwe Stöhr
Hello list,
I wrote a documentation of LyX's mathed.
It's a supplementation for the userguide and based on the 
LaTeX-commands, because writing formulas with the commands is much 
faster than doing it with the math-panel. And mathed supports many 
commands directly.
The documentation contains also a tipps'n'tricks section.

You can download it from

http://fkurth.de/uwest/LyX/Dokumentation
or
http://prozess.imtek.uni-freiburg.de/stoehr
in pdf, dvi, ps, lyx or tex-format.
(The file Hinweis_zur_Datei_LyXMathebefehle.tex.txt gives some 
instruction how to use the tex-format file.)

(There is also a hint in the actual german userguide (chapter 5.9).)

I hope the documentation is useful for someone.

regards Uwe



Re: BibTeX references and several bibfiles

2003-11-20 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wolfgang Engelmann wrote:
 However, I am afraid I have not explained well enough my
 problem. Out of a few thousand citations (in the different
 .bib-files) I want only the ones which are actually cited in my
 book (perhaps 20 or so) and get them in a new (pybliographic-)
 file.

'bibtool -x' is what you are looking for.

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/vQyV4J/vJdlkhKwRApAcAJ9jblR8K2ZYf02AkVAs0D4zPSBtLQCfZwmo
ZYpmWEsHio+IhoyMZKifxS0=
=AtV5
-END PGP SIGNATURE-



Re: integrate source code snippets (verbatim text?) into document

2003-11-20 Thread Mike Barnsley
 I'd like to put short source code snippets (from 1 to 10 lines max) into my
 text, in typewriter font (I am writing a coding styleguide). I tried to
 just tweak the font settings but was not happy with it because lyx/latex
 still treats it as normal text, and creates margins at the beginning of a
 paragraph etc; I also could not find a way to integrate tabs or spaces for
 source code indentation like this:

I've found the 'listings' package to be very useful for this purpose. It's 
similar to 'verbatim' but you can define blocks of code as a float or 
otherwise, put various types of frame around the code, put line numbers 
alongside the code and perform syntax highlighting on the code. Also, you can 
keep the code separate from the LyX file by using the 
\lstinputlisting{filename} directive to insert all or part of the code at the 
relevant location.

The listings package is available from CTAN.

Good luck,

Mike


Default display mode for ERT inset

2003-11-20 Thread Kim Roland Rasmussen

Hi!

Is there any way I can set the default display mode of an ERT inset to 'inline' 
instead of 'open'?

I have a LaTeX heavy document and it's becoming quite a pain to change every 
inset.

Thanks,
Kim






Re: win32 QT version latex configuration

2003-11-20 Thread Milos Komarcevic

Can you run the reconfiguration manually please as
share\lyx\configure --keep-temps
and then have a look at the generated chkconfig.sed file.
I've had to edit the batch file configure.bat and add the switch --keep-temps
to get it to work.
Here, the first line of the file is:
[EMAIL [EMAIL PROTECTED] 7, 2003!g
Perhaps your version of sed is choking on the '!' delimiters? Change this
line to:
s/@chk_date@/August 7, 2003/g
and see if you get to line 2.
No, still fails on line 1 with the same message

s/@chk_date@/November 20, 2003/g
...snip...
\share\lyxsed -f chkconfig.sed
sed: file chkconfig.sed line 1: Unknown option to 's'
Regards,

Milos



version 1.3.3.

2003-11-20 Thread Vani Cheruvu
Hi,

I have Red hat linux 7.2 on my laptop. I want to load lyx 1.3.3 on my
laptop. Can I
do that or should I upgrade my linux version to 8 or higher and then I  load
lyx 1.3.3.
Kindly let me know.

thank you
Vani


Vertical spacing before and after chapter headings

2003-11-20 Thread Bradley Navarro
Hello,

I need to have control over the vertical spacing between the top of the 
page and the chapter headings and the vertical spacing after the chapter 
headings for all pages with chapter headings on them. All other pages 
can remain at the default.

For example:

[space]
Chapter 1
[space]
Introduction
[space]
where I need to be able to define the amount of space in the areas 
labeled [space].

I have tried various solutions given to me by individuals on this list, 
but without success. Some of this may be my inexperience in dealing with 
LATEX. If anyone could help me solve this problem, it would be greatly 
appreciated.

I am using the report class in lyx 1.3.3.

Thanks,
Brad


Re: version 1.3.3.

2003-11-20 Thread Nirmal Govind
I have Red hat linux 7.2 on my laptop. I want to load lyx 1.3.3 on my
laptop. Can I
do that or should I upgrade my linux version to 8 or higher and then I  
load
lyx 1.3.3.

Hi... you should be able to compile l.3.3 on your current system. I'm 
guessing you checked the bin folder on the lyx ftp site and couldn't 
find binaries for RH7.2. Someone on this list may have a binary for this 
(or may be able to package one for you) and hopefully they'll respond...

nirmal



Re: [announce] german description of LyX-mathed is available

2003-11-20 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Donnerstag, 20. November 2003 18:03, Uwe Stöhr wrote:
 Hello list,
 I wrote a documentation of LyX's mathed.
 It's a supplementation for the userguide and based on the 
 LaTeX-commands, because writing formulas with the commands is much 
 faster than doing it with the math-panel. And mathed supports many 
 commands directly.
 The documentation contains also a tipps'n'tricks section.
 
 You can download it from
 
 http://fkurth.de/uwest/LyX/Dokumentation
 or
 http://prozess.imtek.uni-freiburg.de/stoehr
 
 in pdf, dvi, ps, lyx or tex-format.
 (The file Hinweis_zur_Datei_LyXMathebefehle.tex.txt gives some 
 instruction how to use the tex-format file.)
 
 (There is also a hint in the actual german userguide (chapter 5.9).)
 
 I hope the documentation is useful for someone.
 regards Uwe

It is. Nice work. Very nice to look at with preview enabled.

Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBP70qlbewfbDGmeqhAQF13QP/TZJnbqkg/CM+QFRItOzsI+fb7apua8AD
s3HDAthHUlCPBJF3yoyslfTMeEfKH1sKOgzyTuqXhX0lvK9tb0hD5lxV+kaEhJ8D
aa7hGDCcBX2N8jTxYSZtzbA5kA8RzhqciM2oy2zrmZykFvG2OV0bweRQIYmnlD3y
lJvIltvuHPo=
=mGMV
-END PGP SIGNATURE-



Re: Vertical spacing before and after chapter headings

2003-11-20 Thread Herbert Voß
Bradley Navarro schrieb:

For example:

[space]
Chapter 1
[space]
Introduction
[space]
where I need to be able to define the amount of space in the areas 
labeled [space].
http://www.educat.hu-berlin.de/~voss/LaTeX/space/space.phtml#chapter

Herbert




lyx1.3.3

2003-11-20 Thread Vani Cheruvu
Hi,

Is anyone using lyx 1.3.3 on redhat linux 7.2 ? If so, can you please 
send me the
necessary binary .

thank you
Vani



Re: lyx1.3.3

2003-11-20 Thread Rich Shepard
On Thu, 20 Nov 2003, Vani Cheruvu wrote:

 Is anyone using lyx 1.3.3 on redhat linux 7.2 ? If so, can you please send
 me the necessary binary .

Vani,

  I had a lot of difficulty trying to get the package for 1.3.3 to work on
Red Hat 7.3. What worked was building from the tarball and using
'checkinstall' to build/upgrade the LyX installation.

  It's been running fine ever since.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: xforms 1.0.2

2003-11-20 Thread Owen Lucas
I downloaded it and installed it but I dont know if its 1.0.2 as it provided

/usr/X11R6/lib/libforms.a
/usr/X11R6/lib/libformsGL.so.1
/usr/X11R6/lib/libforms.so
/usr/X11R6/lib/libformsGL.a
/usr/X11R6/lib/libformsGL.so.1.0
/usr/X11R6/lib/libforms.so.1
/usr/X11R6/lib/libformsGL.la
/usr/X11R6/lib/libformsGL.so.1.0.0
/usr/X11R6/lib/libforms.so.1.0
/usr/X11R6/lib/libformsGL.so
/usr/X11R6/lib/libforms.la
/usr/X11R6/lib/libforms.so.1.0.0
and when lyx compiles it still says xforms 1.0.0

is this correct or have I done something wong

thanks
Owen
Marcin Bukat wrote:
Uz.ytkownik Owen Lucas napisa?:

does anyone know where I can get xforms 1.0.2 from. The lyx 1.3.2 
announcement said from http://www.nongnu.org/xforms/ but this points 
to another site that only has xforms 0.89  . I have found RPM's for 
suse and spark but not RH9. Someone was saying that the source code 
isnt out there but could get a CSV.

any ideas
thanks
Oz


I've got CVS snapshot if You are interested:
ftp://ftp.slack.com.pl/pub/source/wodz/xforms/xforms-07102003.tar.bz2
Regards
wo




Re: Default display mode for ERT inset

2003-11-20 Thread Paul Medwell
G'Day Kimbo,

One solution may be to open your file in Emacs, and do a 
search-and-replace for:

\begin_inset ERT
status Open
and replace with;

\begin_inset ERT
status Collapsed
I guess that there's a better way, but this should (?) work.

Lata,
Paul
--
Kim Roland Rasmussen wrote:
Hi!

Is there any way I can set the default display mode of an ERT inset to 'inline' 
instead of 'open'?

I have a LaTeX heavy document and it's becoming quite a pain to change every 
inset.

Thanks,
Kim




Re: Default display mode for ERT inset

2003-11-20 Thread Rich Shepard
On Fri, 21 Nov 2003, Paul Medwell wrote:

 One solution may be to open your file in Emacs, and do a
 search-and-replace for:

 \begin_inset ERT
 status Open

 and replace with;

 \begin_inset ERT
 status Collapsed

  I've run into this same time-consuming operation after I run the spelling
checker on the file. That opens all the ERT boxes, but doesn't close them
afterwards. It would be nice to add closing to the process.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Default display mode for ERT inset

2003-11-20 Thread Kim Roland Rasmussen
On Fri, 21 Nov 2003, Paul Medwell wrote:

 One solution may be to open your file in Emacs, and do a
 search-and-replace for:

Yes, but that won't help me during the editing.

My question was more along the lines of whether or not there exists some
configuration setting such that insertion of a new ERT will _always_ be in
inline mode. As it is now, it will always create a new ERT in 'open' mode.
(for those who don't know the difference: try right-clicking in an ERT)

I've looked at the lyxrc's but didn't find anything.


-Kim




Re: BibTeX references and several bibfiles

2003-11-20 Thread Wolfgang Engelmann
On Tuesday 18 November 2003 20:35, Andres Becerra Sandoval wrote:
> Hello,
> En Tue, 18 Nov 2003 18:40:55 +0100, Wolfgang Engelmann
>
> <[EMAIL PROTECTED]> escribiÃÂ:
> > Does somebody know, how a particular reference is searched for if it is
> > found
> > in let's say bib1.bib and bib2.bib and bib5.bib? According to the
> > sequence in
> > the  BibTeX data bank (which is, let's say 1,2,3,4,5)?
>
> make, in a shell:
>
> cat bib1.bib and bib2.bib and bib5.bib | sort > all_refs.bib


>
> then edit (with any tool or manually ) the file and erase the duplicates.
>
> THen, in the lyx file use all_refs.bib only as the bib database.

Thanks for the proposal. 
Pybliographic has a merge function. 

However, I am afraid I have not explained well enough my problem. 
Out of a few thousand citations (in the different .bib-files) I want only the 
ones which are actually cited in my book (perhaps 20 or so) and get them in a 
new (pybliographic-) file. 


-- 
Wolfgang Engelmann
Schlossgartenstr. 22
D72070 TÃBINGEN (Germany)
Tel. (0)7071-68324/5

Time flies like an arrow,
but fruitflies like a banana




Re: Newbie's question: what is the input box at the bottom of lyx

2003-11-20 Thread Andre Poenitz
On Wed, Nov 19, 2003 at 11:51:39PM +, John Levon wrote:
> On Wed, Nov 19, 2003 at 06:47:01PM -0500, Wei Zhou wrote:
> 
> > Could any one tell me what is the input box at the bottom used for?
> > 
> > If I try to type something, it says unknown function.
> 
> It's for entering commands, for example "lyx-quit". It's  not
> particulalrly useful most of the time

It's pretty useful for 'advanced' stuff that's not easily accessible by
menus or for repeated actions.

At the beginning it usually can be ignored, though.

Andre'


Re: BibTeX references and several bibfiles

2003-11-20 Thread Angus Leeming
Wolfgang Engelmann wrote:
> However, I am afraid I have not explained well enough my problem.
> Out of a few thousand citations (in the different .bib-files) I want
> only the ones which are actually cited in my book (perhaps 20 or so)
> and get them in a new (pybliographic-) file.

Export to latex, run the latex compiler 'by hand' and look in the 
generated .aux file to see which citations you're using. To proceed 
further we could probably write a shell script but I think it would 
be simpler to just use cut-n-paste from your favourite text editor.

-- 
Angus



Re: BibTeX references and several bibfiles

2003-11-20 Thread Gareth Jenkins
Using sixpack you can mark entries according to the .aux file. Then just
export to a separate bibfile.
IMO sixpack is a most excellent piece of software!
Gareth

Angus Leeming wrote:
Wolfgang Engelmann wrote:

However, I am afraid I have not explained well enough my problem.
Out of a few thousand citations (in the different .bib-files) I want
only the ones which are actually cited in my book (perhaps 20 or so)
and get them in a new (pybliographic-) file.


Export to latex, run the latex compiler 'by hand' and look in the 
generated .aux file to see which citations you're using. To proceed 
further we could probably write a shell script but I think it would 
be simpler to just use cut-n-paste from your favourite text editor.





large algorithms

2003-11-20 Thread Jihène Krichène
Hi everybody
Large floats are supposed to be printed on two pages if they overpass the page size. 
However, in the algorithm case, the large algorithm does not use more than one page. 
Do any one know why and how to solve this problem ?
Tkanks in advance



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005


Re: running head on title page

2003-11-20 Thread Nirmal Govind
the page number is on the same line though. After setting the 
document heading to  fancy I've modified the preamble 
\pagestyle{fancy}\lhead{} \chead{}
\rhead{foo is good \thepage}
To get the page number below "foo is good" you want to modify the above 
as \rhead{foo is good \\ \thepage} which will add a line after the text.

2. I want to get the running head onto the titlepage. It's clear the 
running head is not in teh header area. When I add anything above the 
title I end up making an additional page.
Try \thispagestyle{fancyplain} somewhere on your title page or try 
putting in \pagestyle{fancyplain} in your preamble.. it may work, I'm 
not sure...

nirmal



Cannot view file No information for viewing PDF (pdflatex)

2003-11-20 Thread Munzir Taha
In my Mandrake 9.2. If I type something in LyX then

View->PDF (pdflatex) gives this error:

Cannot view file
No information for viewing PDF (pdflatex)

What's wrong? Do you want me to send any debugging info or is it a known 
issue?

-- 
  __/__/  _/  _/  _/
 _/ _\  _/ _\_/
_/\ /   _\ unzir_/ aha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Linux Registered User #279362 at http://counter.li.org
Mandrake Club member
Maintainer of Mandrake Arabization Project Status (MAPS)
http://www.arabeyes.org/download/documents/distro/mdkarabicsupport.html
CIW Designer, ICDL, MOUS
New Horizons CLC
Riyadh, SA



Re: Cannot view file No information for viewing PDF (pdflatex)

2003-11-20 Thread Paul A. Rubin
Munzir Taha <[EMAIL PROTECTED]> wrote in 
news:[EMAIL PROTECTED]:

> In my Mandrake 9.2. If I type something in LyX then
> 
> View->PDF (pdflatex) gives this error:
> 
> Cannot view file
> No information for viewing PDF (pdflatex)
> 
> What's wrong? Do you want me to send any debugging info or is it a known 
> issue?
> 

What do you have filled in for Edit | Preferences | File formats | PDF 
(pdflatex) | Viewer?

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University  http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Making layouts more flexible

2003-11-20 Thread Diab Jerius
One of my frustrations using LyX (and there are very few!) is finding an
elegant way to easily mix layouts.  I may simply be ignorant of how to
do it correctly.

Here's an example.  As a long time (La)TeX user I've developed my own
set of handy environments that I use in addition to the standard ones.
I simply \input{macros}, and I'm off.  I'd like that same functionality
in LyX, but with the ability to use those environments without resorting
to ERT.

The way I've been doing this so far, and it's really a kludge, is to
create a local layout (in ~/.lyx/layouts) called "stdlists.inc". I
create a symbolic link to the real stdlists.inc ones and call it
"dist-stdlists.inc".  My stdlists.inc contains my environments, and
Includes dist-stdlists.inc. That way my environments are available in
all layouts (assuming I use layouts which include stdlists.inc), and the
symbolic link ensures that I'm never out of sync with the real
stdlists.inc.

This makes my life easier, but makes it almost impossible to work
collaboratively on a document, as all of my the collaborators would have
to perform this "behind the scenes" configuration.  This is just not
practical.  

I could  create a layout specifically for each document that I need to
share, but that's nuts! I couldn't recommend this approach to my
colleagues who are just starting out with LyX either.  It really really
steepens the learning curve.

I think that a practical solution would be to allow the user to
interactively select multiple layouts. LyX would essentially build a
wrapper layout file which would include them.  That way one could create
a library of "sub"-layouts which could be used interchangeably with
very little effort.


Thanks,
Diab








Re: BibTeX references and several bibfiles

2003-11-20 Thread Oscar López
Wolfgang Engelmann wrote:
I use several .bib-files in the BibTeX references at the end of my document. 
They are all quite large (beyond 1000 entries each). Some references are 
listed in two or more of the bibfiles and have the same marks (e.g. AMC+99). 

Does somebody know, how a particular reference is searched for if it is found 
in let's say bib1.bib and bib2.bib and bib5.bib? According to the sequence in 
the  BibTeX data bank (which is, let's say 1,2,3,4,5)? 

What is the best way to extract the cited references only and put them in a 
new .bib- file which can be read by pybliographic? 

Sorry that this is slightly off topic, but I was encouraged by recent requests 
re bibliography.
I am using Lyx version 1.3.2
I don't know if somebody mentioned it, but what about bibtool? I've used 
it and I found it extremely useful,
http://lml.ls.fi.upm.es/manuales/bibtool/

more particularly
http://lml.ls.fi.upm.es/manuales/bibtool/m_1_2_4.html
Best wishes
--
http://www.iit.upco.es/~oscar
User hostile.


Re: BibTeX references and several bibfiles

2003-11-20 Thread Günter Milde
On Wed, Nov 19, 2003 at 09:14:25AM +0100, Jean-Pierre.Chretien wrote:
> 
> >>From: Wolfgang Engelmann <[EMAIL PROTECTED]>
> >>To: <[EMAIL PROTECTED]>
> >>Subject: BibTeX references and several bibfiles
> >>Date: Tue, 18 Nov 2003 18:40:55 +0100
> >>X-AntiVirus: checked by AntiVir Milter 1.0.4; AVE 6.22.0.1; VDF 6.22.0.40
> >>
> >>I use several .bib-files in the BibTeX references at the end of my document. 
> >>They are all quite large (beyond 1000 entries each). Some references are 
> >>listed in two or more of the bibfiles and have the same marks (e.g. AMC+99). 
> >>
> >>Does somebody know, how a particular reference is searched for if it is found 
> >>in let's say bib1.bib and bib2.bib and bib5.bib? According to the sequence in 
> >>the  BibTeX data bank (which is, let's say 1,2,3,4,5)? 
> >>
> >>What is the best way to extract the cited references only and put them in a 
> >>new .bib- file which can be read by pybliographic? 
> 
> tkbibtex
> http://www.cat.csiro.au/cmst/staff/pic/tkbibtex.html
> has a merge function which may help.

tkbibtex has a search and an export function that help even more. However,
with large databases, tkbibtex becomes slow :-(

My recommandation would be bibtool (on CTAN (and included in many LinuX
distributions)). In the excelent documentation you will find a command to
extract all citates giving a latex *.aux file, a command to delete
doublettes, a command to create unique keys etc...

Günter

-- 
G.Milde at web.de


[announce] german description of LyX-mathed is available

2003-11-20 Thread Uwe Stöhr
Hello list,
I wrote a documentation of LyX's mathed.
It's a supplementation for the userguide and based on the 
LaTeX-commands, because writing formulas with the commands is much 
faster than doing it with the math-panel. And mathed supports many 
commands directly.
The documentation contains also a tipps'n'tricks section.

You can download it from

http://fkurth.de/uwest/LyX/Dokumentation
or
http://prozess.imtek.uni-freiburg.de/stoehr
in pdf, dvi, ps, lyx or tex-format.
(The file "Hinweis_zur_Datei_LyXMathebefehle.tex.txt" gives some 
instruction how to use the tex-format file.)

(There is also a hint in the actual german userguide (chapter 5.9).)

I hope the documentation is useful for someone.

regards Uwe



Re: BibTeX references and several bibfiles

2003-11-20 Thread Matej Cepl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wolfgang Engelmann wrote:
> However, I am afraid I have not explained well enough my
> problem. Out of a few thousand citations (in the different
> .bib-files) I want only the ones which are actually cited in my
> book (perhaps 20 or so) and get them in a new (pybliographic-)
> file.

'bibtool -x' is what you are looking for.

Matej

- -- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/vQyV4J/vJdlkhKwRApAcAJ9jblR8K2ZYf02AkVAs0D4zPSBtLQCfZwmo
ZYpmWEsHio+IhoyMZKifxS0=
=AtV5
-END PGP SIGNATURE-



Re: integrate source code snippets (verbatim text?) into document

2003-11-20 Thread Mike Barnsley
> I'd like to put short source code snippets (from 1 to 10 lines max) into my
> text, in typewriter font (I am writing a coding styleguide). I tried to
> just tweak the font settings but was not happy with it because lyx/latex
> still treats it as normal text, and creates margins at the beginning of a
> paragraph etc; I also could not find a way to integrate tabs or spaces for
> source code indentation like this:

I've found the 'listings' package to be very useful for this purpose. It's 
similar to 'verbatim' but you can define blocks of code as a float or 
otherwise, put various types of frame around the code, put line numbers 
alongside the code and perform syntax highlighting on the code. Also, you can 
keep the code separate from the LyX file by using the 
\lstinputlisting{filename} directive to insert all or part of the code at the 
relevant location.

The listings package is available from CTAN.

Good luck,

Mike


Default display mode for ERT inset

2003-11-20 Thread Kim Roland Rasmussen

Hi!

Is there any way I can set the default display mode of an ERT inset to 'inline' 
instead of 'open'?

I have a LaTeX heavy document and it's becoming quite a pain to change every 
inset.

Thanks,
Kim






Re: win32 QT version "latex configuration"

2003-11-20 Thread Milos Komarcevic

Can you run the reconfiguration manually please as
share\lyx\configure --keep-temps
and then have a look at the generated chkconfig.sed file.
I've had to edit the batch file configure.bat and add the switch "--keep-temps"
to get it to work.
Here, the first line of the file is:
[EMAIL [EMAIL PROTECTED] 7, 2003!g
Perhaps your version of sed is choking on the '!' delimiters? Change this
line to:
s/@chk_date@/August 7, 2003/g
and see if you get to line 2.
No, still fails on line 1 with the same message

s/@chk_date@/November 20, 2003/g
...snip...
\share\lyx>sed -f chkconfig.sed
sed: file chkconfig.sed line 1: Unknown option to 's'
Regards,

Milos



version 1.3.3.

2003-11-20 Thread Vani Cheruvu
Hi,

I have Red hat linux 7.2 on my laptop. I want to load lyx 1.3.3 on my
laptop. Can I
do that or should I upgrade my linux version to 8 or higher and then I  load
lyx 1.3.3.
Kindly let me know.

thank you
Vani


Vertical spacing before and after chapter headings

2003-11-20 Thread Bradley Navarro
Hello,

I need to have control over the vertical spacing between the top of the 
page and the chapter headings and the vertical spacing after the chapter 
headings for all pages with chapter headings on them. All other pages 
can remain at the default.

For example:

[space]
Chapter 1
[space]
Introduction
[space]
where I need to be able to define the amount of space in the areas 
labeled [space].

I have tried various solutions given to me by individuals on this list, 
but without success. Some of this may be my inexperience in dealing with 
LATEX. If anyone could help me solve this problem, it would be greatly 
appreciated.

I am using the report class in lyx 1.3.3.

Thanks,
Brad


Re: version 1.3.3.

2003-11-20 Thread Nirmal Govind
I have Red hat linux 7.2 on my laptop. I want to load lyx 1.3.3 on my
laptop. Can I
do that or should I upgrade my linux version to 8 or higher and then I  
load
lyx 1.3.3.

Hi... you should be able to compile l.3.3 on your current system. I'm 
guessing you checked the bin folder on the lyx ftp site and couldn't 
find binaries for RH7.2. Someone on this list may have a binary for this 
(or may be able to package one for you) and hopefully they'll respond...

nirmal



Re: [announce] german description of LyX-mathed is available

2003-11-20 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Donnerstag, 20. November 2003 18:03, Uwe Stöhr wrote:
> Hello list,
> I wrote a documentation of LyX's mathed.
> It's a supplementation for the userguide and based on the 
> LaTeX-commands, because writing formulas with the commands is much 
> faster than doing it with the math-panel. And mathed supports many 
> commands directly.
> The documentation contains also a tipps'n'tricks section.
> 
> You can download it from
> 
> http://fkurth.de/uwest/LyX/Dokumentation
> or
> http://prozess.imtek.uni-freiburg.de/stoehr
> 
> in pdf, dvi, ps, lyx or tex-format.
> (The file "Hinweis_zur_Datei_LyXMathebefehle.tex.txt" gives some 
> instruction how to use the tex-format file.)
> 
> (There is also a hint in the actual german userguide (chapter 5.9).)
> 
> I hope the documentation is useful for someone.
> regards Uwe

It is. Nice work. Very nice to look at with preview enabled.

Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBP70qlbewfbDGmeqhAQF13QP/TZJnbqkg/CM+QFRItOzsI+fb7apua8AD
s3HDAthHUlCPBJF3yoyslfTMeEfKH1sKOgzyTuqXhX0lvK9tb0hD5lxV+kaEhJ8D
aa7hGDCcBX2N8jTxYSZtzbA5kA8RzhqciM2oy2zrmZykFvG2OV0bweRQIYmnlD3y
lJvIltvuHPo=
=mGMV
-END PGP SIGNATURE-



Re: Vertical spacing before and after chapter headings

2003-11-20 Thread Herbert Voß
Bradley Navarro schrieb:

For example:

[space]
Chapter 1
[space]
Introduction
[space]
where I need to be able to define the amount of space in the areas 
labeled [space].
http://www.educat.hu-berlin.de/~voss/LaTeX/space/space.phtml#chapter

Herbert




lyx1.3.3

2003-11-20 Thread Vani Cheruvu
Hi,

Is anyone using lyx 1.3.3 on redhat linux 7.2 ? If so, can you please 
send me the
necessary binary .

thank you
Vani



Re: lyx1.3.3

2003-11-20 Thread Rich Shepard
On Thu, 20 Nov 2003, Vani Cheruvu wrote:

> Is anyone using lyx 1.3.3 on redhat linux 7.2 ? If so, can you please send
> me the necessary binary .

Vani,

  I had a lot of difficulty trying to get the package for 1.3.3 to work on
Red Hat 7.3. What worked was building from the tarball and using
'checkinstall' to build/upgrade the LyX installation.

  It's been running fine ever since.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: xforms 1.0.2

2003-11-20 Thread Owen Lucas
I downloaded it and installed it but I dont know if its 1.0.2 as it provided

/usr/X11R6/lib/libforms.a
/usr/X11R6/lib/libformsGL.so.1
/usr/X11R6/lib/libforms.so
/usr/X11R6/lib/libformsGL.a
/usr/X11R6/lib/libformsGL.so.1.0
/usr/X11R6/lib/libforms.so.1
/usr/X11R6/lib/libformsGL.la
/usr/X11R6/lib/libformsGL.so.1.0.0
/usr/X11R6/lib/libforms.so.1.0
/usr/X11R6/lib/libformsGL.so
/usr/X11R6/lib/libforms.la
/usr/X11R6/lib/libforms.so.1.0.0
and when lyx compiles it still says xforms 1.0.0

is this correct or have I done something wong

thanks
Owen
Marcin Bukat wrote:
Uz.ytkownik Owen Lucas napisa?:

does anyone know where I can get xforms 1.0.2 from. The lyx 1.3.2 
announcement said from http://www.nongnu.org/xforms/ but this points 
to another site that only has xforms 0.89  . I have found RPM's for 
suse and spark but not RH9. Someone was saying that the source code 
isnt out there but could get a CSV.

any ideas
thanks
Oz


I've got CVS snapshot if You are interested:
ftp://ftp.slack.com.pl/pub/source/wodz/xforms/xforms-07102003.tar.bz2
Regards
wo




Re: Default display mode for ERT inset

2003-11-20 Thread Paul Medwell
G'Day Kimbo,

One solution may be to open your file in Emacs, and do a 
search-and-replace for:

\begin_inset ERT
status Open
and replace with;

\begin_inset ERT
status Collapsed
I guess that there's a better way, but this should (?) work.

Lata,
Paul
--
Kim Roland Rasmussen wrote:
Hi!

Is there any way I can set the default display mode of an ERT inset to 'inline' 
instead of 'open'?

I have a LaTeX heavy document and it's becoming quite a pain to change every 
inset.

Thanks,
Kim




Re: Default display mode for ERT inset

2003-11-20 Thread Rich Shepard
On Fri, 21 Nov 2003, Paul Medwell wrote:

> One solution may be to open your file in Emacs, and do a
> search-and-replace for:
>
> \begin_inset ERT
> status Open
>
> and replace with;
>
> \begin_inset ERT
> status Collapsed

  I've run into this same time-consuming operation after I run the spelling
checker on the file. That opens all the ERT boxes, but doesn't close them
afterwards. It would be nice to add closing to the process.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Default display mode for ERT inset

2003-11-20 Thread Kim Roland Rasmussen
On Fri, 21 Nov 2003, Paul Medwell wrote:

> One solution may be to open your file in Emacs, and do a
> search-and-replace for:

Yes, but that won't help me during the editing.

My question was more along the lines of whether or not there exists some
configuration setting such that insertion of a new ERT will _always_ be in
inline mode. As it is now, it will always create a new ERT in 'open' mode.
(for those who don't know the difference: try right-clicking in an ERT)

I've looked at the lyxrc's but didn't find anything.


-Kim