failing to import latex files

2004-06-16 Thread Stefano Baroni
I am using lyx 1.3.4 on mac os (native aqua version).
When trying to import a LaTeX file *generated by LyX itself* (and not 
changed in any respect) I get the mysterious error message:
cannot convert file error while executing reLyX -f 'myfilename.tex'

What does it mean? the few other times that I tried I succeded even 
with latex files generated by humans.

Can anybody help?
Thanks in advance
Stefano
---
Stefano Baroni---  SISSADEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


Centering figures in floats and changing caption font size

2004-06-16 Thread Hassoun Karam
Hi List
I am trying to center all images included in floats (in a document) and 
change the font size of their captions. What is the code to be included 
in the preamble?

By the way, my Lyx refuses to center the images when I use the 'center' 
option in the Insert|Graphics|Rotation tab|Origin: Center. Any clues?

Using Lyx 1.3.4 on Mac Os X 10.2.8
I appreciate your help
Hassoun




wiki site looks as if is just been hacked!

2004-06-16 Thread Rob S
Hi List;

 

Wiki site has taken a hit from a hacker, how can one restore a page?

 

Regards

 

Rob S

 

 



failing to import latex files

2004-06-16 Thread Stefano Baroni
I am using lyx 1.3.4 on mac os (native aqua version).
When trying to import a LaTeX file *generated by LyX itself* (and not 
changed in any respect) I get the mysterious error message:
cannot convert file error while executing reLyX -f 'myfilename.tex'

What does it mean? the few other times that I tried I succeded even 
with latex files generated by humans.

Can anybody help?
Thanks in advance
Stefano
---
Stefano Baroni---  SISSADEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


Re: footnote in a table

2004-06-16 Thread Vinay Ramnath
Francisco Hidalgo Sola wrote:
El Mié 19 May 2004 08:55, Juergen Spitzmueller escribió:
Vinay Ramnath wrote:
is it possible to make a footnote in a table? I do get the superscript
number at the position of the word I want to make a note about, but I do
not get the actual footnote.
That's a LaTeX restriction. See
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footintab

I had the same problem some days ago, and I set the table as long table and 
the footnote appeared at the end of the page.

Really? I've also set it to long table (did that anyway), but in my 
case, it does not show. I use the article document class. Do you use 
another one?

Vinay


Re: Centering figures in floats and changing caption font size

2004-06-16 Thread Rich Shepard
On Wed, 16 Jun 2004, Hassoun Karam wrote:

 By the way, my Lyx refuses to center the images when I use the 'center'
 option in the Insert|Graphics|Rotation tab|Origin: Center. Any clues?

Hassoun,

  Try Format - Paragraph - Center

Rich

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


Clearing headers and page numbers in report

2004-06-16 Thread Rich Shepard
  My document is defined as style 'report'. The abstract has been renamed to
Executive Summary and is on a separate page from the title page. I use
fancyheader to put text in each page's header. To force the Executive
Summary and first page to be on a right-side page I use
\newpage
\mbox { }
after the title and after the Executive Summary. These work fine.

  However, both pages that should be blank contain the header and the page
number of '2'. I've not figured out how to remove them from those two pages.
I've tried various LaTeX macros (from my main local reference, Lipkin's
book) and I've looked on the tips and tricks Web page. Nothing's worked for
me. I see macros that are supposed to work for book and article style but
they're not working for my document in report style.

  Ideas appreciated.

Rich

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


Re: problem with oe french ligature

2004-06-16 Thread Helge Hafting
Rob S wrote:
Hi;
Try adding a space after the ERT box, this worked for me
mise en [\oe] uvre
 

I recommend putting the space inside the tex box instead,
it is part of the command - not the text. Using {} instead is even
better, because you really see what's going on.
Helge Hafting


Bessel functions in math mode

2004-06-16 Thread Alexandru Cabuz
Hello, list,

Does anybody know, what is the convention for putting special functions such 
as Bessel and Hankel functions in math formulas. Are they supposed to be 
italicized like variables, or in math-text font, like sin, cos, tan, etc. Cos 
there is no macro for Jn and Hn in the math palette. 

Thanks.

Alex.


Compiling with gcc 3.4

2004-06-16 Thread John Coppens
Hi all

I tried to compile 1.3.4 with gcc 3.4 - I don't know if that is the motive
for the errors, but here they are:

In file included from ../../boost/boost/format.hpp:50,
 from ../../src/BoostFormat.h:9,
 from formulamacro.C:43:
../../boost/boost/format/format_implementation.hpp: 
In member function `boost::basic_formatCh, Tr
boost::basic_formatcharT,
Traits::clear_bind(int)':../../boost/boost/format/format_implementation.
hpp:155: error: `out_of_range_bit' undeclared (first use this function)

../../boost/boost/format/format_implementation.hpp:155:
error:(Each undeclared identifier is reported only once for each function
it appears in.) In file included from formulamacro.C:43:

I added   io::out_of_range_bit  (the io:: bit) but other errors seem
to be present. I have little experience in C++ programming, sorry.

Suggestions?

John

PS: I'm re-posting this message (slightly updated) - yesterday it didn't
get through, it seems.


DOS seems over

2004-06-16 Thread mw
DOS on rsync/smtp seems over.  They are checking the affected servers
for possible entries as we speak.  I am told I would be allowed to
access by box in the afternoon.

Mate
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


latex2html not found (win32)

2004-06-16 Thread Gour
Hi!

I am trying to setup lyx on win32 so I can write detailed instructions for
my friend on Win32  :-)

One of the problems is that latex2html is not recognized by the configure
script.

I use the updated script and it recognizes gsview32, Acrobat reader ... but not
latex2html and I'm wondering how it can since there is no latex2html, only
latex2html.bat which does not work, afaik, under shell.

Any idea?

Sincerely,
Gour

-- 
Gour| [EMAIL PROTECTED]
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 


The (eternal?) EPS-problem

2004-06-16 Thread John Coppens
Hi all.

I've spent a good while experimenting with EPS figures. I wrote a program
using GnomePrint, which produces PS files. These seem to include a few
commands which do not allow using the bounding box. I've noticed many
threads on the EPS theme, but have not been able to find a solution
(including none of the various preamble tricks worked). I've installed gs
8.01, as the previous version segfaulted with ps2epsi. Tests done
include:

- use ps2eps (bbox is correctly detected)
- use ps2epsi (idem)
- use convert file.ps EPS:file.eps (Someone said convert would rasterize.
  Doesn't seem so)
- editing manually the ps or eps files
- viewing with gv/saving with bbox
- adding -dEPSCrop to the converter
- adding -dUseBoundingBox (?) to the converter
- enabling the 'clip to' in LyX
- changed gs versions

In many combinations I found that gv showed the image correctly bounded to
the image, and in some cases even LyX showed the image clipped correctly.
In all cases though, the resulting PDF included all the white space above
the image, pushing image down, half out of the page, ignoring the bounding
box.

Help!

John

PS: if someone wants to try, I've put a gzipped PS file:

http://www.jcoppens.com/misc/tests/ej4-1.ps.gz


Re: Clearing headers and page numbers in report

2004-06-16 Thread Jean-Pierre.Chretien

Date: Wed, 16 Jun 2004 08:44:56 -0700 (PDT)
From: Rich Shepard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Clearing headers and page numbers in report
X-message-flag: Sent virus-free from a linux system.

  My document is defined as style 'report'. The abstract has been renamed to
Executive Summary and is on a separate page from the title page. I use
fancyheader to put text in each page's header. To force the Executive
Summary and first page to be on a right-side page I use
\newpage
\mbox { }
after the title and after the Executive Summary. These work fine.

  However, both pages that should be blank contain the header and the page
number of '2'. I've not figured out how to remove them from those two pages.
I've tried various LaTeX macros (from my main local reference, Lipkin's
book) and I've looked on the tips and tricks Web page. Nothing's worked for
me. I see macros that are supposed to work for book and article style but
they're not working for my document in report style.

Here is what I use (in the preamble, there are active @s as it is
patched in a variant of the report class):
[EMAIL PROTECTED] [EMAIL PROTECTED]
  \hbox{}
  \vspace*{\fill}
~
  \vspace{\fill}
  \thispagestyle{empty}
  \newpage
  [EMAIL PROTECTED]

Should do both things: print the next page as a right page and make
it empty.

-- 
Jean-Pierre




Re: table of contents links

2004-06-16 Thread Roland Schmitz
Hi,

after reading:
Am Freitag, 30. April 2004 09:22 schrieb Dominique Buenzli:
  Here's what I do.  It isn't necessarily a pure LyX solution, but it
  works very well (and handles several other problems in creating a
  good-looking PDF).
 
  I use tex2pdf, which is a Perl script you can find on Berlios:
  http://tex2pdf.berlios.de/
 
  It produces *very* nice PDF output from a LyX input.  You have to run
  it from the prompt, providing the .lyx file as the argument.  It will
  automatically run bibTeX and can run makeindex, if that's needed.
  It's very configurable.

i tried to generate my PDF documents with tex2pdf. As far as good, but if got 
two problems with it
1) at the end of my document there is the bibliograhpy and the index. If i 
gererate a pdf document with tex2pdf the index is missing, if i use dvipdfm 
it's ok.
2) acroread show's all chapters of my document in the bookmarklist expect one 
(the second) chapter. I can't the any difference, between this chapter an the 
other ones.

I also posted this to the tex2pdf mailinglist, but till now i got no answer.

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz


References

2004-06-16 Thread Roland Schmitz
Hi,

is it possible to insert a cross reference to a chapter, section or 
subsection, or even to a figure, without inserting a marker for every 
heading?

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz


Re: The (eternal?) EPS-problem

2004-06-16 Thread Georg Baum
John Coppens wrote:

 Hi all.
 
 I've spent a good while experimenting with EPS figures. I wrote a program
 using GnomePrint, which produces PS files. These seem to include a few
 commands which do not allow using the bounding box. I've noticed many
 threads on the EPS theme, but have not been able to find a solution
 (including none of the various preamble tricks worked). I've installed gs
 8.01, as the previous version segfaulted with ps2epsi. Tests done
 include:

{...}
 
 In many combinations I found that gv showed the image correctly bounded to
 the image, and in some cases even LyX showed the image clipped correctly.

You know that gv shows the whole paper sheet if %%DocumentMedia: is defined?
You have to select BBox if you want to see only the contents of the
bounding box. lyx seems to follow this rule, too (this is IMHO a bug, since
the printed output obeys the bounding box). If you don't want that, remove
%%DocumentMedia:. (I would not care too much, since the output is ok in
both cases)

 In all cases though, the resulting PDF included all the white space above
 the image, pushing image down, half out of the page, ignoring the bounding
 box.

It does not ignore the bounding box. Your bounding box does include all the
whitespace. If you change

%%BoundingBox: 0 0 596 842

to

%%BoundingBox: 0 0 454 454

everything is fine. I got that value by using pstops, for some reason my
ps2epsi cannot convert the file.


Georg



Compiling with gcc 3.4

2004-06-16 Thread John Coppens
Hi all

I tried to compile 1.3.4 with gcc 3.4 - I don't know if that is the motive
for the errors, but here they are:

In file included from ../../boost/boost/format.hpp:50,
 from ../../src/BoostFormat.h:9,
 from formulamacro.C:43:
../../boost/boost/format/format_implementation.hpp: 
In member function `boost::basic_formatCh, Tr
boost::basic_formatcharT,
Traits::clear_bind(int)':../../boost/boost/format/format_implementation.
hpp:155: error: `out_of_range_bit' undeclared (first use this function)

../../boost/boost/format/format_implementation.hpp:155:
error:(Each undeclared identifier is reported only once for each function
it appears in.) In file included from formulamacro.C:43:

I tried to add

#include boost/format/format_fwd.hpp

to format_implementation.hpp but that didn't help...

Please...

John


Re: Compiling with gcc 3.4

2004-06-16 Thread Angus Leeming
John Coppens wrote:
 I tried to compile 1.3.4 with gcc 3.4

Hi, John.

A bunch of fixes have been checked into the 1.3.x branch so that it will
compile with gcc 3.4. (Why are you compiling with this compiler by the
way? You'll have to also compile the Qt libraries if you want the thing
to link.)

My advice to you is either:
* use the compiler that comes with your distro, or
* check out the 1.3.x branch from cvs and compile that.

I tried to isolate the changes, but they are two many and two big, so I
gave up.

-- 
Angus



Re: References

2004-06-16 Thread Rich Shepard
On Sun, 13 Jun 2004, Roland Schmitz wrote:

 is it possible to insert a cross reference to a chapter, section or
 subsection, or even to a figure, without inserting a marker for every
 heading?

Roland,

  Every cross-reference must be to a label. So, the direct answer to your
question is no; unreferenced parts do not need a label. However, the
answer is also yes because the cross-reference must be to something.

  I insert them as required.

Rich

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


Re: wiki site looks as if is just been hacked!

2004-06-16 Thread Christian Ridderström
On Wed, 16 Jun 2004, Rob S wrote:

 Hi List;
 
 Wiki site has taken a hit from a hacker, how can one restore a page?

You obviously figured it out. A big thank you to you and Michael for 
restoring the pages. Let me know if there were any you couldn't fix.

For the future, should I make a password required in order to edit a page?
The password for uploading files is simply 'lyx', and I could just set the 
edit password to 'lyx' as well.

regards
/Christian

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




Should the wiki be password protected? (was: wiki site looks as if is just been hacked!)

2004-06-16 Thread Christian Ridderström
On Wed, 16 Jun 2004, Christian Ridderström wrote:

 On Wed, 16 Jun 2004, Rob S wrote:
 
  Hi List;
  
  Wiki site has taken a hit from a hacker, how can one restore a page?
 
 You obviously figured it out. A big thank you to you and Michael for 
 restoring the pages. Let me know if there were any you couldn't fix.

For the future, should I make a password required in order to edit a page 
on the wiki?

The password for uploading files is simply 'lyx', and I could just set the 
edit password to 'lyx' as well.

Opinions and comments on this please.
 
/Christian

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




Re: The (eternal?) EPS-problem

2004-06-16 Thread John Coppens
On Wed, 16 Jun 2004 19:31:34 +0200
Georg Baum [EMAIL PROTECTED] wrote:

 
 It does not ignore the bounding box. Your bounding box does include all
 the whitespace. If you change
 
 %%BoundingBox: 0 0 596 842
 to
 %%BoundingBox: 0 0 454 454

Hello Georg

Thanks for the reply. It doesn't work though. Did you try to generate a
PDF(latex) from the graph? The graph is always at the bottom (because of
the white space above). I even tried to remove the line:

%%DocumentMedia: Regular 595 841 0 () ()

John

Here are some more tests:

1) I modified the Bounding Box as above in the PS file and included it
directly. Then even clipping doesn't work on the LyX screen. PDF has
entire page.

2) I converted to EPS with ps2eps:

ej4# ps2eps -f ej4-1.ps
Input files: ej4-1.ps
Processing: ej4-1.ps
Rendering with existing %%BoundingBox: 0 0 454 454
Calculating Bounding Box...ready. %%BoundingBox: 0 1 454 454
Creating output file ej4-1.eps...ready.

Inside the EPS:

%%BoundingBox: 0 1 454 454
%%HiResBoundingBox: 0.00 1.00 453.50 454.00

No luck - LyX shows entire page, doesn't clip, and PDF contains entire
page.

3) convert ej4-1.ps EPS:ej4-1.eps

LyX shows the image clipped! PDF _still_ shows the entire page.

Inside the EPS:

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 0 0 454 454
%%HiResBoundingBox: 0.00 0.00 453.679297 453.544141

4) ps2epsi ej4-1.ps

%%BoundingBox: 0 0 454 454

Same as 3): Clipped in LyX, full page in PDF.


Re: Compiling with gcc 3.4

2004-06-16 Thread John Coppens
On Wed, 16 Jun 2004 19:23:07 +0100
Angus Leeming [EMAIL PROTECTED] wrote:

 John Coppens wrote:
  I tried to compile 1.3.4 with gcc 3.4
 
 Hi, John.
 
 A bunch of fixes have been checked into the 1.3.x branch so that it will
 compile with gcc 3.4. (Why are you compiling with this compiler by the
 way? You'll have to also compile the Qt libraries if you want the thing
 to link.)
 
 My advice to you is either:
 * use the compiler that comes with your distro, or
 * check out the 1.3.x branch from cvs and compile that.

Hi Angus.

Thanks for replying. I didn't think about the necessity of recompiling Qt
- not entirely logical either, is it? I installed 3.4, because I had to
upgrade anyway - I encountered a problem with another program - so I took
the last version available.

I'll check out CVS. Thanks!

John


Re: Should the wiki be password protected? (was: wiki site looks as if is just been hacked!)

2004-06-16 Thread Christian Ridderström
On Wed, 16 Jun 2004, John Levon wrote:

 On Wed, Jun 16, 2004 at 09:10:14PM +0200, Christian Ridderstr?m wrote:
 
  The password for uploading files is simply 'lyx', and I could just set the 
  edit password to 'lyx' as well.
 
 I think we are forced to do something like this. For a first round, we
 can add text directly above that gives users the password directly.

I like that idea. Exactly where would you like to write down the password?  
Do you mean next to the link 'Edit page' at the top right corner of each 
page?  (We could have a text saying: The password of the day is 'lyx' :)

/Christian

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




Re: Compiling with gcc 3.4

2004-06-16 Thread Angus Leeming
John Coppens wrote:
 Hi Angus.
 
 Thanks for replying. I didn't think about the necessity of recompiling
 Qt - not entirely logical either, is it?

C++ is a PITA in this regard. Different compilers have different name
mangling schemes, so code compiled by one compiler will not link against
code compiled with another.

Is g++ 3.4 ABI compatible with g++ 3.3? If so, then all would be well, but
this has not been the case in the past.

-- 
Angus



Re: Bessel functions in math mode

2004-06-16 Thread Uwe Stöhr
Alexandru Cabuz wrote:
Does anybody know, what is the convention for putting special functions such 
as Bessel and Hankel functions in math formulas. Are they supposed to be 
italicized like variables, or in math-text font, like sin, cos, tan, etc. Cos 
there is no macro for Jn and Hn in the math palette.
They have to be upright like sin, cos etc.
You can define your own macro for 'Jn' if you write the following line 
into the preamble:

\DeclareMathOperator{\Jn}{Jn}
If you type now the command \Jn in a formula, you'll get the same as if 
you type \sin - upright letters with a half space before them.

regards Uwe
p.s. If you are able to read german, you can have a look at
http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.pdf
in section 15.2.


Re: References

2004-06-16 Thread Kenward Vaughan
On Sun, Jun 13, 2004 at 06:00:54PM +0200, Roland Schmitz wrote:
 Hi,
 
 is it possible to insert a cross reference to a chapter, section or 
 subsection, or even to a figure, without inserting a marker for every 
 heading?

I'm not sure exactly what you are thinking about--it struck me that you
might mean inserting a marker for every chapter (for example) in order
to reference one in the middle somewhere??

If so, then no, you don't have to mark all those previous ones (i.e.
yes in answer to your question!  :).  Simply tag the particular
chapter/heading/figure that you want to reference.


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: table of contents links

2004-06-16 Thread Uwe Stöhr
Roland Schmitz wrote:
I tried to generate my PDF documents with tex2pdf. As far as good, but if got 
two problems with it
1) at the end of my document there is the bibliograhpy and the index. If i 
gererate a pdf document with tex2pdf the index is missing, if i use dvipdfm 
it's ok.
Why don't you use pdflatex in the LyX menu File - Export? Probably the 
problem in your case is, that you forgot to run the program makeindex. 
If you use the menu File - Export, LyX will run pdflatex, makeindex and 
bibtex automatically as often as needed, so that you won't have such 
problems.

regards Uwe


Re: Compiling with gcc 3.4

2004-06-16 Thread John Coppens
On Wed, 16 Jun 2004 20:40:43 +0100
Angus Leeming [EMAIL PROTECTED] wrote:

 
 Is g++ 3.4 ABI compatible with g++ 3.3? If so, then all would be well,
 but this has not been the case in the past.
 

A quick search showed comments they are not compatible.

Thanks,
John


Re: table of contents links

2004-06-16 Thread Roland Schmitz
Hi,

Am Mittwoch, 16. Juni 2004 22:13 schrieb Uwe Stöhr:
 Why don't you use pdflatex in the LyX menu File - Export?
Because the result file is just about 33% as big as if i use pdflatex, links 
form the table of context, list of figures ... to the corosponding page are 
automaticly generated into the pdf. As far as i know, tex2pdf uses pdflatex 
also.
 Probably the  
 problem in your case is, that you forgot to run the program makeindex. 
 If you use the menu File - Export, LyX will run pdflatex, makeindex and 
 bibtex automatically as often as needed, so that you won't have such 
 problems.
I will check this again.

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz



Re: References

2004-06-16 Thread Roland Schmitz
Hi,

this is one of the features i like in word, every chapter, figure, ... is 
automaticly in the list of references.

Am Mittwoch, 16. Juni 2004 22:02 schrieb Kenward Vaughan:
 I'm not sure exactly what you are thinking about--it struck me that you
 might mean inserting a marker for every chapter (for example) in order
 to reference one in the middle somewhere??
 
 If so, then no, you don't have to mark all those previous ones (i.e.
 yes in answer to your question!  :).  Simply tag the particular
 chapter/heading/figure that you want to reference.
Ok, this tells me, that i have to mark all objects manualy.
This is no problem, but i thought there could be a automatism.

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz


Re: Clearing headers and page numbers in report

2004-06-16 Thread Rich Shepard
On Wed, 16 Jun 2004, Jean-Pierre.Chretien wrote:

 Here is what I use (in the preamble, there are active @s as it is
 patched in a variant of the report class):
 [EMAIL PROTECTED] [EMAIL PROTECTED]
   \hbox{}
   \vspace*{\fill}
 ~
   \vspace{\fill}
   \thispagestyle{empty}
   \newpage
   [EMAIL PROTECTED]

 Should do both things: print the next page as a right page and make
 it empty.

J-P,

  I must be especially dense today because I'm missing something important.

  When I put the above, verbatim, in the preamble, it makes no difference. I
still have the ERT of \newpage and \mbox{ } because if I take them out I
lose the blank, left page.

  What have I missed?

Thanks,

Rich

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


RE: Re: Re: \hyphenation

2004-06-16 Thread peter.may
Hello,

this is a kind of resend due to the inactive mailing-list the past few
days:

 If you use the \\sloppy command (in ERT or preamble?), LaTeX is not so
fuzzy
 about inter word spacing and a lot less hypenathion occures.

YES this is a good advice. Thanks.
I found some further informations at:
http://www.texnik.de/language/hyphen.phtml

:-)

german umlauts and spellchecker?

2004-06-16 Thread peter.may
Hello,

at every word  with one of the (in)famous german umlauts the spellchecker
will fail to add it to the (local) dictionary.

Actually it seems that the spellchecker expect some tex-style? and ins\'t
capable dealing with umlauts?

This would be a major drawback - or have i missed something?
Actually Lyx is set to use ispell using the ngerman dictionary.

Its really hard to see every word with umlauts marked beeing wrong spelled
and having no chance to add it?

Any suggestions are welcome!

:-)

Re: table of contents links

2004-06-16 Thread Uwe Stöhr
Roland Schmitz wrote:
Why don't you use pdflatex in the LyX menu File - Export?
Because the result file is just about 33% as big as if i use pdflatex
This is only possible if the images are highly compressed, but then they 
often look ugly. (compression depends on the eps-pdf converter)
Pdflatex has the advantage that you need no converter for png images.
(Btw. the upcoming pdflatex v1.2 produces always smaller pdf files.)

links 
form the table of context, list of figures ... to the corosponding page are 
automaticly generated into the pdf.
Links in pdf's are automatically created when you use the package 
'hyperref'. Here an example for the preamble

\usepackage[colorlinks=true,urlcolor=blue,citecolor=black,
filecolor=blue,linkcolor=black,pdfnewwindow=true,
pdftitle={your title},bookmarks,
pdfpagelayout=OneColumn,pdfstartview=XYZ,
bookmarksnumbered,plainpages=false,pdfpagelabels,
pdfauthor={your name},pdfsubject={your subject},
pdfkeywords={your keywords}]{hyperref}
 As far as i know, tex2pdf uses pdflatex
 also.
Yep this is true.
regards Uwe


Re: References

2004-06-16 Thread Kenward Vaughan
On Wed, Jun 16, 2004 at 11:00:51PM +0200, Roland Schmitz wrote:
 Hi,
 
 this is one of the features i like in word, every chapter, figure, ... is 
 automaticly in the list of references.

Perhaps someone could add that as a setup choice, but I'd personally
rather have a less bloated file.

 Am Mittwoch, 16. Juni 2004 22:02 schrieb Kenward Vaughan:
  I'm not sure exactly what you are thinking about--it struck me that you
  might mean inserting a marker for every chapter (for example) in order
  to reference one in the middle somewhere??
  
  If so, then no, you don't have to mark all those previous ones (i.e.
  yes in answer to your question!  :).  Simply tag the particular
  chapter/heading/figure that you want to reference.
 Ok, this tells me, that i have to mark all objects manualy.
 This is no problem, but i thought there could be a automatism.

AFAIK this is right.  I am open to correction, of course.  ;-)

You might be able to do it with a script which searches for specific
points within the LyX file and inserts the appropriate ERT incantation,
but my knowledge of such ends right here...

:-)

Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



lyx-remote script?

2004-06-16 Thread G. Milde
Dear Lyxers,

I would like to see a script, that 
   * opens a file in a LyX session, if there is an open one, or
   * starts LyX with the file, if there is no LyX running.

I thought about checking for ~.lyxpipe, 
  if it exists send an open file command there, 
  if not start LyX with file.

Is there already something like this? (Or could a LyX-guru write it on
the fly?)

Günter

-- 
G.Milde at web.de


Re: References

2004-06-16 Thread G. Milde
On 16.06.04, Kenward Vaughan wrote:
 On Wed, Jun 16, 2004 at 11:00:51PM +0200, Roland Schmitz wrote:
  Hi,
  
  this is one of the features i like in word, every chapter, figure, ... is 
  automaticly in the list of references.
 
 Perhaps someone could add that as a setup choice, but I'd personally
 rather have a less bloated file.

How about a InsertReference dialog that offers a choice of lists:
  * existing marks (default)
  * chapters, sections and sub...
  * figures
  * tables
  * equations
  
If I choose to reference one, then automatically both, the marker and the
reference are created (LyX already suggests an automatic label when
creating a marker).

This would not bloat the file (but maybe the InsertReference dialog ;-)

Günter

-- 
G.Milde at web.de


failing to import latex files

2004-06-16 Thread Stefano Baroni
I am using lyx 1.3.4 on mac os (native aqua version).
When trying to import a LaTeX file *generated by LyX itself* (and not 
changed in any respect) I get the mysterious error message:
cannot convert file error while executing reLyX -f 'myfilename.tex'

What does it mean? the few other times that I tried I succeded even 
with latex files generated by humans.

Can anybody help?
Thanks in advance
Stefano
---
Stefano Baroni---  SISSADEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


Centering figures in floats and changing caption font size

2004-06-16 Thread Hassoun Karam
Hi List
I am trying to center all images included in floats (in a document) and 
change the font size of their captions. What is the code to be included 
in the preamble?

By the way, my Lyx refuses to center the images when I use the 'center' 
option in the Insert|Graphics|Rotation tab|Origin: Center. Any clues?

Using Lyx 1.3.4 on Mac Os X 10.2.8
I appreciate your help
Hassoun




wiki site looks as if is just been hacked!

2004-06-16 Thread Rob S
Hi List;

 

Wiki site has taken a hit from a hacker, how can one restore a page?

 

Regards

 

Rob S

 

 



failing to import latex files

2004-06-16 Thread Stefano Baroni
I am using lyx 1.3.4 on mac os (native aqua version).
When trying to import a LaTeX file *generated by LyX itself* (and not 
changed in any respect) I get the mysterious error message:
cannot convert file error while executing reLyX -f 'myfilename.tex'

What does it mean? the few other times that I tried I succeded even 
with latex files generated by humans.

Can anybody help?
Thanks in advance
Stefano
---
Stefano Baroni---  SISSADEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


Re: footnote in a table

2004-06-16 Thread Vinay Ramnath
Francisco Hidalgo Sola wrote:
El Mié 19 May 2004 08:55, Juergen Spitzmueller escribió:
Vinay Ramnath wrote:
is it possible to make a footnote in a table? I do get the superscript
number at the position of the word I want to make a note about, but I do
not get the actual footnote.
That's a LaTeX restriction. See
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footintab

I had the same problem some days ago, and I set the table as long table and 
the footnote appeared at the end of the page.

Really? I've also set it to long table (did that anyway), but in my 
case, it does not show. I use the article document class. Do you use 
another one?

Vinay


Re: Centering figures in floats and changing caption font size

2004-06-16 Thread Rich Shepard
On Wed, 16 Jun 2004, Hassoun Karam wrote:

 By the way, my Lyx refuses to center the images when I use the 'center'
 option in the Insert|Graphics|Rotation tab|Origin: Center. Any clues?

Hassoun,

  Try Format - Paragraph - Center

Rich

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


Clearing headers and page numbers in report

2004-06-16 Thread Rich Shepard
  My document is defined as style 'report'. The abstract has been renamed to
Executive Summary and is on a separate page from the title page. I use
fancyheader to put text in each page's header. To force the Executive
Summary and first page to be on a right-side page I use
\newpage
\mbox { }
after the title and after the Executive Summary. These work fine.

  However, both pages that should be blank contain the header and the page
number of '2'. I've not figured out how to remove them from those two pages.
I've tried various LaTeX macros (from my main local reference, Lipkin's
book) and I've looked on the tips and tricks Web page. Nothing's worked for
me. I see macros that are supposed to work for book and article style but
they're not working for my document in report style.

  Ideas appreciated.

Rich

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


Re: problem with oe french ligature

2004-06-16 Thread Helge Hafting
Rob S wrote:
Hi;
Try adding a space after the ERT box, this worked for me
mise en [\oe] uvre
 

I recommend putting the space inside the tex box instead,
it is part of the command - not the text. Using {} instead is even
better, because you really see what's going on.
Helge Hafting


Bessel functions in math mode

2004-06-16 Thread Alexandru Cabuz
Hello, list,

Does anybody know, what is the convention for putting special functions such 
as Bessel and Hankel functions in math formulas. Are they supposed to be 
italicized like variables, or in math-text font, like sin, cos, tan, etc. Cos 
there is no macro for Jn and Hn in the math palette. 

Thanks.

Alex.


Compiling with gcc 3.4

2004-06-16 Thread John Coppens
Hi all

I tried to compile 1.3.4 with gcc 3.4 - I don't know if that is the motive
for the errors, but here they are:

In file included from ../../boost/boost/format.hpp:50,
 from ../../src/BoostFormat.h:9,
 from formulamacro.C:43:
../../boost/boost/format/format_implementation.hpp: 
In member function `boost::basic_formatCh, Tr
boost::basic_formatcharT,
Traits::clear_bind(int)':../../boost/boost/format/format_implementation.
hpp:155: error: `out_of_range_bit' undeclared (first use this function)

../../boost/boost/format/format_implementation.hpp:155:
error:(Each undeclared identifier is reported only once for each function
it appears in.) In file included from formulamacro.C:43:

I added   io::out_of_range_bit  (the io:: bit) but other errors seem
to be present. I have little experience in C++ programming, sorry.

Suggestions?

John

PS: I'm re-posting this message (slightly updated) - yesterday it didn't
get through, it seems.


DOS seems over

2004-06-16 Thread mw
DOS on rsync/smtp seems over.  They are checking the affected servers
for possible entries as we speak.  I am told I would be allowed to
access by box in the afternoon.

Mate
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


latex2html not found (win32)

2004-06-16 Thread Gour
Hi!

I am trying to setup lyx on win32 so I can write detailed instructions for
my friend on Win32  :-)

One of the problems is that latex2html is not recognized by the configure
script.

I use the updated script and it recognizes gsview32, Acrobat reader ... but not
latex2html and I'm wondering how it can since there is no latex2html, only
latex2html.bat which does not work, afaik, under shell.

Any idea?

Sincerely,
Gour

-- 
Gour| [EMAIL PROTECTED]
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 


The (eternal?) EPS-problem

2004-06-16 Thread John Coppens
Hi all.

I've spent a good while experimenting with EPS figures. I wrote a program
using GnomePrint, which produces PS files. These seem to include a few
commands which do not allow using the bounding box. I've noticed many
threads on the EPS theme, but have not been able to find a solution
(including none of the various preamble tricks worked). I've installed gs
8.01, as the previous version segfaulted with ps2epsi. Tests done
include:

- use ps2eps (bbox is correctly detected)
- use ps2epsi (idem)
- use convert file.ps EPS:file.eps (Someone said convert would rasterize.
  Doesn't seem so)
- editing manually the ps or eps files
- viewing with gv/saving with bbox
- adding -dEPSCrop to the converter
- adding -dUseBoundingBox (?) to the converter
- enabling the 'clip to' in LyX
- changed gs versions

In many combinations I found that gv showed the image correctly bounded to
the image, and in some cases even LyX showed the image clipped correctly.
In all cases though, the resulting PDF included all the white space above
the image, pushing image down, half out of the page, ignoring the bounding
box.

Help!

John

PS: if someone wants to try, I've put a gzipped PS file:

http://www.jcoppens.com/misc/tests/ej4-1.ps.gz


Re: Clearing headers and page numbers in report

2004-06-16 Thread Jean-Pierre.Chretien

Date: Wed, 16 Jun 2004 08:44:56 -0700 (PDT)
From: Rich Shepard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Clearing headers and page numbers in report
X-message-flag: Sent virus-free from a linux system.

  My document is defined as style 'report'. The abstract has been renamed to
Executive Summary and is on a separate page from the title page. I use
fancyheader to put text in each page's header. To force the Executive
Summary and first page to be on a right-side page I use
\newpage
\mbox { }
after the title and after the Executive Summary. These work fine.

  However, both pages that should be blank contain the header and the page
number of '2'. I've not figured out how to remove them from those two pages.
I've tried various LaTeX macros (from my main local reference, Lipkin's
book) and I've looked on the tips and tricks Web page. Nothing's worked for
me. I see macros that are supposed to work for book and article style but
they're not working for my document in report style.

Here is what I use (in the preamble, there are active @s as it is
patched in a variant of the report class):
[EMAIL PROTECTED] [EMAIL PROTECTED]
  \hbox{}
  \vspace*{\fill}
~
  \vspace{\fill}
  \thispagestyle{empty}
  \newpage
  [EMAIL PROTECTED]

Should do both things: print the next page as a right page and make
it empty.

-- 
Jean-Pierre




Re: table of contents links

2004-06-16 Thread Roland Schmitz
Hi,

after reading:
Am Freitag, 30. April 2004 09:22 schrieb Dominique Buenzli:
  Here's what I do.  It isn't necessarily a pure LyX solution, but it
  works very well (and handles several other problems in creating a
  good-looking PDF).
 
  I use tex2pdf, which is a Perl script you can find on Berlios:
  http://tex2pdf.berlios.de/
 
  It produces *very* nice PDF output from a LyX input.  You have to run
  it from the prompt, providing the .lyx file as the argument.  It will
  automatically run bibTeX and can run makeindex, if that's needed.
  It's very configurable.

i tried to generate my PDF documents with tex2pdf. As far as good, but if got 
two problems with it
1) at the end of my document there is the bibliograhpy and the index. If i 
gererate a pdf document with tex2pdf the index is missing, if i use dvipdfm 
it's ok.
2) acroread show's all chapters of my document in the bookmarklist expect one 
(the second) chapter. I can't the any difference, between this chapter an the 
other ones.

I also posted this to the tex2pdf mailinglist, but till now i got no answer.

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz


References

2004-06-16 Thread Roland Schmitz
Hi,

is it possible to insert a cross reference to a chapter, section or 
subsection, or even to a figure, without inserting a marker for every 
heading?

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz


Re: The (eternal?) EPS-problem

2004-06-16 Thread Georg Baum
John Coppens wrote:

 Hi all.
 
 I've spent a good while experimenting with EPS figures. I wrote a program
 using GnomePrint, which produces PS files. These seem to include a few
 commands which do not allow using the bounding box. I've noticed many
 threads on the EPS theme, but have not been able to find a solution
 (including none of the various preamble tricks worked). I've installed gs
 8.01, as the previous version segfaulted with ps2epsi. Tests done
 include:

{...}
 
 In many combinations I found that gv showed the image correctly bounded to
 the image, and in some cases even LyX showed the image clipped correctly.

You know that gv shows the whole paper sheet if %%DocumentMedia: is defined?
You have to select BBox if you want to see only the contents of the
bounding box. lyx seems to follow this rule, too (this is IMHO a bug, since
the printed output obeys the bounding box). If you don't want that, remove
%%DocumentMedia:. (I would not care too much, since the output is ok in
both cases)

 In all cases though, the resulting PDF included all the white space above
 the image, pushing image down, half out of the page, ignoring the bounding
 box.

It does not ignore the bounding box. Your bounding box does include all the
whitespace. If you change

%%BoundingBox: 0 0 596 842

to

%%BoundingBox: 0 0 454 454

everything is fine. I got that value by using pstops, for some reason my
ps2epsi cannot convert the file.


Georg



Compiling with gcc 3.4

2004-06-16 Thread John Coppens
Hi all

I tried to compile 1.3.4 with gcc 3.4 - I don't know if that is the motive
for the errors, but here they are:

In file included from ../../boost/boost/format.hpp:50,
 from ../../src/BoostFormat.h:9,
 from formulamacro.C:43:
../../boost/boost/format/format_implementation.hpp: 
In member function `boost::basic_formatCh, Tr
boost::basic_formatcharT,
Traits::clear_bind(int)':../../boost/boost/format/format_implementation.
hpp:155: error: `out_of_range_bit' undeclared (first use this function)

../../boost/boost/format/format_implementation.hpp:155:
error:(Each undeclared identifier is reported only once for each function
it appears in.) In file included from formulamacro.C:43:

I tried to add

#include boost/format/format_fwd.hpp

to format_implementation.hpp but that didn't help...

Please...

John


Re: Compiling with gcc 3.4

2004-06-16 Thread Angus Leeming
John Coppens wrote:
 I tried to compile 1.3.4 with gcc 3.4

Hi, John.

A bunch of fixes have been checked into the 1.3.x branch so that it will
compile with gcc 3.4. (Why are you compiling with this compiler by the
way? You'll have to also compile the Qt libraries if you want the thing
to link.)

My advice to you is either:
* use the compiler that comes with your distro, or
* check out the 1.3.x branch from cvs and compile that.

I tried to isolate the changes, but they are two many and two big, so I
gave up.

-- 
Angus



Re: References

2004-06-16 Thread Rich Shepard
On Sun, 13 Jun 2004, Roland Schmitz wrote:

 is it possible to insert a cross reference to a chapter, section or
 subsection, or even to a figure, without inserting a marker for every
 heading?

Roland,

  Every cross-reference must be to a label. So, the direct answer to your
question is no; unreferenced parts do not need a label. However, the
answer is also yes because the cross-reference must be to something.

  I insert them as required.

Rich

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


Re: wiki site looks as if is just been hacked!

2004-06-16 Thread Christian Ridderström
On Wed, 16 Jun 2004, Rob S wrote:

 Hi List;
 
 Wiki site has taken a hit from a hacker, how can one restore a page?

You obviously figured it out. A big thank you to you and Michael for 
restoring the pages. Let me know if there were any you couldn't fix.

For the future, should I make a password required in order to edit a page?
The password for uploading files is simply 'lyx', and I could just set the 
edit password to 'lyx' as well.

regards
/Christian

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




Should the wiki be password protected? (was: wiki site looks as if is just been hacked!)

2004-06-16 Thread Christian Ridderström
On Wed, 16 Jun 2004, Christian Ridderström wrote:

 On Wed, 16 Jun 2004, Rob S wrote:
 
  Hi List;
  
  Wiki site has taken a hit from a hacker, how can one restore a page?
 
 You obviously figured it out. A big thank you to you and Michael for 
 restoring the pages. Let me know if there were any you couldn't fix.

For the future, should I make a password required in order to edit a page 
on the wiki?

The password for uploading files is simply 'lyx', and I could just set the 
edit password to 'lyx' as well.

Opinions and comments on this please.
 
/Christian

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




Re: The (eternal?) EPS-problem

2004-06-16 Thread John Coppens
On Wed, 16 Jun 2004 19:31:34 +0200
Georg Baum [EMAIL PROTECTED] wrote:

 
 It does not ignore the bounding box. Your bounding box does include all
 the whitespace. If you change
 
 %%BoundingBox: 0 0 596 842
 to
 %%BoundingBox: 0 0 454 454

Hello Georg

Thanks for the reply. It doesn't work though. Did you try to generate a
PDF(latex) from the graph? The graph is always at the bottom (because of
the white space above). I even tried to remove the line:

%%DocumentMedia: Regular 595 841 0 () ()

John

Here are some more tests:

1) I modified the Bounding Box as above in the PS file and included it
directly. Then even clipping doesn't work on the LyX screen. PDF has
entire page.

2) I converted to EPS with ps2eps:

ej4# ps2eps -f ej4-1.ps
Input files: ej4-1.ps
Processing: ej4-1.ps
Rendering with existing %%BoundingBox: 0 0 454 454
Calculating Bounding Box...ready. %%BoundingBox: 0 1 454 454
Creating output file ej4-1.eps...ready.

Inside the EPS:

%%BoundingBox: 0 1 454 454
%%HiResBoundingBox: 0.00 1.00 453.50 454.00

No luck - LyX shows entire page, doesn't clip, and PDF contains entire
page.

3) convert ej4-1.ps EPS:ej4-1.eps

LyX shows the image clipped! PDF _still_ shows the entire page.

Inside the EPS:

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 0 0 454 454
%%HiResBoundingBox: 0.00 0.00 453.679297 453.544141

4) ps2epsi ej4-1.ps

%%BoundingBox: 0 0 454 454

Same as 3): Clipped in LyX, full page in PDF.


Re: Compiling with gcc 3.4

2004-06-16 Thread John Coppens
On Wed, 16 Jun 2004 19:23:07 +0100
Angus Leeming [EMAIL PROTECTED] wrote:

 John Coppens wrote:
  I tried to compile 1.3.4 with gcc 3.4
 
 Hi, John.
 
 A bunch of fixes have been checked into the 1.3.x branch so that it will
 compile with gcc 3.4. (Why are you compiling with this compiler by the
 way? You'll have to also compile the Qt libraries if you want the thing
 to link.)
 
 My advice to you is either:
 * use the compiler that comes with your distro, or
 * check out the 1.3.x branch from cvs and compile that.

Hi Angus.

Thanks for replying. I didn't think about the necessity of recompiling Qt
- not entirely logical either, is it? I installed 3.4, because I had to
upgrade anyway - I encountered a problem with another program - so I took
the last version available.

I'll check out CVS. Thanks!

John


Re: Should the wiki be password protected? (was: wiki site looks as if is just been hacked!)

2004-06-16 Thread Christian Ridderström
On Wed, 16 Jun 2004, John Levon wrote:

 On Wed, Jun 16, 2004 at 09:10:14PM +0200, Christian Ridderstr?m wrote:
 
  The password for uploading files is simply 'lyx', and I could just set the 
  edit password to 'lyx' as well.
 
 I think we are forced to do something like this. For a first round, we
 can add text directly above that gives users the password directly.

I like that idea. Exactly where would you like to write down the password?  
Do you mean next to the link 'Edit page' at the top right corner of each 
page?  (We could have a text saying: The password of the day is 'lyx' :)

/Christian

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




Re: Compiling with gcc 3.4

2004-06-16 Thread Angus Leeming
John Coppens wrote:
 Hi Angus.
 
 Thanks for replying. I didn't think about the necessity of recompiling
 Qt - not entirely logical either, is it?

C++ is a PITA in this regard. Different compilers have different name
mangling schemes, so code compiled by one compiler will not link against
code compiled with another.

Is g++ 3.4 ABI compatible with g++ 3.3? If so, then all would be well, but
this has not been the case in the past.

-- 
Angus



Re: Bessel functions in math mode

2004-06-16 Thread Uwe Stöhr
Alexandru Cabuz wrote:
Does anybody know, what is the convention for putting special functions such 
as Bessel and Hankel functions in math formulas. Are they supposed to be 
italicized like variables, or in math-text font, like sin, cos, tan, etc. Cos 
there is no macro for Jn and Hn in the math palette.
They have to be upright like sin, cos etc.
You can define your own macro for 'Jn' if you write the following line 
into the preamble:

\DeclareMathOperator{\Jn}{Jn}
If you type now the command \Jn in a formula, you'll get the same as if 
you type \sin - upright letters with a half space before them.

regards Uwe
p.s. If you are able to read german, you can have a look at
http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.pdf
in section 15.2.


Re: References

2004-06-16 Thread Kenward Vaughan
On Sun, Jun 13, 2004 at 06:00:54PM +0200, Roland Schmitz wrote:
 Hi,
 
 is it possible to insert a cross reference to a chapter, section or 
 subsection, or even to a figure, without inserting a marker for every 
 heading?

I'm not sure exactly what you are thinking about--it struck me that you
might mean inserting a marker for every chapter (for example) in order
to reference one in the middle somewhere??

If so, then no, you don't have to mark all those previous ones (i.e.
yes in answer to your question!  :).  Simply tag the particular
chapter/heading/figure that you want to reference.


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: table of contents links

2004-06-16 Thread Uwe Stöhr
Roland Schmitz wrote:
I tried to generate my PDF documents with tex2pdf. As far as good, but if got 
two problems with it
1) at the end of my document there is the bibliograhpy and the index. If i 
gererate a pdf document with tex2pdf the index is missing, if i use dvipdfm 
it's ok.
Why don't you use pdflatex in the LyX menu File - Export? Probably the 
problem in your case is, that you forgot to run the program makeindex. 
If you use the menu File - Export, LyX will run pdflatex, makeindex and 
bibtex automatically as often as needed, so that you won't have such 
problems.

regards Uwe


Re: Compiling with gcc 3.4

2004-06-16 Thread John Coppens
On Wed, 16 Jun 2004 20:40:43 +0100
Angus Leeming [EMAIL PROTECTED] wrote:

 
 Is g++ 3.4 ABI compatible with g++ 3.3? If so, then all would be well,
 but this has not been the case in the past.
 

A quick search showed comments they are not compatible.

Thanks,
John


Re: table of contents links

2004-06-16 Thread Roland Schmitz
Hi,

Am Mittwoch, 16. Juni 2004 22:13 schrieb Uwe Stöhr:
 Why don't you use pdflatex in the LyX menu File - Export?
Because the result file is just about 33% as big as if i use pdflatex, links 
form the table of context, list of figures ... to the corosponding page are 
automaticly generated into the pdf. As far as i know, tex2pdf uses pdflatex 
also.
 Probably the  
 problem in your case is, that you forgot to run the program makeindex. 
 If you use the menu File - Export, LyX will run pdflatex, makeindex and 
 bibtex automatically as often as needed, so that you won't have such 
 problems.
I will check this again.

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz



Re: References

2004-06-16 Thread Roland Schmitz
Hi,

this is one of the features i like in word, every chapter, figure, ... is 
automaticly in the list of references.

Am Mittwoch, 16. Juni 2004 22:02 schrieb Kenward Vaughan:
 I'm not sure exactly what you are thinking about--it struck me that you
 might mean inserting a marker for every chapter (for example) in order
 to reference one in the middle somewhere??
 
 If so, then no, you don't have to mark all those previous ones (i.e.
 yes in answer to your question!  :).  Simply tag the particular
 chapter/heading/figure that you want to reference.
Ok, this tells me, that i have to mark all objects manualy.
This is no problem, but i thought there could be a automatism.

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz


Re: Clearing headers and page numbers in report

2004-06-16 Thread Rich Shepard
On Wed, 16 Jun 2004, Jean-Pierre.Chretien wrote:

 Here is what I use (in the preamble, there are active @s as it is
 patched in a variant of the report class):
 [EMAIL PROTECTED] [EMAIL PROTECTED]
   \hbox{}
   \vspace*{\fill}
 ~
   \vspace{\fill}
   \thispagestyle{empty}
   \newpage
   [EMAIL PROTECTED]

 Should do both things: print the next page as a right page and make
 it empty.

J-P,

  I must be especially dense today because I'm missing something important.

  When I put the above, verbatim, in the preamble, it makes no difference. I
still have the ERT of \newpage and \mbox{ } because if I take them out I
lose the blank, left page.

  What have I missed?

Thanks,

Rich

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


RE: Re: Re: \hyphenation

2004-06-16 Thread peter.may
Hello,

this is a kind of resend due to the inactive mailing-list the past few
days:

 If you use the \\sloppy command (in ERT or preamble?), LaTeX is not so
fuzzy
 about inter word spacing and a lot less hypenathion occures.

YES this is a good advice. Thanks.
I found some further informations at:
http://www.texnik.de/language/hyphen.phtml

:-)

german umlauts and spellchecker?

2004-06-16 Thread peter.may
Hello,

at every word  with one of the (in)famous german umlauts the spellchecker
will fail to add it to the (local) dictionary.

Actually it seems that the spellchecker expect some tex-style? and ins\'t
capable dealing with umlauts?

This would be a major drawback - or have i missed something?
Actually Lyx is set to use ispell using the ngerman dictionary.

Its really hard to see every word with umlauts marked beeing wrong spelled
and having no chance to add it?

Any suggestions are welcome!

:-)

Re: table of contents links

2004-06-16 Thread Uwe Stöhr
Roland Schmitz wrote:
Why don't you use pdflatex in the LyX menu File - Export?
Because the result file is just about 33% as big as if i use pdflatex
This is only possible if the images are highly compressed, but then they 
often look ugly. (compression depends on the eps-pdf converter)
Pdflatex has the advantage that you need no converter for png images.
(Btw. the upcoming pdflatex v1.2 produces always smaller pdf files.)

links 
form the table of context, list of figures ... to the corosponding page are 
automaticly generated into the pdf.
Links in pdf's are automatically created when you use the package 
'hyperref'. Here an example for the preamble

\usepackage[colorlinks=true,urlcolor=blue,citecolor=black,
filecolor=blue,linkcolor=black,pdfnewwindow=true,
pdftitle={your title},bookmarks,
pdfpagelayout=OneColumn,pdfstartview=XYZ,
bookmarksnumbered,plainpages=false,pdfpagelabels,
pdfauthor={your name},pdfsubject={your subject},
pdfkeywords={your keywords}]{hyperref}
 As far as i know, tex2pdf uses pdflatex
 also.
Yep this is true.
regards Uwe


Re: References

2004-06-16 Thread Kenward Vaughan
On Wed, Jun 16, 2004 at 11:00:51PM +0200, Roland Schmitz wrote:
 Hi,
 
 this is one of the features i like in word, every chapter, figure, ... is 
 automaticly in the list of references.

Perhaps someone could add that as a setup choice, but I'd personally
rather have a less bloated file.

 Am Mittwoch, 16. Juni 2004 22:02 schrieb Kenward Vaughan:
  I'm not sure exactly what you are thinking about--it struck me that you
  might mean inserting a marker for every chapter (for example) in order
  to reference one in the middle somewhere??
  
  If so, then no, you don't have to mark all those previous ones (i.e.
  yes in answer to your question!  :).  Simply tag the particular
  chapter/heading/figure that you want to reference.
 Ok, this tells me, that i have to mark all objects manualy.
 This is no problem, but i thought there could be a automatism.

AFAIK this is right.  I am open to correction, of course.  ;-)

You might be able to do it with a script which searches for specific
points within the LyX file and inserts the appropriate ERT incantation,
but my knowledge of such ends right here...

:-)

Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



lyx-remote script?

2004-06-16 Thread G. Milde
Dear Lyxers,

I would like to see a script, that 
   * opens a file in a LyX session, if there is an open one, or
   * starts LyX with the file, if there is no LyX running.

I thought about checking for ~.lyxpipe, 
  if it exists send an open file command there, 
  if not start LyX with file.

Is there already something like this? (Or could a LyX-guru write it on
the fly?)

Günter

-- 
G.Milde at web.de


Re: References

2004-06-16 Thread G. Milde
On 16.06.04, Kenward Vaughan wrote:
 On Wed, Jun 16, 2004 at 11:00:51PM +0200, Roland Schmitz wrote:
  Hi,
  
  this is one of the features i like in word, every chapter, figure, ... is 
  automaticly in the list of references.
 
 Perhaps someone could add that as a setup choice, but I'd personally
 rather have a less bloated file.

How about a InsertReference dialog that offers a choice of lists:
  * existing marks (default)
  * chapters, sections and sub...
  * figures
  * tables
  * equations
  
If I choose to reference one, then automatically both, the marker and the
reference are created (LyX already suggests an automatic label when
creating a marker).

This would not bloat the file (but maybe the InsertReference dialog ;-)

Günter

-- 
G.Milde at web.de


failing to import latex files

2004-06-16 Thread Stefano Baroni
I am using lyx 1.3.4 on mac os (native aqua version).
When trying to import a LaTeX file *generated by LyX itself* (and not 
changed in any respect) I get the mysterious error message:
"cannot convert file error while executing reLyX -f 'myfilename.tex'"

What does it mean? the few other times that I tried I succeded even 
with latex files generated by humans.

Can anybody help?
Thanks in advance
Stefano
---
Stefano Baroni---  SISSA  &  DEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


Centering figures in floats and changing caption font size

2004-06-16 Thread Hassoun Karam
Hi List
I am trying to center all images included in floats (in a document) and 
change the font size of their captions. What is the code to be included 
in the preamble?

By the way, my Lyx refuses to center the images when I use the 'center' 
option in the Insert|Graphics|Rotation tab|Origin: Center. Any clues?

Using Lyx 1.3.4 on Mac Os X 10.2.8
I appreciate your help
Hassoun




wiki site looks as if is just been hacked!

2004-06-16 Thread Rob S
Hi List;

 

Wiki site has taken a hit from a hacker, how can one restore a page?

 

Regards

 

Rob S

 

 



failing to import latex files

2004-06-16 Thread Stefano Baroni
I am using lyx 1.3.4 on mac os (native aqua version).
When trying to import a LaTeX file *generated by LyX itself* (and not 
changed in any respect) I get the mysterious error message:
"cannot convert file error while executing reLyX -f 'myfilename.tex'"

What does it mean? the few other times that I tried I succeded even 
with latex files generated by humans.

Can anybody help?
Thanks in advance
Stefano
---
Stefano Baroni---  SISSA  &  DEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


Re: footnote in a table

2004-06-16 Thread Vinay Ramnath
Francisco Hidalgo Sola wrote:
El Mié 19 May 2004 08:55, Juergen Spitzmueller escribió:
Vinay Ramnath wrote:
is it possible to make a footnote in a table? I do get the superscript
number at the position of the word I want to make a note about, but I do
not get the actual footnote.
That's a LaTeX restriction. See
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footintab

I had the same problem some days ago, and I set the table as "long table" and 
the footnote appeared at the end of the page.

Really? I've also set it to long table (did that anyway), but in my 
case, it does not show. I use the article document class. Do you use 
another one?

Vinay


Re: Centering figures in floats and changing caption font size

2004-06-16 Thread Rich Shepard
On Wed, 16 Jun 2004, Hassoun Karam wrote:

> By the way, my Lyx refuses to center the images when I use the 'center'
> option in the Insert|Graphics|Rotation tab|Origin: Center. Any clues?

Hassoun,

  Try Format -> Paragraph -> Center

Rich

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



Clearing headers and page numbers in report

2004-06-16 Thread Rich Shepard
  My document is defined as style 'report'. The abstract has been renamed to
Executive Summary and is on a separate page from the title page. I use
fancyheader to put text in each page's header. To force the Executive
Summary and first page to be on a right-side page I use
\newpage
\mbox { }
after the title and after the Executive Summary. These work fine.

  However, both pages that should be blank contain the header and the page
number of '2'. I've not figured out how to remove them from those two pages.
I've tried various LaTeX macros (from my main local reference, Lipkin's
book) and I've looked on the tips and tricks Web page. Nothing's worked for
me. I see macros that are supposed to work for book and article style but
they're not working for my document in report style.

  Ideas appreciated.

Rich

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



Re: problem with oe french ligature

2004-06-16 Thread Helge Hafting
Rob S wrote:
Hi;
Try adding a space after the ERT box, this worked for me
mise en [\oe] uvre
 

I recommend putting the space inside the tex box instead,
it is part of the command - not the text. Using {} instead is even
better, because you really see what's going on.
Helge Hafting


Bessel functions in math mode

2004-06-16 Thread Alexandru Cabuz
Hello, list,

Does anybody know, what is the convention for putting special functions such 
as Bessel and Hankel functions in math formulas. Are they supposed to be 
italicized like variables, or in math-text font, like sin, cos, tan, etc. Cos 
there is no macro for Jn and Hn in the math palette. 

Thanks.

Alex.


Compiling with gcc 3.4

2004-06-16 Thread John Coppens
Hi all

I tried to compile 1.3.4 with gcc 3.4 - I don't know if that is the motive
for the errors, but here they are:

In file included from ../../boost/boost/format.hpp:50,
 from ../../src/BoostFormat.h:9,
 from formulamacro.C:43:
../../boost/boost/format/format_implementation.hpp: 
In member function `boost::basic_format&
boost::basic_format::clear_bind(int)':../../boost/boost/format/format_implementation.
hpp:155: error: `out_of_range_bit' undeclared (first use this function)

../../boost/boost/format/format_implementation.hpp:155:
error:(Each undeclared identifier is reported only once for each function
it appears in.) In file included from formulamacro.C:43:

I added   io::out_of_range_bit  (the io:: bit) but other errors seem
to be present. I have little experience in C++ programming, sorry.

Suggestions?

John

PS: I'm re-posting this message (slightly updated) - yesterday it didn't
get through, it seems.


DOS seems over

2004-06-16 Thread mw
DOS on rsync/smtp seems over.  They are checking the affected servers
for possible entries as we speak.  I am told I would be allowed to
access by box in the afternoon.

Mate
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


latex2html not found (win32)

2004-06-16 Thread Gour
Hi!

I am trying to setup lyx on win32 so I can write detailed instructions for
my friend on Win32  :-)

One of the problems is that latex2html is not recognized by the configure
script.

I use the updated script and it recognizes gsview32, Acrobat reader ... but not
latex2html and I'm wondering how it can since there is no latex2html, only
latex2html.bat which does not work, afaik, under shell.

Any idea?

Sincerely,
Gour

-- 
Gour| [EMAIL PROTECTED]
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 


The (eternal?) EPS-problem

2004-06-16 Thread John Coppens
Hi all.

I've spent a good while experimenting with EPS figures. I wrote a program
using GnomePrint, which produces PS files. These seem to include a few
commands which do not allow using the bounding box. I've noticed many
threads on the EPS theme, but have not been able to find a solution
(including none of the various preamble tricks worked). I've installed gs
8.01, as the previous version segfaulted with ps2epsi. Tests done
include:

- use ps2eps (bbox is correctly detected)
- use ps2epsi (idem)
- use convert file.ps EPS:file.eps (Someone said convert would rasterize.
  Doesn't seem so)
- editing manually the ps or eps files
- viewing with gv/saving with bbox
- adding -dEPSCrop to the converter
- adding -dUseBoundingBox (?) to the converter
- enabling the 'clip to' in LyX
- changed gs versions

In many combinations I found that gv showed the image correctly bounded to
the image, and in some cases even LyX showed the image clipped correctly.
In all cases though, the resulting PDF included all the white space above
the image, pushing image down, half out of the page, ignoring the bounding
box.

Help!

John

PS: if someone wants to try, I've put a gzipped PS file:

http://www.jcoppens.com/misc/tests/ej4-1.ps.gz


Re: Clearing headers and page numbers in report

2004-06-16 Thread Jean-Pierre.Chretien

>>Date: Wed, 16 Jun 2004 08:44:56 -0700 (PDT)
>>From: Rich Shepard <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Clearing headers and page numbers in report
>>X-message-flag: Sent virus-free from a linux system.
>>
>>  My document is defined as style 'report'. The abstract has been renamed to
>>Executive Summary and is on a separate page from the title page. I use
>>fancyheader to put text in each page's header. To force the Executive
>>Summary and first page to be on a right-side page I use
>>\newpage
>>\mbox { }
>>after the title and after the Executive Summary. These work fine.
>>
>>  However, both pages that should be blank contain the header and the page
>>number of '2'. I've not figured out how to remove them from those two pages.
>>I've tried various LaTeX macros (from my main local reference, Lipkin's
>>book) and I've looked on the tips and tricks Web page. Nothing's worked for
>>me. I see macros that are supposed to work for book and article style but
>>they're not working for my document in report style.

Here is what I use (in the preamble, there are active @s as it is
patched in a variant of the report class):
[EMAIL PROTECTED] [EMAIL PROTECTED]
  \hbox{}
  \vspace*{\fill}
~
  \vspace{\fill}
  \thispagestyle{empty}
  \newpage
  [EMAIL PROTECTED]

Should do both things: print the next page as a right page and make
it empty.

-- 
Jean-Pierre




Re: table of contents links

2004-06-16 Thread Roland Schmitz
Hi,

after reading:
Am Freitag, 30. April 2004 09:22 schrieb Dominique Buenzli:
> > Here's what I do.  It isn't necessarily a "pure" LyX solution, but it
> > works very well (and handles several other problems in creating a
> > good-looking PDF).
> >
> > I use tex2pdf, which is a Perl script you can find on Berlios:
> > http://tex2pdf.berlios.de/
> >
> > It produces *very* nice PDF output from a LyX input.  You have to run
> > it from the prompt, providing the .lyx file as the argument.  It will
> > automatically run bibTeX and can run makeindex, if that's needed.
> > It's very configurable.

i tried to generate my PDF documents with tex2pdf. As far as good, but if got 
two problems with it
1) at the end of my document there is the bibliograhpy and the index. If i 
gererate a pdf document with tex2pdf the index is missing, if i use dvipdfm 
it's ok.
2) acroread show's all chapters of my document in the bookmarklist expect one 
(the second) chapter. I can't the any difference, between this chapter an the 
other ones.

I also posted this to the tex2pdf mailinglist, but till now i got no answer.

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz


References

2004-06-16 Thread Roland Schmitz
Hi,

is it possible to insert a cross reference to a chapter, section or 
subsection, or even to a figure, without inserting a marker for every 
heading?

-- 
Mit freundlichem GrussYours sincerely

  Roland Schmitz


Re: The (eternal?) EPS-problem

2004-06-16 Thread Georg Baum
John Coppens wrote:

> Hi all.
> 
> I've spent a good while experimenting with EPS figures. I wrote a program
> using GnomePrint, which produces PS files. These seem to include a few
> commands which do not allow using the bounding box. I've noticed many
> threads on the EPS theme, but have not been able to find a solution
> (including none of the various preamble tricks worked). I've installed gs
> 8.01, as the previous version segfaulted with ps2epsi. Tests done
> include:

{...}
 
> In many combinations I found that gv showed the image correctly bounded to
> the image, and in some cases even LyX showed the image clipped correctly.

You know that gv shows the whole paper sheet if %%DocumentMedia: is defined?
You have to select BBox if you want to see only the contents of the
bounding box. lyx seems to follow this rule, too (this is IMHO a bug, since
the printed output obeys the bounding box). If you don't want that, remove
%%DocumentMedia:. (I would not care too much, since the output is ok in
both cases)

> In all cases though, the resulting PDF included all the white space above
> the image, pushing image down, half out of the page, ignoring the bounding
> box.

It does not ignore the bounding box. Your bounding box does include all the
whitespace. If you change

%%BoundingBox: 0 0 596 842

to

%%BoundingBox: 0 0 454 454

everything is fine. I got that value by using pstops, for some reason my
ps2epsi cannot convert the file.


Georg



Compiling with gcc 3.4

2004-06-16 Thread John Coppens
Hi all

I tried to compile 1.3.4 with gcc 3.4 - I don't know if that is the motive
for the errors, but here they are:

In file included from ../../boost/boost/format.hpp:50,
 from ../../src/BoostFormat.h:9,
 from formulamacro.C:43:
../../boost/boost/format/format_implementation.hpp: 
In member function `boost::basic_format&
boost::basic_format::clear_bind(int)':../../boost/boost/format/format_implementation.
hpp:155: error: `out_of_range_bit' undeclared (first use this function)

../../boost/boost/format/format_implementation.hpp:155:
error:(Each undeclared identifier is reported only once for each function
it appears in.) In file included from formulamacro.C:43:

I tried to add

#include "boost/format/format_fwd.hpp"

to format_implementation.hpp but that didn't help...

Please...

John


Re: Compiling with gcc 3.4

2004-06-16 Thread Angus Leeming
John Coppens wrote:
> I tried to compile 1.3.4 with gcc 3.4

Hi, John.

A bunch of fixes have been checked into the 1.3.x branch so that it will
compile with gcc 3.4. (Why are you compiling with this compiler by the
way? You'll have to also compile the Qt libraries if you want the thing
to link.)

My advice to you is either:
* use the compiler that comes with your distro, or
* check out the 1.3.x branch from cvs and compile that.

I tried to isolate the changes, but they are two many and two big, so I
gave up.

-- 
Angus



Re: References

2004-06-16 Thread Rich Shepard
On Sun, 13 Jun 2004, Roland Schmitz wrote:

> is it possible to insert a cross reference to a chapter, section or
> subsection, or even to a figure, without inserting a marker for every
> heading?

Roland,

  Every cross-reference must be to a label. So, the direct answer to your
question is "no"; unreferenced parts do not need a label. However, the
answer is also "yes" because the cross-reference must be to something.

  I insert them as required.

Rich

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



Re: wiki site looks as if is just been hacked!

2004-06-16 Thread Christian Ridderström
On Wed, 16 Jun 2004, Rob S wrote:

> Hi List;
> 
> Wiki site has taken a hit from a hacker, how can one restore a page?

You obviously figured it out. A big thank you to you and Michael for 
restoring the pages. Let me know if there were any you couldn't fix.

For the future, should I make a password required in order to edit a page?
The password for uploading files is simply 'lyx', and I could just set the 
"edit password" to 'lyx' as well.

regards
/Christian

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




Should the wiki be password protected? (was: wiki site looks as if is just been hacked!)

2004-06-16 Thread Christian Ridderström
On Wed, 16 Jun 2004, Christian Ridderström wrote:

> On Wed, 16 Jun 2004, Rob S wrote:
> 
> > Hi List;
> > 
> > Wiki site has taken a hit from a hacker, how can one restore a page?
> 
> You obviously figured it out. A big thank you to you and Michael for 
> restoring the pages. Let me know if there were any you couldn't fix.

For the future, should I make a password required in order to edit a page 
on the wiki?

The password for uploading files is simply 'lyx', and I could just set the 
"edit password" to 'lyx' as well.

Opinions and comments on this please.
 
/Christian

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




  1   2   >