Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Markus Amersdorfer
On Sun, 07 Mar 2004 17:07:04 +
Angus Leeming [EMAIL PROTECTED] wrote:

 Bernd Mehnert wrote:
  after that i wanted to have a look on how it appears as dvi-file and
  then came an error like :
  
  undefined control sequence
  \includegraphics{file.pstex}%
  the control sequence on the end of top line was never
  definedso.o.
 
 If you wish to continue with this include solution, then you need to
 add
 \usepackage{graphicx}
 to the document preamble. The include inset has no knowledge about 
 the stuff you're including.

Besides the graphicx-package mentioned above, I also had to include
  \usepackage{color}
in the document preamble.

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

http://homex.subnet.at/~max/


Two-sided document

2004-03-08 Thread Markus Amersdorfer
Hi everyone!

If I set my LyX-document to be a two-sided one, it does change the
layout accordingly, but it seems to leave bigger margins to the outer
part of the page and smaller margins to the inner part.
Shouldn't it be just the other way round? If I have my document printed
out and be bound as a book, shouldn't there be more space in the
middle of a double-page due to the binding process consuming some
space?

If I used the default two-sided document in order to put the bigger
margins to the inner part of the book, this not only meant to falsely
have odd pages on the left and even pages on right hand side but also
would lead to marginal notes being placed in the inner part too (and
thus possibly be hard to read).

Comments would be very much appreciated!

Thanks 'n' cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

http://homex.subnet.at/~max/


Re: Two-sided document

2004-03-08 Thread Christian Ridderström
On Mon, 8 Mar 2004, Markus Amersdorfer wrote:

 Hi everyone!
 
 If I set my LyX-document to be a two-sided one, it does change the
 layout accordingly, but it seems to leave bigger margins to the outer
 part of the page and smaller margins to the inner part.
 Shouldn't it be just the other way round? If I have my document printed
 out and be bound as a book, shouldn't there be more space in the
 middle of a double-page due to the binding process consuming some
 space?

See
http://wiki.lyx.org/beta/pmwiki.php/FAQ/Unsorted#bookMargins

for a brief explanation.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: (new user) how to import a bibliographic database from a medline querry ?

2004-03-08 Thread tom mettner
On Sun, 7 Mar 2004 09:33:48 +0100
[EMAIL PROTECTED] (Juergen Spitzmueller) wrote:

 under Linux, there's 
 the bibliography frontend pybliographic

And there ist the excellent Java Tool JabRef. Just use Google to find it.

HTH too
Tom


Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Angus Leeming
Markus Amersdorfer wrote:
 Besides the graphicx-package mentioned above, I also had to include
   \usepackage{color}
 in the document preamble.

If you play with the settings of the text dialog in xfig you can use 
the default font of your document. That get's around this particular 
requirement if you're using black text.

I can't remember the details, but the 3rd column of the pstex_t file 
entry for a text entry should be '-1'.

-- 
Angus



Re: Two-sided document

2004-03-08 Thread Juergen Spitzmueller
Markus Amersdorfer wrote:
 If I set my LyX-document to be a two-sided one, it does change the
 layout accordingly, but it seems to leave bigger margins to the outer
 part of the page and smaller margins to the inner part.
 Shouldn't it be just the other way round? If I have my document printed
 out and be bound as a book, shouldn't there be more space in the
 middle of a double-page due to the binding process consuming some
 space?

No. If you bind a two sided document, the two inner margins (left and right 
page) should have the same width than both outer margins.
For the binding process, you have to additionally add a binding correction 
value, which is added to the inner margin. KOMA script has the document 
option BCOR=value for this.

In general, you should read chapter 2 of the KOMA script documentation (on 
page layout and margins):
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguide.pdf

Jürgen.


Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Angus Leeming
Angus Leeming wrote:
 Markus Amersdorfer wrote:
 Besides the graphicx-package mentioned above, I also had to include
   \usepackage{color}
 in the document preamble.
 
 If you play with the settings of the text dialog in xfig you can use
 the default font of your document. That get's around this particular
 requirement if you're using black text.
 
 I can't remember the details, but the 3rd column of the pstex_t file
 entry for a text entry should be '-1'.

Sorry, that's the '.fig' file, of course. Note the '-1' in 
the third column here:

4 2 -1 0 -1 0 10.000  0.000 3 125.000 2700.000 6387 1580 
$v(x)=1-\\frac{1}{4}\\cos(2\\pi{}x)$\001

-- 



Re: SuSE again...

2004-03-08 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

Georg It seems that everybody capable of building rpms has no vanilla
Georg setup anymore, so I took the time and built an rpm on SuSE 8.2
Georg (stock install with all online updates and the new gcc). It is
Georg now in ftp://ftp.lyx.org/ incoming/. It should work on SuSE 9.0
Georg and 8.2 machines with the old gcc, too. (I did not test this
Georg one, but the 1.3cvs version I regularly compile on 8.2 works on
Georg 9.0 and on 8.2 without the new gcc just fine).

Thanks Georg,

After some arbitrary renaming, we have two suse rpms in ftp.lyx.org:

lyx-1.3.4-1suse82and90.i386.rpm
lyx-1.3.4-1suse90_qt32.i386.rpm

Did I get the names right?

JMarc


full cite in text

2004-03-08 Thread Leuven, E.
dear all,

i want to make a reading list for a syllabus. 

is there a way to insert the full citation in the text instead of having the 
bibliography at the end, while using my bibtex database (and avoid the typing)?

i want to have something like

topic 1

- Jones B, and A. Smith. (2004). Title. Publisher.
- Smith, A. and B. Jones. (2003). Title Journal, p 1-14. 

topic 2

- DuPont, J. (1999). Title Journal, p 32-43.

etc.

i hope someone has been here before...

thanks, edwin


Compiler fuer 1.3.4

2004-03-08 Thread Sabine 'Sani' Schulz
Moin, moin,

leider reichen meine Englischkenntnisse nicht zum Schreiben, daher in
Deutsch, ich bitte um Entschuldigung.

Ich benutze debian woody und möchte 1.3.4 installieren, bekomme dabei
die Meldung:

checking for a good enough C++ compiler... ./configure: line 3666: -c: command not 
found
gcc: installation problem, cannot exec `cc1plus': No such file or directory
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
configure: error: Unable to find a good enough C++ compiler


Kann mir jemand sagen, welchen Compiler ich brauche?

Vielen Dank + Gruesse
Sabine, Linuxnewbie



Re: Two-sided document

2004-03-08 Thread Rich Shepard
On Mon, 8 Mar 2004, Markus Amersdorfer wrote:

 If I set my LyX-document to be a two-sided one, it does change the layout
 accordingly, but it seems to leave bigger margins to the outer part of
 the page and smaller margins to the inner part. Shouldn't it be just the
 other way round? If I have my document printed out and be bound as a book,
 shouldn't there be more space in the middle of a double-page due to the
 binding process consuming some space?

Max,

  It does intuitively seem like the inner margins should be larger so the
text is centered on the visible page after binding. However, some books have
larger margins on the page edge. Perhaps for motes? I've seen both in the
technical books I have. I suspect it's a page layout decision without a
single answer.

Rich

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


Re: Compiler fuer 1.3.4

2004-03-08 Thread Tuukka Toivonen
On Mon, 8 Mar 2004, Sabine 'Sani' Schulz wrote:

checking for a good enough C++ compiler... ./configure: line 3666: -c: command not 
found
gcc: installation problem, cannot exec `cc1plus': No such file or directory
./configure: line 3666: -c: command not found

I don't understand german (if that's what you're speaking) but from the
errors it looks like environment variable CC is defined but empty. Try
giving first commands
CC=gcc
CXX=g++
export CC CXX
and then running configure again (better to remove first config.cache).


Re: full cite in text

2004-03-08 Thread Juergen Spitzmueller
Leuven, E. wrote:
 is there a way to insert the full citation in the text instead of having
 the bibliography at the end, while using my bibtex database (and avoid the
 typing)?

Hi Edwin,

Have a look at the bibentry package (shipped with natbib) or the jurabib 
package.

Regards,
Jürgen.


include openoffice import and export filters

2004-03-08 Thread Uwe Brauer
Hello

May be this suggestion has already be made:
there exists now an openoffice to latex export and import filter,
including mathematical formula.

1. Oolatex is a script shipped with tex4ht, which converts latex to
   sxw files.
2. Writer2latex is java export filter which converts sxw files to
   latex.

I think the first converter could be easily accessed from lyx.

The  second one  requires java,  and  can be   also executed  from the
command line. The latex file produced will need a special writer.sty.


Uwe Brauer 



Re: Note inset question

2004-03-08 Thread Günter Milde
On Sun, Mar 07, 2004 at 07:09:12PM +0100, Juergen Spitzmueller wrote:
 Uwe Stöhr wrote:
  Is there a possibility to include LyX's note insets into the LaTeX
  output as comment?
 
 No(t yet). LyX 1.4 will have an improved Note/Comment environment where you 
 can toggle between Note and Comment (i.e. the comment environment, not the 
 %-comments).

There is the possibility to (mis) use ERT-Boxes. Put your note there and
start it with a %. 

Export to LaTeX is fine, but reLyX will silently eat away all %-comments.

Could we have an import option to convert % soemthing\n either to a note or
to an ERT-Box?

Günter

-- 
G.Milde at web.de


Re: Note inset question

2004-03-08 Thread Georg Baum
Günter Milde wrote:

 On Sun, Mar 07, 2004 at 07:09:12PM +0100, Juergen Spitzmueller wrote:
 There is the possibility to (mis) use ERT-Boxes. Put your note there and
 start it with a %.
 
 Export to LaTeX is fine, but reLyX will silently eat away all
 %-comments.
 
 Could we have an import option to convert % soemthing\n either to a note
 or to an ERT-Box?

Try to implement it in reLyX. Then you'll see why it is not there already...
I once tried to improve reLyX, but have given up because it was too
difficult.
As I wrote, tex2lyx is a working alternative. This is the contents of a
wrapper script to produce lyx files for lyx 1.3:

#! /bin/sh
SUFFIX=-1.4
INSTDIR=/path/to/lyx1.4cvs
tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221


where the real tex2lyx is named tex2lyx-1.4.


Georg




Change index stype in lxy-native-windows port

2004-03-08 Thread Michael Dempfle
Hi,

I'm using the lyx 1.3.3 windows-native port with miktex and want to 
change my index
that it looks like.

A
...
B
..
..
..
C
..
Does anyone knows how this work with lyx + miktex?

Thanks,
Michael


Re: Change index stype in lxy-native-windows port

2004-03-08 Thread Jean-Pierre.Chretien

I'm using the lyx 1.3.3 windows-native port with miktex and want to 
change my index
that it looks like.

A
...
B
..
..
..
C
..

Does anyone knows how this work with lyx + miktex?

makeindex is an external program which changes index layouts
as described in a layout file (extension ist).

Check on your system or CTAN for .ist files, say foo.ist, then change the
default call to makeindex to
makeindex -s foo.ist name of file
I'm not sure that this can be changes from inside LyX.


-- 
Jean-Pierre





Re: Note inset question

2004-03-08 Thread Andre Poenitz
On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
 #! /bin/sh
 SUFFIX=-1.4
 INSTDIR=/path/to/lyx1.4cvs
 tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221

Shouldn't that be $@  (in double quotes?)

Andre'


Re: Two-sided document

2004-03-08 Thread Markus Amersdorfer
On Mon, 8 Mar 2004 10:33:21 +0100
Juergen Spitzmueller [EMAIL PROTECTED] wrote:

  If I set my LyX-document to be a two-sided one, it does change the
  layout accordingly, but it seems to leave bigger margins to the
  outer part of the page and smaller margins to the inner part.
  Shouldn't it be just the other way round?
 
 No. If you bind a two sided document, the two inner margins (left and
 right page) should have the same width than both outer margins.

Hmmm, sounds both strange and obvious at the same time. :)
Thanks for all your answers!

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

http://homex.subnet.at/~max/


best way for legends between figures and tables

2004-03-08 Thread Harold Mouras

Dear Lyx users,
I am at present working with Lyx on a thesis and am looking for the best way
to get homogenous legends between all figures and tables of the document.
Could you please give me some advice on the best way to do that, and how,
for a table for example, to insert a legend.
Thank you very much in advance,
Harold
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 05/03/2004



Re: best way for legends between figures and tables

2004-03-08 Thread Uwe Stöhr
I am at present working with Lyx on a thesis and am looking for the best way
to get homogenous legends between all figures and tables of the document.
Could you please give me some advice on the best way to do that, and how,
for a table for example, to insert a legend.
I assume that you want to insert captions for tables and figures. In 
this case look at the Userguide (chapter 4.3.1 for floats and chapter 
3.3.9.1 for the caption environment).


Re: Printing Comments environment?

2004-03-08 Thread Günter Milde
On Sun, Mar 07, 2004 at 10:29:33AM -0800, Stefano Franchi wrote:

 In the Document menu, choose Preamble and paste the following line:
 
 \usepackage{comment}
 
 And then one of the following two lines for if you want them printed 
 or not.
 
 \includecomment{comment}
 \excludecomment{comment}

 If I add
 
 \usepackage{comment}
 \includecomment{comment}
 
 to the preamble, TeX chokes after the first page and aborts,

I don't know how to solve this problem properly, but did you try to insert a
line

  \renewenvironment{comment}{}{}

or

  \renewenvironment{comment}{Comment: }{ End-of-Comment}


in your LaTeX preamble?

Günter

-- 
G.Milde at web.de


Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Markus Amersdorfer
On Sun, 07 Mar 2004 17:07:04 +
Angus Leeming [EMAIL PROTECTED] wrote:

 Bernd Mehnert wrote:
  after that i wanted to have a look on how it appears as dvi-file and
  then came an error like :
  
  undefined control sequence
  \includegraphics{file.pstex}%
  the control sequence on the end of top line was never
  definedso.o.
 
 If you wish to continue with this include solution, then you need to
 add
 \usepackage{graphicx}
 to the document preamble. The include inset has no knowledge about 
 the stuff you're including.

Besides the graphicx-package mentioned above, I also had to include
  \usepackage{color}
in the document preamble.

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

http://homex.subnet.at/~max/


Two-sided document

2004-03-08 Thread Markus Amersdorfer
Hi everyone!

If I set my LyX-document to be a two-sided one, it does change the
layout accordingly, but it seems to leave bigger margins to the outer
part of the page and smaller margins to the inner part.
Shouldn't it be just the other way round? If I have my document printed
out and be bound as a book, shouldn't there be more space in the
middle of a double-page due to the binding process consuming some
space?

If I used the default two-sided document in order to put the bigger
margins to the inner part of the book, this not only meant to falsely
have odd pages on the left and even pages on right hand side but also
would lead to marginal notes being placed in the inner part too (and
thus possibly be hard to read).

Comments would be very much appreciated!

Thanks 'n' cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

http://homex.subnet.at/~max/


Re: Two-sided document

2004-03-08 Thread Christian Ridderström
On Mon, 8 Mar 2004, Markus Amersdorfer wrote:

 Hi everyone!
 
 If I set my LyX-document to be a two-sided one, it does change the
 layout accordingly, but it seems to leave bigger margins to the outer
 part of the page and smaller margins to the inner part.
 Shouldn't it be just the other way round? If I have my document printed
 out and be bound as a book, shouldn't there be more space in the
 middle of a double-page due to the binding process consuming some
 space?

See
http://wiki.lyx.org/beta/pmwiki.php/FAQ/Unsorted#bookMargins

for a brief explanation.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: (new user) how to import a bibliographic database from a medline querry ?

2004-03-08 Thread tom mettner
On Sun, 7 Mar 2004 09:33:48 +0100
[EMAIL PROTECTED] (Juergen Spitzmueller) wrote:

 under Linux, there's 
 the bibliography frontend pybliographic

And there ist the excellent Java Tool JabRef. Just use Google to find it.

HTH too
Tom


Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Angus Leeming
Markus Amersdorfer wrote:
 Besides the graphicx-package mentioned above, I also had to include
   \usepackage{color}
 in the document preamble.

If you play with the settings of the text dialog in xfig you can use 
the default font of your document. That get's around this particular 
requirement if you're using black text.

I can't remember the details, but the 3rd column of the pstex_t file 
entry for a text entry should be '-1'.

-- 
Angus



Re: Two-sided document

2004-03-08 Thread Juergen Spitzmueller
Markus Amersdorfer wrote:
 If I set my LyX-document to be a two-sided one, it does change the
 layout accordingly, but it seems to leave bigger margins to the outer
 part of the page and smaller margins to the inner part.
 Shouldn't it be just the other way round? If I have my document printed
 out and be bound as a book, shouldn't there be more space in the
 middle of a double-page due to the binding process consuming some
 space?

No. If you bind a two sided document, the two inner margins (left and right 
page) should have the same width than both outer margins.
For the binding process, you have to additionally add a binding correction 
value, which is added to the inner margin. KOMA script has the document 
option BCOR=value for this.

In general, you should read chapter 2 of the KOMA script documentation (on 
page layout and margins):
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguide.pdf

Jürgen.


Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Angus Leeming
Angus Leeming wrote:
 Markus Amersdorfer wrote:
 Besides the graphicx-package mentioned above, I also had to include
   \usepackage{color}
 in the document preamble.
 
 If you play with the settings of the text dialog in xfig you can use
 the default font of your document. That get's around this particular
 requirement if you're using black text.
 
 I can't remember the details, but the 3rd column of the pstex_t file
 entry for a text entry should be '-1'.

Sorry, that's the '.fig' file, of course. Note the '-1' in 
the third column here:

4 2 -1 0 -1 0 10.000  0.000 3 125.000 2700.000 6387 1580 
$v(x)=1-\\frac{1}{4}\\cos(2\\pi{}x)$\001

-- 



Re: SuSE again...

2004-03-08 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

Georg It seems that everybody capable of building rpms has no vanilla
Georg setup anymore, so I took the time and built an rpm on SuSE 8.2
Georg (stock install with all online updates and the new gcc). It is
Georg now in ftp://ftp.lyx.org/ incoming/. It should work on SuSE 9.0
Georg and 8.2 machines with the old gcc, too. (I did not test this
Georg one, but the 1.3cvs version I regularly compile on 8.2 works on
Georg 9.0 and on 8.2 without the new gcc just fine).

Thanks Georg,

After some arbitrary renaming, we have two suse rpms in ftp.lyx.org:

lyx-1.3.4-1suse82and90.i386.rpm
lyx-1.3.4-1suse90_qt32.i386.rpm

Did I get the names right?

JMarc


full cite in text

2004-03-08 Thread Leuven, E.
dear all,

i want to make a reading list for a syllabus. 

is there a way to insert the full citation in the text instead of having the 
bibliography at the end, while using my bibtex database (and avoid the typing)?

i want to have something like

topic 1

- Jones B, and A. Smith. (2004). Title. Publisher.
- Smith, A. and B. Jones. (2003). Title Journal, p 1-14. 

topic 2

- DuPont, J. (1999). Title Journal, p 32-43.

etc.

i hope someone has been here before...

thanks, edwin


Compiler fuer 1.3.4

2004-03-08 Thread Sabine 'Sani' Schulz
Moin, moin,

leider reichen meine Englischkenntnisse nicht zum Schreiben, daher in
Deutsch, ich bitte um Entschuldigung.

Ich benutze debian woody und möchte 1.3.4 installieren, bekomme dabei
die Meldung:

checking for a good enough C++ compiler... ./configure: line 3666: -c: command not 
found
gcc: installation problem, cannot exec `cc1plus': No such file or directory
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
configure: error: Unable to find a good enough C++ compiler


Kann mir jemand sagen, welchen Compiler ich brauche?

Vielen Dank + Gruesse
Sabine, Linuxnewbie



Re: Two-sided document

2004-03-08 Thread Rich Shepard
On Mon, 8 Mar 2004, Markus Amersdorfer wrote:

 If I set my LyX-document to be a two-sided one, it does change the layout
 accordingly, but it seems to leave bigger margins to the outer part of
 the page and smaller margins to the inner part. Shouldn't it be just the
 other way round? If I have my document printed out and be bound as a book,
 shouldn't there be more space in the middle of a double-page due to the
 binding process consuming some space?

Max,

  It does intuitively seem like the inner margins should be larger so the
text is centered on the visible page after binding. However, some books have
larger margins on the page edge. Perhaps for motes? I've seen both in the
technical books I have. I suspect it's a page layout decision without a
single answer.

Rich

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


Re: Compiler fuer 1.3.4

2004-03-08 Thread Tuukka Toivonen
On Mon, 8 Mar 2004, Sabine 'Sani' Schulz wrote:

checking for a good enough C++ compiler... ./configure: line 3666: -c: command not 
found
gcc: installation problem, cannot exec `cc1plus': No such file or directory
./configure: line 3666: -c: command not found

I don't understand german (if that's what you're speaking) but from the
errors it looks like environment variable CC is defined but empty. Try
giving first commands
CC=gcc
CXX=g++
export CC CXX
and then running configure again (better to remove first config.cache).


Re: full cite in text

2004-03-08 Thread Juergen Spitzmueller
Leuven, E. wrote:
 is there a way to insert the full citation in the text instead of having
 the bibliography at the end, while using my bibtex database (and avoid the
 typing)?

Hi Edwin,

Have a look at the bibentry package (shipped with natbib) or the jurabib 
package.

Regards,
Jürgen.


include openoffice import and export filters

2004-03-08 Thread Uwe Brauer
Hello

May be this suggestion has already be made:
there exists now an openoffice to latex export and import filter,
including mathematical formula.

1. Oolatex is a script shipped with tex4ht, which converts latex to
   sxw files.
2. Writer2latex is java export filter which converts sxw files to
   latex.

I think the first converter could be easily accessed from lyx.

The  second one  requires java,  and  can be   also executed  from the
command line. The latex file produced will need a special writer.sty.


Uwe Brauer 



Re: Note inset question

2004-03-08 Thread Günter Milde
On Sun, Mar 07, 2004 at 07:09:12PM +0100, Juergen Spitzmueller wrote:
 Uwe Stöhr wrote:
  Is there a possibility to include LyX's note insets into the LaTeX
  output as comment?
 
 No(t yet). LyX 1.4 will have an improved Note/Comment environment where you 
 can toggle between Note and Comment (i.e. the comment environment, not the 
 %-comments).

There is the possibility to (mis) use ERT-Boxes. Put your note there and
start it with a %. 

Export to LaTeX is fine, but reLyX will silently eat away all %-comments.

Could we have an import option to convert % soemthing\n either to a note or
to an ERT-Box?

Günter

-- 
G.Milde at web.de


Re: Note inset question

2004-03-08 Thread Georg Baum
Günter Milde wrote:

 On Sun, Mar 07, 2004 at 07:09:12PM +0100, Juergen Spitzmueller wrote:
 There is the possibility to (mis) use ERT-Boxes. Put your note there and
 start it with a %.
 
 Export to LaTeX is fine, but reLyX will silently eat away all
 %-comments.
 
 Could we have an import option to convert % soemthing\n either to a note
 or to an ERT-Box?

Try to implement it in reLyX. Then you'll see why it is not there already...
I once tried to improve reLyX, but have given up because it was too
difficult.
As I wrote, tex2lyx is a working alternative. This is the contents of a
wrapper script to produce lyx files for lyx 1.3:

#! /bin/sh
SUFFIX=-1.4
INSTDIR=/path/to/lyx1.4cvs
tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221


where the real tex2lyx is named tex2lyx-1.4.


Georg




Change index stype in lxy-native-windows port

2004-03-08 Thread Michael Dempfle
Hi,

I'm using the lyx 1.3.3 windows-native port with miktex and want to 
change my index
that it looks like.

A
...
B
..
..
..
C
..
Does anyone knows how this work with lyx + miktex?

Thanks,
Michael


Re: Change index stype in lxy-native-windows port

2004-03-08 Thread Jean-Pierre.Chretien

I'm using the lyx 1.3.3 windows-native port with miktex and want to 
change my index
that it looks like.

A
...
B
..
..
..
C
..

Does anyone knows how this work with lyx + miktex?

makeindex is an external program which changes index layouts
as described in a layout file (extension ist).

Check on your system or CTAN for .ist files, say foo.ist, then change the
default call to makeindex to
makeindex -s foo.ist name of file
I'm not sure that this can be changes from inside LyX.


-- 
Jean-Pierre





Re: Note inset question

2004-03-08 Thread Andre Poenitz
On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
 #! /bin/sh
 SUFFIX=-1.4
 INSTDIR=/path/to/lyx1.4cvs
 tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221

Shouldn't that be $@  (in double quotes?)

Andre'


Re: Two-sided document

2004-03-08 Thread Markus Amersdorfer
On Mon, 8 Mar 2004 10:33:21 +0100
Juergen Spitzmueller [EMAIL PROTECTED] wrote:

  If I set my LyX-document to be a two-sided one, it does change the
  layout accordingly, but it seems to leave bigger margins to the
  outer part of the page and smaller margins to the inner part.
  Shouldn't it be just the other way round?
 
 No. If you bind a two sided document, the two inner margins (left and
 right page) should have the same width than both outer margins.

Hmmm, sounds both strange and obvious at the same time. :)
Thanks for all your answers!

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

http://homex.subnet.at/~max/


best way for legends between figures and tables

2004-03-08 Thread Harold Mouras

Dear Lyx users,
I am at present working with Lyx on a thesis and am looking for the best way
to get homogenous legends between all figures and tables of the document.
Could you please give me some advice on the best way to do that, and how,
for a table for example, to insert a legend.
Thank you very much in advance,
Harold
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 05/03/2004



Re: best way for legends between figures and tables

2004-03-08 Thread Uwe Stöhr
I am at present working with Lyx on a thesis and am looking for the best way
to get homogenous legends between all figures and tables of the document.
Could you please give me some advice on the best way to do that, and how,
for a table for example, to insert a legend.
I assume that you want to insert captions for tables and figures. In 
this case look at the Userguide (chapter 4.3.1 for floats and chapter 
3.3.9.1 for the caption environment).


Re: Printing Comments environment?

2004-03-08 Thread Günter Milde
On Sun, Mar 07, 2004 at 10:29:33AM -0800, Stefano Franchi wrote:

 In the Document menu, choose Preamble and paste the following line:
 
 \usepackage{comment}
 
 And then one of the following two lines for if you want them printed 
 or not.
 
 \includecomment{comment}
 \excludecomment{comment}

 If I add
 
 \usepackage{comment}
 \includecomment{comment}
 
 to the preamble, TeX chokes after the first page and aborts,

I don't know how to solve this problem properly, but did you try to insert a
line

  \renewenvironment{comment}{}{}

or

  \renewenvironment{comment}{Comment: }{ End-of-Comment}


in your LaTeX preamble?

Günter

-- 
G.Milde at web.de


Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Markus Amersdorfer
On Sun, 07 Mar 2004 17:07:04 +
Angus Leeming <[EMAIL PROTECTED]> wrote:

> Bernd Mehnert wrote:
> > after that i wanted to have a look on how it appears as dvi-file and
> > then came an error like :
> > 
> > undefined control sequence
> > \includegraphics{file.pstex}%
> > the control sequence on the end of top line was never
> > definedso.o.
> 
> If you wish to continue with this "include" solution, then you need to
> add
> \usepackage{graphicx}
> to the document preamble. The "include" inset has no knowledge about 
> the stuff you're including.

Besides the graphicx-package mentioned above, I also had to include
  \usepackage{color}
in the document preamble.

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   

http://homex.subnet.at/~max/


Two-sided document

2004-03-08 Thread Markus Amersdorfer
Hi everyone!

If I set my LyX-document to be a two-sided one, it does change the
layout accordingly, but it seems to leave bigger margins to the "outer"
part of the page and smaller margins to the "inner" part.
Shouldn't it be just the other way round? If I have my document printed
out and be bound as a book, shouldn't there be more space "in the
middle" of a double-page due to the binding process consuming some
space?

If I used the default two-sided document in order to put the bigger
margins to the inner part of the book, this not only meant to falsely
have odd pages on the left and even pages on right hand side but also
would lead to marginal notes being placed in the inner part too (and
thus possibly be hard to read).

Comments would be very much appreciated!

Thanks 'n' cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   

http://homex.subnet.at/~max/


Re: Two-sided document

2004-03-08 Thread Christian Ridderström
On Mon, 8 Mar 2004, Markus Amersdorfer wrote:

> Hi everyone!
> 
> If I set my LyX-document to be a two-sided one, it does change the
> layout accordingly, but it seems to leave bigger margins to the "outer"
> part of the page and smaller margins to the "inner" part.
> Shouldn't it be just the other way round? If I have my document printed
> out and be bound as a book, shouldn't there be more space "in the
> middle" of a double-page due to the binding process consuming some
> space?

See
http://wiki.lyx.org/beta/pmwiki.php/FAQ/Unsorted#bookMargins

for a brief explanation.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: (new user) how to import a bibliographic database from a medline querry ?

2004-03-08 Thread tom mettner
On Sun, 7 Mar 2004 09:33:48 +0100
[EMAIL PROTECTED] (Juergen Spitzmueller) wrote:

> under Linux, there's 
> the bibliography frontend pybliographic

And there ist the excellent Java Tool "JabRef". Just use Google to find it.

HTH too
Tom


Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Angus Leeming
Markus Amersdorfer wrote:
> Besides the graphicx-package mentioned above, I also had to include
>   \usepackage{color}
> in the document preamble.

If you play with the settings of the text dialog in xfig you can use 
the default font of your document. That get's around this particular 
requirement if you're using black text.

I can't remember the details, but the 3rd column of the pstex_t file 
entry for a text entry should be '-1'.

-- 
Angus



Re: Two-sided document

2004-03-08 Thread Juergen Spitzmueller
Markus Amersdorfer wrote:
> If I set my LyX-document to be a two-sided one, it does change the
> layout accordingly, but it seems to leave bigger margins to the "outer"
> part of the page and smaller margins to the "inner" part.
> Shouldn't it be just the other way round? If I have my document printed
> out and be bound as a book, shouldn't there be more space "in the
> middle" of a double-page due to the binding process consuming some
> space?

No. If you bind a two sided document, the two inner margins (left and right 
page) should have the same width than both outer margins.
For the binding process, you have to additionally add a "binding correction" 
value, which is added to the inner margin. KOMA script has the document 
option "BCOR=" for this.

In general, you should read chapter 2 of the KOMA script documentation (on 
page layout and margins):
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguide.pdf

Jürgen.


Re: again xfig + lyx + latex/ps-export.

2004-03-08 Thread Angus Leeming
Angus Leeming wrote:
> Markus Amersdorfer wrote:
>> Besides the graphicx-package mentioned above, I also had to include
>>   \usepackage{color}
>> in the document preamble.
> 
> If you play with the settings of the text dialog in xfig you can use
> the default font of your document. That get's around this particular
> requirement if you're using black text.
> 
> I can't remember the details, but the 3rd column of the pstex_t file
> entry for a text entry should be '-1'.

Sorry, that's the '.fig' file, of course. Note the '-1' in 
the third column here:

4 2 -1 0 -1 0 10.000  0.000 3 125.000 2700.000 6387 1580 
$v(x)=1-\\frac{1}{4}\\cos(2\\pi{}x)$\001

-- 



Re: SuSE again...

2004-03-08 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> It seems that everybody capable of building rpms has no vanilla
Georg> setup anymore, so I took the time and built an rpm on SuSE 8.2
Georg> (stock install with all online updates and the new gcc). It is
Georg> now in ftp://ftp.lyx.org/ incoming/. It should work on SuSE 9.0
Georg> and 8.2 machines with the old gcc, too. (I did not test this
Georg> one, but the 1.3cvs version I regularly compile on 8.2 works on
Georg> 9.0 and on 8.2 without the new gcc just fine).

Thanks Georg,

After some arbitrary renaming, we have two suse rpms in ftp.lyx.org:

lyx-1.3.4-1suse82and90.i386.rpm
lyx-1.3.4-1suse90_qt32.i386.rpm

Did I get the names right?

JMarc


full cite in text

2004-03-08 Thread Leuven, E.
dear all,

i want to make a reading list for a syllabus. 

is there a way to insert the full citation in the text instead of having the 
bibliography at the end, while using my bibtex database (and avoid the typing)?

i want to have something like

topic 1

- Jones B, and A. Smith. (2004). "Title". Publisher.
- Smith, A. and B. Jones. (2003). "Title" Journal, p 1-14. 

topic 2

- DuPont, J. (1999). "Title" Journal, p 32-43.

etc.

i hope someone has been here before...

thanks, edwin


Compiler fuer 1.3.4

2004-03-08 Thread Sabine 'Sani' Schulz
Moin, moin,

leider reichen meine Englischkenntnisse nicht zum Schreiben, daher in
Deutsch, ich bitte um Entschuldigung.

Ich benutze debian woody und möchte 1.3.4 installieren, bekomme dabei
die Meldung:

checking for a good enough C++ compiler... ./configure: line 3666: -c: command not 
found
gcc: installation problem, cannot exec `cc1plus': No such file or directory
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
./configure: line 3666: -c: command not found
configure: error: Unable to find a good enough C++ compiler


Kann mir jemand sagen, welchen Compiler ich brauche?

Vielen Dank + Gruesse
Sabine, Linuxnewbie



Re: Two-sided document

2004-03-08 Thread Rich Shepard
On Mon, 8 Mar 2004, Markus Amersdorfer wrote:

> If I set my LyX-document to be a two-sided one, it does change the layout
> accordingly, but it seems to leave bigger margins to the "outer" part of
> the page and smaller margins to the "inner" part. Shouldn't it be just the
> other way round? If I have my document printed out and be bound as a book,
> shouldn't there be more space "in the middle" of a double-page due to the
> binding process consuming some space?

Max,

  It does intuitively seem like the inner margins should be larger so the
text is centered on the visible page after binding. However, some books have
larger margins on the page edge. Perhaps for motes? I've seen both in the
technical books I have. I suspect it's a page layout decision without a
single answer.

Rich

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



Re: Compiler fuer 1.3.4

2004-03-08 Thread Tuukka Toivonen
On Mon, 8 Mar 2004, Sabine 'Sani' Schulz wrote:

>checking for a good enough C++ compiler... ./configure: line 3666: -c: command not 
>found
>gcc: installation problem, cannot exec `cc1plus': No such file or directory
>./configure: line 3666: -c: command not found

I don't understand german (if that's what you're speaking) but from the
errors it looks like environment variable CC is defined but empty. Try
giving first commands
CC="gcc"
CXX="g++"
export CC CXX
and then running configure again (better to remove first config.cache).


Re: full cite in text

2004-03-08 Thread Juergen Spitzmueller
Leuven, E. wrote:
> is there a way to insert the full citation in the text instead of having
> the bibliography at the end, while using my bibtex database (and avoid the
> typing)?

Hi Edwin,

Have a look at the bibentry package (shipped with natbib) or the jurabib 
package.

Regards,
Jürgen.


include openoffice import and export filters

2004-03-08 Thread Uwe Brauer
Hello

May be this suggestion has already be made:
there exists now an openoffice to latex export and import filter,
including mathematical formula.

1. Oolatex is a script shipped with tex4ht, which converts latex to
   sxw files.
2. Writer2latex is java export filter which converts sxw files to
   latex.

I think the first converter could be easily accessed from lyx.

The  second one  requires java,  and  can be   also executed  from the
command line. The latex file produced will need a special writer.sty.


Uwe Brauer 



Re: Note inset question

2004-03-08 Thread Günter Milde
On Sun, Mar 07, 2004 at 07:09:12PM +0100, Juergen Spitzmueller wrote:
> Uwe Stöhr wrote:
> > Is there a possibility to include LyX's note insets into the LaTeX
> > output as comment?
> 
> No(t yet). LyX 1.4 will have an improved Note/Comment environment where you 
> can toggle between Note and Comment (i.e. the comment environment, not the 
> %-comments).

There is the possibility to (mis) use ERT-Boxes. Put your note there and
start it with a "%". 

Export to LaTeX is fine, but reLyX will silently eat away all "%"-comments.

Could we have an import option to convert "% soemthing\n" either to a note or
to an ERT-Box?

Günter

-- 
G.Milde at web.de


Re: Note inset question

2004-03-08 Thread Georg Baum
Günter Milde wrote:

> On Sun, Mar 07, 2004 at 07:09:12PM +0100, Juergen Spitzmueller wrote:
> There is the possibility to (mis) use ERT-Boxes. Put your note there and
> start it with a "%".
> 
> Export to LaTeX is fine, but reLyX will silently eat away all
> "%"-comments.
> 
> Could we have an import option to convert "% soemthing\n" either to a note
> or to an ERT-Box?

Try to implement it in reLyX. Then you'll see why it is not there already...
I once tried to improve reLyX, but have given up because it was too
difficult.
As I wrote, tex2lyx is a working alternative. This is the contents of a
wrapper script to produce lyx files for lyx 1.3:

#! /bin/sh
SUFFIX="-1.4"
INSTDIR="/path/to/lyx1.4cvs"
tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221


where the "real" tex2lyx is named tex2lyx-1.4.


Georg




Change index stype in lxy-native-windows port

2004-03-08 Thread Michael Dempfle
Hi,

I'm using the lyx 1.3.3 windows-native port with miktex and want to 
change my index
that it looks like.

A
...
B
..
..
..
C
..
Does anyone knows how this work with lyx + miktex?

Thanks,
Michael


Re: Change index stype in lxy-native-windows port

2004-03-08 Thread Jean-Pierre.Chretien

>>I'm using the lyx 1.3.3 windows-native port with miktex and want to 
>>change my index
>>that it looks like.
>>
>>A
>>...
>>B
>>..
>>..
>>..
>>C
>>..
>>
>>Does anyone knows how this work with lyx + miktex?

makeindex is an external program which changes index layouts
as described in a layout file (extension ist).

Check on your system or CTAN for .ist files, say foo.ist, then change the
default call to makeindex to
makeindex -s foo.ist 
I'm not sure that this can be changes from inside LyX.


-- 
Jean-Pierre





Re: Note inset question

2004-03-08 Thread Andre Poenitz
On Mon, Mar 08, 2004 at 05:55:48PM +0100, Georg Baum wrote:
> #! /bin/sh
> SUFFIX="-1.4"
> INSTDIR="/path/to/lyx1.4cvs"
> tex2lyx${SUFFIX} $@ | ${INSTDIR}/share/lyx/lyx2lyx/lyx2lyx -t 221

Shouldn't that be "$@"  (in double quotes?)

Andre'


Re: Two-sided document

2004-03-08 Thread Markus Amersdorfer
On Mon, 8 Mar 2004 10:33:21 +0100
"Juergen Spitzmueller" <[EMAIL PROTECTED]> wrote:

> > If I set my LyX-document to be a two-sided one, it does change the
> > layout accordingly, but it seems to leave bigger margins to the
> > "outer" part of the page and smaller margins to the "inner" part.
> > Shouldn't it be just the other way round?
> 
> No. If you bind a two sided document, the two inner margins (left and
> right page) should have the same width than both outer margins.

Hmmm, sounds both strange and obvious at the same time. :)
Thanks for all your answers!

Cheers,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   

http://homex.subnet.at/~max/


best way for legends between figures and tables

2004-03-08 Thread Harold Mouras

Dear Lyx users,
I am at present working with Lyx on a thesis and am looking for the best way
to get homogenous legends between all figures and tables of the document.
Could you please give me some advice on the best way to do that, and how,
for a table for example, to insert a legend.
Thank you very much in advance,
Harold
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 05/03/2004



Re: best way for legends between figures and tables

2004-03-08 Thread Uwe Stöhr
I am at present working with Lyx on a thesis and am looking for the best way
to get homogenous legends between all figures and tables of the document.
Could you please give me some advice on the best way to do that, and how,
for a table for example, to insert a legend.
I assume that you want to insert captions for tables and figures. In 
this case look at the Userguide (chapter 4.3.1 for floats and chapter 
3.3.9.1 for the caption environment).


Re: Printing Comments environment?

2004-03-08 Thread Günter Milde
On Sun, Mar 07, 2004 at 10:29:33AM -0800, Stefano Franchi wrote:

> >>In the Document menu, choose Preamble and paste the following line:
> >>
> >>\usepackage{comment}
> >>
> >>And then one of the following two lines for if you want them printed 
> >>or not.
> >>
> >>\includecomment{comment}
> >>\excludecomment{comment}

> If I add
> 
> \usepackage{comment}
> \includecomment{comment}
> 
> to the preamble, TeX chokes after the first page and aborts,

I don't know how to solve this problem properly, but did you try to insert a
line

  \renewenvironment{comment}{}{}

or

  \renewenvironment{comment}{Comment: }{ End-of-Comment}


in your LaTeX preamble?

Günter

-- 
G.Milde at web.de