Re: Customizing the index

2000-07-27 Thread Herbert Voss

German Poo Caaman~o wrote:
 
 Reading some documents provides by "teTeX: A documentation guide" in
 my web2c TeX distribution I noted that some dvi files had the index
 as books.  I mean,
 Symbols
 ...
 A
 ...
 ...
 B
 ...
 ...
 
 (Neither I didn't find it on Herbert's tips page ;-)

http://www.educat.hu-berlin.de/~voss/Informatik/LyXTips.html#index_1

;-)

i think, it's a good idea, when lyx allows just like the mini 
bibtexmenue to insert a stylefile for makeindex.

so you have to run makeindex by hand with the -s option.

Herbert

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




Re: Bug in pretty ref

2000-07-27 Thread Herbert Voss

Dekel Tsur wrote:
 
 On Tue, Jul 25, 2000 at 11:25:20PM +, Herbert Voss wrote:
  prettyref needs a label definiaion like \label{tab:MyTable}
  than \prettyref{tab:Mytable} gives in dvi-output Table aNumber.
  from my point of view, lyx doesn't create the labels in
  prettyref-style, so it's not possible to use cross-reference
  with the prettyref-button.
 
 Why not?
 When inserting the label in LyX, give it the name tab:mytable,
 and then you can insert the prettyref. No need for ERT!
 
  it's a question to Lars or/and Jean-Marc:
insert label AND insert cross-reference must have BOTH
the prettyref-option?! if someone chooses once this option
all the rest of labels and references must converted
to prettyref-style.
 
 It seems that you expect to use labels without a prefix, (like MyTable),
 and let lyx automatically generate the prefix (tab:) when generating the
 latex file.
 This is not done by LyX.

yes, your right! :-)

Herbert

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



Re: Bibtex Inhaltsverzeichnis

2000-07-27 Thread Herbert Voss

Torsten Hahn wrote:
 
 Hi,
 
 how can i get an entry from the bibtex-reference into the table of contents ?
 Normally the tabe of contents which is generatet by lyx has no entry from
 refrences created by bibtex.
 
 I would like to have the point "Literaturverzeichnis" in the toc.

before the specific line in your text write in tex(red)

\addcontentsline{toc}{chapter}{Literaturverzeichnis}

if you want a toc-entry with the format of a chapter

\addtocontents{toc}{Literaturverzeichnis}

if you want a nonformatting toc-entry (no indent)

Herbert 


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




Re: Customizing the index

2000-07-27 Thread Thomas Henlich

Customizing the index can been be made even more comfortable than Herbert
describes:

make a script 'lyx' in your ~/bin directory:

#!/bin/bash
export PATH=~/lyxbin:$PATH
/usr/bin/lyx -width 900 -height 700 $*


make a script 'makeindex' in the ~/lyxbin directory:

#!/bin/bash
# wrapper script for makeindex (to be called from lyx)

# copy the indexstyle (document_base_name.mst) to the directory $INDEXSTYLE.
# if this file does not exist, $ISTDEFAULT is used instead.
# if this also does not exist, no style file is used.
# The .idx file can be filtered through a program named $FILTER.

INDEXSTYLE=~/indexstyles
ISTDEFAULT=default.ist
FILTER=cat
MAKEINDEX=/usr/bin/makeindex
# LyX (1.1.5fix1) calls makeindex with "makeindex -c -q idxfile"
IDXFILE=$3
BASE=`basename $IDXFILE .idx`
INDFILE=$BASE.ind
MSTFILE=$BASE.mst
ILGFILE=$BASE.ilg
[ -f $INDEXSTYLE/$ISTDEFAULT ]  STYLE="-s $ISTDEFAULT"
[ -f $INDEXSTYLE/$MSTFILE ]  STYLE="-s $MSTFILE"
export INDEXSTYLE
$FILTER $IDXFILE | $MAKEINDEX -c -q $STYLE -o $INDFILE -t $ILGFILE


Now you can customize everything in the new 'makeindex' script.
The minimum is to create a file ~/indexstyles/default.ist, which changes the
index layout for _all_ documents.

-- 
Thomas Henlich



Re: LyX Development News for July

2000-07-27 Thread Marko Vendelin


On Thu, 27 Jul 2000, Allan Rae wrote:

 On Wed, 26 Jul 2000, Preben Randhol wrote:
 
  It says there is a Gnome port on the way. Is there a homepage for this
  somewhere?
 
 Good question.  Perhaps Marko (the porter) can answer that?

Unfortunately, I am not aware of any.

Marko




Re: when we get spammed

2000-07-27 Thread Preben Randhol

Mate Wierdl [EMAIL PROTECTED] wrote on 25/07/2000 (22:46) :
 Just a reminder: please do not respond to the spam messages this list gets
 from time to time---unless you know what you are doing.
 
 I promptly deal with each of these messages (reporting them at appropriate
 places), and usually you put your own email address in danger if you try to
 handle spam yourself.

Does this list allow non-subscribers to post/get the list of subscribers?

-- 
Preben Randhol -- [[EMAIL PROTECTED]] -- http://www.pvv.org/~randhol/
+---+ "There was, I think, never any reason to  believe in any innate
| ! |  superiority of the male, except his superior muscle."
+---+  -- Bertrand Russell, Ideas That Have Harmed Mankind (1950)



lyx2rtf?

2000-07-27 Thread J. P. Blevins

Unfortunately, many publishers in linguistics have standardised on
MSWord or RTF as interchange formats.  I have had only mixed success
with the existing tex2rtf filters.  However, the LyX display gives a
pretty good approximation of the desired output. I wonder whether it
would be feasible to do an `RTF screen dump' of the partially formatted
LyX display, preserving character styles, etc. It might be that
XML-based editors like AbiWord are the right tool for this type of task,
though it seems on the face of it that the LyX screen rendering engine
does much of the work already.

Just a thought \ldots

-Jim Blevins
-- 
Research Centre for English and Applied Linguistics
University of Cambridgetel: +44 1223 332334
Keynes House, Trumpington St   fax: +44 1223 330253
Cambridge, CB2 1QA, UK www.rceal.cam.ac.uk/



Re: Newbie Questions

2000-07-27 Thread Jean-Marc Lasgouttes

 "Kayvan" == Kayvan A Sylvan [EMAIL PROTECTED] writes:

Kayvan On Wed, Jul 26, 2000 at 09:28:08AM -0400, Dave Rolfe wrote:
 I have just started using Lyx to create patent documents. I am
 using version 1.1.5fix1 and installed it as an rpm binary. It is
 working quite well, but I have a couple questions. Right now I am
 printing out using the Times font, but I may need to create output
 using a sans serif font. I went to the document menu and clicked on
 helvit. I understand that this does not change the screen font. 

The helvet options (which uses the helvet.sty package) does only one
thing: change the sans-serif font to be helvetica instead of computer
modern sans serif. So it does not really helps you. I know it's
stupid, but it is how things are right now...

However, there is a solution: add
  \renewcommand\familydefault{\sfdefault}
in Layout-LaTeX_Preamble. This will not change the disaply on screen
but should be corretc for xdvi/paper.

It would not be too difficult to make a patent style that does that
and gives correct display (especially if a latex document class for
that eixsts).

JMarc



Best way to insert many pictures

2000-07-27 Thread Martijn Brouwer

Hi,
I have three graphs belonging to the same paragraph, and want the appear
together beside the text. A part of the text consist of a 'itemize'
paragraph. I tried to achieve this in several ways but I do not succeed:
1)  Inserting three separate figure floats. Inserting figure floats in at
'itemize' environment results in error messages (missing \item commands)
2) Inserting three figures in one float. The figures don't even appear.
When I insert only two pictures, the second figure overlaps with the text.
3) Inserting the figures in a table in a figure float. With the 'floatflt'
option disabled it works, but when I enable it, everything is gone again.

How can I deal with this? I prefer to have three floats, since I prefer to
have three captions.

Another problem is that some pictures are transparant. This are .eps files
create from normal .ps files with ps2epsi.

Who can help me?

Martijn


_
Martijn Brouwer
[EMAIL PROTECTED]



Re: Customizing the index

2000-07-27 Thread Herbert Voss

Thomas Henlich wrote:
 
 Customizing the index can been be made even more comfortable than Herbert
 describes:
 
 make a script 'lyx' in your ~/bin directory:
 
 #!/bin/bash
 export PATH=~/lyxbin:$PATH
 /usr/bin/lyx -width 900 -height 700 $*



good idea! but for those who have root access:

1. delete /usr/bin/makeindex
this is only a link! have a look at it ...

2. create a executable file makeindex in /usr/bin  or /usr/local/bin

--
#/bin/bash
/usr/share/texmf/teTeX/bin/i386-linux-glibc/makeindex -s StyleFile -c -q
$3
--

StyleFile has to changed to the specific file with full path.
this works for all standard tex-installation on linux. otherwise
look for the real location of makeindex and correct the path.

Herbert

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




Re: Best way to insert many pictures

2000-07-27 Thread Lars Gullik Bjønnes

Martijn Brouwer [EMAIL PROTECTED] writes:

| How can I deal with this? I prefer to have three floats, since I prefer to
| have three captions.

You can have more than one capiton in each float.

Lgb




Re: sub/superscipts

2000-07-27 Thread Marco Bravi



--
Marco Bravi [EMAIL PROTECTED]
Dip. Ing. Chimica   tel. +39-6-44585587 / 612
v. Eudossiana, 18   fax  +39-6-4827453
I-00184 Roma (Italy)

On Wed, 5 Jul 2000, Martijn Brouwer wrote:

 I would like to enter chemical formulas in plain text and text mode in math
 is quite cumbersome.

XyMTeX and ppchTeX are two latex macro packages specifically written to
wrote chemical formulas. They need you to write LaTeX code inside LyX
(there is nothing as a "chemical structure formula visual editor" yet...).
I have used the former (inside LyX) and found that it does a perfect job.

XyMTeX is not a standard tetex-latex package. You need to download it from
a CTAN archive and put it in you latex package directory.

Have fun!

Marco Bravi








Re: Customizing the index

2000-07-27 Thread Thomas Henlich

On Thu, Jul 27, 2000 at 01:42:50PM +, Herbert Voss wrote:
 Thomas Henlich wrote:
  
  make a script 'lyx' in your ~/bin directory:
  
  #!/bin/bash
  export PATH=~/lyxbin:$PATH
  /usr/bin/lyx -width 900 -height 700 $*
 
 good idea! but for those who have root access:
 
 1. delete /usr/bin/makeindex
 this is only a link! have a look at it ...
 
 2. create a executable file makeindex in /usr/bin  or /usr/local/bin
 
 --
 #/bin/bash
 /usr/share/texmf/teTeX/bin/i386-linux-glibc/makeindex -s StyleFile -c -q
 $3
 --

Not so good idea, because:
1. after the next upgrade of your LaTeX packages you lose these changes
2. you have to modify this script whenever you want to use another style for
a document.
3. You can't use makeindex (e.g. for LaTeX) anymore like you used to.
4. If there are any other users besides you on this machine who use
makeindex, they will go mad before they realize what has happend :-S

-- 
Thomas Henlich



page margins

2000-07-27 Thread Daniel Leggate

I've been trying to play with the margins of my thesis to take into
account the binding. What I'm after is to shift the text body a couple of
centimetres or so to the right so that it isn't obscured when the thesis
is bound. I've tried setting the left margin using the geometry package
but the right margin is then also changed to compensate, leaving the page
still centred.

Any help would be gratefully received as I'm hoping to take the thesis to
the binders next week.

Dan




Re: page margins

2000-07-27 Thread Herbert Voss

Daniel Leggate wrote:
 
 I've been trying to play with the margins of my thesis to take into
 account the binding. What I'm after is to shift the text body a couple of
 centimetres or so to the right so that it isn't obscured when the thesis
 is bound. I've tried setting the left margin using the geometry package
 but the right margin is then also changed to compensate, leaving the page
 still centred.

choose left AND right margin. leaving right margin blank gives a 
centered page. i don't know if this is the default for the
geometry package.

Herbert

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




Re: Customizing the index

2000-07-27 Thread Herbert Voss

German Poo Caaman~o wrote:
 
 Reading some documents provides by "teTeX: A documentation guide" in
 my web2c TeX distribution I noted that some dvi files had the index
 as books.  I mean,
 Symbols
 ...
 A
 ...
 ...
 B
 ...
 ...
 
 (Neither I didn't find it on Herbert's tips page ;-)

http://www.educat.hu-berlin.de/~voss/Informatik/LyXTips.html#index_1

;-)

i think, it's a good idea, when lyx allows just like the mini 
bibtexmenue to insert a stylefile for makeindex.

so you have to run makeindex by hand with the -s option.

Herbert

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




Re: Bug in pretty ref

2000-07-27 Thread Herbert Voss

Dekel Tsur wrote:
 
 On Tue, Jul 25, 2000 at 11:25:20PM +, Herbert Voss wrote:
  prettyref needs a label definiaion like \label{tab:MyTable}
  than \prettyref{tab:Mytable} gives in dvi-output Table aNumber.
  from my point of view, lyx doesn't create the labels in
  prettyref-style, so it's not possible to use cross-reference
  with the prettyref-button.
 
 Why not?
 When inserting the label in LyX, give it the name tab:mytable,
 and then you can insert the prettyref. No need for ERT!
 
  it's a question to Lars or/and Jean-Marc:
insert label AND insert cross-reference must have BOTH
the prettyref-option?! if someone chooses once this option
all the rest of labels and references must converted
to prettyref-style.
 
 It seems that you expect to use labels without a prefix, (like MyTable),
 and let lyx automatically generate the prefix (tab:) when generating the
 latex file.
 This is not done by LyX.

yes, your right! :-)

Herbert

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



Re: Bibtex Inhaltsverzeichnis

2000-07-27 Thread Herbert Voss

Torsten Hahn wrote:
 
 Hi,
 
 how can i get an entry from the bibtex-reference into the table of contents ?
 Normally the tabe of contents which is generatet by lyx has no entry from
 refrences created by bibtex.
 
 I would like to have the point "Literaturverzeichnis" in the toc.

before the specific line in your text write in tex(red)

\addcontentsline{toc}{chapter}{Literaturverzeichnis}

if you want a toc-entry with the format of a chapter

\addtocontents{toc}{Literaturverzeichnis}

if you want a nonformatting toc-entry (no indent)

Herbert 


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




Re: Customizing the index

2000-07-27 Thread Thomas Henlich

Customizing the index can been be made even more comfortable than Herbert
describes:

make a script 'lyx' in your ~/bin directory:

#!/bin/bash
export PATH=~/lyxbin:$PATH
/usr/bin/lyx -width 900 -height 700 $*


make a script 'makeindex' in the ~/lyxbin directory:

#!/bin/bash
# wrapper script for makeindex (to be called from lyx)

# copy the indexstyle (document_base_name.mst) to the directory $INDEXSTYLE.
# if this file does not exist, $ISTDEFAULT is used instead.
# if this also does not exist, no style file is used.
# The .idx file can be filtered through a program named $FILTER.

INDEXSTYLE=~/indexstyles
ISTDEFAULT=default.ist
FILTER=cat
MAKEINDEX=/usr/bin/makeindex
# LyX (1.1.5fix1) calls makeindex with "makeindex -c -q idxfile"
IDXFILE=$3
BASE=`basename $IDXFILE .idx`
INDFILE=$BASE.ind
MSTFILE=$BASE.mst
ILGFILE=$BASE.ilg
[ -f $INDEXSTYLE/$ISTDEFAULT ]  STYLE="-s $ISTDEFAULT"
[ -f $INDEXSTYLE/$MSTFILE ]  STYLE="-s $MSTFILE"
export INDEXSTYLE
$FILTER $IDXFILE | $MAKEINDEX -c -q $STYLE -o $INDFILE -t $ILGFILE


Now you can customize everything in the new 'makeindex' script.
The minimum is to create a file ~/indexstyles/default.ist, which changes the
index layout for _all_ documents.

-- 
Thomas Henlich



Re: LyX Development News for July

2000-07-27 Thread Marko Vendelin


On Thu, 27 Jul 2000, Allan Rae wrote:

 On Wed, 26 Jul 2000, Preben Randhol wrote:
 
  It says there is a Gnome port on the way. Is there a homepage for this
  somewhere?
 
 Good question.  Perhaps Marko (the porter) can answer that?

Unfortunately, I am not aware of any.

Marko




Re: when we get spammed

2000-07-27 Thread Preben Randhol

Mate Wierdl [EMAIL PROTECTED] wrote on 25/07/2000 (22:46) :
 Just a reminder: please do not respond to the spam messages this list gets
 from time to time---unless you know what you are doing.
 
 I promptly deal with each of these messages (reporting them at appropriate
 places), and usually you put your own email address in danger if you try to
 handle spam yourself.

Does this list allow non-subscribers to post/get the list of subscribers?

-- 
Preben Randhol -- [[EMAIL PROTECTED]] -- http://www.pvv.org/~randhol/
+---+ "There was, I think, never any reason to  believe in any innate
| ! |  superiority of the male, except his superior muscle."
+---+  -- Bertrand Russell, Ideas That Have Harmed Mankind (1950)



lyx2rtf?

2000-07-27 Thread J. P. Blevins

Unfortunately, many publishers in linguistics have standardised on
MSWord or RTF as interchange formats.  I have had only mixed success
with the existing tex2rtf filters.  However, the LyX display gives a
pretty good approximation of the desired output. I wonder whether it
would be feasible to do an `RTF screen dump' of the partially formatted
LyX display, preserving character styles, etc. It might be that
XML-based editors like AbiWord are the right tool for this type of task,
though it seems on the face of it that the LyX screen rendering engine
does much of the work already.

Just a thought \ldots

-Jim Blevins
-- 
Research Centre for English and Applied Linguistics
University of Cambridgetel: +44 1223 332334
Keynes House, Trumpington St   fax: +44 1223 330253
Cambridge, CB2 1QA, UK www.rceal.cam.ac.uk/



Re: Newbie Questions

2000-07-27 Thread Jean-Marc Lasgouttes

 "Kayvan" == Kayvan A Sylvan [EMAIL PROTECTED] writes:

Kayvan On Wed, Jul 26, 2000 at 09:28:08AM -0400, Dave Rolfe wrote:
 I have just started using Lyx to create patent documents. I am
 using version 1.1.5fix1 and installed it as an rpm binary. It is
 working quite well, but I have a couple questions. Right now I am
 printing out using the Times font, but I may need to create output
 using a sans serif font. I went to the document menu and clicked on
 helvit. I understand that this does not change the screen font. 

The helvet options (which uses the helvet.sty package) does only one
thing: change the sans-serif font to be helvetica instead of computer
modern sans serif. So it does not really helps you. I know it's
stupid, but it is how things are right now...

However, there is a solution: add
  \renewcommand\familydefault{\sfdefault}
in Layout-LaTeX_Preamble. This will not change the disaply on screen
but should be corretc for xdvi/paper.

It would not be too difficult to make a patent style that does that
and gives correct display (especially if a latex document class for
that eixsts).

JMarc



Best way to insert many pictures

2000-07-27 Thread Martijn Brouwer

Hi,
I have three graphs belonging to the same paragraph, and want the appear
together beside the text. A part of the text consist of a 'itemize'
paragraph. I tried to achieve this in several ways but I do not succeed:
1)  Inserting three separate figure floats. Inserting figure floats in at
'itemize' environment results in error messages (missing \item commands)
2) Inserting three figures in one float. The figures don't even appear.
When I insert only two pictures, the second figure overlaps with the text.
3) Inserting the figures in a table in a figure float. With the 'floatflt'
option disabled it works, but when I enable it, everything is gone again.

How can I deal with this? I prefer to have three floats, since I prefer to
have three captions.

Another problem is that some pictures are transparant. This are .eps files
create from normal .ps files with ps2epsi.

Who can help me?

Martijn


_
Martijn Brouwer
[EMAIL PROTECTED]



Re: Customizing the index

2000-07-27 Thread Herbert Voss

Thomas Henlich wrote:
 
 Customizing the index can been be made even more comfortable than Herbert
 describes:
 
 make a script 'lyx' in your ~/bin directory:
 
 #!/bin/bash
 export PATH=~/lyxbin:$PATH
 /usr/bin/lyx -width 900 -height 700 $*



good idea! but for those who have root access:

1. delete /usr/bin/makeindex
this is only a link! have a look at it ...

2. create a executable file makeindex in /usr/bin  or /usr/local/bin

--
#/bin/bash
/usr/share/texmf/teTeX/bin/i386-linux-glibc/makeindex -s StyleFile -c -q
$3
--

StyleFile has to changed to the specific file with full path.
this works for all standard tex-installation on linux. otherwise
look for the real location of makeindex and correct the path.

Herbert

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




Re: Best way to insert many pictures

2000-07-27 Thread Lars Gullik Bjønnes

Martijn Brouwer [EMAIL PROTECTED] writes:

| How can I deal with this? I prefer to have three floats, since I prefer to
| have three captions.

You can have more than one capiton in each float.

Lgb




Re: sub/superscipts

2000-07-27 Thread Marco Bravi



--
Marco Bravi [EMAIL PROTECTED]
Dip. Ing. Chimica   tel. +39-6-44585587 / 612
v. Eudossiana, 18   fax  +39-6-4827453
I-00184 Roma (Italy)

On Wed, 5 Jul 2000, Martijn Brouwer wrote:

 I would like to enter chemical formulas in plain text and text mode in math
 is quite cumbersome.

XyMTeX and ppchTeX are two latex macro packages specifically written to
wrote chemical formulas. They need you to write LaTeX code inside LyX
(there is nothing as a "chemical structure formula visual editor" yet...).
I have used the former (inside LyX) and found that it does a perfect job.

XyMTeX is not a standard tetex-latex package. You need to download it from
a CTAN archive and put it in you latex package directory.

Have fun!

Marco Bravi








Re: Customizing the index

2000-07-27 Thread Thomas Henlich

On Thu, Jul 27, 2000 at 01:42:50PM +, Herbert Voss wrote:
 Thomas Henlich wrote:
  
  make a script 'lyx' in your ~/bin directory:
  
  #!/bin/bash
  export PATH=~/lyxbin:$PATH
  /usr/bin/lyx -width 900 -height 700 $*
 
 good idea! but for those who have root access:
 
 1. delete /usr/bin/makeindex
 this is only a link! have a look at it ...
 
 2. create a executable file makeindex in /usr/bin  or /usr/local/bin
 
 --
 #/bin/bash
 /usr/share/texmf/teTeX/bin/i386-linux-glibc/makeindex -s StyleFile -c -q
 $3
 --

Not so good idea, because:
1. after the next upgrade of your LaTeX packages you lose these changes
2. you have to modify this script whenever you want to use another style for
a document.
3. You can't use makeindex (e.g. for LaTeX) anymore like you used to.
4. If there are any other users besides you on this machine who use
makeindex, they will go mad before they realize what has happend :-S

-- 
Thomas Henlich



page margins

2000-07-27 Thread Daniel Leggate

I've been trying to play with the margins of my thesis to take into
account the binding. What I'm after is to shift the text body a couple of
centimetres or so to the right so that it isn't obscured when the thesis
is bound. I've tried setting the left margin using the geometry package
but the right margin is then also changed to compensate, leaving the page
still centred.

Any help would be gratefully received as I'm hoping to take the thesis to
the binders next week.

Dan




Re: page margins

2000-07-27 Thread Herbert Voss

Daniel Leggate wrote:
 
 I've been trying to play with the margins of my thesis to take into
 account the binding. What I'm after is to shift the text body a couple of
 centimetres or so to the right so that it isn't obscured when the thesis
 is bound. I've tried setting the left margin using the geometry package
 but the right margin is then also changed to compensate, leaving the page
 still centred.

choose left AND right margin. leaving right margin blank gives a 
centered page. i don't know if this is the default for the
geometry package.

Herbert

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




Re: Customizing the index

2000-07-27 Thread Herbert Voss

German Poo Caaman~o wrote:
> 
> Reading some documents provides by "teTeX: A documentation guide" in
> my web2c TeX distribution I noted that some dvi files had the index
> as books.  I mean,
> Symbols
> ...
> A
> ...
> ...
> B
> ...
> ...
> 
> (Neither I didn't find it on Herbert's tips page ;-)

http://www.educat.hu-berlin.de/~voss/Informatik/LyXTips.html#index_1

;-)

i think, it's a good idea, when lyx allows just like the mini 
bibtexmenue to insert a stylefile for makeindex.

so you have to run makeindex by hand with the -s option.

Herbert

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




Re: Bug in pretty ref

2000-07-27 Thread Herbert Voss

Dekel Tsur wrote:
> 
> On Tue, Jul 25, 2000 at 11:25:20PM +, Herbert Voss wrote:
> > prettyref needs a label definiaion like \label{tab:MyTable}
> > than \prettyref{tab:Mytable} gives in dvi-output Table aNumber.
> > from my point of view, lyx doesn't create the labels in
> > prettyref-style, so it's not possible to use cross-reference
> > with the prettyref-button.
> 
> Why not?
> When inserting the label in LyX, give it the name tab:mytable,
> and then you can insert the prettyref. No need for ERT!
> 
> > it's a question to Lars or/and Jean-Marc:
> >   insert label AND insert cross-reference must have BOTH
> >   the prettyref-option?! if someone chooses once this option
> >   all the rest of labels and references must converted
> >   to prettyref-style.
> 
> It seems that you expect to use labels without a prefix, (like MyTable),
> and let lyx automatically generate the prefix (tab:) when generating the
> latex file.
> This is not done by LyX.

yes, your right! :-)

Herbert

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



Re: Bibtex & Inhaltsverzeichnis

2000-07-27 Thread Herbert Voss

Torsten Hahn wrote:
> 
> Hi,
> 
> how can i get an entry from the bibtex-reference into the table of contents ?
> Normally the tabe of contents which is generatet by lyx has no entry from
> refrences created by bibtex.
> 
> I would like to have the point "Literaturverzeichnis" in the toc.

before the specific line in your text write in tex(red)

\addcontentsline{toc}{chapter}{Literaturverzeichnis}

if you want a toc-entry with the format of a chapter

\addtocontents{toc}{Literaturverzeichnis}

if you want a nonformatting toc-entry (no indent)

Herbert 


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




Re: Customizing the index

2000-07-27 Thread Thomas Henlich

Customizing the index can been be made even more comfortable than Herbert
describes:

make a script 'lyx' in your ~/bin directory:

#!/bin/bash
export PATH=~/lyxbin:$PATH
/usr/bin/lyx -width 900 -height 700 $*


make a script 'makeindex' in the ~/lyxbin directory:

#!/bin/bash
# wrapper script for makeindex (to be called from lyx)

# copy the indexstyle (document_base_name.mst) to the directory $INDEXSTYLE.
# if this file does not exist, $ISTDEFAULT is used instead.
# if this also does not exist, no style file is used.
# The .idx file can be filtered through a program named $FILTER.

INDEXSTYLE=~/indexstyles
ISTDEFAULT=default.ist
FILTER=cat
MAKEINDEX=/usr/bin/makeindex
# LyX (1.1.5fix1) calls makeindex with "makeindex -c -q idxfile"
IDXFILE=$3
BASE=`basename $IDXFILE .idx`
INDFILE=$BASE.ind
MSTFILE=$BASE.mst
ILGFILE=$BASE.ilg
[ -f $INDEXSTYLE/$ISTDEFAULT ] && STYLE="-s $ISTDEFAULT"
[ -f $INDEXSTYLE/$MSTFILE ] && STYLE="-s $MSTFILE"
export INDEXSTYLE
$FILTER $IDXFILE | $MAKEINDEX -c -q $STYLE -o $INDFILE -t $ILGFILE


Now you can customize everything in the new 'makeindex' script.
The minimum is to create a file ~/indexstyles/default.ist, which changes the
index layout for _all_ documents.

-- 
Thomas Henlich



Re: LyX Development News for July

2000-07-27 Thread Marko Vendelin


On Thu, 27 Jul 2000, Allan Rae wrote:

> On Wed, 26 Jul 2000, Preben Randhol wrote:
> 
> > It says there is a Gnome port on the way. Is there a homepage for this
> > somewhere?
> 
> Good question.  Perhaps Marko (the porter) can answer that?

Unfortunately, I am not aware of any.

Marko




Re: when we get spammed

2000-07-27 Thread Preben Randhol

Mate Wierdl <[EMAIL PROTECTED]> wrote on 25/07/2000 (22:46) :
> Just a reminder: please do not respond to the spam messages this list gets
> from time to time---unless you know what you are doing.
> 
> I promptly deal with each of these messages (reporting them at appropriate
> places), and usually you put your own email address in danger if you try to
> handle spam yourself.

Does this list allow non-subscribers to post/get the list of subscribers?

-- 
Preben Randhol -- [[EMAIL PROTECTED]] -- 
+---+ "There was, I think, never any reason to  believe in any innate
| ! |  superiority of the male, except his superior muscle."
+---+  -- Bertrand Russell, Ideas That Have Harmed Mankind (1950)



lyx2rtf?

2000-07-27 Thread J. P. Blevins

Unfortunately, many publishers in linguistics have standardised on
MSWord or RTF as interchange formats.  I have had only mixed success
with the existing tex2rtf filters.  However, the LyX display gives a
pretty good approximation of the desired output. I wonder whether it
would be feasible to do an `RTF screen dump' of the partially formatted
LyX display, preserving character styles, etc. It might be that
XML-based editors like AbiWord are the right tool for this type of task,
though it seems on the face of it that the LyX screen rendering engine
does much of the work already.

Just a thought \ldots

-Jim Blevins
-- 
Research Centre for English and Applied Linguistics
University of Cambridgetel: +44 1223 332334
Keynes House, Trumpington St   fax: +44 1223 330253
Cambridge, CB2 1QA, UK www.rceal.cam.ac.uk/



Re: Newbie Questions

2000-07-27 Thread Jean-Marc Lasgouttes

> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes:

Kayvan> On Wed, Jul 26, 2000 at 09:28:08AM -0400, Dave Rolfe wrote:
>> I have just started using Lyx to create patent documents. I am
>> using version 1.1.5fix1 and installed it as an rpm binary. It is
>> working quite well, but I have a couple questions. Right now I am
>> printing out using the Times font, but I may need to create output
>> using a sans serif font. I went to the document menu and clicked on
>> helvit. I understand that this does not change the screen font. 

The helvet options (which uses the helvet.sty package) does only one
thing: change the sans-serif font to be helvetica instead of computer
modern sans serif. So it does not really helps you. I know it's
stupid, but it is how things are right now...

However, there is a solution: add
  \renewcommand\familydefault{\sfdefault}
in Layout->LaTeX_Preamble. This will not change the disaply on screen
but should be corretc for xdvi/paper.

It would not be too difficult to make a patent style that does that
and gives correct display (especially if a latex document class for
that eixsts).

JMarc



Best way to insert many pictures

2000-07-27 Thread Martijn Brouwer

Hi,
I have three graphs belonging to the same paragraph, and want the appear
together beside the text. A part of the text consist of a 'itemize'
paragraph. I tried to achieve this in several ways but I do not succeed:
1)  Inserting three separate figure floats. Inserting figure floats in at
'itemize' environment results in error messages (missing \item commands)
2) Inserting three figures in one float. The figures don't even appear.
When I insert only two pictures, the second figure overlaps with the text.
3) Inserting the figures in a table in a figure float. With the 'floatflt'
option disabled it works, but when I enable it, everything is gone again.

How can I deal with this? I prefer to have three floats, since I prefer to
have three captions.

Another problem is that some pictures are transparant. This are .eps files
create from normal .ps files with ps2epsi.

Who can help me?

Martijn


_
Martijn Brouwer
[EMAIL PROTECTED]



Re: Customizing the index

2000-07-27 Thread Herbert Voss

Thomas Henlich wrote:
> 
> Customizing the index can been be made even more comfortable than Herbert
> describes:
> 
> make a script 'lyx' in your ~/bin directory:
> 
> #!/bin/bash
> export PATH=~/lyxbin:$PATH
> /usr/bin/lyx -width 900 -height 700 $*



good idea! but for those who have root access:

1. delete /usr/bin/makeindex
this is only a link! have a look at it ...

2. create a executable file makeindex in /usr/bin  or /usr/local/bin

--
#/bin/bash
/usr/share/texmf/teTeX/bin/i386-linux-glibc/makeindex -s StyleFile -c -q
$3
--

StyleFile has to changed to the specific file with full path.
this works for all standard tex-installation on linux. otherwise
look for the real location of makeindex and correct the path.

Herbert

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




Re: Best way to insert many pictures

2000-07-27 Thread Lars Gullik Bjønnes

Martijn Brouwer <[EMAIL PROTECTED]> writes:

| How can I deal with this? I prefer to have three floats, since I prefer to
| have three captions.

You can have more than one capiton in each float.

Lgb




Re: sub/superscipts

2000-07-27 Thread Marco Bravi



--
Marco Bravi [EMAIL PROTECTED]
Dip. Ing. Chimica   tel. +39-6-44585587 / 612
v. Eudossiana, 18   fax  +39-6-4827453
I-00184 Roma (Italy)

On Wed, 5 Jul 2000, Martijn Brouwer wrote:

> I would like to enter chemical formulas in plain text and text mode in math
> is quite cumbersome.

XyMTeX and ppchTeX are two latex macro packages specifically written to
wrote chemical formulas. They need you to write LaTeX code inside LyX
(there is nothing as a "chemical structure formula visual editor" yet...).
I have used the former (inside LyX) and found that it does a perfect job.

XyMTeX is not a standard tetex-latex package. You need to download it from
a CTAN archive and put it in you latex package directory.

Have fun!

Marco Bravi








Re: Customizing the index

2000-07-27 Thread Thomas Henlich

On Thu, Jul 27, 2000 at 01:42:50PM +, Herbert Voss wrote:
> Thomas Henlich wrote:
> > 
> > make a script 'lyx' in your ~/bin directory:
> > 
> > #!/bin/bash
> > export PATH=~/lyxbin:$PATH
> > /usr/bin/lyx -width 900 -height 700 $*
> 
> good idea! but for those who have root access:
> 
> 1. delete /usr/bin/makeindex
> this is only a link! have a look at it ...
> 
> 2. create a executable file makeindex in /usr/bin  or /usr/local/bin
> 
> --
> #/bin/bash
> /usr/share/texmf/teTeX/bin/i386-linux-glibc/makeindex -s StyleFile -c -q
> $3
> --

Not so good idea, because:
1. after the next upgrade of your LaTeX packages you lose these changes
2. you have to modify this script whenever you want to use another style for
a document.
3. You can't use makeindex (e.g. for LaTeX) anymore like you used to.
4. If there are any other users besides you on this machine who use
makeindex, they will go mad before they realize what has happend :-S

-- 
Thomas Henlich



page margins

2000-07-27 Thread Daniel Leggate

I've been trying to play with the margins of my thesis to take into
account the binding. What I'm after is to shift the text body a couple of
centimetres or so to the right so that it isn't obscured when the thesis
is bound. I've tried setting the left margin using the geometry package
but the right margin is then also changed to compensate, leaving the page
still centred.

Any help would be gratefully received as I'm hoping to take the thesis to
the binders next week.

Dan




Re: page margins

2000-07-27 Thread Herbert Voss

Daniel Leggate wrote:
> 
> I've been trying to play with the margins of my thesis to take into
> account the binding. What I'm after is to shift the text body a couple of
> centimetres or so to the right so that it isn't obscured when the thesis
> is bound. I've tried setting the left margin using the geometry package
> but the right margin is then also changed to compensate, leaving the page
> still centred.

choose left AND right margin. leaving right margin blank gives a 
centered page. i don't know if this is the default for the
geometry package.

Herbert

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